Skip to main content

Thread: Auto mount hard disk drives on boot??


does know how make secondary hard drive mount automatically @ boot? have read many other posts similar issue. have 64 gb ssd primary , 250 gb hdd secondary. use secondary storage purposes. have read in forums fstab needs edited have entry hard disk drive. able edit file, nothing has worked. output of drive follows:

/dev/sdb1 /media/chris/b5c005c9-ace8-4aaf-a5cd-a3614353a0b1 ext4 rw,nosuid,nodev,uhelper=udisks2 0 0

how mount on boot without having manually click on hard drive in file manager? comebody please tell me exact line in need add fstab , add in fstab?

issue sort of along same lines have 500gb passport usb hard drive. of time mounts @ boot not. ideas???

it depends on how intend use disk , how want set permissions, should started. first create mount point, disk located in file system.

example:
code:
sudo mkdir /mnt/storage
then add /etc/fstab (it doesn't matter where; convenience put @ end of file , press enter there's blank line @ bottom):
code:
# /dev/sdb1 250 gb secondary hdd  uuid=b5c005c9-ace8-4aaf-a5cd-a3614353a0b1     /mnt/storage     ext4     uid=1000,gid=1000,umask=007   0  2
that allow primary user account , primary group, user id 1000 , group id 1000, read, write , execute file in partition.

if want access directory home directory can create soft link (assuming username chris.):
code:
ln -s /mnt/storage /home/chris/storage
when click on storage in home folder show contents of secondary drive.

if want set different permissions files on disk can find explanations in tutorial. see manpages fstab , mount (in terminal window run command "man fstab" or "man mount", without quotes).


Forum The Ubuntu Forum Community Ubuntu Official Flavours Support General Help [ubuntu] Auto mount hard disk drives on boot??


Ubuntu

Comments

Popular posts from this blog

Some mp4 files not displaying correctly (CS6)

Thread: Samba is not authenticating with LDAP