tru64-unix-managers (formerly alpha-osf-managers) (1994-2012)
 help / color / mirror / Atom feed
* SUMMARY: Manipulate image of a boot-CD for dump/restore
@ 2001-04-09 14:38 Michael Gelbmann
  0 siblings, 0 replies; only message in thread
From: Michael Gelbmann @ 2001-04-09 14:38 UTC (permalink / raw)
  To: tru64-unix-managers

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #1: Type: text/plain, Size: 2186 bytes --]

Hi!

Many thanks to Steve Butcher, alan@nabeth.cxo.dec.com, Shane Southwood,
and Dr. Thomas Blinn.

Steve gave the trick how to make a bootable CD clone. Here�s his recipy:

Mount and copy the current CD to a directory ( e.g. /BootCd )
	mount -r /dev/rz#c /mnt
	cd /mnt
	tar cvf - . | ( cd /BootCd ; tar xvf - )

Make the changes that you want to make down the /BootCd tree

Make an iso image of the tree by
	mkisofs -R -D -a -o /somewhere/bootcd.iso  /BootCd

Make the iso image bootable by
	disklabel -w -t cdfs -f /somewhere/bootcd.iso
	echo "\0\c" | dd bs=1024k conv=sync >>/somewhere/bootcd.iso

That's it. 

I�ve tried it and it worked, although I don�t really understand the last
step! Now I only have to adapt this procedure (disklabel) for the
different OS. 

Reganrds, Mike.
--------------------------------------

Original posting follows:

Hi Folks!

Although my question is not only Tru64 specific, its more than less
platform-independent I want to ask it anyway:

For backup reason, once a week I�m dumping my local filesystems and
disklabels to a NFS-disk. In case of a fatal system crash I�m booting
from the install CD, escape to the shell and tar a little shell script
from a floppy. This script initializes the NIC, mounts the NFS-disk and
restores the files back to my machine. This procedure works quite ok,
also for LSM-disks, but:

Is there a possibility to duplicate the boot-CD with some changes on it,

i.e. my restore script included, so that it will automatically be
started when booting from it? The question is, how can one manipulate an

image of a CD? Since I�m also using the described procedure (slightly
modified) on non-Tru64 machines (where some important commands don�t
reside on the boot-CD) this topic is very important to me.

Any help would be appreciated.

--
Michael Gelbmann
-------------------------------------
INFORMATIONS-TECHNOLOGIE AUSTRIA GMBH
        Betriebssysteme  UNIX
    A-1020 Wien, Lassallestra�e 5
     Telefon:  +43-1-21717-58989
     Mobil:    +43-664-231 40 58
     Telefax:  +43-1-21717-89-58989
     e-mail: mike@it-austria.net
-------------------------------------
 Eat Healthy - Stay Fit - Die Anyway

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2001-04-09 14:38 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2001-04-09 14:38 SUMMARY: Manipulate image of a boot-CD for dump/restore Michael Gelbmann

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox