LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices


Reply
  Search this Thread
Old 05-09-2011, 03:54 AM   #1
gvsagar
LQ Newbie
 
Registered: Aug 2010
Posts: 2

Rep: Reputation: 0
CentOS ISO Creation from OS files


Hi,

I have CentOS 5.5 Operating System files copied from the DVD, it's not a ISO image. My Centos dvd is not working so, I would like to make bootable image and burn it on a DVD from the files and install CentOS on other machine.

I have tried creating ISO image using mkisofs command but, it is not booting. Can someone help me with this.

example would really helpful.


Thanks....
 
Old 05-09-2011, 04:07 AM   #2
EricTRA
LQ Guru
 
Registered: May 2009
Location: Gibraltar, Gibraltar
Distribution: Fedora 20 with Awesome WM
Posts: 6,805
Blog Entries: 1

Rep: Reputation: 1296Reputation: 1296Reputation: 1296Reputation: 1296Reputation: 1296Reputation: 1296Reputation: 1296Reputation: 1296Reputation: 1296
Hello and Welcome to LinuxQuestions,

What files did you copy? The entire DVD? If so, did you also copy over the two hidden files .treeinfo and .discinfo? What mkisofs command parameters are you using? And also very important, what are the errors you get?

Kind regards,

Eric
 
Old 05-09-2011, 04:50 AM   #3
gvsagar
LQ Newbie
 
Registered: Aug 2010
Posts: 2

Original Poster
Rep: Reputation: 0
Hi,

Thanks for your response. I have copied the whole dvd to a folder.

The command i am using is as below :

mkisofs -R -J -T -v -V "CentOS_5.3_x86-64" -no-emul-boot -boot-load-size 4 -boot-info-table -b centos5.5-x86_64/isolinux/isolinux.bin -c centos5.5-x86_64/isolinux/boot.cat -o CentOS-5.5-x86_64.iso centos5.5-x86_64/

Error :

I: -input-charset not specified, using utf-8 (detected in locale settings)
genisoimage 1.1.10 (Linux)
Scanning centos5.5-x86_64/
Scanning centos5.5-x86_64/images
Scanning centos5.5-x86_64/images/xen
Excluded: centos5.5-x86_64/images/xen/TRANS.TBL
Scanning centos5.5-x86_64/images/pxeboot
Excluded: centos5.5-x86_64/images/pxeboot/TRANS.TBL
Excluded: centos5.5-x86_64/images/TRANS.TBL
Scanning centos5.5-x86_64/NOTES
Excluded: centos5.5-x86_64/NOTES/TRANS.TBL
Scanning centos5.5-x86_64/cache
Scanning centos5.5-x86_64/CentOS
Excluded: centos5.5-x86_64/CentOS/TRANS.TBL
Scanning centos5.5-x86_64/isolinux
Excluded: centos5.5-x86_64/isolinux/TRANS.TBL
Scanning centos5.5-x86_64/repodata
Excluded: centos5.5-x86_64/repodata/TRANS.TBL
Excluded: centos5.5-x86_64/TRANS.TBL
call to search_tree_file with an absolute path, stripping
initial path separator. Hope this was intended...
genisoimage: Uh oh, I cant find the boot catalog directory 'centos5.5-x86_64/isolinux'!

Thanks....
 
Old 05-09-2011, 05:21 AM   #4
EricTRA
LQ Guru
 
Registered: May 2009
Location: Gibraltar, Gibraltar
Distribution: Fedora 20 with Awesome WM
Posts: 6,805
Blog Entries: 1

Rep: Reputation: 1296Reputation: 1296Reputation: 1296Reputation: 1296Reputation: 1296Reputation: 1296Reputation: 1296Reputation: 1296Reputation: 1296
Hi,

In what directory are you when executing that command?

Kind regards,

Eric
 
Old 05-09-2011, 04:52 PM   #5
jefro
Moderator
 
Registered: Mar 2008
Posts: 20,677

Rep: Reputation: 3334Reputation: 3334Reputation: 3334Reputation: 3334Reputation: 3334Reputation: 3334Reputation: 3334Reputation: 3334Reputation: 3334Reputation: 3334Reputation: 3334
Wonder if it wouldn't be easier to get the Centos CD to boot up and tell it to look at the files?
 
Old 05-09-2011, 06:02 PM   #6
yancek
LQ Guru
 
Registered: Apr 2008
Distribution: PCLinux, Slackware
Posts: 9,308

Rep: Reputation: 2057Reputation: 2057Reputation: 2057Reputation: 2057Reputation: 2057Reputation: 2057Reputation: 2057Reputation: 2057Reputation: 2057Reputation: 2057Reputation: 2057
Quote:
I have copied the whole dvd to a folder.
According to your mkisofs command, that folder would be centos5.5-x86_64/, so you would need to run it from the directory immediately above.
Check the isolinux folder to see if you actually have a boot.cat file. If you run the command from the correct directory, you should not need the "centos5.5-x86_64" before isolinux/isolinux.bin and isolinux/boot.cat.
 
Old 05-11-2011, 01:14 AM   #7
chrism01
LQ Guru
 
Registered: Aug 2004
Location: Sydney
Distribution: Centos 7.7 (?), Centos 8.1
Posts: 17,847

Rep: Reputation: 2584Reputation: 2584Reputation: 2584Reputation: 2584Reputation: 2584Reputation: 2584Reputation: 2584Reputation: 2584Reputation: 2584Reputation: 2584Reputation: 2584
Wouldn't it be easier to just download & burn a new image from the Centos site?
 
  


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 On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Creation of clustered storage on CentOS 5.5 aschoessler Linux - Server 1 09-27-2010 01:46 PM
I downloaded the 6 iso files to make bootable centos 5.4 dvd ...not working?? zorg Linux - Newbie 3 03-19-2010 01:17 PM
Creation of ISO(FC5 based)? mahabooba Fedora 6 10-08-2007 10:52 AM
About FC5 ISO image creation mahabooba Fedora 1 09-27-2006 08:34 PM
Question about CentOS 4 ISO files and installation... defa0009 Linux - General 11 08-16-2005 10:29 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

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