Re: Stuck with NT and Lilo
question 1:
install a scsi-enabled kernel package. configure it
add the new drives to /etc/fstab
question 2:
to get this working, you need a primary partition, where you can
install lilo on.
1) boot linux from the floppy.
2) install lilo to your root partition (hda6 - this is a problem.
it must be <= hda4). at this point it will be useless, as it never
gets started.
3) run fdisk. make the partition with lilo the bootable one. at this point,
linux would boot instead of win.
4) dd if=/dev/hda of=mbr.lnx count=1
5) save the mbr.lnx on a floppy or on some partition you can share between
windoze and linux.
6) run fdisk again and make the win partition bootable again.
7) boot win, copy the mbr.lnx to c:\
8) add this entry to your boot.ini
multi(0)disk(0)rdisk(0)partition(1)\mbr.lnx="linux debian 2.2"
if you choose "linux" in the ntldr now, it will boot a mbr again (i.e.,
re-start the boot sequence). the difference is, that the saved mbr will boot
lilo instead of ntldr.
this method works quite well (running lilo on the linux partition does
not require repeating the whole procedure), but it has the small disadvantage
of needing a primary partition (this could be circumvented with a smarter mbr
than the one from windoze).
a more conventional approach consists of these steps:
1) boot linux
2) install lilo to the linux root partition
3) dd if=/dev/hda? of=boot.lnx count=1
4) move boot.lnx to a shareable media
5) add an appropriate line to boot.ini and put boot.lnx in c:\
the problem of this approach is, that every time you update your kernel, you
have to repeat the whole procedure.
the advantage is, that it works with lilo installed on any partition.
a completely other approach uses lilo as the main boot manager:
put
image=/boot/linux
label=linux
alias=lnx
root=/dev/hda6
other=/dev/hda1
label=winblows-nt
alias=nt
in your lilo.conf and install lilo to your mbr.
many people do this, but some like the nt boot-loader being ther boot manager
because of it's look.
good luck!
--
Hi! I'm a .signature virus! Copy me into your ~/.signature, please!
--
Real programmers don't comment their code.
It was hard to write, it should be hard to understand.
--
Become part of the world's biggest computer cluster -
join http://www.distributed.net/
Reply to: