I'm still running fc6 as when I tried to install Vista over the summer it destroyed my whole system. XP, Vista & a fresh install of grub/fc6 are all now running. I gave up when school started but I'm taking (real) programming classes again and need my linux box back.
I used the same install disk for this clean fc6 install so the arch is identical to the original install of my old linux install. The partition is fine but I can't seem to link my new grub to my old install. I'm at a total loss. The fresh install is properly reading my old LVM (via dmraid) but that's as far as I've gotten.
my grub.conf file:
Code:
default=2
timeout=5
splashimage=(hd0,1)/grub/splash.xpm.gz
hiddenmenu
password --md5 ******************************************
title Fedora Core fresh
root (hd0,1)
kernel /vmlinuz-2.6.18-1.2798.fc6 ro root=/dev/VolGroup00/LogVol00 rhgb quiet
initrd /initrd-2.6.18-1.2798.fc6.img
title Fedora Core broken
root (hd0,1)
kernel /vmlinuz-2.6.18-1.2798.fc6 ro root=/dev/VolGroup01/LogVol00 rhgb quiet
initrd /initrd-2.6.18-1.2798.fc6.img
title Windows XP
map (hd0) (hd2)
map (hd2) (hd0)
rootnoverify (hd2,1)
chainloader +1
title Windows Vista
rootnoverify (hd0,0)
chainloader +1
That boots the 'fresh' install but I get the following error when trying 'broken' boot:
Code:
Decompressing Linux...done.
Booting the kernel.
...
Reading all Physical volumes. This may take a while...
Found volume group "VolGroup00" using metadata type lvm2
Found volume group "VolGroup01" using metadata type lvm2
2 logical volume(s) in volume group "VolGroup00" now active
mount: could not find filesystem '/dev/root'
...
Is there a way to 'activate' VolGroup01' instead of the other one?
I'd appreciate any help and can give you guys more information as needed. I just usually try to fix this ***** myself in order to learn but I'm at the end of my rope. Some extra info:
on boot hd0 is hdb, hd1 is hda & hd2 is sda(/b?)
Code:
#fdisk -l
Disk /dev/hda: 120.0 GB, 120034123776 bytes
255 heads, 63 sectors/track, 14593 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Device Boot Start End Blocks Id System
/dev/hda1 * 1 14593 117218241 7 HPFS/NTFS
Disk /dev/hdb: 120.0 GB, 120034123776 bytes
255 heads, 63 sectors/track, 14593 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Device Boot Start End Blocks Id System
/dev/hdb1 1 12044 96739328 7 HPFS/NTFS
/dev/hdb2 * 12045 12056 96390 83 Linux
/dev/hdb3 12057 14593 20378452+ 8e Linux LVM
Disk /dev/sda: 100.2 GB, 100256292864 bytes
255 heads, 63 sectors/track, 12188 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Device Boot Start End Blocks Id System
/dev/sda1 2 12156 97635037+ f W95 Ext'd (LBA)
/dev/sda2 12157 14589 19543072+ c W95 FAT32 (LBA)
/dev/sda3 * 14590 24377 78622110 8e Linux LVM
/dev/sda5 ? 154879 269088 917382663+ 66 Unknown
Disk /dev/sdb: 100.2 GB, 100256292864 bytes
255 heads, 63 sectors/track, 12188 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Disk /dev/sdb doesn't contain a valid partition table
#fdisk -l /dev/mapper/via_dfdhfggej
Disk /dev/mapper/via_dfdhfggej: 200.5 GB, 200512503808 bytes
255 heads, 63 sectors/track, 24377 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Device Boot Start End Blocks Id System
/dev/mapper/via_dfdhfggej1 2 12156 97635037+ f W95 Ext'd (LBA)
/dev/mapper/via_dfdhfggej2 12157 14589 19543072+ c W95 FAT32 (LBA)
/dev/mapper/via_dfdhfggej3 * 14590 24377 78622110 8e Linux LVM
/dev/mapper/via_dfdhfggej5 2 12156 97635006 7 HPFS/NTFS
# mount -l
/dev/mapper/VolGroup00-LogVol00 on / type ext3 (rw)
proc on /proc type proc (rw)
sysfs on /sys type sysfs (rw)
devpts on /dev/pts type devpts (rw,gid=5,mode=620)
/dev/hdb2 on /boot type ext3 (rw) [/boot]
tmpfs on /dev/shm type tmpfs (rw)
/dev/mapper/VolGroup01-LogVol00 on /mnt/orig type ext3 (rw)
none on /proc/sys/fs/binfmt_misc type binfmt_misc (rw)
sunrpc on /var/lib/nfs/rpc_pipefs type rpc_pipefs (rw)