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

Re: LiLo installing



On Sat, Nov 23, 2002 at 12:30:30AM +0200, HNO3 wrote:
> Hello.
> How i can install lilo when i have system like this:
> there is Win98 installed at hda
> and linux is in hdb, without boot partition. (only 2 linux partions and swap)
> Now i have a boot disk and i put it in when i want to start up linux.
> 
> How i can install lilo (or something similar boot menu) if i don't want to
> lose data on my disks?

For dual boot, use a lilo.conf something like:

lba32			     #maybe don't need this
boot=/dev/hda
root=/dev/hdb1               #assuming you boot first partition
install=/boot/boot.b
map=/boot/map
message=/boot/bootmess.txt   #If you want a boot prompt
        prompt
        delay=20
        timeout=100

image=/vmlinuz
        label=linux
        read-only
        initrd=/boot/initrd.img  #if you need initrd

#other is Windows98 boot partition
other=/dev/hda1
        label=dos

Or you could use grub with menu.lst:

default         saved
timeout         15
color cyan/blue white/blue

title           Debian GNU/Linux, kernel 2.4.19-k6  #change to your kernel
root            (hd1,0)
kernel          /vmlinuz-2.4.19-k6 root=/dev/hdb1 ro #assume boot hdb1
initrd          /initrd.img-2.4.19-k6               #if you need initrd
savedefault
boot

title         Windows 98
root          (hd0,0)
makeactive
chainloader   +1


-- 
Jerome

Attachment: pgpOVj9s878QS.pgp
Description: PGP signature


Reply to: