OS Install - noobient/noobuntu GitHub Wiki

Installer

Create an Ubuntu 18.04 UEFI Network Installer, and copy the contents of the ubuntu folder to a FAT32 formatted pendrive.

Single Boot

Boot the pendrive via UEFI, and complete the installation using the Erase disk and install Ubuntu / Encrypt the new Ubuntu installation for security option. Make sure to set the hostname properly!

TODO not graphical install, add details for ncurses installer + example preseed

Dual Boot

It's almost the same as single boot, except you need to select Manual Partitioning. Before installation, make sure there's enough disk space for Linux. If the Windows partition takes up all disk space, shrink it before starting the Ubuntu installer.

In the Ubuntu partitioning dialog:

  • When asked to write the changes to disks and configure LVM, select No.
  • Select Undo changes to partitions.
  • Delete any existing Linux partitions.
  • Create a primary 1GB ext4 /boot partition on the free space.
  • Select Configure encrypted volumes
    • Write the changes to disks.
    • Create encrypted volumes.
    • Select the remaining free space
    • Select Finish.
    • Enter the encryption passphrase twice.
  • Select Configure the Logical Volume Manager.
    • Write the changes to disks.
    • Create volume group (VG).
      • Enter the workstation name.
      • Select the encrypted partition, e.g. /dev/mapper/nvme0n1p6_crypt.
    • Create logical volume (LV).
      • Select the previously created VG.
      • Name the LV as swap.
      • Set the size as big as the physical memory.
    • Create logical volume.
      • Select the previously created VG.
      • Name the LV as root.
      • Use all remaining free space.
    • Select Finish.
  • LVM VG workstation / LV root:
    • Use as: Ext4 journaling file system
    • Mount point: /
    • Done setting up the partition.
  • LVM VG workstation / LV swap:
    • Use as: swap area
    • Done setting up the partition.
  • Finish partitioning and write changes to disk.

Do not create a 2nd EFI partition, Ubuntu will share the EFI partition with Windows.