[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

Re: fstab problems



On 5/31/06, William Steibel <bsteibel amnh org> wrote:

No Ed,
I tried sudo first then swithed to root on Knoppix. In fc5 I logged in as
root. Still read only file systems


Bill,
Knoppix mounts file systems read only for your protection. You must
specifically right-click and make each file system read/write when
using the Knoppix boot CD. The right-click menu has changed so you may
need to look carefully at all of the options.

The following note, borrowed from here should help you out:


http://www-128.ibm.com/developerworks/linux/library/l-knopx.html?ca=dgr-lnxw04Knoppix

Rescuing a non-booting Linux system

This is the most common scenario. Something goes haywire, and boom, no
boot. No problem: boot up Knoppix and find all your local partitions
nicely iconicized on the KDE desktop. (Or cruise the file tree to
/mnt.) Click on the correct icon, and there are all your files. But
they are wisely mounted read-only. Again, no problem: right-click the
desktop icon to bring up a nice menu with a "Change read/write mode"
option. This mounts the filesystem on the partition as read/write. Now
you can edit any file.

The default user is knoppix. For operations that require root
privileges, you need to su to root and assign a root password:

 knoppix ttyp0[knoppix]# su
 root ttyp0[knoppix]# passwd

To mount a filesystem read/write from the command line:

 root ttyp0[knoppix]# mount -t reiserfs -o rw  /dev/hda5  /mnt/hda5

To unmount:

 root ttyp0[knoppix]# umount /mnt/hda5

If you get an error message "Could not unmount device, device is
busy," something is reading the filesystem. Close files and cd out of
the filesystem.

How do you know what mountpoint and filesystem to specify? Just read
/etc/fstab:

 root ttyp0[knoppix]# cat /etc/fstab
...
 # Added by Knoppix
 /dev/hda5 /mnt/hda5 reiserfs noauto,users,exec 0 0


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]