grub install location which is best and safe for windows XP
Linux - NewbieThis 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
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
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?
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 10:46 PM.
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?
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.
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.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.