Download your favorite Linux distribution at LQ ISO.
Go Back > Forums > Linux Forums > Linux - Distributions > Fedora
User Name
Fedora This forum is for the discussion of the Fedora Project.


  Search this Thread
Old 08-11-2005, 09:34 AM   #1
Registered: Mar 2005
Posts: 31

Rep: Reputation: 15
GRUB hangs on boot

I didn't want to install grub on my mbr, so I created a boot partition. After fc4 finished installing, I restarted and it automatically loaded XP. So, I find these instructions from a gentleman named Shams website:

chroot /mnt/sysimage
this will change you to your linux system,after you changed to your system, run
the command:
dd if=/dev/hdax of=bootsect.lnx bs=512 count=1
now copy the bootsect.lnx to your C drive,to do it, we need to mount the C drive, make a
directory in /mnt named windows with:
mkdir /mnt/windows
now mount the C drive on /mnt/windows with:
mount -t vfat /dev/hda1 /mnt/windows
if your C file system is ntfs change the vfat(fat 32) to ntfs,now run the command:
cp -v bootsect.lnx /mnt/windows
or you can copy the bootsect.lnx to any removable media like floppy and then to the C drive.

Boot to your windows xp, open the dos and change to the C drive, open the
boot.ini in the notepade with:
C:\>notepade boot.ini
add this line to the boot.ini:
save and exit,you are done, reboot,and choose the Linux from the menu.
After this, I was able to see my change to boot.ini in the ntldr, but when I select it, a blank screen comes up that says GRUB and then a blinking cursor next to it. However, I can't type anything and it appears to be stuck at this point.

How do I set it up so that GRUB boots, but without doing it on the MBR?
Old 08-12-2005, 10:43 AM   #2
Senior Member
Registered: Oct 2003
Location: /earth/usa/nj (UTC-5)
Distribution: RHEL, AltimaLinux, Rocky
Posts: 1,151

Rep: Reputation: 46
That usually means that grub is configured to look for "/boot" or “/” in the wrong partition.

The easy fix is to “reinstall” grub natively as is described in the Grub Manual ( ) using the “find ...”, “root ...” and “setup ...” grub commands, in that order. In your case, the final command will be something like:

grub> setup (hd0,2)

for the situation where /boot/grub/grub.conf is located in /dev/hda3. This would install grub “to the first sector of the boot partition”.

Alternatively, the “GRUB” error may mean that there is a problem with the /boot/grub/grub.conf configuration.

Last edited by WhatsHisName; 08-12-2005 at 10:51 AM.


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
GRUB Hangs on boot toadeny Fedora - Installation 4 03-16-2005 11:13 PM
System won't boot, prints GRUB then hangs BobM Red Hat 6 09-20-2004 04:57 AM
FC-2 / WinXP Dual Boot hangs at GRUB BWebb Linux - Newbie 4 08-16-2004 02:50 PM
RedHat 9 Hangs during boot - Problem with Grub gavp1979 Linux - General 0 06-03-2004 03:35 AM
new install wont boot, hangs at grub cphase Slackware - Installation 12 02-06-2004 10:31 PM > Forums > Linux Forums > Linux - Distributions > Fedora

All times are GMT -5. The time now is 03:38 PM.

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