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.
However, I believe that by default Windows overwrites the master boot record, so after installing Windows you will need to go back and re-install GRUB onto the device.
Distribution: RHEL, CentOS, Debian, Oracle Solaris 10
Posts: 1,415
Rep:
raj00raj,
You posted the same question in another thread also, http://www.linuxquestions.org/questi...ooting-942989/, please keep the discussion at one place.
And coming to your question, no windows cannot be installed using grub.
Rest you can check on google what is grub.
Last edited by Satyaveer Arya; 05-04-2012 at 08:52 PM.
However, I believe that by default Windows overwrites the master boot record, so after installing Windows you will need to go back and re-install GRUB onto the device.
I used to believe this too. I actually installed Windows 7 onto a partition the other day and sure enough when my computer booted up, my usual grub legacy didn't boot up. I booted a live cd and reconfigured my boot partition to be the first boot device, and on reboot everything was normal, and when i selected windows from the menu, it chainloaded it fine. If it had have been on the mbr, i'd think the chain load wouldn't work. I suspect that Windows does what Opensuse does (which i hate) and that is; the bootloader is installed to the root partition but it is configured automatically to be the first boot device.
To clarify that, the bootloader of NT6 (Vista, 7) is a multi-stage bootloader, like Grub. It's first stage resides in the MBR, the second stage resides in the partitions boot-sector, the third stage is a program called bootmgr, which is found in the root directory of the system partition.
If for whatever reason Windows has not replaced the MBR on your system then you had the luck that the installer failed to write to the MBR.
The only reason I could see windows not overwriting the MBR is if you used two hard drives. If your linux drive was made secondary while while windows was installed on the other drive and then you later swapped the drives you would still have grub because windows wrote to the second MBR. of course if thats the case you will most likely have to update grub to include windows.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.