Hello,
I know there are a lot of stuff on the internet on this, and i tried all of them. But my situation is a little more complicated. I havewindows xp and fedora core 6 running on my pc and i installed fedora 7 on my usb-hdd (packard bell-500G). There are 2 windows and 3 linux partitions on the local hdd and 3 linux partitions on the usb -hdd. Here is how my fdisk -l looks like:
[root@localhost ~]# fdisk -l
Disk /dev/hda: 80.0 GB, 80026361856 bytes
255 heads, 63 sectors/track, 9729 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Device Boot Start End Blocks Id System
/dev/hda1 * 1 1657 13309821 7 HPFS/NTFS
/dev/hda2 1658 1670 104422+ 83 Linux
/dev/hda3 3188 9728 52540582+ f W95 Ext'd (LBA)
/dev/hda4 1671 3187 12185302+ 83 Linux
/dev/hda5 3188 9728 52540551 7 HPFS/NTFS
Partition table entries are not in disk order
Disk /dev/sda: 500.1 GB, 500107862016 bytes
255 heads, 63 sectors/track, 60801 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Device Boot Start End Blocks Id System
/dev/sda1 * 1 13 104391 83 Linux
/dev/sda2 14 3200 25599577+ 83 Linux
/dev/sda3 3201 3331 1052257+ 82 Linux swap / Solaris
I used the instructions on
http://www.simonf.com/usb/ to create custom initrd called usbinitrd.img. And configured my grub.conf like this:
# 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 (hd1,0)
# kernel /vmlinuz-version ro root=/dev/sdb2
# initrd /initrd-version.img
#boot=/dev/sdb1
default=0
timeout=5
splashimage=(hd0,1)/grub/splash.xpm.gz
hiddenmenu
title Fedora (2.6.21-1.3194.fc7)
root (hd0,1)
kernel /vmlinuz-2.6.21-1.3194.fc7 ro root=LABEL=/1 rhgb quiet
initrd /usbinitrd.img
I then edit my bios settings to boot from usb hdd and reboot the pc. İt counts memory and then stucks at the screen just before loading grub. It writes "GRUB" and there is a flashing cursor but grub doesnt start. Please tell me what to do about it. Thanx.