LILO - Installed for boot floppy, now I want in on the harddrive...

LILO - Installed for boot floppy, now I want in on the harddrive...

Post by Jason Houg » Fri, 08 Nov 1996 04:00:00



When I originally installed Slackware, I choose to have LILO put
on a floppy rather than the harddrive (because at the time I still
needed NT's boot manager there). Now I dont need that anymore, and
I'd prefer not to rely on a floppy disk for booting my system
(especially since I have no idea how to make a copy of it).
So, I was wondering if someone could tell me how I can install LILO
on the harddrive (it's a 1 hard drive system, SCSI), and boot that way.

Any help is appriciated...

Thanks

-Jason
Staff Artist
Zono Inc.

 
 
 

LILO - Installed for boot floppy, now I want in on the harddrive...

Post by Jurgen Exne » Sun, 10 Nov 1996 04:00:00



Quote:> When I originally installed Slackware, I choose to have LILO put
> on a floppy rather than the harddrive (because at the time I still
> needed NT's boot manager there). Now I dont need that anymore, and
> I'd prefer not to rely on a floppy disk for booting my system
> (especially since I have no idea how to make a copy of it).
> So, I was wondering if someone could tell me how I can install LILO
> on the harddrive (it's a 1 hard drive system, SCSI), and boot that way.

1. Copy of floppy: To make an EXACT copy (on the bit-level) of a floppy, do

        "dd if=/dev/fd0 of=/dev/fd1" is you have two floppy drives, or
        "dd if=/dev/fd0 of=tmp", change floppies, "dd if=tmp of=/dev/fd0" for only
one drive.

2. Installing LILO in the MBR: It's mostly a question of changing the
"boot" entry in "/etc/lilo.conf" to the place, where you want to install
LILO, e.g. /dev/sda (for the MBR).
NOTE: not "/dev/sda1", as that would be the boot sector of the first
partition, not the MBR!!!

Afterwards run /sbin/lilo and be happy.

For details read either the man page for lilo or the excelent LILO-Howto