How to install Ubuntu without a USB

Booting ISO from Fedora GRUB2 Menu

The method on this page should work for booting an Ubuntu ISO from the Fedora GRUB bootloader 20.04 booting .iso from GRUB menu No need for a USB here.

To reiterate:

  • Add the following menuentry to /etc/grub.d/40_custom:

    menuentry "isoname ISO" {
      rmmod tpm
      set root=(hdX,Y)
      set isofile="/[path]/[isoname].iso"
          loopback loop $isofile
          linux (loop)/casper/vmlinuz boot=casper iso-scan/filename=$isofile toram --
          initrd (loop)/casper/initrd
    }
    

Where (hdX,Y) is the disk and partition the ISO is on, for example /dev/sda3 would be (hd0,3). [path] is the path to the folder the ISO file is in, and [isoname] is the name of the ISO, for example /isos/ubuntu-20.04.2-desktop-amd64.iso is used if the Ubuntu ISO is located in a folder named isos on the root partition. rmmod tpm is only needed when booting in UEFI mode.

  • In Terminal run:

    sudo update-grub
    
  • Reboot and select Ubuntu from the grub menu. Install as usual.

  • Please let us know how this works for you.


Boot Ubuntu on Windows UEFI computer without USB or CD

For a UEFI computer, this method may be simpler than my proceeding answer:

  • Use Windows Disk Management to create FAT32 partition 3GB or larger.

  • Copy/Paste contents of ISO file to new partition.

  • Reboot pressing F12 and select UEFI Ubuntu.

  • Proceed to Ubuntu Installation.