Subject: Re: kern/start_init()/init_main.c doesn't care for /rescue ?
To: Ian Zagorskih <ianzag@megasignal.com>
From: Luke Mewburn <lukem@NetBSD.org>
List: tech-kern
Date: 07/09/2004 07:33:32
--G2d+m75Tjo442KmM
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline

On Thu, Jul 08, 2004 at 08:56:37PM +0700, Ian Zagorskih wrote:
  | Anyway, input is: libc is completely broken. What do we have as a
  | next step ? Right, panic when kernel is loading /sbin/init image
  | course in NetBSD 2.0 it's linked dynamically and dependant on libc
  | -> ld.elf.so exits due to unavailable library -> "init process
  | terminated with exit code 1" -> panic -> ddb

1. boot -a   (or equivalent for your platform)
2. Specify "/rescue/init" as the path to init.
3. Specify "/rescue/sh" as the shell for single user mode (this should be
   the default).

This is why I implemented /rescue before we switched the system to
be fully dynamically linked...

Cheers,
Luke.

--G2d+m75Tjo442KmM
Content-Type: application/pgp-signature
Content-Disposition: inline

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.4 (NetBSD)

iD8DBQFA7b2spBhtmn8zJHIRAnn7AJ0UtX5ZT8ANtI8TdCYAcL3CiQbEPQCgscHe
LUu/ULLlDMw2g2oXA/NTINI=
=/j0g
-----END PGP SIGNATURE-----

--G2d+m75Tjo442KmM--