LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices


Reply
  Search this Thread
Old 01-30-2014, 07:25 PM   #1
mia_tech
Member
 
Registered: Dec 2007
Location: FL, USA
Distribution: CentOS 5.3, Ubuntu 9.04
Posts: 245

Rep: Reputation: 16
problem making a linux iso out of a usb flash drive linux live


I'm installing a multi-usb live linux distro, and making an image of it with mkisofs to boot it into my virtualbox app, but so far it gives me boot error.

mkisofs -T -r -o usbdisk.iso pathToDirectory/

is the image wrong or could it be the usb creating that is wrong?

Thanks
 
Old 01-31-2014, 02:40 PM   #2
MensaWater
LQ Guru
 
Registered: May 2005
Location: Atlanta Georgia USA
Distribution: Redhat (RHEL), CentOS, Fedora, CoreOS, Debian, FreeBSD, HP-UX, Solaris, SCO
Posts: 7,831
Blog Entries: 15

Rep: Reputation: 1669Reputation: 1669Reputation: 1669Reputation: 1669Reputation: 1669Reputation: 1669Reputation: 1669Reputation: 1669Reputation: 1669Reputation: 1669Reputation: 1669
Are you saying you already have a bootable USB and want to copy it to a .iso file? If so you don't need mkisofs - you just do a dd of it:

dd if=<usbdev> of=/<path>/<usbname>.iso

You can mount the .iso file with the loopback option:

mount -o loop /<path>/<usbname>.iso /<mountpath>
 
Old 01-31-2014, 03:59 PM   #3
jefro
Moderator
 
Registered: Mar 2008
Posts: 21,982

Rep: Reputation: 3625Reputation: 3625Reputation: 3625Reputation: 3625Reputation: 3625Reputation: 3625Reputation: 3625Reputation: 3625Reputation: 3625Reputation: 3625Reputation: 3625
dd to some image file would be creating a raw file. So you might be able to use qemu-img to convert it to a standard virtual disk.

https://forums.virtualbox.org/viewto...p?f=2&p=163047 for clues how to use other tools.


You can try to attach a live cd this subject usb to a virtualbox booted from live cd. The use dd to the virtual hard drive.

Some problems exist such as boot loader. Grub should work. Some versions of sysliux may work.
 
  


Reply



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 On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] Installing linux .iso without dvd disk drive from flash drive on laptop. How? LinuxPadawan1230 Linux - Laptop and Netbook 10 05-30-2012 01:14 PM
linux on usb flash drive with suspend problem. BILLYKANE Linux - Hardware 3 01-24-2012 06:12 AM
Making bootable USB flash drive to install Linux tron_thomas Linux - General 35 07-11-2011 11:19 PM
bootable live Linux on USB flash drive james2b Linux - General 3 03-03-2008 02:08 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 06:47 AM.

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