I moved a disc with an F10 installation to a system which had an existing RH installation. The new disc is recognised ok but I have a problem when trying to boot fedora.
The things I changed:
* Rename the VolGroup00 name for the fedora installation logical volume as the volume group name clashes with the volume group name of the RH system. New name is VolGroup05
* Update Fedora fstab with VolGroup05 using F10 rescue disc
* Copy boot files from the fedora boot partition to the RH boot partition
* Modify grub so it contains the F10 entries with root pointing to /dev/VolGroup05/LogVol00
Error Message
Code:
Booting 'Fedora (2.6.27.25-170.2.72.fc10.i686)'
root(h1,0)
FileSystem type is ext2fs, partition type 0x83
kernel /vmlinuz-2.6.27.25-170.2.72.fc10.i686 ro root=/dev/VolGroup05/LogVol00 quiet
[Linux-bzImage, setup=0x3000, size=0x273730]
initrd /initrd-2.6.27.25-170.2.72.fc10.i686.img
[Linux-initrd @ 0x37c69000, 0x386a80 bytes]
Loading /lib/kbd/keymaps/i386/querty/uk.map
Reading all physical volumes. This may take a while...
Found volume group "VolGroup02" using metadata lvm2
Found volume group "VolGroup01" using metadata lvm2
Found volume group "VolGroup05" using metadata lvm2
Found volume group "VolGroup03" using metadata lvm2
Found volume group "VolGroup00" using metadata lvm2
5 logical volume(s) in volume group "VolGroup00" now active
mount: could not find filesystem '/dev/root'
Reading all physical volumes. This may take a while...
Found volume group "VolGroup02" using metadata lvm2
Found volume group "VolGroup01" using metadata lvm2
Found volume group "VolGroup05" using metadata lvm2
Found volume group "VolGroup03" using metadata lvm2
Found volume group "VolGroup00" using metadata lvm2
5 logical volume(s) in volume group "VolGroup00" now active
mount: could not find filesystem '/dev/root'
There seems to a problem with the line "5 logical volume(s) in volume group "VolGroup00" now active" as I want it to use VolGroup05.
/boot/grub/grub.conf
Code:
# grub.conf generated by anaconda
#
# Note that you do not have to rerun grub after making changes to this file
# NOTICE: You have a /boot partition. This means that
# all kernel and initrd paths are relative to /boot/, eg.
# root (hd0,0)
# kernel /vmlinuz-version ro root=/dev/VolGroup00/LogVol00
# initrd /initrd-version.img
#boot=/dev/sda
default=1
timeout=20
splashimage=(hd0,0)/grub/splash.xpm.gz
hiddenmenu
title Red Hat Enterprise Linux Client (2.6.18-128.1.16.el5PAE)
root (hd0,0)
kernel /vmlinuz-2.6.18-128.1.16.el5PAE ro root=/dev/VolGroup00/LogVol00 rhgb quiet
initrd /initrd-2.6.18-128.1.16.el5PAE.img
title Red Hat Enterprise Linux Client (2.6.18-128.1.16.el5)
root (hd0,0)
kernel /vmlinuz-2.6.18-128.1.16.el5 ro root=/dev/VolGroup00/LogVol00 rhgb quiet
initrd /initrd-2.6.18-128.1.16.el5.img
title Red Hat Enterprise Linux Client (2.6.18-128.1.14.el5)
root (hd0,0)
kernel /vmlinuz-2.6.18-128.1.14.el5 ro root=/dev/VolGroup00/LogVol00 rhgb quiet
initrd /initrd-2.6.18-128.1.14.el5.img
title Red Hat Enterprise Linux Client (2.6.18-128.1.14.el5PAE)
root (hd0,0)
kernel /vmlinuz-2.6.18-128.1.14.el5PAE ro root=/dev/VolGroup00/LogVol00 rhgb quiet
initrd /initrd-2.6.18-128.1.14.el5PAE.img
title Red Hat Enterprise Linux Client (2.6.18-128.1.10.el5)
root (hd0,0)
kernel /vmlinuz-2.6.18-128.1.10.el5 ro root=/dev/VolGroup00/LogVol00 rhgb quiet
initrd /initrd-2.6.18-128.1.10.el5.img
title Red Hat Enterprise Linux Client (2.6.18-128.1.10.el5PAE)
root (hd0,0)
kernel /vmlinuz-2.6.18-128.1.10.el5PAE ro root=/dev/VolGroup00/LogVol00 rhgb quiet
initrd /initrd-2.6.18-128.1.10.el5PAE.img
# fedora boot
title Fedora (2.6.27.25-170.2.72.fc10.i686)
root (hd1,0)
kernel /vmlinuz-2.6.27.25-170.2.72.fc10.i686 ro root=/dev/VolGroup05/LogVol00 quiet
initrd /initrd-2.6.27.25-170.2.72.fc10.i686.img
title Fedora (2.6.27.24-170.2.68.fc10.i686)
root (hd1,0)
kernel /vmlinuz-2.6.27.24-170.2.68.fc10.i686 ro root=/dev/VolGroup05/LogVol00 quiet
initrd /initrd-2.6.27.24-170.2.68.fc10.i686.img
title Fedora (2.6.27.21-170.2.56.fc10.i686)
root (hd1,0)
kernel /vmlinuz-2.6.27.21-170.2.56.fc10.i686 ro root=/dev/VolGroup05/LogVol00 quiet
initrd /initrd-2.6.27.21-170.2.56.fc10.i686.img
Anyone know how to get it to boot?