You are not logged in.
Pages: 1
I have two fat32 partitions (/dev/sda5 and /dev/sda6) that I cannot seem to mount automatically on bootup
The error given is "mount point does not exist"
However the directories that they mount into do exist - running "mount /dev/sda5" works fine once I am logged in
This mounts them into the correct folders
my fstab is:
#
# /etc/fstab: static file system information
#
# <file system> <dir> <type> <options> <dump> <pass>
none /dev/pts devpts defaults 0 0
none /dev/shm tmpfs defaults 0 0
#/dev/cdrom /media/cd auto ro,user,noauto,unhide 0 0
#/dev/dvd /media/dvd auto ro,user,noauto,unhide 0 0
#/dev/fd0 /media/fl auto user,noauto 0 0
#UUID=4708-CDB1 /mnt/documents vfat defaults 0 0
#UUID=486B-CDCA /mnt/media vfat defaults 0 0
/dev/sda5 /home/media vfat user,rw,umask=000 0 0
/dev/sda6 /home/documents vfat user,rw,umask=000 0 0
/dev/sda11 /usr ext4 defaults 0 1
UUID=6adfcc0e-6b08-49aa-9e75-234f45695ca3 /home ext4 defaults 0 1
UUID=6e604f97-451c-45ed-b761-75242e4df880 swap swap defaults 0 0
UUID=b76b2dfe-a561-4e15-8209-cc3e56b2087e / ext4 defaults 0 1
The three file system checks happen ok, but then the errors appear about the non-existant mount points
As you can see from my fstab I have tried mounting them into /mnt/documents etc as well, which also returns the errors
I would be prefer a nice clean fix but would be happy with a script that ran on login etc to run "mount /dev/sda5" but dont know how to do that or where to put it
Thanks
Richard
Last edited by rgeo (2009-03-23 15:51:17)
Offline
rgeo,
probably /home is not yet mounted when the system trys to mount /dev/sda5.
I suppose that mounting order in /etc/fstab matters, even though I am not sure.
That would not explain why mounting in /mnt failed, if the directory documents existed.
You can always put the line 'mount /dev/sda5' on /etc/rc.local that gets executed before login.
Mektub
Follow me on twitter: https://twitter.com/johnbina
Offline
the mounts to /mnt are commented out - and yes Mektub is right, /home is not mounted yet when you attempt to mount /home/{media,documents}.
Just move sda5 and sda6 to the end of your fstab and you should be allright.
Offline
Cheers guys that worked great
I had tried moving them below the /home mounting line but that hadnt worked either - and then had assumed that the mounting happened from the bottom because of the order of file system checking - / was checked first then /usr and /home
ps how do I set the thread to be solved?
Thanks again
Offline
Pages: 1