On Mon, 1 Oct 2001, Ulysees wrote:
> I'm trying to install lilo on a boot floppy and it's being awkward. I
> already have a fs on the floppy and i'm really just swappin kernels.
> I've mounted the disk, swapped the kernels, edited the lilo conf on
> floppy but when i try to do a lilo -C /etc/lilo.conf -r /mnt/floppy -v
> 5 and it all goes normally until i tries to actually read the boot
> sector of the floppy, it come's back with "Fatal: open /dev/fd0:
> Permission denied"
When mounting /mnt/floppy, you have to mount it with the option of
allowing device files on the filesystem. In other words, do something
like:
mount -o dev /dev/fd0 /mnt/floppy
and thereafter your lilo stuff will work fine.
I spent an entire evening pulling hair out over this exact problem;
eventually came across the answer on Google (took ages).
Trevor Johnston
Maintained by the ILUG website team. The aim of Linux.ie is to
support and help commercial and private users of Linux in Ireland. You can
display ILUG news in your own webpages, read backend
information to find out how. Networking services kindly provided by HEAnet, server kindly donated by
Dell. Linux is a trademark of Linus Torvalds,
used with permission. No penguins were harmed in the production or maintenance
of this highly praised website. Looking for the
Indian Linux Users' Group? Try here. If you've read all this and aren't a lawyer: you should be!