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.
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It only takes a minute to sign up.
Sign up to join this communityHow 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.
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.
code
. Comment: smart workaround when the USB drive is too small :-)
toram
in this case, since the user may want to tamper with the partition table of the drive containing the iso file. (But best practice is to use Windows to shrink the Windows partiiton and to leave the unallocated drive space as unallocated for Ubuntu to manage (either with gparted or in the installer's 'Something else' mode)).