*BSD News Article 58342


Return to BSD News archive

Newsgroups: comp.unix.bsd.freebsd.misc
Path: euryale.cc.adfa.oz.au!newshost.anu.edu.au!harbinger.cc.monash.edu.au!nntp.coast.net!howland.reston.ans.net!swrinde!elroy.jpl.nasa.gov!decwrl!pagesat.net!quack!quack.kfu.com!nsayer
From: nsayer@quack.kfu.com (Nick Sayer)
Subject: How to install diskmanager on /dev/rwd1?
Message-ID: <ncq8G7D@quack.kfu.com>
Sender: news@quack.kfu.com (0000-News(0000))
Organization: The Duck Pond public unix, +1 408 249 9630, log in as guest.
Date: Thu, 28 Dec 1995 01:54:31 UTC
Lines: 28

Let's say that I want to build an 'install disk'. The idea is that this
(hard) disk is an image that I wish to clone to /dev/wd1 in order
to install a new machine (I temporarily jumper the machine's drive
to be a slave, attach this master drive to the IDE bus, boot -s,
then run the install script). I have already made a /etc/disktab
with appropriate partitioning info (simply using dd on the raw
partition won't do since it's not assured that the disks are the
same size), and the script knows how to do the newfsing and
dump/restores to perform the cloning.

All I need to know is the necessary magic that will install a
reasonable slice table and the boot manager. I presume that one
would scribble garbage on the first few blocks of the disk, then
invoke fdisk some special way, but I would like specifics.

Please don't tell me to use the install floppy to do my installations.
This disk cloning procedure is actually easier for us, since none of
the cloned machines actually need floppy drives (they just have to
run Unix and think. :-) ). I just need to know where the boot manager
fits into the fdisk that is in /sbin/.

Thanks in advance.

-- 
Nick Sayer <nsayer@quack.kfu.com>  | If you're old enough to legally vote,
N6QQQ @ N0ARY.#NORCAL.CA.USA.NOAM  | drive, contract, copulate, smoke,
+1 408 249 9630, log in as 'guest' | fight for and die for your country,
URL: http://www.kfu.com/~nsayer/   | I say you're old enough to drink.