l i n u x - u s e r s - g r o u p - o f - d a v i s
Next Meeting:
July 7: Social gathering
Next Installfest:
Latest News:
Jun. 14: June LUGOD meeting cancelled
Page last updated:
2002 Oct 28 22:59

The following is an archive of a post made to our 'vox-tech mailing list' by one of its subscribers.

Report this post as spam:

(Enter your email address)
Re: [vox-tech] How to make an OEM style "system recovery disk"
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [vox-tech] How to make an OEM style "system recovery disk"

On Mon, Oct 28, 2002 at 09:26:57PM -0800, Peter Jay Salzman wrote:
> begin Ryan Castellucci <ryan+lugod@cal.net> 
> > Hash: SHA1
> > 
> > I'm looking to build a bootable CD to give to a friend along with a computer 
> > that when booted will offer to overwrite the hard drive from a compressed 
> > disk image. I looked on freshmeat, but didn't see anything well suited to 
> > this. The box in question will have windows on it (They want windows, I don't 
> > feel like arguing). Anyone know of a project that can do this?
> i'm not sure i understand.  are you giving your friend a "nag-ware"
> computer that nags him to install linux?  :)
> > What about linux boot CDs that can easily be customized to run a shell script 
> > at boot time?
> not sure i understand this either.   the whole runlevel initialization 
> mechanism is a method of executing shell scripts at boot.   boot CD's
> should have this too.
> when you say "easy", do you mean not having to conform to the standard
> initialization script format?  you can use rc.boot for that.
> if you want to make an OEM style recovery disk, i imagine you can
> install linux and then dd/bzip2 up the entire hard drive.  i'm guessing
> that even if windows gets installed on top of linux, dd will restore
> partition info.   the backup image shouldn't be too big for a fresh
> install.  but your friend would lose all his data.

One would need to zero out the hard drive first, otherwise one will be
trying to compress a whole hard drive's worth of random bits and fit it
onto a single CD. 

dd if=/dev/zero of=/dev/sda (or /dev/hda or whatever) should do nicely. 

dd will restore partition info, by the way. I've used it for backing up
and restoring a partition table before. Just make sure to grab from
/dev/sda, not /dev/sda1. (or hda, hda1, etc.)
> pete
> -- 
> Fingerprint: B9F1 6CF3 47C4 7CD8 D33E 70A9 A3B9 1945 67EA 951D
> _______________________________________________
> vox-tech mailing list
> vox-tech@lists.lugod.org
> http://lists.lugod.org/mailman/listinfo/vox-tech

Samuel Merritt
OpenPGP key is at http://meat.andcheese.org/~spam/spam_at_andcheese_dot_org.asc
Information about PGP can be found at http://www.mindspring.com/~aegreene/pgp/

Attachment: pgp00012.pgp
Description: PGP signature

LUGOD Group on LinkedIn
Sign up for LUGOD event announcements
Your email address:
LUGOD Group on Facebook
'Like' LUGOD on Facebook:

Hosting provided by:
Sunset Systems
Sunset Systems offers preconfigured Linux systems, remote system administration and custom software development.

LUGOD: Linux Users' Group of Davis
PO Box 2082, Davis, CA 95617
Contact Us

LUGOD is a 501(c)7 non-profit organization
based in Davis, California
and serving the Sacramento area.
"Linux" is a trademark of Linus Torvalds.

Sponsored in part by:
O'Reilly and Associates
For numerous book donations.