LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
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


Reply
  Search this Thread
Old 01-10-2013, 10:45 PM   #1
Chris.Bristol
Member
 
Registered: Jul 2011
Distribution: Ubuntu 20.04
Posts: 235

Rep: Reputation: 14
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.
 
Old 01-10-2013, 11:37 PM   #2
rosehosting.com
Member
 
Registered: Jun 2012
Location: Missouri, USA
Posts: 236

Rep: Reputation: 64
ccd2iso should do the job.

Code:
sudo aptitude install ccd2iso
ccd2iso file.img file.iso

Quote:
Originally Posted by Chris.Bristol View Post
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.
 
Old 01-11-2013, 02:29 AM   #3
Chris.Bristol
Member
 
Registered: Jul 2011
Distribution: Ubuntu 20.04
Posts: 235

Original Poster
Rep: Reputation: 14
Quote:
Originally Posted by rosehosting.com View Post
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.
 
Old 01-11-2013, 10:04 AM   #4
yancek
LQ Guru
 
Registered: Apr 2008
Distribution: Slackware, Ubuntu, PCLinux,
Posts: 11,020

Rep: Reputation: 2618Reputation: 2618Reputation: 2618Reputation: 2618Reputation: 2618Reputation: 2618Reputation: 2618Reputation: 2618Reputation: 2618Reputation: 2618Reputation: 2618
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.
 
Old 01-11-2013, 10:25 AM   #5
TobiSGD
Moderator
 
Registered: Dec 2009
Location: Germany
Distribution: Whatever fits the task best
Posts: 17,148
Blog Entries: 2

Rep: Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886
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.
Old 01-11-2013, 11:00 AM   #6
Chris.Bristol
Member
 
Registered: Jul 2011
Distribution: Ubuntu 20.04
Posts: 235

Original Poster
Rep: Reputation: 14
Quote:
Originally Posted by yancek View Post
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 View Post
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.
 
Old 01-11-2013, 10:47 PM   #7
jefro
Moderator
 
Registered: Mar 2008
Posts: 22,177

Rep: Reputation: 3645Reputation: 3645Reputation: 3645Reputation: 3645Reputation: 3645Reputation: 3645Reputation: 3645Reputation: 3645Reputation: 3645Reputation: 3645Reputation: 3645
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.
 
Old 01-12-2013, 02:00 PM   #8
Chris.Bristol
Member
 
Registered: Jul 2011
Distribution: Ubuntu 20.04
Posts: 235

Original Poster
Rep: Reputation: 14
Quote:
Originally Posted by jefro View Post
qemu
This sounds useful whether or not it will run on that machine, thanks.
 
  


Reply

Tags
bootable, chromiumos, convert, img, iso


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Is it possible to convert a bootable ISO to a img.ext2 file? LandRiders7th Linux - General 4 06-18-2012 10:09 PM
Convert bootable USB into ISO m1_davidson Linux - General 13 03-06-2010 02:10 PM
Can't get bootable USB to work on Asus Eee 1000H (.img works, but not .iso) Zarniwoop79 Linux - Laptop and Netbook 1 09-30-2009 06:02 PM
How do i make a .img file into a bootable usb in windows xp so i can install fedora7 cwere4 Linux - Newbie 4 06-25-2007 12:49 PM
Bootable IMG File thesystem DamnSmallLinux 1 10-24-2004 06:02 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 06:55 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration