Hi all
For a few weeks I had happily been using a newly installed second hard drive in my Ubuntu desktop. The relevant line in fstab is:
UUID=6b7282d4-1760-4e16-854c-a6169da1b75e /media/SECONDDRIVE ext4 defaults,noatime 0 2
But now the drive is failing to mount on start up, and when I manually try and mount it, I get an "exit code 1... only root can mount" error.
Also, does anyone know why this problem would happen suddenly like this? The only thing I can think of that I might have done was to place onto this drive a file created on another Ubuntu machine a day or so before. Could the permissions on this file have somehow made it impossible for the drive to mount?
Or was it a distribution upgrade that caused this? (I don't remember one immediately before the problem occurred). Or might there be another cause entirely?
Incidentally, I physically extracted the hard drive and tested it with another Ubuntu machine, and the drive and data on it seems fine. While it was on the other system, I attempted to change the file permissions on every file on the drive to give all users permissions to read and write. However, when placed back into the original machine, the error continued to occur.
Please could someone advise me on what the fstab line should be to avoid this problem in the future? All users of the machine need to be given durable and persistent universal read and write access to all files on the drive.
Bookmarks