Practical questions about disk partitioning, moving the /home directory and shrinking the / system directory.
Nils Kassube
kassube at gmx.net
Wed Jul 17 15:17:42 UTC 2024
On 17.07.24 Bas G. Roufs wrote:
> Op wo 17 jul 2024 om 09:24 schreef Nils Kassube <kassube at gmx.net>:
> > Oh dear! You used fstab to mount both the new and old disk? Then this may
> > have caused the boot problem because from cloning partitions you get
> > duplicate UUIDs.
> >
>
> Be reassured. I was already aware about this problem.
After looking at the fstab you sent today, I found already that my worries were without any reason.
> There is still place for an additional 512 GB mSata SSD in the laptop. In
> September or October, I'll buy such a thing and get it inserted; before
> doing so, I'll backup the latest user data. After mounting the new mSata
> SSD into the laptop, I'll split it in two partitions of 256 GB each. One
> half will have the exact size of sda1, sda2, sda3 and sda4 together. The
> other half will equal the old 256 GB SSD. Then I'll clone everything from
> sda1, sda2, sda3 and sda4 to one half of the mSata - including the / system
> partition at sda3. The Timeshift system - backup at the old 256 GB SD, I'll
> put at the other half of the new mSata SSD. After that, I'll reformat the
> whole 1 TB SSD - from that moment onwards, the whole 1 TB SSD will be one
> single partition for /bas/home. After that, I'll restore recent user data
> from the most recent Backintime backup.
Looks like a good plan.
> > To find out the UUIDs of the partitions you can use the command
> >
> > ls -l /dev/disk/by-uuid/
> >
>
> I have used this and other commands to get together the UUID info you have
> seen in the attachment I sent this morning.
In your attachment you used blkid and other commands - I prefer the ls command above because it shows just the information I need when rewriting the fstab.
Nils
More information about the kubuntu-users
mailing list