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?

Assuming /dev/hdb1 is your root partition add or change the following to
your /etc/lilo.conf:

  boot=/dev/hda
  root=/dev/hdb1

  prompt

This will overwrite the boot sector on /dev/hda. The boot sector on hda
can be restored to its pre-LILO self by running "lilo -u" as root.

-- 
Seneca
[EMAIL PROTECTED]


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to