From owner-freebsd-hackers@FreeBSD.ORG Tue Jan 28 15:44:48 2014 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 683827B for ; Tue, 28 Jan 2014 15:44:48 +0000 (UTC) Received: from wonkity.com (wonkity.com [67.158.26.137]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id 1DA171952 for ; Tue, 28 Jan 2014 15:44:47 +0000 (UTC) Received: from wonkity.com (localhost [127.0.0.1]) by wonkity.com (8.14.7/8.14.7) with ESMTP id s0SFikAq049493; Tue, 28 Jan 2014 08:44:46 -0700 (MST) (envelope-from wblock@wonkity.com) Received: from localhost (wblock@localhost) by wonkity.com (8.14.7/8.14.7/Submit) with ESMTP id s0SFijG5049490; Tue, 28 Jan 2014 08:44:46 -0700 (MST) (envelope-from wblock@wonkity.com) Date: Tue, 28 Jan 2014 08:44:45 -0700 (MST) From: Warren Block To: Dave Ng Subject: Re: reviving old FreeBSD4 SCSI beast In-Reply-To: <20140128055335.450F720152@smtp.hushmail.com> Message-ID: References: <20140121181241.27FF62035E@smtp.hushmail.com> <52DEC272.3070907@mu.org> <20140128055335.450F720152@smtp.hushmail.com> User-Agent: Alpine 2.00 (BSF 1167 2008-08-23) MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.4.3 (wonkity.com [127.0.0.1]); Tue, 28 Jan 2014 08:44:46 -0700 (MST) Cc: freebsd-hackers@freebsd.org, Alfred Perlstein X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.17 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 28 Jan 2014 15:44:48 -0000 On Mon, 27 Jan 2014, Dave Ng wrote: > On January 21, 2014 at 10:54 AM, "Alfred Perlstein" wrote: >> >> Use a more modern machine to install to the IDE using an external >> USB->IDE bridge, then relocate drive to old machine. > > This is the plan I started moving forward with. Looks mostly good, > except when I go to boot the prepared hard drive it gives me errors > mounting root fs, error 19! This happens with both the new amd64 I am > running the recovery from, and the old i386 that I am trying to > revocer. Any idea what I am doing wrong when I install via the > usb<->ide? When installing, the disk device was seen as da0. /etc/fstab was written with that as the base device: # Device Mountpoint FStype Options Dump Pass# /dev/da0p2 / ufs rw 1 1 /dev/da0p3 none swap sw 0 0 Attached to IDE on the old system, it is not da0 any more. If you installed 9.2 or 10.0, it will be ada0, and the loader will not see da0, giving the error 19. At the prompt, you should be able to enter ufs:/dev/ada0p2 That will start in single user mode (as I recall, it's early). Remount the / filesystem read/write: mount -u / Then use vi or ee to fix fstab, changing the da0 entries to ada0. Finally, reboot.