LinuxQuestions.org
Latest LQ Deal: Linux Power User Bundle
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 05-30-2004, 10:22 AM   #1
darkranger
LQ Newbie
 
Registered: May 2004
Location: Taiwan
Distribution: Fedora
Posts: 28

Rep: Reputation: 15
Unhappy 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
by the way -I tried "fixboot" by XP installer

Last edited by darkranger; 05-30-2004 at 10:33 AM.
 
Old 05-30-2004, 10:36 AM   #2
bigrigdriver
LQ Addict
 
Registered: Jul 2002
Location: East Centra Illinois, USA
Distribution: Debian Jessie 8.4
Posts: 5,873

Rep: Reputation: 348Reputation: 348Reputation: 348Reputation: 348
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.
 
Old 05-30-2004, 10:47 AM   #3
darkranger
LQ Newbie
 
Registered: May 2004
Location: Taiwan
Distribution: Fedora
Posts: 28

Original Poster
Rep: Reputation: 15
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 ?
 
Old 05-30-2004, 11:27 AM   #4
bigrigdriver
LQ Addict
 
Registered: Jul 2002
Location: East Centra Illinois, USA
Distribution: Debian Jessie 8.4
Posts: 5,873

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


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
how to recover GRUb of FC2 ??? executive Linux - General 1 04-18-2005 05:58 AM
Fc2 - Grub Error LZ5 Eagle Fedora 12 11-18-2004 11:24 PM
GRUB and FC2 mrmike Linux - Newbie 2 10-06-2004 04:10 PM
GRUB to LILO on FC2 sevi Linux - Newbie 21 08-25-2004 01:39 PM
FC2 on SATA no GRUB! obiwanshinobi Fedora - Installation 6 07-30-2004 10:59 AM


All times are GMT -5. The time now is 08:33 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration