• 0 Posts
  • 4 Comments
Joined 3 years ago
cake
Cake day: June 12th, 2023

help-circle

  • I’m currently maintaining a laptop with kubuntu (for someone else), and I honestly cannot recommend it.

    They have kind of messed up the updates in their Plasma flavor, Discover routinely just fails to do the updates with a completely meaningless error message. I suspect the underlying issue is lock contention with the background service “unattended-upgrades.service”, but I’m not sure, because, again, that error message is ridiculously unhelpful. Also, said unattended-upgrades service does not seem to actually be doing any upgrades.

    On the last install, also, the attempt to upgrade from Ubuntu 24 to 26.04 LTS, the upgrade failed in a spectacularly fashion that left the system mostly bricked in ways that could only be solved by a fresh reinstall. During the process, a few error messages made it look like the problem was hardware faults on the SSD, except when I then tested the SSD from a rescue disk using dd, smartctl, and iotester from https://github.com/guidow/iotester, I could find absolutely no indication of any faults on that drive whatsoever…

    Granted my opinion on kubuntu may be a bit colored, because right this moment, I’m quite frustrated with it.

    Also, installing massively important software like Firefox or Thunderbird through snaps instead of packaging them properly is just asinine.


  • Unfortunately, your existing /home and the ntfs partitions you could remove are in completely non-contiguous regions, so you cannot easily just combine the space. If I were you, I would switch to LVM piece-meal. Ideally, you’d have some other medium were you can temporarily store the current contents of /home while your repartition the drive. Then combine sda2 and sda7 into a volume group and pull just one logical volume out of it for the new /home.

    Otherwise, create a new volume group with only sda2 in it (just overwrite the existing ntfs filesystem) using vgcreate, create a logical on top of that using lvcreate, make a filesystem in that using mkfs.ext4, I would add the -m 0 parameter for a non-root filesystem, mount that somewhere under /mnt/, move or copy over all the contents from /home to that mountpoint, taking care to replicate file owners and permissions (I would just use cp -a), then once this is done (and you’ve double-checked that it is because at the next step you can lose data if you’re not careful), umount /home, extend the volume group to include sda7 using vgextend, enlarge the logical volume for the new /home to the maximum using lvresize, enlarge the ext4 filesystem in there to the maximum possible using resize2fs, finally editing /etx/fstab to use that new logical volume as /home and remounting /home.