how to make centos dvd from centos5 cds

Posted on 2009-05-20
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
  • 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?
What is SQL Server and how does it work?

The purpose of this paper is to provide you background on SQL Server. It’s your self-study guide for learning fundamentals. It includes both the history of SQL and its technical basics. Concepts and definitions will form the solid foundation of your future DBA expertise.

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 500 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 500 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

Microsoft Certification Exam 74-409

Veeam® is happy to provide the Microsoft community with a study guide prepared by MVP and MCT, Orin Thomas. This guide will take you through each of the exam objectives, helping you to prepare for and pass the examination.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
maybe no no httpd.conf 6 77
How to retrieve remote exit code when using rsh from Linux to Windows ? 13 57
python - find anything after $ question. 9 44
IMAP copying tool 14 43
This article will explain how to establish a SSH connection to Ubuntu through the firewall and using a different port other then 22. I have set up a Ubuntu virtual machine in Virtualbox and I am running a Windows 7 workstation. From the Ubuntu vi…
It’s 2016. Password authentication should be dead — or at least close to dying. But, unfortunately, it has not traversed Quagga stage yet. Using password authentication is like laundering hotel guest linens with a washboard — it’s Passé.
Learn how to get help with Linux/Unix bash shell commands. Use help to read help documents for built in bash shell commands.: Use man to interface with the online reference manuals for shell commands.: Use man to search man pages for unknown command…
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.

713 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