At the risk of being flamed out of existence. . .

I use the Windows 2000 boot loader to boot Linux.

Assumptions:
-------------------
* You need to either compile the kernel to read and write NTFS, 
     or use a floppy to transfer the file you're about to build 
     from on OS to the other.
* You have a valid Windows 2000 boot loader. If you don't, Win2K can put one
     there via standard recovery procedures (recovery console, etc).
* Windows 2000 is on /dev/hda1, and LILO on /dev/hda5 if not, 
     make appropriate changes.

1) Edit lilo.conf to put LILO on the /dev/hda5 partition, rather than the
MBR
2) Run LILO
3a) If you have NTFS writeable:
        # mount /dev/hda1 /mnt/w2k
        # dd if=/dev/hda5 of=/mnt/w2k/bootsect.lnx bs=512 count=1
3b) If not, and you're going by floppy
        # mount /dev/fd0 /mnt/floppy
        # dd if=/dev/hda5 of=/mnt/floppy/bootsect.lnx bs=512 count=1
        (reboot to W2K)
        C:\> COPY A:\BOOTSECT.LNX C:\BOOTSECT.LNX
4) From W2K:
        C:\> EDIT BOOT.INI
        Add:
                C:\BOOTSECT.LNX = "Linux - The Choice of a GNU Generation" 
        as the last line. You can also change the default to Linux by 
        editing the 'default=' line to:
                default=c:\bootsect.lnx

At this point, when you can boot either Linux or Windows 2000. 

-- Scott
____________________________________________
Scott Reimert
Siemens Business Services (SBS)
4900 Old Ironsides Drive, M/S 408
Santa Clara, Ca.  95052-8075
*: 408.492.3874
*: [EMAIL PROTECTED]
* Black holes are where God divided by zero *


-----Original Message-----
From: Philippe Moutarlier [mailto:[EMAIL PROTECTED]]
Sent: Thursday, March 16, 2000 3:56 PM
To: [EMAIL PROTECTED]
Cc: recipient list not shown
Subject: Re: Win2000 & Linux w/LILO. Issues?


Jason Costomiris <[EMAIL PROTECTED]> writes:

> On Thu, Mar 16, 2000 at 04:18:21PM -0600, Eric Cifreo wrote:
> : I upgraded the NT side to Win2000 Server and it cheesed the boot sector.
> : I rebooted with a linux boot floppy, re-ran LILO and it's behaved just
fine
> : since then....both boot just as before the upgrade.
> :

I think this is an old story : installing NT doesn't screw up the hda master
boot record but installing any WinXXXX will. Win2000 just shows it didn't
improve that ... and very probably nothing else, for that matter.


Philippe


-- 
To unsubscribe: mail [EMAIL PROTECTED] with "unsubscribe"
as the Subject.


-- 
To unsubscribe: mail [EMAIL PROTECTED] with "unsubscribe"
as the Subject.

Reply via email to