Install Ubuntu without a USB flash drive or CD

I currently use Zorin OS and I want to switch to Ubuntu. If I try UNetbootin for Linux, it doesn't show any boot entry to install Ubuntu and I can't purchase a USB flash drive right now.

How can I install Ubuntu without a USB flash drive or CD?


Solution 1:

Booting Ubuntu ISO from Zorin GRUB Menu

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

To reiterate:

  • Add the following menuentry to grub.cfg:

    menuentry "isoname ISO" {
      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, [path] is the path to the folder the ISO file is in, and [isoname] is the name of the ISO

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

  • Please let us know how this works for you.

  • Alternately you might also be able to install Ubuntu from your smart phone using DriveDroid, see: How to install Ubuntu using a smart phone as the installation media?