LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Suse/Novell
User Name
Password
Suse/Novell This Forum is for the discussion of Suse Linux.

Notices

Reply
 
Search this Thread
Old 05-12-2006, 03:42 AM   #1
mtmorphosis
LQ Newbie
 
Registered: May 2006
Posts: 1

Rep: Reputation: 0
OpenSUSE 10.1 32/64 - Make 1 DVD from 5 CDs on any Linux distribution


Hi,

I found somewhere a script "suse10iso2dvd.sh" for dumping all 5 CD images into 1 DVD image. I tweaked it a bit and adjusted it to work so that you may use it from any Linux distro to create 1 DVD iso image for OpenSuse 10.1 32bit & 64bit. Find the two scripts bellow:

1. suse101_32iso2dvd.sh

#######################################################
#!/bin/bash

# Uncomment this section if you have physical cds and want to convert them to
# ISOs first. You need to have the ISOs, named as in this script, for this
# script to work predictably.
#------------------------------------------------------------------------------
#echo Please insert disk 1 of 5 and hit any key to continue.
#read key
#dd if=/dev/cdrom of=SUSE-Linux-10.1-GM-i386-CD1.iso
#echo Please insert disk 2 of 5 and hit any key to continue.
#read key
#dd if=/dev/cdrom of=SUSE-Linux-10.1-GM-i386-CD2.iso
#echo Please insert disk 3 of 5 and hit any key to continue.
#read key
#dd if=/dev/cdrom of=SUSE-Linux-10.1-GM-i386-CD3.iso
#echo Please insert disk 4 of 5 and hit any key to continue.
#read key
#dd if=/dev/cdrom of=SUSE-Linux-10.1-GM-i386-CD4.iso
#echo Please insert disk 5 of 5 and hit any key to continue.
#read key
#dd if=/dev/cdrom of=SUSE-Linux-10.1-GM-i386-CD5.iso
#------------------------------------------------------------------------------


#Mount the CDs in loopback mode:
mkdir CD1 CD2 CD3 CD4 CD5

mount SUSE-Linux-10.1-GM-i386-CD1.iso CD1 -o loop
mount SUSE-Linux-10.1-GM-i386-CD2.iso CD2 -o loop
mount SUSE-Linux-10.1-GM-i386-CD3.iso CD3 -o loop
mount SUSE-Linux-10.1-GM-i386-CD4.iso CD4 -o loop
mount SUSE-Linux-10.1-GM-i386-CD5.iso CD5 -o loop

# Create a basic structure to overwrite files we need to modify for the CD (the checksums and boot files).
cp -a CD1/boot .
mkdir i586 i686 noarch

# Create the NEW MD5SUMS as one file in order to allow SuSE to validate (thus install) all of the files from every CD and not just CD #1
# For the i586 directory:
cat CD1/suse/i586/MD5SUMS CD2/suse/i586/MD5SUMS CD3/suse/i586/MD5SUMS CD4/suse/i586/MD5SUMS CD5/suse/i586/MD5SUMS > i586/MD5SUMS
# For the i686 directory:
cat CD1/suse/i686/MD5SUMS CD2/suse/i686/MD5SUMS > i686/MD5SUMS
# For the noarch directory:
cat CD1/suse/noarch/MD5SUMS CD2/suse/noarch/MD5SUMS CD3/suse/noarch/MD5SUMS CD4/suse/noarch/MD5SUMS CD5/suse/noarch/MD5SUMS > noarch/MD5SUMS

