Maui Forums
Why Maui 2 does not use the /home partition I created before I installed it? - Printable Version

+- Maui Forums (https://forums.mauilinux.org)
+-- Forum: Maui Support (https://forums.mauilinux.org/forumdisplay.php?fid=74)
+--- Forum: Installation (https://forums.mauilinux.org/forumdisplay.php?fid=83)
+--- Thread: Why Maui 2 does not use the /home partition I created before I installed it? (/showthread.php?tid=24085)



Why Maui 2 does not use the /home partition I created before I installed it? - asseltee - 4th November 2016

Hi, I am a first time user of Maui and only have a few months of Linux experience.

Any possibility of getting Maui 2 to use the /home partition I created?

Thanks in advance!


RE: Why Maui 2 does not use the /home partition I created before I installed it? - leszek - 4th November 2016

If you select the manual partitioning in the installer you can set this partition to be used as /home and keep the filesystem (not formatting basically).


RE: Why Maui 2 does not use the /home partition I created before I installed it? - asseltee - 4th November 2016

Hi Leszek,

I used the manual partitioning to create 3 partitions /, /home and swap. They were created when I was in the process of installing Manjaro but aborted the idea. Then I installed Maui 2 in the / partition. The installation was completed smoothly.

I only realised the next day that Maui 2 had created its own /home folder in the / partition.

Is it possible to make Maui 2 use the /home partition I created?

Thanks!


RE: Why Maui 2 does not use the /home partition I created before I installed it? - leszek - 4th November 2016

You can do so manually on an installed system by setting up the /etc/fstab accordingly (see documentation on the Web about it).
If you did not change much on the installed system and don't want to bother with the /etc/fstab you can reinstall and choose your home partition explicetely as /home in the manual partitioning.


RE: Why Maui 2 does not use the /home partition I created before I installed it? - AJSlye - 4th November 2016

(4th November 2016, 11:58)leszek Wrote: You can do so manually on an installed system by setting up the /etc/fstab accordingly (see documentation on the Web about it).
If you did not change much on the installed system and don't want to bother with the /etc/fstab you can reinstall and choose your home partition explicetely as /home in the manual partitioning.

I'd like to just add, if you do decide to reinstall using manual partitioning, don't mark your home partition to be formated if you already have personal data on it, only set it's mount point.


RE: Why Maui 2 does not use the /home partition I created before I installed it? - asseltee - 4th November 2016

Thanks to all for the tips!

I could not edit the file...

qrious4ever@qrious4ever-pc:~$ su
Password:
su: Authentication failure

Can someone tell this noob how to access the file in order to edit it? I keyed in my password and got the Authentication failure message.

Thanks!


RE: Why Maui 2 does not use the /home partition I created before I installed it? - leszek - 4th November 2016

su is for switching to root. By default this account is disabled.
Try using sudo -i to achieve the same with super user rights Smile


RE: Why Maui 2 does not use the /home partition I created before I installed it? - asseltee - 4th November 2016

Hi Leszek,

I got this:

qrious4ever@qrious4ever-pc:~$ sudo -i /etc/fstab
[sudo] password for qrious4ever:
-bash: /etc/fstab: Permission denied

Please guide this noob with a step by step.

Thanks!


RE: Why Maui 2 does not use the /home partition I created before I installed it? - leszek - 4th November 2016

First you need to become root by executing
sudo -i
Then you land on a root shell and can edit the file with a text editor like nano or vi.
As for the contents please take a look at the documentations around the web like this one for example: https://help.ubuntu.com/community/Fstab


RE: Why Maui 2 does not use the /home partition I created before I installed it? - asseltee - 4th November 2016

(4th November 2016, 20:48)leszek Wrote: First you need to become root by executing
sudo -i
Then you land on a root shell and can edit the file with a text editor like nano or vi.
As for the contents please take a look at the documentations around the web like this one for example: https://help.ubuntu.com/community/Fstab

Hi Leszek,

After reading the link you sent I got these:

Device     Boot     Start       End   Sectors   Size Id Type

/dev/sda1  *         2048  94873575  94871528  45.2G  7 HPFS/NTFS/exFAT
/dev/sda2        94873598 594198527 499324930 238.1G  5 Extended
/dev/sda3       594198528 625142447  30943920  14.8G 12 Compaq diagnostics
/dev/sda5        94873600 138276863  43403264  20.7G 83 Linux
/dev/sda6       581179392 594198527  13019136   6.2G 82 Linux swap / Solaris
/dev/sda7       138278912 181680127  43401216  20.7G 83 Linux
/dev/sda8       181682176 225083391  43401216  20.7G 83 Linux
/dev/sda9       225085440 268486655  43401216  20.7G 83 Linux
/dev/sda10      268488704 581167103 312678400 149.1G 83 Linux

Partition table entries are not in disk order.

root@qrious4ever-pc:~# sudo blkid
/dev/sda1: UUID="42BA1F42BA1F3241" TYPE="ntfs" PARTUUID="c3ffc3ff-01"
/dev/sda3: UUID="A2BEC2F7BEC2C2D1" TYPE="ntfs" PARTUUID="c3ffc3ff-03"
/dev/sda5: UUID="f6ee6ec7-d558-47e6-93ac-a3b67d35f038" TYPE="ext4" PARTUUID="c3ffc3ff-05"
/dev/sda6: UUID="3889ebb4-bc33-46f8-8aa2-067015d2203a" TYPE="swap" PARTUUID="c3ffc3ff-06"
/dev/sda7: UUID="dfff2087-f741-4fe9-9f5a-464fcf5abc0c" TYPE="ext4" PARTUUID="c3ffc3ff-07"
/dev/sda8: UUID="b7d3fee0-8ae7-42a5-9ecb-2509e27b02bc" TYPE="ext4" PARTUUID="c3ffc3ff-08"
/dev/sda9: UUID="34aabf9d-82a4-45e2-898f-94a79b5df6eb" TYPE="ext4" PARTUUID="c3ffc3ff-09"
/dev/sda10: UUID="39425f7b-aac8-4604-955e-70170224c550" TYPE="ext4" PARTUUID="c3ffc3ff-0a"

root@qrious4ever-pc:~# cat /etc/fstab
# /etc/fstab: static file system information.
#
# Use 'blkid' to print the universally unique identifier for a device; this may
# be used with UUID= as a more robust way to name devices that works even if
# disks are added and removed. See fstab(5).
#
# <file system>                                                   <mount point>  <type>  <options>  <dump>  <pass>
UUID=dfff2087-f741-4fe9-9f5a-464fcf5abc0c                      /              ext4    defaults,noatime 0       1
UUID=3889ebb4-bc33-46f8-8aa2-067015d2203a            swap           swap    defaults,noatime 0       0
UUID=13799536-81fa-42ff-8ecf-6a5218bbb8c9               swap           swap    defaults,noatime 0       0

Will it be correct if I add this line to fstab?

UUID=39425f7b-aac8-4604-955e-70170224c550            /home          ext4    defaults,noatime 0       0

or this

UUID=39425f7b-aac8-4604-955e-70170224c550            /home          ext4    defaults,noatime 0       2

/dev/sda6       581179392 594198527  13019136   6.2G 82 Linux swap / Solaris (This was created by me)
Why is there another swap created?

Thanks for all your help!