Want to win a PS4? Go Premium and enter to win our High-Tech Treats giveaway. Enter to Win


how to make centos dvd from centos5 cds

Posted on 2009-05-20
Medium Priority
Last Modified: 2013-12-16
hi all,
would you please tell me how to make centos5 dvd from centos 5 cds because just coping files facing troubles
best regards
hatem gamal
Question by:hatem_from_mesr
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 5
  • 4
  • 2
  • +1
LVL 40

Expert Comment

ID: 24430786
why don't you download centos dvds

Author Comment

ID: 24440359
i don't have money enough for downloading the dvd iso
LVL 40

Expert Comment

ID: 24445409
what do you mean by converting cds to dvd?
Concerto Cloud for Software Providers & ISVs

Can Concerto Cloud Services help you focus on evolving your application offerings, while delivering the best cloud experience to your customers? From DevOps to revenue models and customer support, the answer is yes!

Learn how Concerto can help you.

LVL 19

Expert Comment

ID: 24458437

downloading the Centos DVD is free!


Author Comment

ID: 24464582
downloading need bandwidth and internet subscription I'm using dial up one and  I have the cd's in hand it could happen that I in a place have only the cd's and  dvd writer or so... can you tell me how to do it

Author Comment

ID: 24464588

>>>what do you mean by converting cds to dvd?
copying all the content of the cds to one dvd and changing what must be changed

best regards
hatem gamal

Accepted Solution

colinvann earned 2000 total points
ID: 24465000
Hi there,

Basically, whats on the DVD is just split into several different CD's because of space limitations.

So what you can do is copy the contents on all the CD's into one directory and the make a new iso from that.

1) Make sure you have enough disk space (you will need just move that double the size of all the CD's free - probably about 10GB)
  df -h

2) Create the directory to hold the contents of all the CD's
 mkdir /tmp/centos_dvd

3) For each CD do the following
 a) place CD into drive
 b) make sure its mounted and fine the path that its mounted on
 c) copy the contents to the above directory
  cp -r /mnt/cdrom/* /tmp/centos_dvd/.

4) Create and ISO file from the /tmp/centos_dvd directory
  mkisofs -o /tmp/centos_dvd.iso /tmp/centos_dvd/

If you do not have the mkisofs command, you can install it by running:
 yum install mkisofs

Hope that helped,

Author Comment

ID: 24465001
if there is a book , tutorial , or article please send it to me

Author Comment

ID: 24468159

[root@localhost ~]# cp -r /media/CentOS_5.0_Final/* /tmp/centos_dvd/
cp: reading `/media/CentOS_5.0_Final/CentOS/gnome-screensaver-2.16.1-5.el5.i386.rpm': Input/output error
[root@localhost ~]#

how to avoid this error
LVL 40

Expert Comment

ID: 24469977
the installation from cds is made to ask to change cds when needed, while installing from dvd will not if all are fit in one dvd. I think it will be hard to do what you are asking.
LVL 40

Expert Comment

ID: 24469981
what is the problem in installing from CDs?

Assisted Solution

colinvann earned 2000 total points
ID: 24470406
Hi there hatem_from_mesr,

sounds like the media is broken. please run the following commands in order to check the media:

0) Get the SHA1SUM values, I see they are not available in the normal location anymore, here are ones I have found (based on your path, i have assumed that you have CentOS 5.0 for i386 architecture):
820346490eb58c10ea952e62e4d61596a267edea CentOS-5.0-i386-bin-1of6.iso
8e91bf3cd0bb3ef86598a5014741d8992cf4cad5 CentOS-5.0-i386-bin-2of6.iso
71358b3260f83a37ddc084e730e34f8f9b3a9bfd CentOS-5.0-i386-bin-3of6.iso
d350a93a7d32e75a65648b8a8c759039fe582f5e CentOS-5.0-i386-bin-4of6.iso
5f2dab38eb4ec415e789f754a5b3f89bd28fce1d CentOS-5.0-i386-bin-5of6.iso
30e5dee028670fd14a5d91c8a9a7b00a5c9c0f14 CentOS-5.0-i386-bin-6of6.iso

1) Verify the install media against the sha1sum downloaded - assuming your cdrom device is /dev/hdc
  sha1sum /dev/hdc

This will output a string of characters that can be compared with the string next to the disk you are trying to verify within the sha1sum.txt file.

This will tell you if the disk is not functional.

if you want to verify them all at once, you can make ISO images of each disk within a directory, you then place the above strings with thier filenames inside a file called sha1sum.txt in the same directory and execute:
  sha1sum -c sha1sum.txt
This will tell sha1sum to look inside the sha1sum.txt file and verify all files found within the same directory.

To make ISO images of each disk do the following: (again assuming the cdrom is device /dev/hdc)
0) Place CD in drive
1) Find the number of sectors and their size
  isosize -x /dev/hdc
2) create ISO for each of the disks
  dd if=/dev/hdc of /direcoty_to_hold_ISO/disk_label.iso bs=<blocksize> count=<number_of_sectors>

Let me know if you need anything else.

Featured Post

NFR key for Veeam Backup for Microsoft Office 365

Veeam is happy to provide a free NFR license (for 1 year, up to 10 users). This license allows for the non‑production use of Veeam Backup for Microsoft Office 365 in your home lab without any feature limitations.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

The purpose of this article is to show how we can create Linux Mint virtual machine using Oracle Virtual Box. To install Linux Mint we have to download the ISO file from its website i.e. http://www.linuxmint.com. Once you open the link you will see …
The purpose of this article is to fix the unknown display problem in Linux Mint operating system. After installing the OS if you see Display monitor is not recognized then we can install "MESA" utilities to fix this problem or we can install additio…
Get a first impression of how PRTG looks and learn how it works.   This video is a short introduction to PRTG, as an initial overview or as a quick start for new PRTG users.
How to Install VMware Tools in Red Hat Enterprise Linux 6.4 (RHEL 6.4) Step-by-Step Tutorial
Suggested Courses

604 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question