Home
Main website
Display Sidebar
Hide Ads
Recent Changes
View Source:
WindowsLoaderLinuxBootHowto
Edit
PageHistory
Diff
Info
LikePages
!! Preparation Intall your flavour of NT-based [Windows] first. Make sure you use [FAT32] for your C: [Partition]. Follow up with your LinuxDistribution but don't install your BootLoader into the [MBR]. Instead, install it to the BootSector of your [Linux] root [Partition]. (This is usually offered as an option during installation.) If you cannot boot into your [Linux] system using your installation CD, make sure to create a BootDisk when asked whether you want one. !! Save the [Linux] BootSector Now boot your [Linux] system. Become root and pull a copy of the BootSector to a file: <verbatim> dd if=/dev/hda1 of=bootsect.lnx bs=512 count=1 </verbatim> __Beware! You will not be prompted for confirmation, so make sure to type this command carefully! A typo may cost you your partition table!__ Make sure to use the appropriate [Partition] if <tt>/dev/hda1</tt> is not your [Linux] root partition. F.ex it might be <tt>/dev/sda1</tt> if you installed on a [USB] keydrive. Invoke mount(8) without parameters and look for the partition mounted on <tt>/</tt> if you don't know the name of your root partition. !! Make the BootSector available to [Windows] The <tt>bootsect.lnx</tt> file you just created must be made available to [Windows]. To this end, mount the [FAT32] partition mentioned above. Usually this has already been set up to happen automatically by the installer, which commonly uses a mount point such as <tt>/mnt/windows/C</tt>. <verbatim> cp bootsect.lnx /mnt/windows/C </verbatim> !! Configuring [Windows] to use the BootSector In [Windows], edit the hidden file <tt>C:\boot.ini</tt> and add the following line: <verbatim> C:\bootsect.lnx="Linux" </verbatim> You should now have a "Linux" entry in the [Windows] BootLoader. Selecting this should get you into your [Linux] system. ---- CategoryHowto
No page links to
WindowsLoaderLinuxBootHowto
.