Practical questions about disk partitioning, moving the /home directory and shrinking the / system directory.

Bas G. Roufs basroufs at gmail.com
Wed Jul 17 14:26:32 UTC 2024


Thanks for rewriting the fstab file.

Op wo 17 jul 2024 om 10:44 schreef Nils Kassube <kassube at gmx.net>:
(snip)

> > I hope all this info together will help you to give me a good advise on
> > rewriting the fstab file.
>
> Thanks for sending the attachment. Now it looks clearer to me.
>

Good to read this. It was quite a job....


>
> Fortunately there seem to be no duplicate UUIDs, so it shouldn't be a
> problem to connect the external disk.
>
> So here is my modified version of the fstab file using the UUID for the
> sda5 partition:
>
> -----------------------------------------------------------------
> # /etc/fstab: static file system information.
> #
> # Use 'blkid' to print the universally unique identifier for a device;
> this may
> # be used with UUID= as a more robust way to name devices that works even
> if
> # disks are added and removed. See fstab(5).
> #
> # <file system>             <mount point>  <type>  <options>  <dump>
> <pass>
> UUID=2057-1177                            /boot/efi      vfat    defaults
>  0 2
> UUID=a26850d6-c991-4908-a3c8-2d9f3bf70dee /              ext4    defaults
>  0 1
> UUID=fc697194-bb73-4403-a072-e6f887af128b /home          ext4    defaults
>  0 2
> /swapfile                                 swap           swap    defaults
>  0 0
> tmpfs                                     /tmp           tmpfs
>  defaults,noatime,mode=1777 0 0
> -----------------------------------------------------------------
>

I get it.


>
> I have also attached the file to avoid issues with additional line breaks
> etc.
>

I already stored it properly - I gonna use that one.

> You should use this file after you have moved the bas folder to the top
> folder of sda5.


I'do that!



> As you can see, I have removed the entry for the external disk. Then it
> need not be connected when you boot the machine.


I understand why you did so.... However....



> If you connect the external disk while you are logged in to Kubuntu, there
> should be popup window where you can manage to connect it.
>

I hope you are right. However, in the last days before 22 June, I had
troubles getting mounted that disk. However, if this happens again, I'll
take recourse to the command line to mount it.

I'll get back here after carrying out each step we have spoken about.

Thanks again.

Yours.

Bas.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.ubuntu.com/archives/kubuntu-users/attachments/20240717/bf96b126/attachment.html>


More information about the kubuntu-users mailing list