Results 1 to 10 of 11
if i install Linux and windows then there will be two bootloaders in the MBR. tell me how does it works. the bootloader which shows us about selecting OS is ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
- 04-07-2008 #1
Linux & windows boot loaders
if i install Linux and windows then there will be two bootloaders in the MBR.
tell me how does it works.
the bootloader which shows us about selecting OS is of Linux i wanna know where does Windows boot loader goes????
- 04-07-2008 #2
Windows Boot Loaders work differently than Linux. Windows OS installs Boot Loader in Boot Sector of Root Partition ( C: Drive ) by default and a chainloading code in MBR.
When you install Linux, installer installs GRUB/Lilo in MBR overwriting Windows Chainload code. Installer of most of Linux distros detect Windows OS and add chainloading code :
title Windows OS rootnoverify (hdx,y) chainloader +1
- 04-07-2008 #3
u mean to say if we have two OS one is windows and second is Linux then Linux Boot Loader is present in MBR,there is no windows Boot loader.
Also please do write me few lines about ChainLoad.
- 04-07-2008 #4
If you had windows installed on the HDD first then the windows boot loader will be present in the MBR. Then if you install Linux the MBR will be overwritten with the linux boot loader.
Please note: GRUB and LILO will usually detect Windows and will give you the option to choose the OS to boot.
- 04-07-2008 #5u mean to say if we have two OS one is windows and second is Linux then Linux Boot Loader is present in MBR, there is no windows Boot loader.
You can use chainloading to boot Linux OSes too. Let say you are dual booting Linux OSes.
* Installer of first Linux distro will install GRUB in MBR (its default).
* Install GRUB of second Linux distro in Boot Sector of / partition.
* Add chainloading code in first distros GRUB.
First distro's GRUB will invoke second distro's GRUB.
Last edited by devils casper; 04-07-2008 at 05:26 PM. Reason: typo
- 04-07-2008 #6
- 04-08-2008 #7
it means that if we have two OS(windows and linux) then in MBR only on boot loader is there and that is of Linux.
- 04-08-2008 #8
MBR can't store more than one Boot Loader but Boot Loader selection depends on user only. You can use Windows Boot Loader for dual boot setup too.
- 04-09-2008 #9
so where does Windows Boot Loader is if MBR has Linux boot Loader
- 04-09-2008 #10
Its in Boot Sector of Windows Main Partition ( C: Drive ). Please read all posts again.