Re: use what UUID to boot new kernel in menu.lst
- From: Michael <michael@xxxxxxxxxxxxxxxxxxxxxxx>
- Date: Thu, 30 Oct 2008 20:40:33 +0800
lovecreatesbeauty@xxxxxxxxx wrote:
I upgrade kernel from 2.6.27 to 2.6.27.2 on Fedora 10 beta, but theYou said that you use the same UUID for both kernel. The most probable reason of not booting is the new kernel doesn't recognise your hard disk.
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"
$
.
- References:
- use what UUID to boot new kernel in menu.lst
- From: lovecreatesbeauty@xxxxxxxxx
- use what UUID to boot new kernel in menu.lst
- Prev by Date: Re: Putting videos on UTube from linux?
- Next by Date: Re: Virtualbox / DSL / Guest Additions
- Previous by thread: Re: use what UUID to boot new kernel in menu.lst
- Next by thread: Achat Cigarette - Vente de Cigarettes
- Index(es):
Relevant Pages
|