Linux - Software This 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.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
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.
|
|
01-10-2013, 10:45 PM
|
#1
|
Member
Registered: Jul 2011
Distribution: Ubuntu 20.04
Posts: 235
Rep:
|
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.
|
|
|
01-10-2013, 11:37 PM
|
#2
|
Member
Registered: Jun 2012
Location: Missouri, USA
Posts: 236
Rep:
|
ccd2iso should do the job.
Code:
sudo aptitude install ccd2iso
ccd2iso file.img file.iso
Quote:
Originally Posted by Chris.Bristol
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.
|
|
|
|
01-11-2013, 02:29 AM
|
#3
|
Member
Registered: Jul 2011
Distribution: Ubuntu 20.04
Posts: 235
Original Poster
Rep:
|
Quote:
Originally Posted by rosehosting.com
ccd2iso should do the job]
|
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 02:33 AM.
|
|
|
01-11-2013, 10:04 AM
|
#4
|
LQ Guru
Registered: Apr 2008
Distribution: Slackware, Ubuntu, PCLinux,
Posts: 11,020
|
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.
If you have questions, post back.
|
|
|
01-11-2013, 10:25 AM
|
#5
|
Moderator
Registered: Dec 2009
Location: Germany
Distribution: Whatever fits the task best
Posts: 17,148
|
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
|
|
1 members found this post helpful.
|
01-11-2013, 11:00 AM
|
#6
|
Member
Registered: Jul 2011
Distribution: Ubuntu 20.04
Posts: 235
Original Poster
Rep:
|
Quote:
Originally Posted by yancek
You could try loop mounting the chromium img file...
|
Thanks but this sounds way beyond my Linux knowledge and too much to learn for the purpose.
Quote:
Originally Posted by TobiSGD
Plop bootloader...
|
Thanks, this sounds worth a try, will have to get a larger USB memory stick.
Last edited by Chris.Bristol; 01-12-2013 at 08:38 AM.
|
|
|
01-11-2013, 10:47 PM
|
#7
|
Moderator
Registered: Mar 2008
Posts: 22,177
|
If you have access to a newer system might try qemu with that image as hda.
The command qemu filename.img should work to boot to a vm.
|
|
|
01-12-2013, 02:00 PM
|
#8
|
Member
Registered: Jul 2011
Distribution: Ubuntu 20.04
Posts: 235
Original Poster
Rep:
|
Quote:
Originally Posted by jefro
qemu
|
This sounds useful whether or not it will run on that machine, thanks.
|
|
|
All times are GMT -5. The time now is 06:55 PM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|