Subject: Re: problems booting (Error 3) after drive swap
To: David Laight <david@l8s.co.uk>
From: Steven M. Bellovin <smb@research.att.com>
List: netbsd-users
Date: 05/23/2004 18:24:26
In message <20040521201142.GW7278@snowdrop.l8s.co.uk>, David Laight writes:
>>
>> Ah -- that seems to be the problem.
>>
>> 1: NetBSD (sysid 169)
>> bootmenu: NetBSD
>> start 21546000, size 56594160 (27634 MB, Cyls 1425-5168)
>>
>> a: 567000 21549780 4.2BSD 1024 8192 40504 # (Cyl. 21378*- 219
>41*)
>>
>>
>> Now to figure out how best to fix it...
>
>installboot to whatever is at the start.
>(or dd bootxx_ffsv1 aroung the netbsd label)
>the system will look for /boot there, then fall back onto 'a'
I tried using fdisk to change the start of the partition. That was a
mistake.... Fortunately, anticipating trouble, I made a level 0 backup
first. Took me about 36 hours to recover, what with other things to do
and some apparent bugs in -current.
Is there a high-level wrapper around fdisk/disklabel other than sysinst?
--Steve Bellovin, http://www.research.att.com/~smb