Practical questions about disk partitioning, moving the /home directory and shrinking the / system directory.
Bas G. Roufs
basroufs at gmail.com
Sat Jul 20 08:03:18 UTC 2024
Hey dear Nils and others.
Yesterday, I carried out some tests in the realm of disks, partions and
software. Updates seemingly function well. Apparently no broken packages.
Before closing the last working session in the recovery mode, I DID manage
to....
+ mount sda;
+ identify mount points of sda3, sda 5 and one more partion;
+ find «home new» at sda5.
All this gonna help to get fixed the system today.
Op do 18 jul. 2024 12:36 schreef Nils Kassube <kassube at gmx.net>:
(...)
>
> Thanks for the extended description compared to your previous mail in the
> other thread. Now it is more obvious when you modified the fstab file.
>
Exactly.
>
> I would suggest the following procedure:
> Start Kubuntu 24.04 live system from the USB stick.
I get this idea. I understand everything you write here. I can do so. But
one important question remains.....
Run konsole and become root with the command
>
> sudo su
>
I get this idea. But what about the superuser password when running the
live version of Kubuntu 24.04 LTS?
> so you don't need to enter sudo for many of the following commands.
This idea I get. However, how to deal with the password issue? Is there a
way to get around it?
Now check that sda is your 1TB SSD with
>
> fdisk -l /dev/sda
>
I get this one.
> and then mount the sda3 partition to /mnt with the command
>
> mount /dev/sda3 /mnt
>
Good point. Did not do so yesterday in the recovery mode session.
> Now you can check that the home folder exists
>
> ls /mnt
>
> among various others there should be a folder named home.
I get it..
If it doesn't exist, create a new empty home folder:
>
> mkdir /mnt/home
>
I get this too.
> Now mount the sda5 partition to the home folder:
>
> mount /dev/sda5 /mnt/home
>
> then check the contents
>
> ls /mnt/home
>
> there should be a folder bas but I think you will find the home-new folder
> here instead.
Tests yesterday in the recovery mode delivered this result.
If you really find the home-new folder instead of the bas folder, move the
> bas folder of the home-new folder upwards:
>
> mv /mnt/home/home-new/bas /mnt/home
>
I know, the folder /home-new/ exist. However, not sure yet about
/home-new/bas/.
> If there is neither the folder bas nor the folder new-home, you can copy
> the bas folder from your home-ori folder:
>
> cp -a /mnt/home-ori/bas /mnt/home
>
I tend to do so anyway, because the «home-ori» folder at sda3 is more up to
date then «home-new» at sda5.
> Finally you could check that the fstab file is the new version:
>
> cat /mnt/etc/fstab
>
Also this check I still need to carry out from the Ventoy live USB?
> Then reboot and please tell us that the system works now.
>
I am happy to do so after getting clarity about the super user password
issue.
Thanks, yours,
Bas.
====
Bas G. Roufs MA
Rijksweg 66a
NL-6585 AG Mook
+31 6 446 835 10
BasRoufs at gmail.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.ubuntu.com/archives/kubuntu-users/attachments/20240720/cbcb7e0b/attachment.html>
More information about the kubuntu-users
mailing list