The option to mount my new partition is grayed out and I need the partition mounted so i can use it to create a Linux Distro using LinuxFromScratch.
1 Answer
I'm not an expert, but I don't think you can mount a partition in GParted. You can only unmount one which is required before you can do anything with it. So, you're going to have to mount your partition manually. Here's the command that's used to do that:
$ sudo mount -t auto \
> -o rw \
> /dev/[BLOCK_DEVICE][PARTITION_NUMBER] [MOUNT_POINT] \
> -v
If your partition is /dev/sdb1
, you mount it at the mnt
directory like this:
$ sudo mount -t auto \
> -o rw \
> /dev/sdb1 /mnt \
> -v
-
11There is a "mount" option in GParted's menu; however, it's greyed out unless the partition has a matching entry in
/etc/fstab
. In the absence of such an entry, this answer should work, and the text-modemount
command is the most generally-applicable solution. Many desktop environments and GUI file managers also have options to mount partitions, typically to subdirectories of/media
, but details of how to use these features vary from one desktop environment or file manager to another. Commented Apr 7, 2017 at 13:52 -
what does "mount point" mean? what is "mnt" directory? does it matter? Commented Dec 31, 2019 at 20:43
-
Basically, a mount point is the directory that gives you access to whatever you have mounted there. "mnt" is just a directory in your root directory. It doesn't have to be "mnt". You can create your own directory and mount your drives there.– mishaCommented Jan 10, 2020 at 9:05
-
Yes, it's very confusing, but when you plug in a USB drive, it isn't Linux mounting it for you, but it's your file manager (Nautilus, Nemo, etc). If you don't want to just pull the drive and stick it back in (because you fear data loss), run
sync
(without parameters) in a terminal before doing that. Commented Jan 2, 2022 at 9:14
gnome-disks
in a terminal. There you can easily mount it.