Mageia 5 had started to be a problem. Always booting to UEFI screen not into grub. I suspected damage to the sda1 SSD. Once past UEFI via the boot menu all seemed ok
A replacement SSD arrived in time for Mageia6 launch.
Using clonezilla I backed up my home partition on sdb (Mageia -HOME-Bak and now renamed Mageia-HOME-OLD)
Replaced the defective SSD sda. Used Mageia6 live to partition the new SSD to provide root, swap and a home partition.
Used clonezilla to move the contents on my old home partition to the new sda3 partition.
Installed Mageia6 on sda1 with the Classic installer retaining my sda3 home partition. (I thought.)
All seemed OK but missing files saved since then prompted a closer look.
Mageia HOME on sda3 is not being used as the home partition for saving files. Files are being saved to Mageia-HOME-old on sdb3.
I do not know if the Desktop I see is on sda3 or elsewhere.
I guessed that I might need to set the Home partition to the correct sda3 partition. Searched and tried to follow what looked the correct advice.
Ran blkid to discover the UUID I should be using.
- Code: Select all
[peter@localhost ~]$ su
Password:
[root@localhost peter]# blkid
/dev/sda1: LABEL="Mageia-Root" UUID="a7179ff3-c46a-4fff-b013-ec28dc060bc2" TYPE="ext4" PARTUUID="4993332f-01"
/dev/sda2: LABEL="LX-SWAP" UUID="30c42c59-2aa1-4c23-b393-6cdfc3d19673" TYPE="swap" PARTUUID="4993332f-02"
/dev/sda3: LABEL="Magiea-HOME" UUID="264f83c6-f30f-4a9a-903e-46971b1db5cd" TYPE="ext4" PARTUUID="4993332f-03"
/dev/sdb1: LABEL="M11SSD-Backup" UUID="f7efde75-b094-4622-80c0-2f89fcc6f06d" SEC_TYPE="ext2" TYPE="ext3" PARTUUID="796422c2-4cb6-408c-ab0e-9f411519b8b3"
/dev/sdb2: LABEL="Carole-Lap-BAK" UUID="f3e13ed6-ce76-4aff-8ff0-f47ae0a418da" TYPE="ext4" PARTUUID="3f37828f-6850-47ef-a8ce-54fcd7009376"
/dev/sdb3: LABEL="Magiea-HOME-Bak" UUID="264f83c6-f30f-4a9a-903e-46971b1db5cd" TYPE="ext4" PARTUUID="98b900cf-700f-422d-8a2e-d720a23356c0"
/dev/sdb4: LABEL="Magiea-HOME-OLD" UUID="264f83c6-f30f-4a9a-903e-46971b1db5cd" TYPE="ext4" PARTUUID="0060ddfd-aa6c-4fd5-b8d0-99e95459d013"
[root@localhost peter]#
Opened fstab to see if I could work out what is wrong.
fstab contents =
- Code: Select all
# Entry for /dev/sda1 :
UUID=a7179ff3-c46a-4fff-b013-ec28dc060bc2 / ext4 relatime,acl 1 1
# Entry for /dev/sda3 :
UUID=264f83c6-f30f-4a9a-903e-46971b1db5cd /home ext4 user,relatime,acl 1 2
none /proc proc defaults 0 0
# Entry for /dev/sda2 :
UUID=30c42c59-2aa1-4c23-b393-6cdfc3d19673 swap swap defaults 0 0
Closer reading of the blkid output reveals that the three Mageia home partitions all share the same UUID. The PARTUUIDs are different and presumably identify the correct locations.
So I guess fstab will not be able to point to the correct home partition as things stand.
Please advise me how to use my sda3 home partition whilst (if possible) retaining access to my old home partition for backup use.
Would disconnecting sdb from the system and reinstalling on sda be a safe if cumbersome way to fix the problem? Alternatively is this a task for the System restore boot option?