LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
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!

Notices


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

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


Hello,

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.cat -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/boot.cat This is the only file that is named boot.cat 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,

mg92865
 
Old 06-20-2008, 11:43 AM   #2
knudfl
LQ 5k Club
 
Registered: Jan 2008
Location: Copenhagen DK
Distribution: PCLinuxOS2023 Fedora38 + 50+ other Linux OS, for test only.
Posts: 17,511

Rep: Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641
There is an excellent example here (edit iso)
http://www.asylumnation.com/blogs/am...post-2775.html
Code:
#!/bin/bash
 # make the new iso and put in root.
 mkisofs -o /new.iso -b isolinux/isolinux.bin \
 -c isolinux/boot.cat -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
 
  


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 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

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 01:23 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