LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   GRUB problem (FC2) (https://www.linuxquestions.org/questions/linux-newbie-8/grub-problem-fc2-187627/)

darkranger 05-30-2004 09:22 AM

GRUB problem (FC2)
 
Disk /dev/hda: 41.1 GB, 41173057024 bytes
16 heads, 63 sectors/track, 79777 cylinders
Units = cylinders of 1008 * 512 = 516096 bytes

Device Boot Start End Blocks Id System
/dev/hda1 * 1 31 15592+ 1 FAT12
/dev/hda2 32 41677 20989584 c W95 FAT32 (LBA)
/dev/hda3 41678 79168 18895464 83 Linux
/dev/hda4 79169 79777 306936 f W95 Ext'd (LBA)
/dev/hda5 79169 79777 306904+ 82 Linux swap

$grub-install /dev/hda1
installed and no error
But still show me "Error loading operating system" on startup

that's first problem:(

so install grub in floppy and loading by it
when I click "Windows"
I saw :
Booting Windows
rootnoverify (hd0,1)
chainloader +1

then didn't loading anything???
but I can loading linux
that's my second problem:(

default=1
timeout=10
splashimage=(hd0,2)/boot/grub/splash.xpm.gz
title Fedora Core (2.6.5-1.358)
root (hd0,2)
kernel /boot/vmlinuz-2.6.5-1.358 ro root=LABEL=/1 rhgb quiet
initrd /boot/initrd-2.6.5-1.358.img
title Windows
rootnoverify (hd0,1)
chainloader +1

what's worng ?
when I use FC1/XP didn't happen these problem:confused:
by the way -I tried "fixboot" by XP installer

bigrigdriver 05-30-2004 09:36 AM

I don't know Fedora requirements, but grub is grub, no matter which distro uses it. Try deleting the line which reads 'root (hd0,2)', and edit the kernel parameter lline so that 'root=LABEL=/1' becomes 'root=/dev/hda2'. That's my grub setup in SuSE, and I have no problems booting.

darkranger 05-30-2004 09:47 AM

Quote:

Originally posted by bigrigdriver
I don't know Fedora requirements, but grub is grub, no matter which distro uses it. Try deleting the line which reads 'root (hd0,2)', and edit the kernel parameter lline so that 'root=LABEL=/1' becomes 'root=/dev/hda2'. That's my grub setup in SuSE, and I have no problems booting.
I don't know but I installed XP in hda2
oh... why root=dev/hda2 ?

bigrigdriver 05-30-2004 10:27 AM

My bad. I just reread you first post, and you have Linux in /dev/hda3. Adjust your kernel parameters to suit your partition scheme.


All times are GMT -5. The time now is 10:37 PM.