Maui
Board Index divider Search Member List Help
Hello There, Guest! Login Register
Login
Username:
Password: Lost Password?
 
Maui Forums › Maui Support › Plasma Desktop › how to mount a partition to a folder with fstab

how to mount a partition to a folder with fstab
benit Offline
Island Intermediate
****
Joined: Jan 2017
Posts: 165
#1
27th January 2017, 2:27
fstab seems to look a bit different than under Mint (?).

Can somebody please instruct me how to correctly add a line for a data partition to fstab so that it gets mounted to a folder "examplefolder" that resides directly in the home directory?

Thank you very much in advance!
Find
Reply
leszek Offline
Moderator
Joined: Jul 2013
Posts: 3,633
#2
27th January 2017, 10:23 (This post was last modified: 27th January 2017, 10:26 by leszek.)
Its the same syntax used as in Mint and other Linux distributions.

Here an example
Code:
/dev/md1        /home/my/mount/point   ext4    defaults,errors=remount-ro      0       1

Of course the filesystem like ext4 and the device /dev/md1 need to be adjusted to your case.
If you want to be ultra correctly you can also get the UUID from the device you want to mount and put
UUID=XXX instead of /dev/your_device in the first column.
The command
Code:
sudo blkid
helps you getting the UUIDs from mounted devices.
Find
Reply
starbuck Offline
Administrator
Joined: Apr 2012
Posts: 637
#3
27th January 2017, 14:14 (This post was last modified: 27th January 2017, 14:14 by starbuck.)
benit:
Or if its a network share, you could simply use sambamounter:
It is a tool inside the "Network" folder directly in your home directory or on your desktop.
It mounts folders automatically and permanently, so they should come up mounted even after reboot.
Find
Reply
benit Offline
Island Intermediate
****
Joined: Jan 2017
Posts: 165
#4
28th January 2017, 12:41
(27th January 2017, 14:14)starbuck Wrote: benit:
Or if its a network share, you could simply use sambamounter:
It is a tool inside the "Network" folder directly in your home directory or on your desktop.
It mounts folders automatically and permanently, so they should come up mounted even after reboot.

In my fstab as it was created during installation fstab line looks a bit different (maybe this is due to the fact that my boot disk is a SSD)



Code:
UUID=76e1de41-5712-4c1b-8a4e-1f19b0a1d2da /              ext4    defaults,noatime,discard 0       1


The partition I want to mount is on a conventional HDD. Up to now I used a line like this (comparable to what you wrote), but somehow this does not work. maui does not start any more (Mint would offer a skip option, maui obviously does not offer such emergency opt-out):


Code:
UUID=728e6952-6524-42b0-a95f-2f9cc6078419 /home/myname/Daten_HDD_INT_EXT4               ext4    errors=remount-ro 0       1


Any ideas?
Find
Reply
leszek Offline
Moderator
Joined: Jul 2013
Posts: 3,633
#5
28th January 2017, 13:39
Code:
defaults,
is missing before errors=remount-ro. So the line should be

Code:
UUID=728e6952-6524-42b0-a95f-2f9cc6078419 /home/myname/Daten_HDD_INT_EXT4           ext4    defaults,errors=remount-ro 0       1
Find
Reply
benit Offline
Island Intermediate
****
Joined: Jan 2017
Posts: 165
#6
1st February 2017, 21:13
Thank you very much! I got it working even without "defaults": There was a bad little typo in one of the lines. I had copied a ' " ' and not deleted. That stopped the whole thing.

But now I have added also "defaults".

What exactly is the function of this expression?
Find
Reply
« Next Oldest | Next Newest »


Possibly Related Threads…
Thread Author Replies Views Last Post
  Network folder wonder 27 82,556 19th December 2017, 23:50
Last Post: wonder
  Can't place folder icons on desktop where I want benit 1 8,040 10th September 2017, 10:43
Last Post: leszek
  drag-and-open folder not possible in plasmoids any more? benit 4 17,435 31st January 2017, 14:00
Last Post: leszek

  • View a Printable Version
  • Subscribe to this thread
Forum Jump:

  • Contact Us
  • Maui Forums
  • Return to Top
  • Lite (Archive) Mode
  • RSS Syndication
Current time: 4th June 2025, 9:39 Powered By MyBB, © 2002-2025 MyBB Group.
Linear Mode
Threaded Mode