Skip to main content

Booting from an existing Linux installation using GRUB

If you have an existing Linux system where you are unable to use iPXE or boot from a disk image, but you can see the GRUB menu on boot, you can boot into using grub-imageboot.

On Debian/Ubuntu

# Install grub-imageboot
apt install grub-imageboot

# Download ISO
mkdir /boot/images
cd /boot/images

# Update GRUB menu to include this ISO

On Red Hat Based Systems

yum install syslinux wget -y
cp /usr/share/syslinux/memdisk /boot/memdisk
mkdir /boot/images
cd /boot/images
ln -s /usr/share/grub/grub-mkconfig_lib /usr/lib/grub/grub-mkconfig_lib
#Download iamgeboot config file
wget -O /etc/grub.d/60_grub-imageboot
chmod 755 /etc/grub.d/60_grub-imageboot
grub2-mkconfig -o /boot/grub2/grub.cfg

After reboot, select "Bootable ISO Image:" in the GRUB menu.

If the GRUB menu disappears too quickly, you may need to edit /etc/default/grub and increase the GRUB_TIMEOUT. Run update-grub2 any time you modify this file.