How to run the Ubuntu ISO live image from Windows without USB or DVD?
This is a self answered question.
WARNING: although I hadn't any problems, I guess that could be cases, due to some mistake or other reasons, that renders Windows and/or Ubuntu unbootable. My tests where limited.
If there's access to the GRUB console, some problems may be fixed.
Create a primary FAT32 partition with the partition manager, 4GB is enough. This partition will be, in linux, /dev/sda2
because is the second partition. If you got previously more partitions, and for example the FAT created partition is the third, it will be /dev/sda3
.
Mount the ISO image with the CD emulator and copy its content on the FAT partition created.
Follow the steps shown in the images:
Select the "default" option and insert a new item:
Edit the new item:
Insert the code shown below:
Here is the code to copy:
title Ubuntu
root (hd0,1)
kernel /casper/vmlinuz root=/dev/sda2 boot=casper
initrd /casper/initrd
Save the created menu as MENU.LST
:
Install GRUB.
The System drive, in this cased
D
, is the Windows name of the FAT partition created. It could be other letter in your system:
You won't get any message of successful installation, but it's done.
Reboot and enjoy.
Tested on Windows XP SP2, Xubuntu 18.04 i386.