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

Re: Solutions for booting dual OS (separate HDs)



On Wed, 2002-06-19 at 06:44, jani.pohjanraito@kuva.fi wrote:

<snip>
> AFAIK lilo will also overwrite win2k boot manager in a way that will make
> poor little win sulk and not ever be found again. So answer to any of the
> three below will solve my problems, II. or III. being more robust I suppose.
<snip>

Not entirely true. LILO will overwrite the w2k boot manager, but you can
still boot into w2k using LILO. You can just set up LILO to be your
primary boot manager and boot into Linux or w2k. In your /etc/lilo.conf
just add:

other=/dev/hda1 (assuming w2k is on disk a, partition 1)
	label=W2K

> Is there such a thing as relatively foolproof and simple way (aside from
> BIOS ;) ) to install an boot manager that does not touch/corrupt/overwrite the
> Win2k? Any links and experiences welcome.
> 
> III. 
> Now as I write this I started to wonder if it would be possible to
> add the lead to linux boot record into windows BOOT.INI ? For win2k boot.ini
> says:
> multi(0)disk(0)rdisk(0)partition(1)\WINNT="Microsoft Windows 2000 Professional" /fastdetect
> Anyone ever try it 'the windows way'?

This is how I USED to do things, but as I found myself using Linux more
and more and Windows less and less I did the above. If you want to do
this, you can set up the NT bootloader to load LILO which will, in turn,
load Linux.

If you want a link, here it is:
http://www.google.com/search?q=win2k+linux+boot+dd

Otherwise, for the "quick and dirty" instructions:

Make sure that you DO NOT install LILO into the MBR. If possible, make
sure that your W2K boot partition is FAT32. Compile in VFAT support into
your Linux kernel. Mount your W2K partition (for this example we'll
mount it on /w2k). Assuming that your Linux partition is /dev/hdb1
(change as appropriate below)

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

Then open up your /w2k/boot.ini and add a line such as:

c:\linux.bin="Debian"

Now, if your W2K partition HAS to be NTFS (mine did because I was
concerned about at least pretending that my stuff in w2k was secure :),
then you won't be able to do it so easily. If you have a FAT32 parition
available somewhere then mount it, put linux.bin on it, boot into w2k,
and then copy linux.bin to your c: drive.

Keep in mind that anytime you have to re-run LILO (e.g. after a kernel
update) you'll have to redo the dd above. If your w2k boot partition
isn't FAT32 (like mine wasn't) you'll see why the first LILO-based
alternative is a much better idea IMHO. :) Good luck.

-Alex



Attachment: signature.asc
Description: This is a digitally signed message part


Reply to: