Subject: Re: Sparc port avail.. part 2.
To: Theo Deraadt <deraadt@fsa.ca>
From: Ronald G Minnich <rminnich@descartes.super.org>
List: port-sparc
Date: 02/04/1994 19:48:56
Oh, don't forget to:
1) clear sun-compat? in the openboot prom. This fixes the cgthree problem
i reported earlier. Thanks chris.
2) make yourself a /dev directory in your new root partition. init and
friends get unhappy if there's no place to open /dev/console. The sun
MAKEDEV script works just fine
3) if you are getting a password file from sunos, check out master.passwd for
format. The formats aren't quite the same. There's an awk script
somewhere to fix, or just do it by hand, then run mkpwd_db (or some such)
to build spwd.db. If you are having trouble getting up with the
password file, but want to at least get up multiuser without it, just
temporarily replace /usr/bin/login with a script that fires up /bin/csh.
Gross, but it will get you on the air: you hit return at the login prompt
and get a root shell. This will allow you to run the various netbsd
binaries without having to live with single-user mode.
4) Working in single-user mode.
in single-user mode in sunos, to get to a writeable /,
you do mount -o remount /. No remount option in netbsd, the equivalent
netbsd is -u: if you get into single-user, and
you want a writeable /, just do a
mount -u /dev/sd0a /
works just great. The more i use it, the happier i am. Union mounts, wow ...
ron
------------------------------------------------------------------------------