On 04-Jan-99 Zef Ploum wrote:
<snip>
> Later I found out that I put an x in /etc/fstab before
> /dev/hda3/ ext2 defaults 1 1
>
> <x/dev/hda/3/ ..etc ...>
>
> I tried to edit te file /etc/fsab
> but everything is read only
>
> How can I login to edit this file ?
> (I tried #LILO single user and I booted from a boot disk)
First off, you must login as the root user.
Once you've got that out of the way and you still can't edit the file, check if
the root file system is mounted in read-write mode using the "mount" command.
Run "mount" without any options. It should show a list of all mounted file
system together with their read-only/read-write state. The characters "rw"
indicate read-write, while "ro" is for read-only.
If your root file-system is mounted in read-only state, you should remount the
root file-system in read-write mode using the command "mount -w -n -o remount
/".
Strangely enough, the file-system should almost certainly have been mounted in
read-write mode by default when mounting it after booting from floppy. You
didn't try to edit the "/etc/fstab" on the floppy system's root did you? That
would most probably have been a different copy on either RAM disk or the floppy
disk.
Cort
[EMAIL PROTECTED]