Operating System - HP-UX
1827680 Members
3356 Online
109967 Solutions
New Discussion

procedure to create a bootable CD-ROM for recovery

 
SOLVED
Go to solution
Jdamian
Respected Contributor

procedure to create a bootable CD-ROM for recovery

How can I create a bootable CD-ROM for recovery ?

All my systems can boot from CD-ROM but not all have a DDS tape drive to create a make_recovery recovery cartridge.

Thanx in advance
7 REPLIES 7
Bill McNAMARA_1
Honored Contributor
Solution

Re: procedure to create a bootable CD-ROM for recovery

you do so with ignite.

see
http://www.software.hp.com/products/IUX/ faq:

http://www.software.hp.com/products/IUX/faq.html#media

Later,
Bill
It works for me (tm)
Clemens van Everdingen
Honored Contributor

Re: procedure to create a bootable CD-ROM for recovery

Hi,

See this document on page 148

http://docs.hp.com/hpux/pdf/B2355-90738.pdf

C.
The computer is a great invention, there are as many mistakes as ever, but they are nobody's fault !
Trond Haugen
Honored Contributor

Re: procedure to create a bootable CD-ROM for recovery

You have the option to boot from the install CD and "recover a unbootable system".

Regards,
Trond
Regards,
Trond Haugen
LinkedIn
Domenico_5
Respected Contributor

Re: procedure to create a bootable CD-ROM for recovery

hi

it's an old question.

follow this link (like the other first this) and you can create it

regards.

Dom
Domenico_5
Respected Contributor

Re: procedure to create a bootable CD-ROM for recovery

sorry damian


I talk about a link but don't write it !!!!!

heheheheheh


http://europe-support2.external.hp.com/cki/bin/doc.pl/sid=fa143ff90d3875e18e/screen=ckiDisplayDocument?docId=200000058668908

sorry again

regards

dom
Walt Neubauer
Advisor

Re: procedure to create a bootable CD-ROM for recovery

There are plenty of step-by-step tutorials for building a CD-ROM for installing a

Golden Image. I wanted to basically create CD-ROMs that would install the CoreOS,

Quality Pack, Hardware Enablement patch, and a few other things. I wanted to

install from something like the CoreOS CD instead of from a Golden Image. Here is

how I did it.


####################################
Create Depots
####################################

# I pre-created links in the root directory.
# This way the depots are stored on a different mountpoint,
# but the path for the config files is in the root.

make_depots -s /dev/dsk/c0t0d0 -d /core
make_depots -s /ignite/depots/QPK.depot -d /QPK
make_depots -s /ignite/depots/HWE.depot -d /HWE
make_depots -s /ignite/depots/Ignite.depot -d /Ignite
make_depots -s /ignite/depots/OnlineDiag.depot -d /OnlineDiag
make_config -s /core -c /ignite/config/core_cfg
make_config -s /HWE -c /ignite/config/HWE_cfg
make_config -s /QPK -c /ignite/config/QPK_cfg
make_config -s /Ignite -c /ignite/config/Ignite_cfg
make_config -s /OnlineDiag -c /ignite/config/OnlineDiag_cfg

####################################
Edit Config Files
####################################


change source_type from NET to DSK
remove or comment out sd_server =
set change_media=FALSE for core_os, and true for others
Could just set it true for QPK and HWE. We'll be
burning HWE, Ignite, and OnlineDiag to the same CD, and
installing HWE first.
comment out nfs_source (if it is there)
change sd_depot_dir from /xxx/xxx/xxx/depotname to "depotname" w/o leading "/"
change other occurrences of "/depotname" to "depotname".
add load_order for all depots

####################################
Prepare LIF Volume
####################################

# Create the LIF file.
make_medialif -o 64w -v \
-f /opt/ignite/data/Rel_B.11.00/config \
-f /ignite/config/core_cfg \
-f /ignite/config/QPK_cfg \
-f /ignite/config/HWE_cfg \
-f /ignite/config/Ignite_cfg \
-f /ignite/config/OnlineDiag_cfg \
-l /data/ignite/lifvol

