LinuxQuestions.org
Visit the LQ Articles and Editorials section
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
 
LinkBack Search this Thread
Old 03-11-2010, 06:30 AM   #1
austinium
Member
 
Registered: Nov 2007
Location: India
Distribution: Debian Stable, Debian Testing
Posts: 209

Rep: Reputation: 27
how to use mkisofs to rebuild iso image


Hi,

Iam trying to alter a bootable Debian install CD based on the instructions http://blog.ericwhite.ca/articles/20...lenny-install/

this is the command to rebuild the iso image as specified at the above link.
Code:
$ mkisofs -o debian-503-amd64-CD-1-preseed.iso  \
          -r -J -no-emul-boot -boot-load-size 4 \
          -b isolinux/isolinux.bin              \
          -c isolinux/boot.cat ./debian-503 2> /dev/null
I've read the man pages for all the options specified and made sure that all paths are relative. However, the output iso file is not being generated.

I am completely foxed with this, what could i possibly be missing here?

thanks in advance
 
Old 03-11-2010, 07:03 AM   #2
MensaWater
Guru
 
Registered: May 2005
Location: Atlanta Georgia USA
Distribution: Redhat (RHEL), CentOS, Fedora, Debian, FreeBSD, HP-UX, Solaris, SCO
Posts: 5,765
Blog Entries: 4

Rep: Reputation: 697Reputation: 697Reputation: 697Reputation: 697Reputation: 697Reputation: 697
Try running the command without the "2 > /dev/null". That is redirecting stderr (file descriptor 2) to /dev/null so you aren't seeing the errors generated that might give you a clue as to why it isn't creating the ISO.
 
Old 03-11-2010, 07:09 AM   #3
smoker
Senior Member
 
Registered: Oct 2004
Distribution: Fedora Core 4, 12, 13, 14, 15, 17
Posts: 2,279

Rep: Reputation: 248Reputation: 248Reputation: 248
Do you get any errors ?
Get rid of the 2> /dev/null because that's where the error messages are going.
Use something like

2> mkisofs_error_log

instead.
 
Old 03-11-2010, 10:13 PM   #4
austinium
Member
 
Registered: Nov 2007
Location: India
Distribution: Debian Stable, Debian Testing
Posts: 209

Original Poster
Rep: Reputation: 27
hi,

Thanks for the replies.

this is the error message:
Code:
I: -input-charset not specified, using utf-8 (detected in locale settings)
genisoimage: Uh oh, I cant find the boot catalog directory 'debian-503/isolinux'!
I am running the command from debian-503's parent directory, and the said folder and file is present within debian-503...what could i be missing here? I have tried running it from within the debian-503 directory but that doesnt work either. i have unpacked the iso into debian-503.

Edit:
if i use this
Code:
$ mkisofs -o debian-503-amd64-CD-1-preseed.iso  \
          -r -J -no-emul-boot -boot-load-size 4 \
          -b isolinux/isolinux.bin              \
          -c isolinux/boot.cat debian-503 2> error
, here i've changed the path to the folder from ./debian-503 to just debian-503, which should be the same thing(?)., but i get a different error.
Code:
I: -input-charset not specified, using utf-8 (detected in locale settings)
Using RR_MO000 for  /rr_moved (rr_moved)
genisoimage: Error: '(null)' and 'debian-503/rr_moved' have the same Rock Ridge name 'rr_moved'.
Unable to sort directory
------------------------
Edit2: It seems to be fixed(got an iso...gonna check if it works), heres the command
Code:
$ mkisofs -o debian-503-amd64-CD-1-preseed.iso  \
          -r -J -no-emul-boot -boot-load-size 4 \
          -b isolinux/isolinux.bin              \
          -c isolinux/boot.cat debian-503 2> error
plus i deleted the folder rr_moved.
thanks

Last edited by austinium; 03-11-2010 at 10:53 PM. Reason: added details
 
  


Reply


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
Trackbacks are Off
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Creating a CD or DVD image with mkisofs glore2002 Slackware 5 09-08-2008 05:18 PM
Using mkisofs to make a DVD ISO image mcfiddish Linux - Software 5 07-16-2007 03:32 AM
Name of an El Torito Boot Image - ISO Img & mkisofs BlueSpirit Linux - Software 2 04-05-2007 01:59 PM
mkisofs erro dvd image strycnine Linux - Newbie 10 09-05-2006 07:04 AM
how to create an image *.iso without mkisofs and growisofs diegs Linux - Software 2 02-19-2004 03:31 AM


All times are GMT -5. The time now is 01:36 PM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration