Subject: Re: Help - Wrecked System
To: Ian Harding <ianh@tpchd.org>
From: Frederick Bruckman <fredb@immanent.net>
List: port-i386
Date: 01/11/2003 12:09:09
On Sat, 11 Jan 2003, Ian Harding wrote:
> I installed a second hard drive into a perfectly good NetBSD 1.5.2
> system. I thought I would be clever and install 1.6 on the second
> drive, leaving the first drive intact.
>
> To make a long story short, I screwed up because now I can boot
> sd0a:netbsd, but it doesn't mount /usr so it drops into single user
> mode since I have symlinked some of my config files from /usr/... to
> /etc and it can't find them. Booting sd1a:netbsd works fine.
Try adding
critical_filesystems_local="/usr"
to /etc/rc.conf, or look in "/etc/defaults/rc.conf" for something like
that. (This is the 1.5.2 system that doesn't work now, right? I forgot
if that was the same in 1.5.2.)
> The /etc/fstab is correct. but something funny is happening in the
> boot sequence.
>
> I think the mistake I made was in the sysinst question "Do you want
> to install ... bootblocks?"
Don't think so... The bootblocks are compatible with 1.5.2, else you
wouldn't even get to single user mode.
> How can I fix this?
So what error do you get if you try, from single user mode,
fsck -p
mount -a
? If none, you should be able to exit the single-user shell into
multi-user.
Frederick