# View config
instl_adm -d -F /data/ignite/lifvol

# Save config to a file
instl_adm -d -F /data/ignite/lifvol > /ignite/config/cfg

# Add/change the two variables run_ui, and control_from_server
# run_ui=TRUE
# control_from_server=FALSE
vi /ignite/config/cfg


# Test for syntax
instl_adm -T -f /ignite/config/cfg #Check syntax
instl_adm -d -f /ignite/config/cfg #Check syntax

# Update the LIF with the new cfg
instl_adm -f /ignite/config/cfg -F /data/ignite/lifvol

# Test for syntax
instl_adm -T -F /data/ignite/lifvol #Check syntax
instl_adm -d -F /data/ignite/lifvol #Verify changes

####################################
Make image/cd of first CD with CDFS
####################################

# Before running mkisofs, create /ignite/depots/CD directory.
# Put link in the directory to /core.

mkdir -p /ignite/depots/CD
ln -s /core /ignite/depots/CD/core

# Create the image.

nohup mkisofs -U -d -D -l -f -v -R -r -J -max-iso9660-filenames \
-V CoreOS -o /data/ignite/cdimage1.iso /ignite/depots/CD \
> /data/ignite/mkisofs.log 2>&1 &
tail -n100 -f /data/ignite/mkisofs.log

# Check for errors:
grep ^mkisofs: /data/ignite/mkisofs.log

# Combine the LIF volume, and the ISO image.

/opt/ignite/lbin/instl_combine -F /data/ignite/lifvol \
-C /data/ignite/cdimage1.iso

####################################
Make image/cd of second CD with CDFS
####################################

# Before running mkisofs, create /ignite/depots/CD directory.
# Put link in the directory to /QPK.

# Remove old link, and create a new one.
rm /ignite/depots/CD/*
ln -s /QPK /ignite/depots/CD/QPK

# Create the image.
nohup mkisofs -U -d -D -l -f -v -R -r -J -max-iso9660-filenames \
-V CoreOS -o /data/ignite/cdimage2.iso /ignite/depots/CD \
> /data/ignite/mkisofs.log 2>&1 &
tail -n100 -f /data/ignite/mkisofs.log

# Check for errors:
grep ^mkisofs: /data/ignite/mkisofs.log

####################################
Make image/cd of third CD with CDFS
####################################

# Remove old link, and create a new one.
rm /ignite/depots/CD/*
ln -s /HWE /ignite/depots/CD/HWE
ln -s /Ignite /ignite/depots/CD/Ignite
ln -s /OnlineDiag /ignite/depots/CD/OnlineDiag

# Create the image.
nohup mkisofs -U -d -D -l -f -v -R -r -J -max-iso9660-filenames \
-V CoreOS -o /data/ignite/cdimage3.iso /ignite/depots/CD \
> /data/ignite/mkisofs.log 2>&1 &
tail -n100 -f /data/ignite/mkisofs.log

# Check for errors:
grep ^mkisofs: /data/ignite/mkisofs.log

####################################
Make image/cd of third CD with CDFS
####################################

# Run "cdrecord -scanbus" to find the right numbers for dev=.

cdrecord dev=0,0,0 speed=4 -overburn -v /mnt/hda11/cdimage1.iso
Walt Neubauer
Advisor

Re: procedure to create a bootable CD-ROM for recovery

You could probably figure it out, but that last section should be:

####################################
Make CDs from Images
####################################

# Run "cdrecord -scanbus" to find the right numbers for dev=.

# Burn CDs. Switch disks between statements.
# Use "-overburn" for 700mb CDs.

cdrecord dev=0,0,0 speed=4 -overburn \
-v /mnt/hda11/cdimage1.iso

cdrecord dev=0,0,0 speed=4 -overburn \
-v /mnt/hda11/cdimage2.iso

cdrecord dev=0,0,0 speed=4 -overburn \
-v /mnt/hda11/cdimage3.iso