Ask Your Question
1

Is there a tool that can enable auto-mount for a HDD in KDE?

asked 2015-06-07 15:22:26 -0500

Steven Roose gravatar image

updated 2015-06-07 18:20:09 -0500

mether gravatar image

I hate editing /etc/fstab manually. Everytime I do, I end up rebooting 10 times to try if I entered a correct line, most of the time having to remove the line again in safemode because the system won't boot.

Is there a graphical tool that I can use to do this for me? The KDE Partition Manager has a "Edit mount point" option, but that doesn't seem to change anything.

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted
2

answered 2015-06-07 20:56:58 -0500

sideburns gravatar image

updated 2015-06-07 20:57:46 -0500

This isn't what you're looking for, but it might help. Open up a terminal, make a backup copy of fstab then edit it and save, but not exit. In a second terminal, run (as root) mount -a to remount everything in fstab. If there are any errors, go back to the first terminal, correct your errors and try again. That way, you don't need to reboot to find out if you've gotten everything right.

And, if the line you add is at the very bottom of the file, remember to press Enter at the end because the mount command expects every line, even the last one, to be properly terminated and will throw an error if you don't.

edit flag offensive delete link more

Comments

Aha, I tried that, but I think I forgot to do that as root. I got some error messages I couldn't understand. I think they were related to my encrypted partitions not being able to be remounted. Eventually I found a working fstab line.

Steven Roose gravatar imageSteven Roose ( 2015-06-08 07:51:12 -0500 )edit

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Question Tools

1 follower

Stats

Asked: 2015-06-07 15:22:26 -0500

Seen: 628 times

Last updated: Jun 07 '15