1

Topic: Can't boot fc6 after creating partitions for images.

I posted this to the fedora forum and haven't had any replies so I wondered if anyone here could offer me any advice.

I created new partitions in unused space on my hard drive using gparted under knoppix 5.1.1.
Into these I put images of fedora core 2 and xp from my old laptop (created with partimage).
Now I can't boot into my original fedora core 6 let alone any of these new images.

While fc6 is starting to boot and loading the usb drivers it complains about not finding modules.dep.
(/lib/modules/2.6.18-1.2869fc6/modules.dep - no such file or directory)

When I go into a root shell after getting this error its not in my fc6 partition but for some reason its in my new fc2 partition??
So that explains why it can't find modules.dep....

If I can get fc6 working again I would also like to configure grub to boot fc2 and my old version of windows. Neither are working at the moment.

fdisk -l gives:

Disk /dev/sda: 250.0 GB, 250059350016 bytes
255 heads, 63 sectors/track, 30401 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes

Device Boot Start End Blocks Id System OS
/dev/sda1 * 1 12748 102398278+ 7 HPFS/NTFS (latest XP)
/dev/sda2 12749 15935 25599577+ 83 Linux (fc6 /)
/dev/sda3 15936 17847 15358140 83 Linux (fc6 /home)
/dev/sda4 17848 30401 100840005 5 Extended
/dev/sda5 17848 18102 2048256 82 Linux swap / Solaris
/dev/sda6 18103 18931 6658911 83 Linux (fc2 /)
/dev/sda7 18932 19249 2554303+ 83 Linux (fc2 /home)
/dev/sda8 19250 20779 12289693+ 7 HPFS/NTFS (old XP)
/dev/sda9 20780 23966 25599546 7 HPFS/NTFS (empty)

My grub.conf is: (the first 2 entries were created by the fc6 install)

default=1
timeout=5
splashimage=(hd0,1)/boot/grub/splash.xpm.gz
hiddenmenu
title Fedora Core (2.6.18-1.2869.fc6)
root (hd0,1)
kernel /boot/vmlinuz-2.6.18-1.2869.fc6 ro root=LABEL=/ rhgb quiet
initrd /boot/initrd-2.6.18-1.2869.fc6.img
title XP
rootnoverify (hd0,0)
chainloader +1
title Old Laptop XP
rootnoverify (hd0,7)
chainloader +1
title Fedora Core 2 (2.6.10)
root (hd0,5)
kernel /boot/vmlinuz-2.6.10-1.771_FC2 ro root=LABEL=/ rhgb quiet
initrd /boot/initrd-2.6.10-1.771_FC2.img

Any help would be much appreciated.

Cheers Huw

2

Re: Can't boot fc6 after creating partitions for images.

Like you know FC6 works with labels !!!
Like you can see you have TWO partitions labeled / !!!!!!!!!!!!!!!!!!!!!!!!! :

kernel /boot/vmlinuz-2.6.18-1.2869.fc6 ro root=LABEL=/ rhgb quiet

kernel /boot/vmlinuz-2.6.10-1.771_FC2 ro root=LABEL=/ rhgb quiet

So i can easy guess your system is a bit disappointed :-/

Larry
GParted-project Admin
Former GParted-LiveCD maintainer (2007)