Re: [ILUG] somebody shoot me

From: Trevor Johnston (trevj at domain redbrick.dcu.ie)
Date: Tue 02 Oct 2001 - 16:15:53 IST


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



This archive was generated by hypermail 2.1.6 : Thu 06 Feb 2003 - 13:12:26 GMT