OS Installation notes

Ubuntu gobbledy-speak

To understand many web posts about Ubuntu you need to know far too much weird terminology, including:


See also: NCSC Security Guidance: Ubuntu 18.04 LTS

Installing dual-boot Windows and Ubuntu

Given Windows' poor understanding of a dual-boot environment, the simplest thing is (last done was Windows 11 and Ubuntu 22.04 using, at last, UEFI rather than BIOS on JCPR-Dell-4):

Installing Ubuntu

(last updated from 18.04 to 20.04 Nov/Dec-2020)

All machines are on dual-boot with Windows10.

  1. Create USB using Rufus
  2. Run /home/peter/backup.sh (as sudo) and copy resulting files away for reference (eg: prey config)
  3. Boot from USB (on main PC: Del | F8 Boot Menu)

    On jcpr-laptop1 options (using DataTraveler G4, 8Gig) are:
    UEFI: IP4 Realtec PCIe GBE Family Controller
    UEFI: IP6 Realtec PCIe GBE Family Controller
    P2: KINGSTON SV300S37A120G
    KingstonDataTraveler 3.0PMAP
    UEFI: KingstonDataTraveler 3.0PMAP

    Must use the non-UEFI and non-P2 (often penultimate) one.
  4. On main PC use "try before install" option to check hardware supported.
  5. For the install, select Minimal install (in 2020 only did this for main PC, did full on laptop), YES to "Download updates while installing" and YES to "Install third party software".
  6. Take option to erase previous Ubuntu and reinstall (sic).
    ie: use Default "Installation type" : Erase Ubuntu xx.04.y LTS and reinstall
  7. For backup.sh, ran: date > /etc/epoch.00
    (if you forget, subsequently run: touch -d 'dd-Mon-yyyy 09:00' /etc/epoch.00)
    Then remember when modifying key files to save copies using: cp -p file file.00
  8. Add Software Updater to launcher and use it to apply pending updates.
  9. On JCPR-Dell-3 change default boot (dual-boot systems) back to Windows:
  10. Set up naming and auto-mounting of local drive(s):
    mkdir /media/D # Or /media/E on main PC
    Add to /etc/fstab (using appropriate device; use fdisk -l to help identify):
    /dev/sda4 /media/D ntfs-3g quiet,defaults,rw 0 0
    Test with mount -a
    On JCPR-DELL-3 also auto-mount /dev/sda2 as /media/C in the same way.
  11. On jcpr-laptop1 share out the NTFS folder containing ntfs-mirror.
  12. On jcpr-laptop1 as peter:
  13. Do customisations
  14. Install various useful things:
    NB: on JCPR-DELL-3 in 2020 Gparted was not seen by Ubuntu Software and attempt to install LibreOffice below failed with Error opening directory "/usr/share/appdata": No such file or directory.
    Both problems disappeared on reboot (when LibreOffice had been installed).
  15. For 20.04 on jcpr-laptop1 had dreadful trouble getting it to see anything else on the LAN.
    Things like ping jcpr-dell-3 failed with ping: jcpr-dell-3: Temporary failure in name resolution
    Spent a long time failing to find a fix, so worked round by fixing it in etc/hosts, so it contains:
            192.168.0.10 nas-29-ee-87
            192.168.0.56 npi12190f
            192.168.0.14 jcpr-dell-3
    Did not bother to sort out on JCPR-DELL-3
  16. From 20.04, access to NAS drives (even using smb://NAS-29-EE-87/core) fail with:
            Unable to access location 
            Failed to mount Windows share: Software caused connection abort
    Fix by downgrading Samba support level (thanks to Mariano):
  17. On jcpr-laptop1 as peter, set up slave-to-PC and at-boot processing:
  18. Set up printer and Scanner
    Printers | Add Printer Shows two take the Color-LaserJet-CP2025dn one and duplicate as BlackAndWhiteLaserJet
    Set Duplexor installed if needed (not usually), Two-sided: Long Edge and Print Color as Gray, set as default and for all users.
    Have to set Firefox (at least) to use two-sided when printing for first time as JC and not for me for it to work.
  19. Copy Firefox profiles from (eg) Window10 replacing the default ones.
  20. Customise Firefox further if neccessary:
  21. Get new gparted disk image to website/images/disks
  22. When all done, as sudo, run backup.sh and copy the (three) files it creates to main PC.

Ubuntu customisations and tweaks

Installing Windows

Updated for JCPR-Dell-4 with pre-installed Win11

Windows preferences changes

Windows preferences changes must be redone after Windows update

M$'s hideous major update process (eg: both "Creators Update" and "Fall Creators Update") can remove many common preferences. These, at least, may need to be reset after an update:

Windows tools and apps installation

Pathnames relate to last install - earlier ones may have been used in the past. Most/all installs under DOWNLOADS, often DOWNLOADS/ToolsAndUtilities. On Windows8 always: Right-Click | Run as Administrator

Common Customisation

Removing Windows apps

Switching Android phone or tablet

(last updated Jul-2021 : Vankyo tablet rebuild)

Android Settings

(as of 8.0 Nov-2018)
Page last edited: 12-Apr-2023