Barry Marler wrote:

On Wed, 11 Feb 2004 07:32:42 +0800
Stephen Liu <[EMAIL PROTECTED]> wrote:



Barry Marler wrote:



<snip>

/dev/Root is a placeholder in the default install fstab.  Change it
(and other fstab entries) to the actual device names.





Hi Barry

Thanks for your response.

Now my problem is I can't edit files anymore because login 'read


file >system'. I can login without password. If keying in password,


'incorrect password' popup. Any solution?





I haven't followed the entire thread; can't you boot from the CD,
mount the necessary stuff, and edit the file?




Hi Barry,

Last time I was prepared to boot from CD but incidentally I could
start 'Fail Safe'.  So I edited /etc/fstab but in a wrong way.  Now I
am not allowed to login as ROOT nor to start 'Fail Safe' the second
time.  If no solution found then I will start from CD1 to mount and
chrooot.

I think that I should edit /etc/fstab as follows;

/dev/hda1        /boot        ext2        noauto,noatime        1 1
/dev/hda3        /        reiserfs    noatime            0 0
/dev/hda2        none        swap        sw            0 0
/dev/cdroms/cdrom0    /mnt/cdrom    iso9660        noauto,ro        0
0/dev/fd0        /mnt/floppy    auto        noauto            0 0

# NOTE: The next line is critical for boot!
none            /proc        proc        defaults        0 0

# Adding the following line to /etc/fstab should take care of this:

none /dev/shm tmpfs defaults 0 0

If I am wrong please correct me.

Furthermore shall I comment out the last line
'none /dev/shm tmpfs defaults 0 0"



Can't say if that's right, because I don't know the details of your system. However, it is of the right form. Please boot from the CD, mount /, and edit /etc/fstab.


Hi Barry,

I am not allow to mount without knowing the FS of /dev/hda3

fdisk -l
only showing 'Linux'

Kindly advise how to find it out. TIA

B.R.
Stephen



--
[EMAIL PROTECTED] mailing list



Reply via email to