FedoraThis forum is for the discussion of the Fedora Project.
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.
Distribution: CentOS, Ubuntu, Mac OSX, Amazon AMI Linux
Posts: 43
Rep:
FC5 won't mount ext3 FS automatically after boot
I have a USB HDD, and I want to all users to have r/w access to it.
I format this drive to EXT3 FS (ID 83 or 8e), editted the /etc/fstab file. However, I can't get the drive to automactically mount after boot and if I mount it manually, I have no write access to it as a regular user.
fstab line is like this:
/dev/sda1 /mnt/usb default,umask=000 0 0
Where did I go wrong?
Is there another file I should configure for EXT3 FS to be ounted at boot?
Distribution: CentOS, Ubuntu, Mac OSX, Amazon AMI Linux
Posts: 43
Original Poster
Rep:
/dev/sda1 /mnt/usb ext3 automount,defaults 0 0
Is that the way I should have it, in order to have it mount automatically at boot?
I tried the line above but it doesn't work, I have to mount it manually.
Moreover, I still can't write to it as a regular user only as root.
The drive is also saying that I have only a GB of space free out of a 250 GB HDD, and I haven't used it as yet.
I need steps from partitioning and formatting the drive to mounting it.
My fault.... Your system is not messed up. Typically modules are not loaded until after the OS mounts filesystems via the fstab file which is why the drive is not mounted. The simplest fix is to add a command to mount the drive ub the /etc/rc.local file. This is the last file to run at boot independent of run level. A slightly harder fix would be to add the USB modules to the initial ramdisk (initrd).
Distribution: CentOS, Ubuntu, Mac OSX, Amazon AMI Linux
Posts: 43
Original Poster
Rep:
Quote:
Originally Posted by michaelk
My fault.... Your system is not messed up. Typically modules are not loaded until after the OS mounts filesystems via the fstab file which is why the drive is not mounted. The simplest fix is to add a command to mount the drive ub the /etc/rc.local file. This is the last file to run at boot independent of run level. A slightly harder fix would be to add the USB modules to the initial ramdisk (initrd).
So what should the line in both files be?
Does someone have an example of these files?
I had problems automounting similar to yours, they were related to SELinux. See my thread "fstab will not mount partitions" Posted by me, n926bb. One quick test for you to do is to disable SELinux, to do this: System > Administration > Security Level and FireWall > SELinux > SELinux Setting: Disable > OK } If with SELinux disabled fstab will mount your drive, experiment changing the security context of the file where you are mounting the drive (read my thread).
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.