Ubuntu – I’d like to install Ubuntu but I only have a USB stick of 512MB and do not want to use Mini CD ISO


How can I install Ubuntu if I only have a 512MB USB stick and do not want to use Mini CD ISO,

I have a Windows 10 computer and will be using Something else for the installation.

Best Answer

Install Ubuntu Using a Small USB stick

The Ubuntu ISO can be installed using the grub bootloader from a USB stick. Here is a Step by Step.

  • Download the Ubuntu ISO to the Downloads folder of Windows. (There are easier methods to install Ubuntu if you already have Ubuntu).

  • Download the mkusb ISO boot template: https://phillw.net/isos/linux-tools/uefi-n-bios/dd_grub-boot-template-for-uefi-n-bios.img.xz

  • Extract the image to a minimum 250MB USB using Rufus, Etcher, mkusb, Disks, dd, etc.

  • Edit the first menu entry of usbboot/boot/grub/grub.cfg as follows

    menuentry "ubuntu.iso" {
      search --set=root --fs-uuid 20EEA649EEA61756
      set isofile="/Users/c.cameron/Downloads/ubuntu-20.10-desktop-amd64.iso"
      loopback loop $isofile
      linux (loop)/casper/vmlinuz boot=casper iso-scan/filename=$isofile toram --
      initrd (loop)/casper/initrd

    Where 20EEA649EEA61756 is the Windows partition UUID.

Reboot the computer to "ubuntu.iso" and install Ubuntu using "Something Else" as normal.