Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 16 Jun 1999 18:11:46 -0700
From:      Dave Carmean <dlc@silcom.com>
To:        freebsd-questions@freebsd.org
Subject:   (long) Simult. 2.2.5 --> 3.1 upgrade and SCSI disk swap
Message-ID:  <19990616181145.C6633@silcom.com>

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

Greetings,

I've been having some trouble trying to upgrade my old 2.2.5 system 
to 3.1, and am looking for tips.

The system is a 1996-vintage P5-150, with win95 on the two IDE drives, 
and FreeBSD 2.2.5 on sd0.  I didn't install a boot manager, and my 
BIOS (AMI) doesn't speak SCSI, so I boot to FreeBSD from a floppy.

1/2 of sd0 is FreeBSD, the other is a Win95 compressed volume.  This 
drive is now full, besides being flaky, so my idea was to dup my 
FreeBSD install onto a new, larger SCSI disk, and then upgrade on 
that copy.  Of course, since it's a different geometry, I can't 
just dd the whole thing.

Problem is: I labeled the new disk, mounted it, and used tar through 
a pipe to copy /, /var, and /usr over.  It booted fine from the new 
disk, but the (Cheapbytes) 3.1 sysinstall upgrade did not see this disk!

Is this because of the SCSI device nomenclature change, sd --> da ?

After that failure, I did a fresh basic (Novice) 3.1 install to the 
new drive, hoping to use tar or dd to then copy the old system and try 
the upgrade again.  But I can't directly get to rsd1s1{a,e,f,g} from 
2.2.5 now, because of the new device naming.

So I'm using dd and hd to look at the bits and figure out if I can use 
skip and seek offsets with dd to perform the copy, but when I think 
about it, there's /got/ to be a better/easier way.

What did I miss?

Thanks.

P.S.: of what use is scsiformat(8) in this scenario?  When starting over, 
particularly to examine the bits directly, I just did a 'dd if=/dev/zero \
of=/dev/rsd1' to clobber the thing.  scsiformat(8) operates at a lower 
level than this, does it not?





-- 
David Carmean                                           <dlc@silcom.com>
  PGP fingerprint =  B1 57 EB A8 1D B9 87 86  5F 5C 51 A4 F2 5E ED FD

	My God, it's full of Cars!



To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?19990616181145.C6633>