Ubuntu – How to create a bootable iso from an extracted Ubuntu 13.04 iso

bootisolive-cd

I have an extracted copy of Ubuntu 13.04 iso (live CD), but if I burn it directly it will not boot. Is there any way to create a bootable iso so that I can burn it to a DVD or USB flash drive?

I tried ISO Master, but it first wanted an iso and allows me to add some more files. Can I use it to create iso only from extracted folders?

Best Answer

To make an ISO from files on your hard drive, you can use the mkisofs command. To use it, just press Ctrl+Alt+T on your keyboard to open Terminal. When it opens, run the command(s) below:

mkisofs -o /home/user/Desktop/test/Ubuntu.iso /home/user/Desktop/test

(Using the command above, I have a folder called test in the Desktop folder, which will create the ISO in the same test folder, using only the files in the test folder).

Once created, then you can burn it to a DVD.

Note: This will not create a bootable DVD. To create a bootable DVD you need to get ISOLINUX, and you still can use mkisofs.

Related Question