Help answer threads with 0 replies.
Go Back > Forums > Linux Forums > Linux - Software
User Name
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.


  Search this Thread
Old 01-16-2007, 05:34 AM   #1
LQ Newbie
Registered: Dec 2006
Posts: 23

Rep: Reputation: 15
made a mistake trying to install grub using tutorial..

Hi everyone,

i just installed fedora core 6 and i, like others, experienced that it doesnt install grub to the correct place on non-standard hard drive setups.

i did a search on the web to try and find help on how to do it- and found another person with the same issue.

They found a fix and placed a link to the totorial that helped them.

Now, this is a good tutorial explaining fedora's ''linux rescue'' and how to boot into the grub file to edit it and also tell the PC where the OSs are...BUT, my HDD setup is not exactly standard and due to that i mustve got something wrong in there.

Now, when i boot up, i get the word "GRUB" written across my screen and on every line also....looping to infinity. like a great big GRUB carpet.

I am hoping that someone can assist me in putting in the correct parameters to restore the settings?

i tried using the winxp install disk and recovery console and fixmbr, and it doesnt work.

my hard drives are as such.

1 IDE as primary master which i put in today as it used to be an external drive.
1 SATA 1 as primary SATA which has WinXP on it and is partitioned into 2 equal halves.
1 SATA 2 as secondary SATA with nothing on it except NTFS formatted an also split into 2 partitions.

i installed fedora core 6 onto the IDE drive.

whilst editing the grub file, it requires commands like ''setup (hd0) and root (hd0,1) .

now i figured they related to my drives a little differently so made the necessary my horror!

i ''think'' that my drives are designated hd0 (IDE), hd1 SATA1 part 1, hd2 SATA 1, part 2, hd3 etc....

but i also note that linux denotes them as hda, sda, sdb...

this i where i am confused.

can someone please help me edit that file correctly to bring me back to scratch?

, my boot order is hard disk, cd rom, floppy.

the disks are listed in the bootup page from IDE first down to CDROM last, buti have no idea if that is the actual sequence of boot up, as the bios doesnt give me an option to set the actual sequence.

Thanks for reading- i hope that someone out there can help this noob.


Old 01-16-2007, 06:43 AM   #2
LQ Veteran
Registered: Aug 2003
Location: Australia
Distribution: Lots ...
Posts: 20,685

Rep: Reputation: 3947Reputation: 3947Reputation: 3947Reputation: 3947Reputation: 3947Reputation: 3947Reputation: 3947Reputation: 3947Reputation: 3947Reputation: 3947Reputation: 3947
From rescue mode, enter the following commands, and post the output (all of it) for us
/sbin/fdisk -l
cat /boot/grub/menu.lst
cat /boot/grub/
Old 01-16-2007, 06:57 AM   #3
LQ Newbie
Registered: Feb 2006
Location: Belgium
Distribution: Debian, Suse, ubuntu
Posts: 1

Rep: Reputation: 0
mistake in Grub

Hello, t would be better if you listed your current grub menu here.
Meanwhile, lets hope this helps you:
Linux refers to Ide disks as hda1 (first partition on first disk), hda2 (second partition on first disk), ..., hdb1 (second disk, first partition), and to Sata disk partitions (and usb disks) as sda1, sda2, sdb1, ... but Grub does not follow this. So forget that until you are in Linux.

I understand Grub refers to (hd0,0) for first disk, first partition. Whether Sata disks are referred to differently i do not know, I have no sata disks.
If you do not know which disk is disk 0, I set up the default boot entry to linux, and try successively (hd0,0) and work my way up thru (hd1,0), (hd2,0). As The linux disk is not partitioned, trying hd0,1 is not needed.

my guess is that hd0,0 should be the one you need for FClinux, as you say it is the master disk. Once you get Linux up, you can edit "menu.lst" or the corresponding file on FC) easily to set up the windows partitions, using chainloader.
good luck!
Old 01-16-2007, 06:58 AM   #4
LQ Guru
Registered: Aug 2001
Location: Fargo, ND
Distribution: SuSE AMD64
Posts: 15,733

Rep: Reputation: 681Reputation: 681Reputation: 681Reputation: 681Reputation: 681Reputation: 681
A useful feature of the grub shell is the auto completion feature. On my desktop, when grub was first booting, it had a different idea of which drive was which than after it was booted. If you can boot up with a rescue disk, and mount your regular root partition, take a look at the /boot/grub/ file. It contains a /dev/sdX to (hdX) mapping that grub uses when booting.


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
I made a mistake :( Megatog615 Slackware 11 04-15-2006 02:22 AM
I made a mistake! Need help now jcksrobbins Mandriva 8 08-30-2003 11:17 PM
Made mistake in install of Samba ikw38 Linux - Networking 0 07-09-2003 01:49 AM
I made a mistake need help here ikw38 Linux - Networking 4 06-16-2003 02:06 PM
Linux Mandrake 8.0 -- HELP I made a mistake during install and don't know how to fix! Avatar Linux - Software 9 07-27-2001 11:30 AM > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 06:47 AM.

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