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.
Once we install XP, ntldr will be occupying the MBR. But later if we install Linux (dual booting), GRUB (stage I) will be occupying the MBR. My doubt here is, to which location the ntldr will be placed?. Will GRUB put the ntldr to a windows partition and then later will chainload the ntldr from the Windows partition to RAM when the user selects the XP operating system from the Boot menu?....
I can understand the chainloading concept (a bootloader loading another bootloader), but what i wish to know is, is the ntldr is taken off the MBR and placed to a different place when GRUB is placed in MBR?
The stage1 file of Grub is placed in the mbr in your scenario but all of the Grub bootloader files are not, obviously since the mbr is only 512 bytes. Grub doesn't place ntldr anywhere, it is installed to the root of the windows partition (usually C:\). Not using windows I'm not sure what file xp puts in the mbr. In my W98 install it was a file called bootsect.dos, which is 512 bytes just like stage1 in Grub.
Grub basically just points to where the windows bootloader is (or should be) on the windows partition.
The conventional MBR code expects the MBR Partition Table scheme to have been used, and scans the list of (primary) partition entries in its embedded partition table to find the only one that is marked with the active flag. It then loads and runs the Volume Boot Record for that partition.
Thank you friends for all your responses. Let me type what I understood:
NTLDR will be installed not in the MBR, but in the active partition of Windows and the partitition table entry with the active flag set will be used for booting and that is where ntldr is stored.
Is it right?
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.