# Now, type the bellow all in one line to create the ISO:
mkisofs -o SuSE_10.1.iso -b boot/i386/loader/isolinux.bin -c boot/i386/loader/boot.cat -no-emul-boot -boot-load-size 4 -boot-info-table -l -publisher SuSE -r -T -V SuSE_10.1 -x CD1/boot -x CD1/suse/i586/MD5SUMS -x CD1/suse/noarch/MD5SUMS -x CD1/suse/i686/MD5SUMS -x CD2/suse/i686/MD5SUMS -x CD2/suse/i586/MD5SUMS -x CD2/suse/noarch/MD5SUMS -x CD3/suse/i586/MD5SUMS -x CD3/suse/noarch/MD5SUMS -x CD4/suse/i586/MD5SUMS -x CD4/suse/noarch/MD5SUMS -x CD5/suse/i586/MD5SUMS -x CD5/suse/noarch/MD5SUMS -graft-points CD1 boot/=boot suse/i586/MD5SUMS=i586/MD5SUMS suse/noarch/MD5SUMS=noarch/MD5SUMS suse/i686/MD5SUMS=i686/MD5SUMS suse/=CD2/suse suse/=CD3/suse suse/=CD4/suse suse/=CD5/suse media.2/=CD2/media.2 media.3/=CD3/media.3 media.4/=CD4/media.4 media.5/=CD5/media.5
# Now just burn the ISO to a DVD (hint: use 'growisofs' or your favorite GUI-frontend to 'growisofs'). Optionally, you can mount this ISO like you did #above to verify it will work correctly, or if you don't want to actually burn it. Just call:
#mkdir DVD
##############################################################


2. suse101_64iso2dvd.sh

##############################################
#!/bin/bash

# Uncomment this section if you have physical cds and want to convert them to
# ISOs first. You need to have the ISOs, named as in this script, for this
# script to work predictably.
#------------------------------------------------------------------------------
#echo Please insert disk 1 of 5 and hit any key to continue.
#read key
#dd if=/dev/cdrom of=SUSE-Linux-10.1-GM-x86_64-CD1.iso
#echo Please insert disk 2 of 5 and hit any key to continue.
#read key
#dd if=/dev/cdrom of=SUSE-Linux-10.1-GM-x86_64-CD2.iso
#echo Please insert disk 3 of 5 and hit any key to continue.
#read key
#dd if=/dev/cdrom of=SUSE-Linux-10.1-GM-x86_64-CD3.iso
#echo Please insert disk 4 of 5 and hit any key to continue.
#read key
#dd if=/dev/cdrom of=SUSE-Linux-10.1-GM-x86_64-CD4.iso
#echo Please insert disk 5 of 5 and hit any key to continue.
#read key
#dd if=/dev/cdrom of=SUSE-Linux-10.1-GM-x86_64-CD5.iso
#------------------------------------------------------------------------------


#Mount the CDs in loopback mode:
mkdir CD1 CD2 CD3 CD4 CD5

mount SUSE-Linux-10.1-GM-x86_64-CD1.iso CD1 -o loop
mount SUSE-Linux-10.1-GM-x86_64-CD2.iso CD2 -o loop
mount SUSE-Linux-10.1-GM-x86_64-CD3.iso CD3 -o loop
mount SUSE-Linux-10.1-GM-x86_64-CD4.iso CD4 -o loop
mount SUSE-Linux-10.1-GM-x86_64-CD5.iso CD5 -o loop

# Create a basic structure to overwrite files we need to modify for the CD (the checksums and boot files).
cp -a CD1/boot .
mkdir x86_64 i586 noarch

# Create the NEW MD5SUMS as one file in order to allow SuSE to validate (thus install) all of the files from every CD and not just CD #1
# For the i586 directory:
cat CD1/suse/i586/MD5SUMS CD2/suse/i586/MD5SUMS CD3/suse/i586/MD5SUMS CD4/suse/i586/MD5SUMS CD5/suse/i586/MD5SUMS > i586/MD5SUMS
# For the x86_64 directory:
cat CD1/suse/x86_64/MD5SUMS CD2/suse/x86_64/MD5SUMS CD3/suse/x86_64/MD5SUMS CD4/suse/x86_64/MD5SUMS CD5/suse/x86_64/MD5SUMS > x86_64/MD5SUMS
# For the noarch directory:
cat CD1/suse/noarch/MD5SUMS CD2/suse/noarch/MD5SUMS CD3/suse/noarch/MD5SUMS CD4/suse/noarch/MD5SUMS CD5/suse/noarch/MD5SUMS > noarch/MD5SUMS

