Installing directly from ISO files, without burning CDs

Normally ISO data files are used for burning Software into CD-ROM discs and then install it directly from the CD.

Without a CD-ROM burn facility, it is possible to extract the ISO files. I used the following procedures in Solaris 10 OS to install Java Enterprise System 2005Q4 (JES4) from its ISO files.

These procedures may be used for extracting any ISO files.

-------

#Create a temporary JES4 directory and copy over JES 4 ISO files.
mkdir /opt/jes4
cp /java_es_05Q4-ga-solaris-sparc-1.iso /opt/jes4
cp /java_es_05Q4-ga-solaris-sparc-2.iso /opt/jes4

# Create logical filesystem for first ISO file
lofiadm -a /opt/jes4/java_es_05Q4-ga-solaris-sparc-1.iso /dev/lofi/1

# Create a temporary mount point for first ISO file
mkdir /opt/jes4/jes4install1

# Mount logical filesystem into temporary mount point
mount -F hsfs /dev/lofi/1 /opt/jes4/jes4install1

# Check the exploded files
cd /opt/jes4/jes4install1
ls

# Make a directory to copy over exploded files from temporary mount
mkdir /opt/jes4/java_ent_sys_2005Q4
cd /opt/jes4/jes4install1
cp -R \* /opt/jes4/java_ent_sys_2005Q4

# Create another logical file system for the second ISO file
lofiadm -a /opt/jes4/java_es_05Q4-ga-solaris-sparc-2.iso /dev/lofi/2

# Repeat above procedures for the second ISO file
mkdir /opt/jes4/jes4install2
mount -F hsfs /dev/lofi/2 /opt/jes4/jes4install2
cd /opt/jes4/jes4install2
cp -R \* /opt/jes4/java_ent_sys_2005Q4

# delete logical file system and temporary mount directories.
lofiadm -d /dev/lofi/1
lofiadm -d /dev/lofi/2
rm -r /opt/jes4/jes4install1
rm -r /opt/jes4/jes4install2

# When mounting logical files, if you see messges like
"lofiadm: size of /opt/jes4/java_es_05Q4-ga-solaris-sparc-1.iso is not a multiple of 512", then ISO files are corrupt.

Comments:

Perhaps Sun could consider importing libarchive and bsdtar from FreeBSD, which would reduce all of the above to: tar xf /opt/jes4/java_es_05Q4-ga-solaris-sparc-1.iso Superuser privileges not required ;-)

Posted by Ceri Davies on August 17, 2006 at 01:45 AM CDT #

In a related note, I've used the ".zip" versions of JES instead of the ISO files.

  • When extracting the zip files, you will be prompted as to whether or not you want to overwrite files (answer "yes to All").
  • When running the installer, using the unzipped files, you are prompted to "Insert CD #2". Uumm, what cd? :). Remove .cdtoc and .volinfo in the toplevel unzipped directory to avoid this problem.
The primary reason I bring this up here is in case a customer takes this general approach an captures .volinfo and .cdtoc in the copy.

Posted by John Clingan on August 17, 2006 at 03:35 AM CDT #

Post a Comment:
Comments are closed for this entry.
About

apanicker

Search

Categories
Archives
« April 2014
SunMonTueWedThuFriSat
  
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
   
       
Today