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:
then add /etc/fstab (it doesn't matter where; convenience put @ end of file , press enter there's blank line @ bottom):code:sudo mkdir /mnt/storage
that allow primary user account , primary group, user id 1000 , group id 1000, read, write , execute file in partition.code:# /dev/sdb1 250 gb secondary hdd uuid=b5c005c9-ace8-4aaf-a5cd-a3614353a0b1 /mnt/storage ext4 uid=1000,gid=1000,umask=007 0 2
if want access directory home directory can create soft link (assuming username chris.):
when click on storage in home folder show contents of secondary drive.code:ln -s /mnt/storage /home/chris/storage
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
Post a Comment