Help answer threads with 0 replies.
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!


  Search this Thread
Old 06-20-2008, 08:45 AM   #1
Registered: Jun 2006
Distribution: Ubuntu
Posts: 35

Rep: Reputation: 16
My error in mkisofs command to make a command line iso


I am attempting to recreate an iso from a set of files. At this point I seem to be stuck on the creation process. I have reviewed man mkisofs, which returns genisofs. Below is the actual command, and what each piece of information seems to provide

mike@presario:~$ sudo mkisofs
-V "LAMPPIX" -r -J -b isolinux/isolinux.bin -c /home/mike/master/isolinux/ -boot-load-size 4 -boot-info-table -o /home/mike/lamppix-mini-own.iso

I: -input-charset not specified, using utf-8 (detected in locale settings)
genisoimage: Missing pathspec.
Usage: genisoimage [options] -o file directory ...

sudo mkisofs -V "LAMPPIX" Sets the Volume Name
-r Generate Rock Ridge Directory information
-J Specifies to use the Joliet directory info
-b isolinux/isolinux.bin Set El Torito boot image name
-c /home/mike/master/isolinux/ This is the only file that is named in a original iso files
-boot-load-size 4 Likely a cmd for making it bootable ?
-boot-info-table Likely a cmd for making it bootable ?
-o /home/mike/lamppix-mini-own.iso Set a full path to where to create the final iso

All four of the original folders are contained in /home/mike/master. Some other postingstate the -o option as relative ( relative to what I'm not clear, others state when in doubt use the full path). Also the working directory is set to /home/mike when this command is run.

Can anyone explain my error with the -o option??

Thank you,

Old 06-20-2008, 11:43 AM   #2
LQ 5k Club
Registered: Jan 2008
Location: Copenhagen, DK
Distribution: pclos2015, Slack14.1 DebJessie, + 50+ other Linux OS, for test only.
Posts: 15,645

Rep: Reputation: 2993Reputation: 2993Reputation: 2993Reputation: 2993Reputation: 2993Reputation: 2993Reputation: 2993Reputation: 2993Reputation: 2993Reputation: 2993Reputation: 2993
There is an excellent example here (edit iso)
 # make the new iso and put in root.
 mkisofs -o /new.iso -b isolinux/isolinux.bin \
 -c isolinux/ -no-emul-boot -boot-load-size 4 \
 -boot-info-table -J -R -V disks .
Good Luck !
P.S.: The -o option should be in the beginning of the
command instead of being the last part ??
The "example" works fine, have used it several times.

Last edited by knudfl; 06-20-2008 at 11:53 AM. Reason: PS


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
[SOLVED] How can I make an .iso file from a CD or DVD using the command line? rm_-rf_windows Linux - General 3 06-20-2007 08:29 AM
Command Line ISO Maker Out2lunch Linux - Software 1 11-03-2005 08:41 AM
Burning an .iso at the command line Galaxy_Stranger Linux - Newbie 8 11-01-2005 10:37 AM
Command line question - creating ISO image satimis Linux - General 8 09-25-2004 03:18 AM
mkisofs command line? jmdlcar Slackware 1 06-22-2004 09:41 PM

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

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