I installed Fedora 34 about a week ago and found out that most of the apps used .deb which Fedora doesn't support, so I was thinking about switching to Ubuntu, BUT I lost my USB drive, so does anyone know how to install Ubuntu 21.04 without USB drive? My laptop uses UEFI, so unetbootin won't work.
2 Answers
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-grubReboot and select Ubuntu from the grub menu. Install as usual.
Please let us know how this works for you.
- 20,530
- 12
- 78
- 125
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.
- 20,530
- 12
- 78
- 125