Results 1 to 10 of 11
Thread: Linux & windows boot loaders
Enjoy an ad free experience by logging in. Not a member yet? Register.
Linux & windows boot loaders
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????
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
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.
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 04:26 PM. Reason: typo
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.
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.
so where does Windows Boot Loader is if MBR has Linux boot Loader
Its in Boot Sector of Windows Main Partition ( C: Drive ). Please read all posts again.