Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 28 Jan 2014 08:44:45 -0700 (MST)
From:      Warren Block <wblock@wonkity.com>
To:        Dave Ng <chump1@hushmail.com>
Cc:        freebsd-hackers@freebsd.org, Alfred Perlstein <bright@mu.org>
Subject:   Re: reviving old FreeBSD4 SCSI beast
Message-ID:  <alpine.BSF.2.00.1401280833260.49265@wonkity.com>
In-Reply-To: <20140128055335.450F720152@smtp.hushmail.com>
References:  <20140121181241.27FF62035E@smtp.hushmail.com> <52DEC272.3070907@mu.org> <20140128055335.450F720152@smtp.hushmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Mon, 27 Jan 2014, Dave Ng wrote:

> On January 21, 2014 at 10:54 AM, "Alfred Perlstein" <bright@mu.org> 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.



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