Ubuntu

grub fails to update last good boot if initrd is absent

Reported by Lukas Hejtmanek on 2008-07-24
6
Affects Status Importance Assigned to Milestone
grub (Ubuntu)
Medium
Ben Collins

Bug Description

I do not use init ramdisks. The /usr/sbin/kernel-helper -u fails ungracefully leaving dpkg-configure failing.

Using ubuntu/intrepid.

grub: 0.97-29ubuntu3

Ben Collins (ben-collins) wrote :

Will fix this in next upload. Should not fail if there is no initramfs.

Changed in grub:
assignee: nobody → ben-collins
importance: Undecided → Medium
milestone: none → ubuntu-8.10
status: New → In Progress
Jithin Emmanuel (jithin1987) wrote :

I installed kubuntu 8.10 beta and I had to reinstall grub from live CD because I resized my partitions and grub got screwed. After that there is no last good boot entry in grub menu. I tried sudo update-grub but its not adding the last good boot. Is this issue related to this bug.

Output of sudo fdisk -l

Disk /dev/sda: 80.0 GB, 80026361856 bytes
255 heads, 63 sectors/track, 9729 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Disk identifier: 0xff266e6f

Device Boot Start End Blocks Id System
/dev/sda1 * 1 3355 26949006 7 HPFS/NTFS
/dev/sda3 3356 3616 2096482+ 82 Linux swap / Solaris
/dev/sda4 3617 9729 49102672+ 5 Extended
/dev/sda5 3617 9729 49102641 83 Linux

title Ubuntu intrepid (development branch), kernel 2.6.27-7-generic
root (hd0,4)
kernel /boot/vmlinuz-2.6.27-7-generic root=UUID=1587386b-5227-43bf-9d4c-7716b255e664 ro quiet splash
initrd /boot/initrd.img-2.6.27-7-generic
quiet

title Ubuntu intrepid (development branch), kernel 2.6.27-7-generic (recovery mode)
root (hd0,4)
kernel /boot/vmlinuz-2.6.27-7-generic root=UUID=1587386b-5227-43bf-9d4c-7716b255e664 ro single
initrd /boot/initrd.img-2.6.27-7-generic

title Ubuntu intrepid (development branch), memtest86+
root (hd0,4)
kernel /boot/memtest86+.bin
quiet

cat /boot/grub/menu.lst
### END DEBIAN AUTOMAGIC KERNELS LIST

# This is a divider, added to separate the menu items below from the Debian
# ones.
title Other operating systems:
root

# This entry automatically added by the Debian installer for a non-linux OS
# on /dev/sda1
title Microsoft Windows XP Professional
root (hd0,0)
savedefault
makeactive
chainloader +1

To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers