Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 2 Mar 1997 10:35:57 -0500
From:      Ken Woodhouse <KenWoodhouse@compuserve.com>
To:        FreeBSD Questions <questions@FreeBSD.org>
Subject:   Adding a second disk
Message-ID:  <199703021036_MC2-11E6-2BD@compuserve.com>

next in thread | raw e-mail | index | archive | help
Hi

I have been running FreeBSD on a single (wd0) disk. wd0s1 contains
MSDOS, and FreeBSD (version 2.0.5) lives in wd0s3[abe]. I now have a
second identical disk (wd2), which I have partitioned in the same way
as the first, and have Windows-95 in wd2s1. I wish to partition wd2s3 in
the same way as wd0s3, so that I can mount it and use it as a full 
backup area.

Neither of the ways given in the FAQ notes work, and if I try using 

       disklabel -e -r wd2

I get an error. I've tried to trick "sysinstall" into thinking it is doing
an
installation, in the hope that it will update the disk labels and run 'bad
block table' before realizing that it can't go any further, but it's too
clever for that, and won't pass through the media check phase. In
looking through the code, I think what I need to do is use sysinstall to:

1. select wd2, and create partition wd2s3
2. create wd2s3[abe] in label editor
3. Enter "wizard" mode !!??
4. invoke "write" command
5. exit wizard mode, and exit sysinstall
6. run bad block mapper "by hand".

However, since the new disk IS my backup media, I thought it would
be wise to run this by you guys first. 

If there is another way to do this, I am of course eager to hear it.

thanks
Ken Woodhouse.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199703021036_MC2-11E6-2BD>