1

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?

Zanna
  • 72,312

2 Answers2

0

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:

    1. Creates a /boot/grml folder.

    2. 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.

    3. The created menuentry, when selected, provides submenu options on how to boot the ISO, including the "Try Ubuntu" and "Install" options.
  • To use the grml-rescueboot option:

    1. Install grml-rescueboot

      sudo apt-get install grml-rescueboot
      
    2. 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
      
    3. Update GRUB

      sudo update-grub
      

Tested on: Ubuntu 14.04 64bit Source: Grub2/ISOBoot


Another way, using memdisk from syslinux-common package:

  1. If memdisk is not in /boot/, copy it from /usr/lib/syslinux/memdisk
  2. Copy 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
    
  3. 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
    }
    
  4. Update GRUB

    sudo update-grub
    

Tested on: Ubuntu 14.04 64bit, Didn't work for me Unable to find CDROM! Reference: Syslinux/MEMDISK

user.dz
  • 49,176
0

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