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
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/990567

Title:
  update-grub set an invalid location

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

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to