Comments: I wanna share my results for those who want to do this via
remote.

I slightly modified the procedure below for upgrading a box several
hundred miles away, where single user mode means a long distance phone
call.

cvsup to current
make buildworld
make buildkernel
make installkernel
- change - I just rebooted normally, the network came up fine, if you
  have any special kernel needs, make sure you have di lines in
/boot/kernel.conf (i.e. your system hangs when trying to detect a
device) at this point you are very safe, Its just a new kernel, if it
doesnt work, just load from the old one and give up or tweak, or
whatever.
make -DNOINFO installworld
make installworld
ok, here is where I discovered something nobody told me about.
4.0 moved me from DES to MD5.  the effect was that none of the passwords
worked. luckily I was logged in as root already, and only had 4 accts, I
just ran the passwd command and reset them.  if its a nightmare to move
your accounts, and/or you want to keep DES, I have been told that adding
the line "auth_default  =       des" in /etc/auth.conf will keep you on
DES.
(I didnt read the dev changes till after I did this, so it would prob be
better to do it here.)
reboot
now after the reboot, I had a weird error that nobody has mentioned as
far as I can see.  Whenever I tried to make in /usr/ports I would get an
error on two libraries:
 /usr/libexec/ld-elf.so.1, /usr/lib/libm.so.2

after that everything was pretty sane, little cleanups, but nothing
really scary.

I dont know if I recommend this or not, but I hope anyone who tries it
will learn from my experience and have a smoother ride ;)

so, first solution I can think of is, copy the files from an existing
current box".  /usr/libexec/ld-elf.so.1 wouldnt let me overwrite it,
even as root, but /usr/lib/libm.so.2 did, amazingly enough it only took
the libm replacement.

Quoting Eugene M. Kim ([EMAIL PROTECTED]):
> On Thu, 10 Feb 2000, John Baldwin wrote:
> 
> | You need a -current kernel for installworld to work.  In fact,
> | if you aren't running a -current kernel installworld will blow
> | up on your machine.  Try this instead:
> | 
> | - cvsup -current
> | - make buildworld
> | - make buildkernel
> | - make installkernel
> 
> - backup /dev to /dev.orig
> - mkdir /dev
> - copy /usr/src/etc/MAKEDEV* into /dev 
> - remake all devices in /dev (don't forget to make the disk slice
> entries separately)
> 
> | - reboot into single user mode
> | - make -DNOINFO installworld
> | - make installworld
> | - merge over /etc changes, etc.
> | - reboot
> 
> -- 
> Eugene M. Kim <[EMAIL PROTECTED]>
> 
> "Is your music unpopular?  Make it popular; make music
> which people like, or make people who like your music."
> 
> 
> 
> To Unsubscribe: send mail to [EMAIL PROTECTED]
> with "unsubscribe freebsd-current" in the body of the message

-- 
----------------------------------------------------
Adriel Ickler
Network Administrator   -  [EMAIL PROTECTED]      
Self Trading Securities -  Voice:       512-263-2769
www.selftrading.com     -  Fax:         512-263-2141    
----------------------------------------------------


To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-current" in the body of the message

Reply via email to