Subject: Re: What to do when generic kernel won't boot successfully
To: <>
From: David Laight <david@l8s.co.uk>
List: netbsd-help
Date: 05/19/2002 18:51:18
On Sat, May 18, 2002 at 08:46:02PM -0400, Thomas Mueller wrote:
> Is there any way to recover, to compile a custom kernel when the generic kernel
> fails to boot successfully but the installation kernel boots, and allows
> installation of NetBSD?  Is there any way to mount the hard disk partitions and
> run the compiler on syssrc, using shell sh, having booted the installation
> kernel?  Or are too many things missing?

Once you have a shell booted on he install system it should
be possible to:

# mkdir /real_root
# mount /dev/wd0a /real/root
# chroot /real/root
# mount /usr

(or something similar)

The system then looks (losely) as though it was booted from
the installed filesystem.
You might need to fiddle with $PATH.

	David

-- 
David Laight: david@l8s.co.uk