LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
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 03-01-2012, 01:13 PM   #1
minr
LQ Newbie
 
Registered: Mar 2012
Posts: 2

Rep: Reputation: Disabled
Question Can't get mkisofs to work,manpage useless.


I admit to being slow, but: trying to make a simple eltorito emulation mode bootable cd; Have a 2.88 .img image, and for now only
need an empty data dir(just want to boot the image from the cd).
The problem is 'mkisofs'. Even tried putting both the dir and the .img into /usr/bin, where the mkisofs is located. The commandline:
mkisofs -b name.img -o someiso.iso dirname will always find the
dir ok, but inevitably ends with "uh oh, cannot find 'name.img'.
Have tried absolute paths, to no avail. The manpage for mkisofs is
totally incomprehensible, saying for '-b' option that the .img file must be specified relative to "the source path specified to mkisofs".
What is that, and who or what "specified it to mkisofs"?
What on earth am I doing wrong here? -minr.
 
Old 03-01-2012, 03:59 PM   #2
kbp
Senior Member
 
Registered: Aug 2009
Posts: 3,790

Rep: Reputation: 653Reputation: 653Reputation: 653Reputation: 653Reputation: 653Reputation: 653
As the error says, the boot image location is relative to the directory you're putting in the iso..

If the image file and dirname are in the current directory:
Code:
mv name.img dirname/
mkisofs -b name.img -o someiso.iso dirname
or:
Code:
mkdir dirname/boot
mv name.img dirname/boot/
mkisofs -b boot/name.img -o someiso.iso dirname
.. clearer ?

Found this in another one of my posts:
Code:
mkisofs -r -N -allow-leading-dots -d -J -T -b isolinux/isolinux.bin -c isolinux/boot.cat -no-emul-boot \
 -V $(VERSION) -boot-load-size 4 -boot-info-table  -o $(TMPISO) .

Last edited by kbp; 03-01-2012 at 04:01 PM.
 
Old 03-01-2012, 05:14 PM   #3
minr
LQ Newbie
 
Registered: Mar 2012
Posts: 2

Original Poster
Rep: Reputation: Disabled
Thumbs up right.

kbp,
that works!. Maybe it's just me, but couldn't the manpage have said; "put the img in the
dir"? The way they said it is j-u-u-ust a bit abstruse? Oh well, tnx for the tip.
 
  


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] mkisofs returns error "mkisofs: Uh oh, I cant find the boot catalog directory " gajbooks Linux - Software 3 11-18-2010 06:43 PM
Understanding find manpage sporty Linux - Newbie 2 07-27-2006 01:39 PM
mkisofs won't work under Windows gentisle *BSD 3 05-30-2005 09:24 AM
Does Artificial Intelligence work ? or is it useless ? programmershous General 15 11-21-2004 09:09 AM
Bootable CD isolinux+mkisofs does not work Kocil Linux - Hardware 0 10-04-2004 05:43 AM

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

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