LinuxQuestions.org
Share your knowledge at the LQ Wiki.
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-28-2008, 10:24 PM   #1
james2b
Member
 
Registered: Feb 2007
Location: Washington state, USA
Distribution: Fedora 13, SUSE 11, Ubuntu 10.04, Mandriva 2010, Mint 8
Posts: 338

Rep: Reputation: 34
Question grub install location which is best and safe for windows XP


I would like to know the grub install location which is best and safe for a windows XP multi-boot system. I have 2 hard drives, 1 internal IDE, and 1 external eSATA drive. I have Linux installed on both drives, with several partitions on each disk. During a Linux install is it not correct to place the grub boot loader onto the windows drive MBR? Or should it be put on a separate boot partition where the Linux /root is? Also is it possible to put the grub onto the external drive when it is connected eSATA, and be able to boot both internal and external operating systems, or even install the grub onto a bootable USB flash drive?
 
Old 05-28-2008, 11:34 PM   #2
Larry Webb
LQ Veteran
 
Registered: Jul 2006
Location: Crystal Beach, Texas
Distribution: Suse for mail +
Posts: 5,100
Blog Entries: 7

Rep: Reputation: 229Reputation: 229Reputation: 229
If your usb or sata is seen in bios boot order yes you can place grub at either place to boot your distros. Grub requires very little space and I usually create a 200 meg partition on my first bootable drive and install grub there. What ever you use to boot load you will need to place it in mbr. I also use the indirect boot method or chain loading.

Last edited by Larry Webb; 05-28-2008 at 11:46 PM.
 
Old 05-29-2008, 12:21 AM   #3
james2b
Member
 
Registered: Feb 2007
Location: Washington state, USA
Distribution: Fedora 13, SUSE 11, Ubuntu 10.04, Mandriva 2010, Mint 8
Posts: 338

Original Poster
Rep: Reputation: 34
Smile

What file system can be used with a grub install, fat32, ext2 and 3, NTFS, or can a grub boot loader be installed on any file system? Does a external SATA hard drive with only Linux distro's installed on it, have a MBR, or is the master boot record only a windows thing? And are there not other files needed to be on an external removable type drive along with the GRUB, to make it bootable, ( such as ntldr, boot.ini, NTdetect )? My external HD is both eSATA and USB connection capable. I do have a bootable Linux pendrive USB flash drive, can I just put the grub onto that maybe?
 
Old 05-29-2008, 02:25 AM   #4
Honeysuckle
Member
 
Registered: Dec 2007
Location: Australia
Distribution: Puppy, debian
Posts: 118

Rep: Reputation: 15
Have you read the manual - it might help you answer your questions? http://www.gnu.org/software/grub/manual/grub.html

The easiest for me with trying various distros has been to let one distro overwrite the MBR (after creating a backup of the MBR to restore if I want to delete the distro and restore the Windows bootloader), then install each subsequent linux distro's bootloader to the same partition as that distro, and chainload it.

Those Windows files like ntldr that you mention stay in Windows - Windows is chainloaded.
 
Old 05-29-2008, 07:12 AM   #5
aus9
LQ Guru
 
Registered: Oct 2003
Posts: 5,124

Rep: Reputation: Disabled
there are 2 main options

1) bios to bootable xp partition with ntldr chainloads the grub image to boot linux if you want linux
2) bios to bootable grub partition either a separate or shared partition of linux which chainloads to xp bootloader if you want xp

check out my signature.

ps if you like grub....its often quicker to have a linux live cd handy....as if there is a prob with xp...xp recovery will wipe out grub but you can just re-install it with a few clicks of the keyboard.

good luck
 
  


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
Safe Linux uninstall, configuring grub nordicwalkingus Linux - Newbie 41 09-19-2007 01:03 PM
Multiple Kernel Entries in Grub ... Safe to Remove? SlowCoder Linux - Newbie 2 04-23-2007 10:31 PM
Bah, Config GRUB to boot in Windows safe mode evera Linux - Distributions 3 10-10-2005 05:57 PM
Accidental Install of Windows Second....Install GRUB? Brnzwngs Linux - Newbie 6 08-12-2005 02:10 PM
Grub looping on Suse 9.2, safe mode not working! dimension8300 Linux - Newbie 5 02-17-2005 10:17 PM


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

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