[EMAIL PROTECTED] wrote:
>
> There's a Linux+NT Howto...
>
> But briefly:
> Use a DOS boot floppy to restore the MBR with DOS fdisk:
> A:\> fdisk /mbr
> Boot Linux from the boot floppy. You did make a boot floppy?
> Install lilo on the boot sector of the first ext2 partition.
> If that's /dev/sda5, for example,
> # dd if=/dev/sda5 of=bootsect.lnx bs=512 count=1
> Stick a new floppy in
> # mformat a:
> # mcopy bootsect.lnx a:
> Boot NT, and copy BOOTSECT.LNX to C:\
> Edit C:\boot.ini (you'll have to change attributes) and add
> C:\BOOTSECT.LNX="Linux"
This will work, but it's complicated, and you'll have to recreate the
bootsect.lnx every time you run lilo. I'm using a Windows 2000/Linux
dual boot here, the following /etc/lilo.conf was created automatically
by a fresh install of RHL 7.1:
#/etc/lilo.conf####snip###
boot=/dev/hda
map=/boot/map
install=/boot/boot.b
prompt
timeout=50
message=/boot/message
linear
default=w
image=/boot/vmlinuz-2.4.2-2
label=l
read-only
root=/dev/hda3
other=/dev/hda2
optional
label=w
###snip###
Basically, this tells lilo to boot the boot sector of the Win2000
partition. IIRC that's exactly the same what the DOS/Windows MBR boot
loader does.
On my system, the hdd is partitioned this way:
hda1 /boot (to stay below 1024 cylinders, just in case my four-year-old
mobo doesn't like lba32)
hda2 Windows 2000 C: (VFAT32)
hda3 /
hda4 extended
hda5... more partitions up to the 20 GB
I'm not sure about WinNT and Win2000 with NTFS instead of (V)FAT, but
it's worth a try because it cannot break anything. Just adjust my
example for your filesystems/partitions, run lilo and reboot. You should
see an boot entry called "w" (or whatever you call them, I use single
characters because before RHL 7.1 I had to type the boot label, and I'm
lazy...) which should invoke the WinNT boot loader.
Best regards,
Martin Stricker
--
Homepage: http://www.martin-stricker.de/
Registered Linux user #210635: http://counter.li.org/
_______________________________________________
Seawolf-list mailing list
[EMAIL PROTECTED]
https://listman.redhat.com/mailman/listinfo/seawolf-list