LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices


Reply
  Search this Thread
Old 11-02-2005, 01:33 AM   #1
auspicious
LQ Newbie
 
Registered: Apr 2005
Location: Islamabad, Pakistan
Distribution: Redhat, Fedora, Mandrake, BSD
Posts: 3

Rep: Reputation: 0
grub-install (FC4 + xp home sp2)


hi guys, I have a problem installing grub on my hdd. I installed fc4 on my computer, updated it using yum and then installled windows xp home sp2 on a different partition. windows xp overwrote MBR. so I boot the system using fc4 rescue cd and tried to install grub using 'grub-install /dev/hda'
the system just sits there forever and doesnt do anything,doesnt come back to the prompt again. I have done the same thing many times with redhat 9 and FC2 and never had any problem.
 
Old 11-02-2005, 11:23 AM   #2
Vampirite
Member
 
Registered: Apr 2005
Location: England
Distribution: Arch Linux
Posts: 223

Rep: Reputation: 30
I used that in Slackware 10.2 and it worked fine, but you could do this:
Code:
bash# grub
This should run Grub

Code:
grub> root (hd0,0)
Sets Grub's root device to the one with the boot directory. (Assumed first partition on first hard disk)

Code:
grub> setup (hd0)
This should setup Grub on the MBR

Code:
grub> quit
Quit's Grub


This should work - I think.


Hope that helps.

Last edited by Vampirite; 11-09-2005 at 01:43 PM.
 
Old 11-18-2005, 10:39 PM   #3
tinybit
Member
 
Registered: Jul 2005
Location: China
Distribution: Mandriva
Posts: 84

Rep: Reputation: 15
GRUB and LILO always conflict with Windows. And GNU GRUB is not so robust, causing many problems during boot.

So try GRUB for DOS please. It is a cross-platform boot loader based on GNU GRUB. The GRUB.EXE can be started from DOS/Win9x; and GRLDR can be started from BOOT.INI of Windows NT/2K/XP/2003; and even more, the GRUB.EXE can be started from LINUX via the KEXEC tool.

By using GRUB.EXE or GRLDR, you don't have to touch your MBR. It is the safest way coexisting with DOS/Windows.

You needn't install GRUB for DOS. Just run GRUB.EXE from DOS, or append a line of "C:\GRLDR=START GRUB" into your BOOT.INI(restart and select the "START GRUB" menu item), that will do.

Download GRUB for DOS here: http://freshmeat.net/projects/grub4dos/

There is a fat12grldr.img file with the GRUB for DOS release. You can create a GRUB bootable floppy with this fat12grldr.img file.

Or, you can just copy GRUB.EXE to your DOS floppy and run GRUB.EXE to enter the GRUB environment.

If the system has no DOS/WINDOWS, you may use the bootlace.com utility to write GRLDR boot record onto the MBR.
 
  


Reply



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 On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Samba< Xp Pro Sp2, Fc4 BFEINZIMER Linux - Networking 3 01-29-2006 08:53 AM
FC4, how do I install Grub instead of Lilo MurX Linux - Software 12 10-16-2005 09:19 AM
tried to install fc4 grub problem einstien Fedora 1 06-29-2005 09:08 AM
Windows SP1/SP2? Should I install it? WarlockofVirgo General 12 11-19-2004 08:50 PM
windows xp professional sp2 for home edition melinda_sayang General 1 09-14-2004 07:45 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 04:34 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
Open Source Consulting | Domain Registration