Ubuntu – How to unmount a live DVD/USB

live-cdlive-usblivedvdmountumount

I need to burn a new live DVD (Debian 8.0) from an Ubuntu 16.04 live DVD.

  • the live DVD is the device /dev/sr0 mounted on /cdrom
  • the blank DVD to be burnt is also located at /dev/sr0
  • Changing the DVD does not umount the live DVD on /cdrom

How can I umount my live DVD in order to burn my new live DVD?

Best Answer

RAM drive

If there is enough RAM in your computer, it should be possible to detach the DVD disk, if you add the boot option toram, because it means that the system will write the content of the DVD disk into RAM, and use that image instead of reading files from the disk.

A. When you boot with syslinux you can add boot options like this:

  1. As the CD boots, the user can gain access to the advanced page and its options by pressing any key when the small logo appears at the bottom of your screen.

  2. After selecting language you arrive at the main menu of the installer.

  3. Select 'Try Ubuntu without installing'

  4. Press F6.

  5. A menu with a number of options appears. The option toram is not there, so press Escape to close the list.

  6. Now a string of options is visible, often with 'quiet' or 'quiet splash ---' at the end. Add toram to the string surrounded by spaces before the dashes.

    ... toram ---
    
  7. Press return, and booting the live session 'Try Ubuntu' continues ...

enter image description here

See this link for more details, Syslinux boot options

B. When you boot with grub you can add boot options like this:

When a live drive boots to grub, you will see the grub menu (white text on black background). 'Try Ubuntu without installing' is selected, and should be used in this case.

  1. The automatic countdown may be stopped by pressing any key other than the ENTER key.

  2. Press the 'e' key to reveal the selection's settings.

  3. Use the UP/DN/Left/Right cursor keys to navigate to the desired point for editing. Do not use ENTER to move between lines.

  4. Move the cursor to the space before the dashes at the end of the 'linux' line. Add toram to the line surrounded by spaces before the dashes.

    ... toram ---
    
  5. When editing is complete, Press CTRL-x or F10 - and booting continues.

enter image description here

See this link for more details, Editing the GRUB 2 Menu During Boot

-o-

Workarounds

  1. Boot from DVD, write to a USB pendrive or memory card.

  2. Boot from USB pendrive or memory card, write to a DVD disk.

Related Question