[Bug 990567] [NEW] update-grub set an invalid location

Jean-Max Reymond jmreymond at free.fr
Sat Apr 28 15:19:41 UTC 2012


Public bug reported:

update-grub found an incorrect location for vmlinuz and initrd.
it seems that in /etc/grub.d/10_linux , line 54 is not correct

LINUX_ROOT_DEVICE=${GRUB_DEVICE}  # not correct

and must be replaced by

LINUX_ROOT_DEVICE=${GRUB_DEVICE_BOOT}  # correct


# update-grub
Generating grub.cfg ...
Found linux image: /boot/vmlinuz-3.2.0-24-generic
Found initrd image: /boot/initrd.img-3.2.0-24-generic
Found linux image: /boot/vmlinuz-2.6.32-22-server
Found initrd image: /boot/initrd.img-2.6.32-22-server
Found memtest86+ image: /memtest86+.bin
done
# df /boot/vmlinuz-3.2.0-24-generic
Sys. fich.     1K-blocks Util. Disponible Uti% Monté sur
/dev/sda1         194442 50491     133912  28% /boot
# ls -l /boot/grub/grub.cfg
-r--r--r-- 1 root root 5251 avril 28 14:16 /boot/grub/grub.cfg
# fgrep vmlinu /boot/grub/grub.cfg
    linux    /vmlinuz-3.2.0-24-generic root=/dev/sda3 ro   quiet splash $vt_handoff
    linux    /vmlinuz-3.2.0-24-generic root=/dev/sda3 ro recovery nomodeset 
    linux    /vmlinuz-2.6.32-22-server root=/dev/sda3 ro   quiet splash $vt_handoff
    linux    /vmlinuz-2.6.32-22-server root=/dev/sda3 ro recovery nomodeset

** Affects: grub (Ubuntu)
     Importance: Undecided
         Status: New

** Package changed: linux-backports-modules-3.0.0 (Ubuntu) => grub
(Ubuntu)

-- 
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to grub in Ubuntu.
https://bugs.launchpad.net/bugs/990567

Title:
  update-grub set an invalid location

Status in “grub” package in Ubuntu:
  New

Bug description:
  update-grub found an incorrect location for vmlinuz and initrd.
  it seems that in /etc/grub.d/10_linux , line 54 is not correct

  LINUX_ROOT_DEVICE=${GRUB_DEVICE}  # not correct

  and must be replaced by

  LINUX_ROOT_DEVICE=${GRUB_DEVICE_BOOT}  # correct

  
  # update-grub
  Generating grub.cfg ...
  Found linux image: /boot/vmlinuz-3.2.0-24-generic
  Found initrd image: /boot/initrd.img-3.2.0-24-generic
  Found linux image: /boot/vmlinuz-2.6.32-22-server
  Found initrd image: /boot/initrd.img-2.6.32-22-server
  Found memtest86+ image: /memtest86+.bin
  done
  # df /boot/vmlinuz-3.2.0-24-generic
  Sys. fich.     1K-blocks Util. Disponible Uti% Monté sur
  /dev/sda1         194442 50491     133912  28% /boot
  # ls -l /boot/grub/grub.cfg
  -r--r--r-- 1 root root 5251 avril 28 14:16 /boot/grub/grub.cfg
  # fgrep vmlinu /boot/grub/grub.cfg
      linux    /vmlinuz-3.2.0-24-generic root=/dev/sda3 ro   quiet splash $vt_handoff
      linux    /vmlinuz-3.2.0-24-generic root=/dev/sda3 ro recovery nomodeset 
      linux    /vmlinuz-2.6.32-22-server root=/dev/sda3 ro   quiet splash $vt_handoff
      linux    /vmlinuz-2.6.32-22-server root=/dev/sda3 ro recovery nomodeset

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/grub/+bug/990567/+subscriptions




More information about the foundations-bugs mailing list