Boot Ubuntu 14.10 directly from CD image

Yeah ~, I am able to directly boot Ubuntu ISO image from the hard drives again, with a simpler solution. So no CD/DVD burning, and no slow CD/DVD speed suffering any more. Here is how.

Once again (and has-always-been), this is only for power users, i.e., it is about frugal booting Ubuntu ISO image directly from HD or USB without burning any CD/DVD at first, or without even depending on extracting the CD content. It is not meant for beginners but those who like command line more than GUI tools.


# Prepare source
sudo mount -o loop iso/xubuntu-14.10-desktop-amd64.iso /mnt/iso1/

# Prepare destination, HD/USB
mount /dev/sdb2 /mnt/usbpen/
# Or, e.g.
mount /dev/sda5 /mnt/sda5/

cd $bootmnt
mkdir -p $bootdir

The $bootdir is to allow better multiboot, i.e. we are putting everything into a sub-folder,

boot Ubuntu ISO directly from HD

Copy vmlinuz, initrd and preseed from CD into HD/USB:

cd /mnt/iso1/
rsync -vuaR casper/vmlinuz* casper/initrd.lz preseed $bootmnt/$bootdir
find $bootmnt/$bootdir -ls
# back to $bootmnt
cd $bootmnt

Then add the following boot entry. Nowadays I use Extlinux/Syslinux:

Label Ubuntu14.10.CD
        menu label Ubuntu 14.10 ^Utopic ISO
        kernel /boot/Ubuntu14.10/casper/vmlinuz.efi
        append initrd=/boot/Ubuntu14.10/casper/initrd.lz boot=casper iso-scan/filename=/iso/xubuntu-14.10-desktop-amd64.iso file=/boot/Ubuntu14.10/preseed/ubuntu.seed noeject noprompt ignore_uuid --

That’s it. As long as you’ve made your disk bootable with syslinux/extlinux, it should just boot up fine.


As you can see, with the above frugal installation methods, it is very easy to install several of your favourite Linux into a single disk.


  • You don’t need to get your existing multiboot partition wipe out by the official HD/USB installation, and,
  • You don’t need to download or install any fancy scripts or executables to do the installation yourself.
  • Each different distro resides in different sub-folders (under /boot). Thus it is very easy to put several of them into a single HD/USB.
  • With just a few commands from command line, you can install Ubuntu into your existing multiboot partition as another entry.
  • Unlike other methods, you don’t need to extract the CD content in order to boot. What’s copied to disk are just a very few and small files, all the rest are still intact in the .iso file. This, i.e., saving the original .iso file and saving the disk space by not extracting hundreds or even thousands of meg of files, is very important to me.
  • NB, this works for Ubuntu, but not for BackTrack, because when I tried it last time, the BackTrack casper does not support iso-scan yet. You still need to use the old method.

One thought on “Boot Ubuntu 14.10 directly from CD image

Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out /  Change )

Google+ photo

You are commenting using your Google+ account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )


Connecting to %s