Need Help, Error in /etc/fstab and mount. system is read-only.
Hello everyone,
I have some stange issue that I need your help in,
suddenly my system became 'Read-Only',
when tried:
it returns:
Quote:
[mntent]: line 2 in /etc/fstab is bad
[mntent]: line 3 in /etc/fstab is bad
[mntent]: line 5 in /etc/fstab is bad
[mntent]: line 6 in /etc/fstab is bad
[mntent]: line 7 in /etc/fstab is bad; rest of file ignored
|
my /etc/fstab looks like this:
Quote:
# This file is edited by fstab-sync - see 'man fstab-sync' for details
/dev/VolGroup00/LogVol00 / ext3 none /dev/shm tmpfs rw,noexec,nosuid,nodev 0 0,usrquota,grpquota 1 1
LABEL=/boot /boot ext3 none /dev/shm tmpfs rw,noexec,nosuid,nodev 0 0 1 2
none /dev/pts devpts gid=5,mode=620 0 0
none /dev/shm tmpfs none /dev/shm tmpfs rw,noexec,nosuid,nodev 0 0 0 0
none /proc proc none /dev/shm tmpfs rw,noexec,nosuid,nodev 0 0 0 0
none /sys sysfs none /dev/shm tmpfs rw,noexec,nosuid,nodev 0 0 0 0
/dev/VolGroup00/LogVol01 swap swap none /dev/shm tmpfs rw,noexec,nosuid,nodev 0 0 0 0
/var/tmpFS /tmp ext3 /var/tmpFS /tmp ext3 rw,noexec,nosuid,nodev,bind 0 0 0 0
|
I cannot edit it because it says "Read-Only file system",
mount returns nothing:
Quote:
[root@hostname ~]# mount
[root@hostname ~]#
|
fdisk -l returns:
Quote:
Disk /dev/hda: 320.0 GB, 320072933376 bytes
255 heads, 63 sectors/track, 38913 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Device Boot Start End Blocks Id System
/dev/hda1 * 1 13 104391 83 Linux
/dev/hda2 14 38913 312464250 8e Linux LVM
Disk /dev/sda: 72.8 GB, 72839168000 bytes
255 heads, 63 sectors/track, 8855 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Device Boot Start End Blocks Id System
/dev/sda1 * 1 8855 71127756 8e Linux LVM
|
When trying to make new directory called 'test':
Quote:
mkdir: cannot create directory `test': Read-only file system
|
df -f
Quote:
df: cannot read table of mounted filesystems: No such file or directory
|
I am more then desperate for help here, I have no longer ideas about what can I try and do.
Any assistant would be great!
Hope that someone here can help me..
Thanks ahead and Best regards,
Ord.
|