Linux - NewbieThis Linux forum is for members that are new to Linux.
Just starting out and have a question?
If it is not in the man pages or the how-to's this is the place!
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Introduction to Linux - A Hands on Guide
This guide was created as an overview of the Linux Operating System, geared toward new users as an exploration tour and getting started guide, with exercises at the end of each chapter.
For more advanced trainees it can be a desktop reference, and a collection of the base knowledge needed to proceed with system and network administration. This book contains many real life examples derived from the author's experience as a Linux system and network administrator, trainer and consultant. They hope these examples will help you to get a better understanding of the Linux system and that you feel encouraged to try out things on your own.
Click Here to receive this Complete Guide absolutely free.
I recently "upgraded" my system from Ubuntu 10.4 to Ubuntu 11.10. The process seemed to complete well enough, but yesterday (19 October 2011) I installed recommended updates and something went wrong. I have my installation and /home folder on a 40 GB drive with a single partition. I have been moving my data files to a 2 TB drive, also with a single partition, and I have an external 80 GB drive I use for backups.
After installing updates yesterday, I attempted to move a Thunderbird email message to the 2TB drive and was informed that the drive was in use by another process. Nothing else was running, at the time, so I looked up the properties for the folder I was attempting to use and found the permissions set to Access Files as opposed to Read/Write. When I attempted to reset the permissions I received a error message saying the File System is read only.
Since then I have discovered that my 80 GB backup drive is also listed as a Read Only File System. I have looked at a number of posts reputed to be pertinent to this issue, some quite old. However, I have not been able to find an effective solution to my problem. Any help would be appreciated.
Check you fstab file and see that it isn't configure to mount as ro.
My fstab file is not very revealing in this case. Perhaps I do not know enough to read it correctly. In the first place, neither of the drives I am concerned with seem to show up in the fstab listing. There are three devices listed: sda1, sdb1, and sdb5. sda1 and sdb5 are listed as <type> ext4. sdb1 is listed as swap. The drives I am looking for are both ntfs, if I read the fstab documentation correctly. I have an <options> on sda1 that reads "errors=remount-ro" which may have something to do with the problem, but I can't save the fstab file if I change it.
I have read through "How to edit and understand /etc/fstab" but did not find a way to actually edit the file. I can display it, but not save changes. How should I proceed?
So unmont the devices in question and remount them.
You should use the sudo command.
I admit I have learned a lot, but apparently not sufficient to complete the task. I managed to find a device ID to unmount by going to the /etc/fstab and /etc/mtab files. Using
sudo umount /dev/sdb1 -v
I was able to unmount the volume. However, when I attempt to use the 'mount' command using either the device ID or the device name, as listed in the mtab file while the drive is mounted, I get the following message:
mount: can't find /dev/sdd1 in /etc/fstab or /etc/mtab
The message is absolutely correct because both the fstab and mtab files are dynamic. As soon as I unmount the drive, it disappears from both tables. Further, I have not been able to find a way to edit the tables ... which makes a certain amount of sense if they are dynamic OS files. Editing them by force could be extraordinarily messy for a neophyte to Linux.
Apparently I have missed the point of the exercise. I have seen the umount - mount stuff in other forums, but I simply can't seem to get it to work. Any comments?
Too much confusion, not enough data to help with.
Dynamic remounting as read only is generally because of errors on the filesystem, and the mount options (in fstab as you found). Attempting to remount as writable will generally fail for the same reason.
Have you re-booted ?. Did they mount successfully ?.
After a reboot, post the output of these commands
# /etc/fstab: static file system information.
# Use 'blkid -o value -s UUID' to print the universally unique identifier
# for a device; this may be used with UUID= as a more robust way to name
# devices that works even if disks are added and removed. See fstab(5).
# <file system> <mount point> <type> <options> <dump> <pass>
proc /proc proc nodev,noexec,nosuid 0 0
# / was on /dev/sdb6 during installation
UUID=f4ca3ce8-3ff9-41ca-bb0a-cb47e3f7c2f9 / ext4 errors=remount-ro 0 1
# swap was on /dev/sdb7 during installation