This seems a bit unstable, actually a bit unfair but they have changed how they deal with bursting swap, and firefox at least uses snap and so I may need some more tools. Here are my notes …
What I’ve found
On swap
This is a bit odd.
- https://askubuntu.com/questions/1408784/apps-crash-randomly-on-newly-installed-ubuntu-22-04
- https://linuxhint.com/add-swap-space-ubuntu-22-04/, I found this, extending swap on an ubuntu 22 system.
- And this on sizing swap! There it seems several rules, varying from 2Gb to same as RAM.
On Snap
- https://snapcraft.io/docs/keeping-snaps-up-to-date, claims to do it l the time or at least four times/day, can I configure a refresh to be part of the boot sequence.
Image Editing
- https://linuxhint.com/best-image-editors-ubuntu/ from Linuxhint, I downloaded GIMP, I thought I knew how to use it, but it seems I don’t. Perhaps I should use imagemagick?
On Samba
- The client only uses SMB1? If so this is a bug in Ubuntu, can I configure my servers to use both versions of the protocol.
On VLC
I forgot to do the things to make VLC work, it’s not as simple as it should be, I checked my V20 notes and referred to these notes, which guided me through the reinstall and then the configuration. I used steps 1-4 with apt.
On Sudoers privilidge
When running under virtualbox, I corrupted the sudoersfile. This is not simple to fix, well it is, but you need to know how. You need to boot in recovery mode and enter single user shell as root. I used this advice from tecmint.com and found this from askunbuntu, which wasn’t quite what I needed.
Google Drive
This is now managed via settings -> online accounts. Do the do, and make sure that the file manager is granted permissions. Nautilus will find the drive.
Bad Blocks
I have one or more bad blocks on my hard disk, to remediate this,,
- First, I need to of make a file backup of the root file system, and thus need a remote disk target; this can be done from the failing system using tar and –exclude. I wrote some code,
backmeup
. Fixing the smb connect to my router mounted HDD helped. - badblocks lists bad blocks, it does not repair them, it is recommended that one uses e2fsck, but my file system is w95 FAT, so fsck.vfat is needed. There remain, 3 bad blocks, looks like I’ll need to reinstall on an ext4 file systems and ensure a
format
command is used.
It would also be good to fix the boot manager if this works.
Updated today, to document issues with Samba and the work round provided by imagemagick.