From owner-freebsd-questions Wed Jun 16 18: 9: 9 1999 Delivered-To: freebsd-questions@freebsd.org Received: from calamity.eng.avtel.net (calamity.eng.avtel.net [207.71.234.103]) by hub.freebsd.org (Postfix) with ESMTP id 6B5D915031 for ; Wed, 16 Jun 1999 18:08:56 -0700 (PDT) (envelope-from dlc@avtel.net) Received: (from dlc@localhost) by calamity.eng.avtel.net (8.9.0.Beta5/8.9.0.Beta5) id SAA08618 for freebsd-questions@freebsd.org; Wed, 16 Jun 1999 18:11:46 -0700 (PDT) Date: Wed, 16 Jun 1999 18:11:46 -0700 From: Dave Carmean To: freebsd-questions@freebsd.org Subject: (long) Simult. 2.2.5 --> 3.1 upgrade and SCSI disk swap Message-ID: <19990616181145.C6633@silcom.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 0.95.1i Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG 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 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