RHEL4 Single DVD
################ Creation Of SINGLE DVD from ISO or CD’s ####################
# Install base system on IDE HD with RHEL4
# The same procedure can be used for Contos/Fedora or any redhat based system
# Make sure your base system and the rpms required are of that system
# Install the following RPM’s from disk
anaconda-10.1.1.13-1
anaconda-help-10.1.0-1
anaconda-product-4-1AS
busybox-anaconda-1.00.rc1-5
anaconda-runtime-10.1.1.13-1
comps-4AS-0.20050107
comps-extras-10.1-1
# If ISO are present mount the ISO onto one partion
# Else Dump the files from the 4 cd’s into /mnt/disk[no] partitions
# eg :
mkdir -p /mnt/disk{1,2,3,4}
mount -o loop RHEL4_Disk1.iso /mnt/disk1
mount -o loop RHEL4_Disk2.iso /mnt/disk2
mount -o loop RHEL4_Disk3.iso /mnt/disk3
mount -o loop RHEL4_Disk4.iso /mnt/disk4
# We now copy all the files from the directories to a single directory:
# My directory structure was /usr/RHEL4/RHEL4_OneDVD
mkdir -p /usr/RHEL4/RHEL4_OneDVD
cp -ar /mnt/disk1 /usr/RHEL4/RHEL4_OneDVD
cp -ar /mnt/disk{2,3,4}/RHEL4/RPMS/* /usr/RHEL4/RHEL4_OneDVD
cp /mnt/disk1/.discinfo /usr/RHEL4/RHEL4_OneDVD
=============================================================
PYTHONPATH=/usr/lib/anaconda /usr/lib/anaconda-runtime/pkgorder /usr/RHEL4/RHEL4_OneDVD RHEL4 > /usr/RHEL4/pkgorder
# This creates a list of files in the order it needs to install them
# in the file /data/isobuild/pkgorder Sometimes an occasional
# RPM will not provide the information anaconda needs. You can edit
# the file manually and insert your RPMs at the end.
# Ignore the errors during this process
=============================================================
# Next we need to generate the dependency file:
/usr/lib/anaconda-runtime/genhdlist –fileorder /usr/RHEL4/pkgorder /usr/RHEL4/RHEL4_OneDVD/
# No Errors after this step
=============================================================
# Building the DVD iso
# Now to build the iso:
cd /usr/RHEL4/RHEL4_OneDVD/
chmod a+w isolinux/isolinux.bin
mkisofs -r -T -J -V “Custom RHEL4 Build” -b isolinux/isolinux.bin -c isolinux/boot.cat -no-emul-boot -boot-load-size 4 -boot-info-table -o /usr/RHEL4/ISOs/RHEL4.iso /usr/RHEL4/RHEL4_OneDVD/
# This Generates the RHEL4 iso in /usr/RHEL4/ISOs/RHEL4.iso
=============================================================
# Now we can burn the image to the DVD. I assume the DVD writer is already
# set up on your system. Better Usr Nero to burn the iso /usr/RHEL4/ISOs/RHEL4.iso
Sorry, the comment form is closed at this time.
| Next »
-
Recent
- Set Time Zone + Fedora 18
- Fedora 17 + Tata Photon (Huawei)
- Fedora 17: Install OpenSSH Server
- Change the default keyring password
- Error: Could not stat() command file ‘/usr/local/nagios/var/rw/nagios.cmd’!
- Gnone 3.X adding personal launcher
- Gnome 3.x Change Panel
- KDE remove autostart programs
- GPS on Linux
- Debian Squeeze change root password
- Download YouTube Videos on Linux
- Pidgin + The certificate for omega.contacts.msn.com could not be validated
-
Links
-
Archives
- April 2013 (1)
- September 2012 (2)
- August 2012 (2)
- July 2012 (2)
- November 2011 (1)
- July 2011 (1)
- April 2011 (1)
- January 2011 (1)
- November 2010 (1)
- September 2010 (2)
- July 2010 (3)
- March 2010 (1)
-
Categories
-
RSS
Entries RSS
Comments RSS