the data in /home can not be preserved

When you run into problems installing MX Linux XFCE
Post Reply
Message
Author
ychaouche
Posts: 12
Joined: Wed Jul 17, 2019 7:12 am

the data in /home can not be preserved

#1 Post by ychaouche »

Hello !

Mx linux 18.3. When running the live CD, run the installer, choose preserve data in /home, click next, eat this error :
https://i.imgur.com/CaAB5AL.png

my /home is not encrypted.

Help ?



mod note: image changed to link, please mind remote image sizes: viewtopic.php?f=133&t=48374

User avatar
dolphin_oracle
Developer
Posts: 20010
Joined: Sun Dec 16, 2007 1:17 pm

Re: the data in /home can not be preserved

#2 Post by dolphin_oracle »

please post the /var/log/minstall.log.
http://www.youtube.com/runwiththedolphin
lenovo ThinkPad X1 Extreme Gen 4 - MX-23
FYI: mx "test" repo is not the same thing as debian testing repo.

User avatar
asqwerth
Developer
Posts: 7229
Joined: Sun May 27, 2007 5:37 am

Re: the data in /home can not be preserved

#3 Post by asqwerth »

Is your pre-existing /home under another user name?

I've no idea if that makes a difference but I'm asking.
Desktop: Intel i5-4460, 16GB RAM, Intel integrated graphics
Clevo N130WU-based Ultrabook: Intel i7-8550U (Kaby Lake R), 16GB RAM, Intel integrated graphics (UEFI)
ASUS X42D laptop: AMD Phenom II, 6GB RAM, Mobility Radeon HD 5400

User avatar
dolphin_oracle
Developer
Posts: 20010
Joined: Sun Dec 16, 2007 1:17 pm

Re: the data in /home can not be preserved

#4 Post by dolphin_oracle »

asqwerth wrote: Wed Jul 17, 2019 8:26 am Is your pre-existing /home under another user name?

I've no idea if that makes a difference but I'm asking.
It shouldn't make a difference. at this stage in the installer we are only looking for the partition. the user hasn't even been defined yet.
http://www.youtube.com/runwiththedolphin
lenovo ThinkPad X1 Extreme Gen 4 - MX-23
FYI: mx "test" repo is not the same thing as debian testing repo.

ychaouche
Posts: 12
Joined: Wed Jul 17, 2019 7:12 am

Re: the data in /home can not be preserved

#5 Post by ychaouche »

Thanks @dolphine_oracle ! So I think the problem is that I chose to install MX Linux over a partition that has already been hosting another distribution with a btrfs filesystem. This means that at the top of the partition there is a "@" folder before the slash "/" folder :

Code: Select all

$ sudo mount /dev/sda9 /mnt/antiX/ -o ro
demo@mx1:~
$ ls /mnt/antiX/@/
bin/            home/           lib64/          proc/           sys/            vmlinuz.old
boot/           initrd.img      libx32/         root/           tmp/            
dev/            initrd.img.old  media/          run/            usr/            
etc/            lib/            mnt/            sbin/           var/            
fstab           lib32/          opt/            srv/            vmlinuz         
demo@mx1:~
When the installer wants to mount the /home partition it tries to put it in /mnt/antiX/home, but that directory doesn't exist, it should be mounted in /mnt/antiX/@/home/, so the mount exits with error code 32, as shown in the logs :

Code: Select all

2019-07-18 09:16:25.383 DBG default: "/bin/mount /dev/sda9 /mnt/antiX -o ro"
2019-07-18 09:16:26.075 DBG default: exit code: 0
2019-07-18 09:16:26.075 DBG default: +++ bool MInstall::mountPartition(QString, QString, QString) +++
2019-07-18 09:16:26.079 DBG default: "/bin/mount /dev/sda6 /mnt/antiX/home -o ro"
2019-07-18 09:16:26.087 DBG default: exit code: 32
I don't really know if this can be fixed ?

User avatar
dolphin_oracle
Developer
Posts: 20010
Joined: Sun Dec 16, 2007 1:17 pm

Re: the data in /home can not be preserved

#6 Post by dolphin_oracle »

probably not right away.

Here's the work around for you. You could just install with /home to the root directory, then add your home folder afterwards via fstab.
http://www.youtube.com/runwiththedolphin
lenovo ThinkPad X1 Extreme Gen 4 - MX-23
FYI: mx "test" repo is not the same thing as debian testing repo.

ychaouche
Posts: 12
Joined: Wed Jul 17, 2019 7:12 am

Re: the data in /home can not be preserved

#7 Post by ychaouche »

dolphin_oracle wrote: Thu Jul 18, 2019 9:53 am probably not right away.

Here's the work around for you. You could just install with /home to the root directory, then add your home folder afterwards via fstab.
As always, thanks for the tip :) (and quick follow up)

Post Reply

Return to “Installation”