Ub 9.10 GRUB 2 failed to load new kernel

Bug #474482 reported by nicepat
4
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Karmic Backports
Invalid
Undecided
Unassigned
Ubuntu
Invalid
Undecided
Unassigned

Bug Description

I installed Ubuntu 9.10 released version from the ubuntu.com, and this is fresh installation with the default setting (English)
From the kernel 2.6.31-14-generic, I compiled vanilla kernel, which is from kernel.org. (2.6.31.5)
According to the document w/ GRUB 2 in 9.10, the kernel compilation has been chanced. I followed new steps, but new kernel loading failed.

I post my steps that I used to do in 9.04 or earlier version.

1. cd <kernel source directory>
2. make defconfig
3. make xconfig
4. make -j4
5. make modules_install
6. make install
7. mkinitramfs -o /boot/initrd.img-2.6.31.5 2.6.31.5

After this, I see the new kernel image 2.6.31.5.
8. update-grub

This is new change for 9.10, and make sure that /boot/grub/grub.cfg has been updated with the correct information.

Generating grub.cfg ...
Found linux image: /boot/vmlinuz-2.6.31.5
Found initrd image: /boot/initrd.img-2.6.31.5
Found linux image: /boot/vmlinuz-2.6.31.5.old
Found initrd image: /boot/initrd.img-2.6.31.5
Found linux image: /boot/vmlinuz-2.6.31-14-generic
Found initrd image: /boot/initrd.img-2.6.31-14-generic
Found memtest86+ image: /boot/memtest86+.bin
done

post a part of grub.cfg.
menuentry "Ubuntu, Linux 2.6.31.5" {
        recordfail=1
        if [ -n ${have_grubenv} ]; then save_env recordfail; fi
        set quiet=1
        insmod ext2
        set root=(hd0,1)
        search --no-floppy --fs-uuid --set 83f0eccd-2f0e-4179-9e90-bfecc2e7bae4
        linux /boot/vmlinuz-2.6.31.5 root=UUID=83f0eccd-2f0e-4179-9e90-bfecc2e7bae4 ro quiet splash
        initrd /boot/initrd.img-2.6.31.5
}
menuentry "Ubuntu, Linux 2.6.31.5 (recovery mode)" {
        recordfail=1
        if [ -n ${have_grubenv} ]; then save_env recordfail; fi
        insmod ext2
        set root=(hd0,1)
        search --no-floppy --fs-uuid --set 83f0eccd-2f0e-4179-9e90-bfecc2e7bae4
        linux /boot/vmlinuz-2.6.31.5 root=UUID=83f0eccd-2f0e-4179-9e90-bfecc2e7bae4 ro single
        initrd /boot/initrd.img-2.6.31.5
}

After rebooting the system, the new kernel load is failed. Post the screen shot.

Revision history for this message
nicepat (nicepat) wrote :
Changed in karmic-backports:
status: New → Invalid
Changed in ubuntu:
status: New → Incomplete
status: Incomplete → Invalid
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.