Subject: Re: 3.0 upgrade failed
To: Yasir Malik <firstname.lastname@example.org>
From: David Laight <email@example.com>
Date: 04/08/2006 20:35:37
On Sat, Apr 08, 2006 at 02:01:08PM -0400, Yasir Malik wrote:
> I tried upgrading my existing 2.0_Beta to 3.0, and my system won't boot
> here's what I did:
> - I chose upgrade NetBSD on a hard disk.
> - After doing that, I get a message saying "No /etc/fstab in target disk
> wd0. Aborting upgrade." The install continues, though.
> - I used existing bootblocks.
> - After doing the install, I get the following message: "The completed new
> root file system failed a basic sanity check. Are you sure you installed
> all the required sets?"
> - After rebooting and chosing the NetBSD install, I get the following:
> NetBSD/i386 ffsv1 primary bootstap.
> Boot failed (errno 2): Can't open /boot
> Non-system or disk error replace and strike any key when ready.
The last error message means what it says...
Probably fixable by copying /usr/mdec/boot to /boot (the install should
The upgrade code will assume that wd0a is the root partition, mount it,
look for /etc/fstab, mount all the mentioned partitions, the install
the sets over that set of filesystems .
If your disk didn't look like that, the 'upgrade' will not DTRT.
You will probably need to boot the install media and exit (^C) to a shell
to find out what actually happened. Only then can a fix be sorted.
 A particularly useful feature if the install kernel numbers the
disks differently from the one the system had been running - but at least
it wont do an 'rm -rf /tmp' after mounting the wrong disk partition on /tmp.
David Laight: firstname.lastname@example.org