Dual Boot Kolibrios with Windows NT/2K/XP/7: Difference between revisions

From KolibriOS wiki
Jump to navigation Jump to search
No edit summary
No edit summary
 
(One intermediate revision by the same user not shown)
Line 1: Line 1:
There are two ways for doing this, using two different bootloaders.
They work the same but are different to install.
'''These boot methods will not work on a partition formatted in FAT12 or FAT16!'''
'''These boot methods will not work on a partition formatted in FAT12 or FAT16!'''
'''Only FAT32 and NTFS are supported!'''
'''Only FAT32 and NTFS are supported!'''


Line 30: Line 26:


== Windows NT/2k/XP ==
== Windows NT/2k/XP ==
=== The Well-explained way===


First and foremost. You need the following files:
There are two different bootloaders available.<br />
*mtldr: http://ftp.kolibrios.org/pub/bootloaders/mtldr (it is the kolibri loader just like ntdlr for winxp)
Using MTLDR you boot kolibri.img and the kernel.mnt that's inside the image. <br />
*kolibri.img: you can get this file from the latest distro on http://kolibrios.org/en/download (it's inside the binary package)
If you rather have kernel.mnt as a separate file on the disk. (For development purposes for example), you can use the second bootloader. <br />


=== Using MTLDR ===


You'll need the following files:
MTLDR: http://ftp.kolibrios.org/pub/bootloaders/mtldr (it is the kolibri loader just like ntdlr for winxp)
kolibri.img: KolibriOS universal image, get it from http://kolibrios.org/en/download (it's inside the distribution package)


*Copy those files to your first partition (commonly C: ) It doesn't matter if it is a NTFS partition, KolibriOS is capable to run from it.
1) Copy those files to your first partition (commonly C: ) <br />
*Open the file "boot.ini" which is commonly located at root (c: ). However, you should change its properties to writeable as you can see in the following images:
2) Open the file "boot.ini" which is commonly located at root (c: ). However, you should change its properties to writeable as you can see in the following images:<br />


[[Image:mtldr_img00.jpg|mtldr_img00.jpg]]
[[Image:mtldr_img00.jpg|mtldr_img00.jpg]]
[[Image:mtldr_img01.jpg|mtldr_img01.jpg]]
[[Image:mtldr_img01.jpg|mtldr_img01.jpg]]


maybe you're a newbie at WinXP, so you must know that you must set your folder options to show "hidden files", and exclusively "system files"
Maybe you're a newbie at WinXP, so you must know that you must set your folder options to show "hidden files", and exclusively "system files"<br />
*You must add the following lines to your "boot.ini" file:
3) Add the following lines to your "boot.ini" file:
  c:\mtldr="KolibriOS"
  c:\mtldr="KolibriOS"
maybe a picture could help:


[[Image:mtldr_img02.jpg|mtldr_img02.jpg]]
[[Image:mtldr_img02.jpg|mtldr_img02.jpg]]


*save it and all is set, only left to reboot...
4) Notice that you can change the timeout setting. (3 seconds seems suitable in most cases.)<br />
*Notice that you can change the timeout to 3 seconds or less that way you won't wait a lot until your default operating system runs while you're not in the mood to select manually..
5) Save changes to boot.ini and reboot the computer.<br />
 
This tutorial was originally written by Vhanla.


=== The other way ===
=== Using boot.bin ===


You need only the two files in this zip:  
You'll need the following files:
[http://ftp.kolibrios.org/pub/bootloaders/HDD_Boot.7z HDD_Boot.zip].  
boot.bin & setboot.exe from this zip: [http://ftp.kolibrios.org/pub/bootloaders/HDD_Boot.7z HDD_Boot.zip].  
kolibri.img: KolibriOS universal image, get it from http://kolibrios.org/en/download (it's inside the distribution package)


*Create a folder C:\kolibri , Copy the Kolibrios Files (kernel.mnt and kolibri.img) into that folder.  
1) Create a folder C:\kolibri, copy the KolibriOS files (kernel.mnt and kolibri.img) into that folder. <br />
*Extract the zipfile into the same directory and run setboot.exe, follow the instructions.
2) Extract the zipfile into the same directory and run setboot.exe, follow the instructions.<br />
*Open the file C:\boot.ini and add the parameter C:\kolibri\boot.bin="KolibriOS_HDD".  
3) Open the file C:\boot.ini and add the parameter C:\kolibri\boot.bin="KolibriOS_HDD". <br />
*Restart your computer and select "KolibriOS_HDD" in the boot menu.
4) Restart your computer and select "KolibriOS_HDD" in the boot menu.<br />


[[Category:Manuals]]
[[Category:Manuals]]

Latest revision as of 11:53, 18 July 2014

These boot methods will not work on a partition formatted in FAT12 or FAT16! Only FAT32 and NTFS are supported!

Windows 7

The process on Windows 7 is different compared to Windows XP/2k/NT etc . Since there is no boot.ini available on Windows 7, you must create a boot entry using another tool, called EasyBCD.

Here are the steps :

1) Install EasyBCD from http://neosmart.net/EasyBCD/ . The non-commercial license is free for use.
2) Download one of the available images from http://kolibrios.org/en/download. (I used the Universal image Flash/HDD option).
3) Extract the "kolibri.img" file from the archive you downloaded in Step 2 to a convenient location (I used C:\kolibri.img).
4) Open EasyBCD.
5) Click "Add New Entry".
6) Under "Portable/External Media" section, select "Floppy".
7) Enter what you want as the name. I chose "KolibriOS".
8) In the path field, enter the path where you have kolibri.img ("C:\kolibri.img" in my case).
9) Click "Add Entry" in the same "Portable/External Media" section.

Done.

Reboot into KolibriOS and have fun.

easybcd_kos.png

Windows NT/2k/XP

There are two different bootloaders available.
Using MTLDR you boot kolibri.img and the kernel.mnt that's inside the image.
If you rather have kernel.mnt as a separate file on the disk. (For development purposes for example), you can use the second bootloader.

Using MTLDR

You'll need the following files:

MTLDR: http://ftp.kolibrios.org/pub/bootloaders/mtldr (it is the kolibri loader just like ntdlr for winxp)
kolibri.img: KolibriOS universal image, get it from http://kolibrios.org/en/download (it's inside the distribution package)

1) Copy those files to your first partition (commonly C: )
2) Open the file "boot.ini" which is commonly located at root (c: ). However, you should change its properties to writeable as you can see in the following images:

mtldr_img00.jpg mtldr_img01.jpg

Maybe you're a newbie at WinXP, so you must know that you must set your folder options to show "hidden files", and exclusively "system files"
3) Add the following lines to your "boot.ini" file:

c:\mtldr="KolibriOS"

mtldr_img02.jpg

4) Notice that you can change the timeout setting. (3 seconds seems suitable in most cases.)
5) Save changes to boot.ini and reboot the computer.

Using boot.bin

You'll need the following files:

boot.bin & setboot.exe from this zip: HDD_Boot.zip. 
kolibri.img: KolibriOS universal image, get it from http://kolibrios.org/en/download (it's inside the distribution package)

1) Create a folder C:\kolibri, copy the KolibriOS files (kernel.mnt and kolibri.img) into that folder.
2) Extract the zipfile into the same directory and run setboot.exe, follow the instructions.
3) Open the file C:\boot.ini and add the parameter C:\kolibri\boot.bin="KolibriOS_HDD".
4) Restart your computer and select "KolibriOS_HDD" in the boot menu.