I have installed FC3 on my dell latitdue D610 laptop with only 1 hard disk, and with windows XP installed. Problem occurs when I reboot after FC 3 installation, all I see is just "GRUB" with a flashing _ then nothing happens and I cant access any OS's.
Some info :
1. During installation, GRUB is chose to install at "first boot partition", not MBR. (BIG MISTAKE!)
2. Windows is picked to boot first.
I have followed each steps in
http://www.fedoraforum.org/forum/sho...5&page=1&pp=15 to install GRUB at MBR, but still got the same output "GRUB _" after rebooting laptop.
--------------------------------------------------------------
grub> find /boot/grub/stage1
(hd1,5)
grub> root (hd1,5)
Filesystem type is ext2fs, partition type 0x83
grub> setup (hd0)
I got this -->
Checking if "/boot/grub/stage1" exists... yes
Checking if "/boot/grub/stage2" exists... yes
Checking if "/boot/grub/e2fs_stage1_5" exists... yes
Running "embed /boot/grub/e2fs_stage1_5 (hd0)"... 16 sectors are embedded
succeded
Running "install /boot/grub/stage1 (hd0) (hd0)1+16 p
(hd1,5)/boot/grub/stage2 /boot/grub/grub.conf.......
succeded
Done.
grub> quit
-------------------------------------------------------------------------------------
I checked "fdisk -l", device.map and /boot/grub/grub.conf, found out grub.conf has mapped the hard disk to (hd1) instead of (hd0) (But only 1 hard disk in my laptop!).
--------------------------------
fdisk -l
--------------------------------
sh-3.00# fdisk -l
Disk /dev/sda: 40.0GB, 40007761920 bytes
255 heads, 63 sectors/track, 4864 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Device Boot Start End Blocks Id System
/dev/sda1 Dell Utility
/dev/sda2 * HPFS/NTFS
/dev/sda3 W95 Ent's (LBA)
/dev/sda5 HPFS/NTFS
/dev/sda6 Linux
/dev/sda7 Linux swap
Disk /dev/hda: 515MB, 515375104 bytes
...
Device Boot Start End Blocks Id System
/dev/hda1 * FAT16
--------------------------------
/boot/grub/device.map
--------------------------------
(fd0) /dev/fd0
(hd0) /dev/hda
(hd1) /dev/sda
--------------------------------
original grub.conf generated
--------------------------------
# grub.conf generated by anaconda
# Notice: You do not have a /boot partition. This means that
# all kernel and initrd paths are relative to /, eg.
# root (hd1,5)
# kernel /boot/vmlinuz-version ro root=/dev/sda6
# initrd /boot/initrd-version.img
#boot=/dev/sda6
default=1
timeout=5
splashimage=(hd1,5)/boot/grub/splash.xpm.gz
hiddenmenu
title Fedora Core 3
root (hd1,5)
kernel /boot/vmlinuz-2.6.9-1.667 ro root=LABEL=/ rhgb quiet
initrd /boot/initrd-2.6.9-1.667.img
title Windows XP
rootnoverify (hd0,0)
chainloader +1
----------------------------------------------------------------
Based on a suggestion from linuxquestions.org, I change device.map configuration to
(fd0) /dev/fd0
(hd0) /dev/sda
But, I am not sure removing "(hd0) /dev/hda" , which could be a CD rom drive, will prevent the FC1 rescue disk from running if a hard reboot is performed next time... :|.
BTW, after that, i change grub.conf
splashimage=(hd1,5)/boot/grub/splash.xpm.gz --> splashimage=(hd0,5)/boot/grub/splash.xpm.gz
root (hd1,5) -->
root (hd0,5)
Then, I tried --> sh-3.00# grub-install /dev/sda
I got this:
The file /boot/grub/stage2 not read correctly.
I checked out with the following, and found out
grub> find /boot/grub/stage1
(hd1,5) <------ Why still at (hd1,5) but not (hd0,5)??
grub> root (hd1,5)
Filesystem type is ext2fs, partition type 0x83
grub> root (hd0,5)
Error 22: No such partition <----- !!!
Questions:
1. What should be the correct device.map configuration, which assure the CDROM is still bootable after hard reboot?
2. How to install GRUB correctly to MBR, with GRUB correctly map to HDD?
My previous post at linuxquestions.org:
http://www.linuxquestions.org/questi...15#post2202215