I searched the archives regarding subject of "hangs on 'creating initrd'"
and I did not find a resolution.

I took the script that Mike MacIsaac wrote and modified it to use the -e
parameter as noted in the e-mail thread.  I have included my version of the
mkinstallroot script as well as the order and instorder files.

After using these scripts my installation continues to hang on 'creating
initrd' at 62%.  Did I do something wrong?

Doug Clark

mkinstallroot:
# cat mkinstallroot
#----------------------------------------------------------------------
##
# Written by:
# -Mike MacIsaac, IBM  [EMAIL PROTECTED]
#
# F0r LINUX-390 subscribe / signoff / archive access
# instructions, send email to [EMAIL PROTECTED]
# with the message: INFO LINUX-390 or visit
# http://www.marist.edu/htbin/wlvindex?LINUX-390
#
#----------------------------------------------------------------------
#
function mountCopy
# arg 1: the ISO image to mount
# arg 2: the directory to copy to
 {
  mount -o loop,ro $1 tmpCD
  cd tmpCD
  cp -a * ../installroot/$2
  cd ..
  umount tmpCD
 }

# main()
# make the directory structure
mkdir installroot tmpCD
cd installroot/
mkdir sles9 core9 yast
cd sles9
mkdir CD1
cd ../core9/
mkdir CD1 CD2 CD3 CD4 CD5
cd ../..

# mount and copy the 6 CDs
mountCopy /var/ISO_Images/SLES-9-s390-RC5a-CD1.iso sles9/CD1/
mountCopy /var/ISO_Images/SLES-9-s390-RC5-CD2.iso core9/CD1/
mountCopy /var/ISO_Images/SLES-9-s390-RC5-CD3.iso core9/CD2/
mountCopy /var/ISO_Images/SLES-9-s390-RC5-CD4.iso core9/CD3/
mountCopy /var/ISO_Images/SLES-9-s390-RC5-CD5.iso core9/CD4/
mountCopy /var/ISO_Images/SLES-9-s390-RC5-CD6.iso core9/CD5/
rmdir tmpCD/

# make symbolic links
cd installroot
ln -s sles9/CD1/boot boot
ln -s sles9/CD1/content content
ln -s sles9/CD1/control.xml control.xml
ln -s sles9/CD1/media.1 media.1

echo -e "/sles9/CD1 /sles9/CD1\n/core9/CD1 /core9/CD1" > yast/instorder
echo -e "/sles9/CD1 /sles9/CD1\n/core9/CD1 /core9/CD1" > yast/order


--------------------------

instorder:
/sles9/CD1 /sles9/CD1
/core9/CD1 /core9/CD1

--------------------------

order:
/sles9/CD1 /sles9/CD1
/core9/CD1 /core9/CD1

----------------------------------------------------------------------
For LINUX-390 subscribe / signoff / archive access instructions,
send email to [EMAIL PROTECTED] with the message: INFO LINUX-390 or visit
http://www.marist.edu/htbin/wlvindex?LINUX-390

Reply via email to