reviving old FreeBSD4 SCSI beast

Dave Ng chump1 at hushmail.com
Thu Jan 30 18:56:26 UTC 2014


While I do not understand why my new (amd64) machine was unable to
boot, since no drives were rearranged post-install pre-boot, I was
able to get the old (i386) full recovered after adjusting fstab and
booting 9.2!
Thanks a ton.
 Sent using Hushmail
On January 28, 2014 at 7:44 AM, "Warren Block"  wrote: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 
> usbide?

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.


More information about the freebsd-hackers mailing list