Hardware - Support > Hard Drives and SSD's

Automatically mount partitions in Linux Lite

(1/1)

Calin Musceleanu:
Hi there!
I've already seen this question posted, but couldn't find a solution to work for me. Please keep in mind that I'm new with Linux and don't know much about it. :)
So, I installed Linux Lite, I already set up the partitions, but I can't figure how to mount them.
My fdisk -l results are as follows:

Disk /dev/sda: 465,8 GiB, 500107862016 bytes, 976773168 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 4096 bytes
I/O size (minimum/optimal): 4096 bytes / 4096 bytes
Disklabel type: dos
Disk identifier: 0x53e74323

Device     Boot     Start       End   Sectors   Size Id Type
/dev/sda1  *         2048 146485247 146483200  69,9G 83 Linux
/dev/sda2       146487294 976771071 830283778 395,9G  5 Extended
/dev/sda5       146487296 732422143 585934848 279,4G 83 Linux
/dev/sda6       732424192 771483647  39059456  18,6G 82 Linux swap / Solaris
/dev/sda7       771485696 976771071 205285376  97,9G 83 Linux

Partition 2 does not start on physical sector boundary.

Any ideas? Thanks in advance.

Moltke:

--- Quote ---So, I installed Linux Lite, I already set up the partitions, but I can't figure how to mount them.
--- End quote ---

How did you install Linux Lite? Did you choose the defaults or something else? Usually, the defaults work fine and there should be no problems. Is this a dual-boot setup? Is/are there any other Linux OS(es) in your pc? Click on Menu and type gparted once it shows click on it, type your password when asked, take a screenshot and post it here so we can take a better look at your setup in order to provide better informed advice/suggestions.

Calin Musceleanu:
After posting this question I've made all the updates from the Welcome screen and Linux Lite restarted, but it ended up into a black screen. So, I can't make any screenshot.
The laptop is brand new, it had a Free DOS but I did a full formatting during installation.
I've made the partitions during installation, there is no other OS, no dual boot or anything.
With gparted I've been able to see the other partitions, but not to mount them.
I will try installing it again, deleting all the partition and letting the entire 500Gb HDD to install on, then to make the partitions with gparted.

Moltke:

--- Quote ---I've made the partitions during installation, there is no other OS, no dual boot or anything
--- End quote ---

You probably made something wrong when partitioning.


--- Quote ---I will try installing it again, deleting all the partition and letting the entire 500Gb HDD to install on, then to make the partitions with gparted.
--- End quote ---

When installing, just choose the defaults "erase disk and install Linux Lite" and once LL's installed do the partitions you need.

DeepThought:

--- Quote ---Device     Boot     Start       End   Sectors   Size Id Type
/dev/sda1  *         2048 146485247 146483200  69,9G 83 Linux
/dev/sda2       146487294 976771071 830283778 395,9G  5 Extended
/dev/sda5       146487296 732422143 585934848 279,4G 83 Linux
/dev/sda6       732424192 771483647  39059456  18,6G 82 Linux swap / Solaris
/dev/sda7       771485696 976771071 205285376  97,9G 83 Linux
--- End quote ---


--- Quote ---I've made the partitions during installation
--- End quote ---

From the first quote I can work out that sda1 is your root partition and sda6 is the swap partition, but no idea what the other partitions are for.
Firstly, while sda1 is a primary partition, sda2 indicates you created a logical partition and sda5, sda6 and sda7 are in that extended/logical partition. While sda5 OR sda7 is your home partition I've no idea what the other partition is for.

So based on the second quote, when you created the partitions during the installation, did you set their mount points, if you did not, that is why they won't mount automatically on boot.

You could use settings/Disks ... click on the individual partitions and then the cogs under the partition on the right, then click on edit mount options to try and fix things

OR

Reinstall and when creating the partitions, set the correct mount positions

Hope this helps :)

Navigation

[0] Message Index

Go to full version