Chrysostomus / manjaro-architect

Development branch of the Architect Installation Framework
GNU General Public License v2.0
86 stars 18 forks source link

Repairing install: mounting partitions #167

Open Onfroygmx opened 7 years ago

Onfroygmx commented 7 years ago

Minor: I played with the mkinitcpio hooks and borked the installation of course. So I tried to use manjaro-architect to repair it. But when I try to mount the partitions to change the config files it is not possible to just mount the root partition: https://cloud.githubusercontent.com/assets/25054585/26274510/bb368df0-3d4b-11e7-9538-a62dafd8f12e.png Whit the /boot partition you have the choice to format or not but not with the root partition. If m-a needs to be used as repair tool in the future it should be possible to mount a partition without formatting.

Chrysostomus commented 7 years ago

Have you checked the top most option in the mount menu? The one that says "Do not format?". Does it not work?

Onfroygmx commented 7 years ago

Not really https://cloud.githubusercontent.com/assets/25054585/26274685/9f2b86d4-3d4f-11e7-836b-e1b61c1596d1.png https://cloud.githubusercontent.com/assets/25054585/26274686/a5562a82-3d4f-11e7-965e-05fa40c70161.png

You can create encrypted partition, create lvm partition and then mount them. You can create lvm partitions, mount them if they are not encrypted. You can open luks partion, but you can not mount lvm inside them.

Chrysostomus commented 7 years ago

Okay, so the issue is luks+lvm specific?

Onfroygmx commented 7 years ago

From what I see yes. When you try to reuse an existing setup. If you do all the setup manually then you can mount it just fine. Seems there is a step missing to recognize the existing lvm setup inside the luks partition.

Chrysostomus commented 7 years ago

Another thing that is not recognized is btrfs subvolumes.