use what UUID to boot new kernel in menu.lst



I upgrade kernel from 2.6.27 to 2.6.27.2 on Fedora 10 beta, but the
system won't boot with the new kernel. The system can still be booted
with the old one. The /boot/grub/menu.lst has the new and the old
entries as following. I use the same UUID as the one used for 2.6.27
for 2.6.27.2. This may be the problem, but I don't know how to get a
new UUID or do I need a new one.

# /boot/grub/menu.lst
title Fedora (2.6.27.2)
root (hd0,0)
kernel /vmlinuz-2.6.27.2 ro root=UUID=184eb91e-
e8f3-4812-8814-9e57f9b02a33 rhgb quiet
initrd /initrd-2.6.27.2.img

title Fedora (2.6.27-0.352.rc7.git1.fc10.i686)
root (hd0,0)
kernel /vmlinuz-2.6.27-0.352.rc7.git1.fc10.i686 ro
root=UUID=184eb91e-e8f3-4812-8814-9e57f9b02a33 rhgb quiet
initrd /initrd-2.6.27-0.352.rc7.git1.fc10.i686.img
# /boot/grub/menu.lst ends

The new kernel image has been generated. More information below. I
hope this is enough for you to diagnose my problem : ) Thanks!

$ ls /boot/vmlinuz*
/boot/vmlinuz /boot/vmlinuz-2.6.27.2
/boot/vmlinuz-2.6.27-0.352.rc7.git1.fc10.i686 /boot/
vmlinuz-2.6.27.2.old

$ ls -l /boot/initrd-2.6.27*
/boot/initrd-2.6.27-0.352.rc7.git1.fc10.i686.img
/boot/initrd-2.6.27.2.img

$ su -c 'fdisk -l'

....

/dev/sda1 * 1 25 200781 83 Linux
/dev/sda2 26 1044 8185117+ 8e Linux LVM

$ cat /etc/fstab

....

/dev/VolGroup00/LogVol00 / ext3
defaults 1 1
UUID=172a1e55-ebff-4739-b742-ddbd8bb87c97 /boot
ext3 defaults 1 2
tmpfs /dev/shm tmpfs
defaults 0 0
devpts /dev/pts devpts
gid=5,mode=620 0 0
sysfs /sys sysfs
defaults 0 0
proc /proc proc
defaults 0 0
/dev/VolGroup00/LogVol01 swap swap
defaults 0 0

$ su -c 'blkid'
Password:
/dev/sr0: LABEL="Fedora 10-Beta i386 DVD" TYPE="iso9660"
/dev/sda1: LABEL="/boot" UUID="172a1e55-ebff-4739-b742-ddbd8bb87c97"
TYPE="ext3" SEC_TYPE="ext2"
/dev/sda2: UUID="HsO8B2-lGD6-kQJj-PMlq-1eq3-PKjc-co07ax" TYPE="lvm2pv"
/dev/mapper/VolGroup00-LogVol00: UUID="184eb91e-
e8f3-4812-8814-9e57f9b02a33" TYPE="ext3"
/dev/mapper/VolGroup00-LogVol01: TYPE="swap" UUID="17622e4d-
fa41-49d6-8434-8507cf973166"
/dev/VolGroup00/LogVol00: UUID="184eb91e-e8f3-4812-8814-9e57f9b02a33"
TYPE="ext3"
/dev/VolGroup00/LogVol01: TYPE="swap" UUID="17622e4d-
fa41-49d6-8434-8507cf973166"
$
.



Relevant Pages

  • Re: Building a kernel from source on RH9
    ... make bzImage (here is kernel) ... # all kernel and initrd paths are relative to /boot/, ... # root ... title Red Hat Linux ...
    (RedHat)
  • Re: Another preupgrade disaster -
    ... missing the root line. ... kernel /vmlinuz-2.6.30.9-96.fc11.i586 ro ... initrd /initrd-2.6.30.9-96.fc11.i586.img ... title Omega 11.1 Fedora Remix ...
    (Fedora)
  • Re: Moving Fedora 9 Hard Disk To Another System
    ... When the kernel is updated, the Fedora 9 framework will rebuild a new ... initrd and it will NOT have the special modules in it. ... I make a small custom install on the machine in question. ...
    (Fedora)
  • Re: FC2 post-install hangs on dual boot system - SOLVED, KIND-OFF, NOT REALLY.
    ... Trying to dual boot Windows XP Pro and Fedora Core 2 on a Dell Dimension ... Use the kernel that works for now, ... as root from the console or xterm session type ... And install them from the console or xterm session by ...
    (linux.redhat.install)
  • Re: 2.6.5 kernel will not boot
    ... >> root ... > disk that is used to load modules that are required at pre init 1 before ... > directly into the kernel, so no need for an initrd. ...
    (alt.os.linux)