LILO boot floppy
Anita Lewis
ajlewis2
Mon May 17 11:33:29 PDT 2004
On Mon, 17 Jun 2002 19:32:26 -0700, Kevin O'Gorman wrote:
> I used to build LILO boot floppies all the time. They had a very
> small filesystem, with /dev/*, /boot/* and /etc/lilo.conf, a kernel
> and sometimes an initrd. They were maintained, if I recall, by
> mounting them, them doing
> /sbin/lilo -r /mnt/floppy
>
> However, nowadays when I try that on RH 7.1, i get an error
> Fatal: open /dev/fd0: Permission denied
>
> I do this as root, of course, and so I have to ask what more
> permission do I need? The floppy contains /dev/fd0, identical
> to that on the real filesystem, with the same permissions.
>
> Anyone have a clue? Anyone have a SxS?
>
> ++ kevin
>
The way I make a lilo boot floppy is to modify /etc/lilo.conf so that the
top line is boot=/dev/fd0 instead of /dev/hdxx. Then I put a floppy in and
run /sbin/lilo. The resulting floppy gives me a lilo prompt and boots the
kernel on the hard drive. Is that what you are looking for? I usually then
change /etc/lilo.conf back to what it was for when I next need to update
LILO in the mbr.
--
Anita
GnuPG key: 1024D/9EDAC910
More information about the Linux-users
mailing list