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 08-14-2012, 08:29 PM   #1
ajr-tech
LQ Newbie
 
Registered: Jun 2010
Distribution: Fedora 13
Posts: 7

Rep: Reputation: 0
Create a ISO without changing filenames (genisoimage)


I am attempting to create an ISO image of a customized yum repository on CentOS 6. Whenever I use genisoimage, it changes the file names in some way. I have tried a variety of different options, but can't figure out how to just make it keep filenames the same.

For example, the directory structure goes from:
Code:
repodata/
Packages/
CentOS-Media.repo
To:
Code:
repodata/
packages/
centos-media.repo
This breaks the repository since the package directory no longer matches (packages != Packages). It also makes all of the package names lowercase.

The options I tried are:
Code:
genisoimage -allow-leading-dots -allow-lowercase -allow-multidot -d -D -iso-level 4 -relaxed-filenames -no-iso-translate -o repo.iso repo/
What are the options that will make genisoimage just copy the directory to an ISO image.

Thanks!

Last edited by ajr-tech; 08-14-2012 at 08:55 PM. Reason: additional informaion
 
Old 08-15-2012, 06:57 PM   #2
kbp
Senior Member
 
Registered: Aug 2009
Posts: 3,790

Rep: Reputation: 653Reputation: 653Reputation: 653Reputation: 653Reputation: 653Reputation: 653
Try:

Code:
cd repo && mkisofs -r -N -allow-leading-dots -d -J -T -o /tmp/my.iso .
 
  


Reply

Tags
iso, repo



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
Create iso images with long filenames bgraybr Linux - Software 7 07-01-2010 08:28 AM
creating dvd iso out of cd iso(s) + genisoimage error speedhunt3r Linux - Software 0 04-14-2009 03:26 PM
Help in generating an audio iso image using genisoimage. jaepi Linux - Software 4 11-10-2007 03:57 AM
Genisoimage can't make ISO with file >4G kotnik Debian 4 09-08-2007 12:51 PM

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

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