Ask Your Question
0

Can I automount a partition on my internal drive?

asked 2013-06-29 14:19:10 -0500

cdupree gravatar image

updated 2013-06-29 15:00:05 -0500

I'm new to Fedora, in the process of moving from Kubuntu, and I'm having trouble getting my disk setup going.

What I'd like is to have as much of my home directory (~) in common between my old Kubuntu and my new Fedora. I expect there might be some incompatibilities so that might not work perfectly, or even at all. Is this a reasonable expectation?

What I'm doing now is trying to automount the Kubuntu partition on my internal drive when I boot into Fedora, but that isn't working because I have to enter my password to access that partition. I'm automounting my two external drives with no problems, but the internal partition needs that password. Is there any way to get around that?

Or am I going at this whole enterprise the wrong way? 8-\

UPDATE: I was wrong about the external drives automounting. I found the form under Removable Media in System Settings and thought I was automounting them. But that isn't working either; they showed up under /media instead of /run/media/cdupree, and they weren't accessible.

Any help would be much appreciated!

edit retag flag offensive close merge delete

Comments

How are you trying to automount the partition in question? It used to be that all partitions in /etc/fstab that didn't have the noauto option got mounted at boot, but now, systemd mounts each one by a separate service. There are ways around that, but I'd prefer knowing what you've already done first so as to avoid suggesting things you've already tried.

sideburns gravatar imagesideburns ( 2013-06-29 16:56:30 -0500 )edit

Thanks for your reply! I'm blundering about, doing things I'll later undo and vice versa. Initially I used System Settings/Removable Devices and checked boxes. After clearing that up it seems that my two external drives automount just fine. What I'd like is to automount a partition on the internal drive other than the Fedora one. I can see it in Krusader or Dolphin but to access it I have to give my password. Is there a way to automount another partition on the internal drive? Thanks again for your help!

cdupree gravatar imagecdupree ( 2013-06-30 21:48:31 -0500 )edit

Yes, of course there is, by adding the appropriate entry to /etc/fstab as I mentioned before. Your first step is to open a terminal and run this command, without the quotes: "man fstab"

sideburns gravatar imagesideburns ( 2013-06-30 22:54:08 -0500 )edit

Okay, I've read the man page for fstab and edited mine, but the reboot failed utterly, didn't even reach the login prompt. I'm pretty sure the problem is my device spec, but I can't figure out how to specify another partition on the internal drive. The drive doesn't seem to be where I'm used to looking for it from Kubuntu, namely /dev/sda1 or something along those lines. It's not under /dev/mapper like the other entries in my fstab, at least as far as I can see. So how do I figure out the device specifier?

cdupree gravatar imagecdupree ( 2013-07-02 19:36:10 -0500 )edit

Run this command as root and without the quotation marks: "fdisk -l" and post the results. Btw, that's a lower case L, not a one or a capital I.

sideburns gravatar imagesideburns ( 2013-07-02 19:42:00 -0500 )edit

1 Answer

Sort by ยป oldest newest most voted
0

answered 2016-09-09 17:40:57 -0500

arkieboy72472 gravatar image

Try the easy version and see what happens:

Find and open a program called "Disks"

Find and select the drive. Note its mount point, etc.

Under the drive details, you will see a gear icon. Click it and select "Edit Mount Options"

Unselect Automatic Mount Options

Pick Mount at startup and, if needed, show in user interface

Close it all out and reboot. Go back and do that all again and note the mount point and see if it changed.

When you get a chance, goto terminal and type man fstab. I also don't know much about it, but it is a good thing to learn. Once you get more experience, try editing fstab yourself.

edit flag offensive delete link more

Question Tools

1 follower

Stats

Asked: 2013-06-29 14:19:10 -0500

Seen: 855 times

Last updated: Jun 29 '13