Convert bootable USB .img file to bootable CD .iso file
Linux - SoftwareThis forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
Convert bootable USB .img file to bootable CD .iso file
I would like to try ChromiumOS on my old laptop. Hexxah doesn't offer a CD image, only a USB one. USB sticks don't boot on this old thing and there is no reference to them in the BIOS setup. It's probably too old for there to be a newer version of the firmware that includes it, and even if there was it's too tricky to mess with just to try out an OS.
The answer would seem to be to convert the .img file to a .iso file, but I don't think this is as simple as it first appears. Is it possible? I wonder whether there is a method which wouldn't work for all USB formats to all CD formats but would work in the specific case of bootable images.
I would like to try ChromiumOS on my old laptop. Hexxah doesn't offer a CD image, only a USB one. USB sticks don't boot on this old thing and there is no reference to them in the BIOS setup. It's probably too old for there to be a newer version of the firmware that includes it, and even if there was it's too tricky to mess with just to try out an OS.
The answer would seem to be to convert the .img file to a .iso file, but I don't think this is as simple as it first appears. Is it possible? I wonder whether there is a method which wouldn't work for all USB formats to all CD formats but would work in the specific case of bootable images.
I have tried this but it wouldn't read the file. I have read some info on it and it seems to be intended for a particular sort of CD file not a USB img.
Last edited by Chris.Bristol; 01-11-2013 at 01:33 AM.
You could try loop mounting the chromium img file and then using the mkisofs or genisoimage commands.
In a terminal as root create a mount point: mkdir /mnt/chromium
Then loop mount: mount -o loop chromium.img /mnt/chromium
You would then run the mkisofs or genisoimage commands with options from your installed Linux system in a terminal in the /mnt directory.
I'm not familiar with Chromium so I don't know the bootloader it uses, isolinux?
The mkisofs commands will vary with bootloader and there are a large number of sites explaining this, probably posts here at LQ if you use the search function.
ccd2iso is for converting CloneCD images to ISO images, not USB images.
I would try to boot from USB using the Plop bootloader: http://www.plop.at/en/bootmanagers.html
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.