Linux - GeneralThis Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.
Notices
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.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
I have a 500GB SATA backup drive which I use to store all my data as I work on my Linux Mint 15 PC.
However, since yesterday, every time I'm booting my PC, things just get stuck at the boot splash with a message like Disk Drive / not ready yet or not available
with options to wait,skip or manually recover.
The only way I can get things moving, is to select the 'S' to skip.
I even tried removing this backup drive and the same message came up at the boot splash and I could not do anything but restart my PC, this time with the drive connected.
To make matters worse, suddenly, the ownership of the backup drive has been taken over by "root" and I can only access what's in there with no writing capabilities.
I tried booting the PC using Linux Mint 15 live USB and read/write all worked fine there, but coming back to the installed version of Mint brought up the same problems.
The message you are seeing will be specific to a partition on one of the drives and should list it, probably as a uuid number. Check your /etc/fstab file to see if you have the entry. If the drive is not attached when you boot and you have an entry for its partition in /etc/fstab, that would be expected behavior. If it is attached, there is some other reason.
A quick google indicates this is a fairly common problem with Ubuntu derivatives after doing an upgrade or update but, since you haven't done that it may be something else.
Do you use it regularly and have it plugged in at all times?
If not, you could get around the problem by commenting out the entry in /etc/fstab rather than deleting it. Just put a hash mark (#) at the beginning of the line so it isn't read. That way, if it doesn't resolve the problem you know that's not it and you can remove the hash mark.
What is the entry in /etc/fstab? Do you have users allowed? What are the permissions and the owner:group for the directories you want to access?
I'm not sure what the cause of this problem is other than what I referred to above with updates. I have Ubuntu and Mint installed but don't boot them very often and occasionally see this message. I just hit the 'S' key and proceed because I don't use them often enough to bother with it.
Do you use it regularly and have it plugged in at all times?
If not, you could get around the problem by commenting out the entry in /etc/fstab rather than deleting it. Just put a hash mark (#) at the beginning of the line so it isn't read. That way, if it doesn't resolve the problem you know that's not it and you can remove the hash mark.
Yep, it's used full-time.
I did comment it's entry in the fstab
Quote:
Originally Posted by yancek
What is the entry in /etc/fstab? Do you have users allowed? What are the permissions and the owner:group for the directories you want to access?
Entry in the fstab:
Code:
#Entry for /dev/sdb1 :
#UUID=783EE54307A26E16 /media/datadrv ntfs-3g defaults,noauto,locale=en_CA.UTF-8 0 0
Permissions for this whole drive and files/folders within have suddenly changed to root as in the snapshot I've attached.
Now all my VM's are inaccessible 'cos they're all stored in this drive.
The image you posted shows owner:group as root:root so you should be able to write to the partition as root. If you want to write to it as a user, you will need to either change the owner or change the group to a group the user is a member of and give that group write permissions. You could also put 'users' in the options in fstab.
This is the standard method. You neglected to mention in your previous posts that this is a windows partition/filesystem which does make a difference. You need to have ntfs-3g installed. Take a look at the link below for more details on writing to windows:
The link below is specific to Arch Linux so there may be some differences with Mint. Another link with more general info, Opensuse but nothing that should not work with other Linux distributions. Not sure you want to give everyone write permissions, that can be risky depending on how many users you have??
The owner:group of a directory or directories does not usually change of its own accord. Not sure what happened to change it or if it changed, that you were able to write as a non-root user previously.
Last edited by yancek; 09-17-2013 at 10:15 AM.
Reason: Add info
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.