I have Ubuntu 14.04 32-bit on an external HDD (Samsung M3 Portable, 500GB) and want to add other entries for various diagnostic software (UBCD, bitdefender antivirus...) to GRUB on the same disk.
Is it possible, and if so, how?
I have Ubuntu 14.04 32-bit on an external HDD (Samsung M3 Portable, 500GB) and want to add other entries for various diagnostic software (UBCD, bitdefender antivirus...) to GRUB on the same disk.
Is it possible, and if so, how?
You may use grml-rescueboot for ISO Boot
A very simple way of creating a GRUB menuentry for a bootable ISO file is to use grml-rescueboot.
The package does the following:
Creates a /boot/grml folder.
Automatically adds menuentries to the GRUB menu for any ISO files located in the /boot/grml folder. This is accomplished whenever the update-grub command is executed.
To use the grml-rescueboot option:
Install grml-rescueboot
sudo apt-get install grml-rescueboot
Place bootable ISO files in the /boot/grml folder.
Since this is a system folder, the operation must be conducted as "root". For example, if the ISO is located in the user's Downloads folder, the command would be:
sudo cp ~/Downloads/ubuntu-14.04-desktop-amd64.iso /boot/grml/u1404_64_d.iso
sudo chmod +rx /boot/grml/u1404_64_d.iso
Update GRUB
sudo update-grub
Tested on: Ubuntu 14.04 64bit Source: Grub2/ISOBoot
Another way, using memdisk from syslinux-common package:
memdisk is not in /boot/, copy it from /usr/lib/syslinux/memdiskCopy ISO image to /boot/
sudo cp ~/Downloads/ubuntu-14.04-desktop-amd64.iso /boot/u1404_64_d.iso
sudo chmod +rx /boot/u1404_64_d.iso
Edit /etc/grub.d/40_custom or create new custom file and append to it:
menuentry 'ISO rescue disk' {
linux16 /boot/memdisk iso bigraw
initrd16 /boot/u1404_64_d.iso
}
Update GRUB
sudo update-grub
Tested on: Ubuntu 14.04 64bit, Didn't work for me Unable to find CDROM! Reference: Syslinux/MEMDISK
I made Hirens Boot CD in 2. partiton, chainlinked it and it's working :D
Via Grub Customizer I made new entry (type chainloader) and pointed to partition where is Hirens Boot CD extracted.
Thank you anyway :D