# Now, type in one line to create the ISO:
mkisofs -o SuSE_10.1_64.iso -b boot/x86_64/loader/isolinux.bin -c boot/x86_64/loader/boot.cat -no-emul-boot -boot-load-size 4 -boot-info-table -l -publisher SuSE -r -T -V SuSE_10.1_64 -x CD1/boot -x CD1/suse/i586/MD5SUMS -x CD1/suse/x86_64/MD5SUMS -x CD1/suse/noarch/MD5SUMS -x CD2/suse/i586/MD5SUMS -x CD2/suse/x86_64/MD5SUMS -x CD2/suse/noarch/MD5SUMS -x CD3/suse/i586/MD5SUMS -x CD3/suse/x86_64/MD5SUMS -x CD3/suse/noarch/MD5SUMS -x CD4/suse/i586/MD5SUMS -x CD4/suse/x86_64/MD5SUMS -x CD4/suse/noarch/MD5SUMS -x CD5/suse/i586/MD5SUMS -x CD5/suse/x86_64/MD5SUMS -x CD5/suse/noarch/MD5SUMS -graft-points CD1 boot/=boot suse/i586/MD5SUMS=i586/MD5SUMS suse/x86_64/MD5SUMS=x86_64/MD5SUMS suse/noarch/MD5SUMS=noarch/MD5SUMS suse/=CD2/suse suse/=CD3/suse suse/=CD4/suse suse/=CD5/suse media.2/=CD2/media.2 media.3/=CD3/media.3 media.4/=CD4/media.4 media.5/=CD5/media.5
# Now just burn the ISO to a DVD (hint: use 'growisofs' or your favorite GUI-frontend to 'growisofs'). Optionally, you can mount this ISO like you did #above to verify it will work correctly, or if you don't want to actually burn it. Just call:
#mkdir DVD
############################################################




enjoy!
 
Old 05-12-2006, 12:31 PM   #2
sniper_pro
LQ Newbie
 
Registered: Aug 2005
Distribution: XP&SuSE10.1
Posts: 10

Rep: Reputation: 0
makeSUSEdvd -i -o /$path
OR makeSUSEdvd --help

yum makeSUSEdvd or http://sourceforge.net/ find makeSUSEdvd
 
Old 12-10-2006, 05:03 AM   #3
OldAl
Member
 
Registered: Oct 2006
Location: Canberra, Australia
Distribution: Kubuntu "Feisty",openSUSE10.3
Posts: 93

Rep: Reputation: 15
Outdated by "progress"

"Progress is the root of all evil, progress is the root of it all!"

According to the OpenSuSE site, this type of generic program won't produce an installable system from 10.1 onwards, because SuSE have introduced pgp signing for media. The amalgamated CD need to have the signing replaced. The OpenSuSE site does explain the CLI, but there is a makeSUSEdvd script (Perl?) to do it, anyway.

Progress from 10.0 to 10.1 ?

HTH,

OldAl.
 
  


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


Similar Threads
Thread Thread Starter Forum Replies Last Post
CDs of OpenSuSE 10 - how toTransform them into on Bootable DVD but in windowsXP? suse91pro General 0 05-06-2006 06:07 AM
CDs of OpenSuSE 10 - how toTransform them into on Bootable DVD Be.Gurmeet.Be Suse/Novell 7 02-23-2006 11:00 AM
Make a dvd from 5 cds of Suse 9.3 adrian16am Linux - Software 2 05-01-2005 12:19 PM
How do I Make Install Cds from DVD Bre_Rea Red Hat 1 02-10-2005 02:40 PM
How to make RH9 Installation DVD from CDs novices2k Linux - General 0 08-10-2003 10:26 AM


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