[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: NT and Debian dual boot?



On Mon, Nov 02, 1998 at 11:28:27AM -0800, Jim Pick wrote:
> You can also use the NT boot loader to load Linux.

Yes, first of all install lilo into the root-partition. Do not install the
first stage loader in the MBR. This is the default setup of lilo, so you
should be fine. Dont install the package called "mbr".

Then you simply need to copy the boot sector of the root partition to a
file:

dd if=/dev/hda2 of=/linux.bin bs=512 count=1

(The /dev/hda2 has to be replaced with the partiotion which you have
installed lilo to (see the boot= line in lilo.conf).

The above file (/linux.bin) now needs to be moved to the c:\ partition of
the NT Systemdrive (where the boot.ini is located).

Then you need to add a line something along the line of 

[boot loader]
timeout=30
default=multi(0)disk(0)rdisk(0)partition(1)\WINNT
[operating systems]
multi(0)disk(0)rdisk(0)partition(1)\WINNT="Windows NT Server, Version 4.0"
multi(0)disk(0)rdisk(0)partition(1)\WINNT="Windows NT Server, Version 4.0 [VGA-Modus]" /basevideo /sos
c:\linux.bin="Linux Loader for root=/dev/hda2"

to your boot.ini (make it writeable first).

More information is in the files /usr/doc/HOWTO/mini/Linux+NT-Loader.html

Greetings
Bernd

PS: I might add something to support this into liloconfig
-- 
  (OO)      -- Bernd_Eckenfels@Wendelinusstrasse39.76646Bruchsal.de --
 ( .. )  ecki@{inka.de,linux.de,debian.org} http://home.pages.de/~eckes/
  o--o     *plush*  2048/93600EFD  eckes@irc  +497257930613  BE5-RIPE
(O____O)       If privacy is outlawed only Outlaws have privacy


Reply to: