*BSD News Article 30122


Return to BSD News archive

Path: sserve!newshost.anu.edu.au!harbinger.cc.monash.edu.au!msuinfo!agate!agate!usenet
From: "Jordan K. Hubbard" <jkh@whisker.hubbard.ie>
Newsgroups: comp.os.386bsd.announce
Subject: Possible problem with installing srcdist on 1.1R - a work-around.
Followup-To: poster
Date: 6 May 1994 20:48:35 -0700
Organization: University of California, Berkeley
Lines: 57
Sender: cgd@agate.berkeley.edu
Approved: 386bsd-announce-request@agate.berkeley.edu
Message-ID: <19613.768282281@whisker.hubbard.ie>
NNTP-Posting-Host: agate.berkeley.edu
Status: RO

Some people have been finding after installing the `srcdist'
distribution in 1.1R that they are unable to boot again with the
message `panic: init died'.

This is due to an oversight during the ISO9660 (8.3) renaming that was
done on the distribution - the distribution files `bin.xx' confuse the
default `extract' function in the profile script into thinking that
it's actually extracting part of the binary distribution, and this
leads to nasty results when certain bindist-specific work-arounds for
symlinks are invoked!

There are two ways around this:

1.	Instead of using the `extract' command, use the EXTRACT.sh shell
	script in the srcdist directory.  It doesn't have the special-case
	hacks for the bindist in it and doesn't suffer from the problem.

1.	If you're keener to do this long-term for your own distribution copy
	in a way that will work with `extract' or `EXTRACT.sh' both, then
	after you've copied the srcdist over and verified the checksums
        (if desired), do this:

	cd srcdist
	mv bin.aa srcbin.aa
	mv bin.ab srcbin.ab

	(extract entire srcdist as usual).

	The reason we haven't done this on the main distribution is purely
	because we'd like to avoid screwing up the srcdist by having both
	old and new copies around (most mirrors do not `autodelete' and
	thus would have bin.aa, srcbin.aa, bin.ab & srcbin.ab - a mess!).


3.  If you've already done this nastiness to yourself and are looking for
    a way back, then simply perform the following steps:

1) boot with kcopy_XX.flp
2) Ctrl-C out to the # prompt
3) fsck /dev/rsd0a
4) mount /dev/sd0a /mnt
5) /mnt/bin/ls -lag /mnt/sbin/init*
6) /mnt/bin/mv /mnt/sbin/init.XX /mnt/sbin/init
7) /mnt/bin/ls -lag /mnt/bin/sh*
8) /mnt/bin/mv /mnt/bin/sh.XX /mnt/bin/sh
9) umount /dev/sd0a
10) halt
11) remove floppy and boot from hard disk as usual.

(*) Where `XX' is replaced with what you see from `ls' 

Thanks, and sorry for the inconvenience!  This problem does not happen
with the CD installation, so those of you who have already ordered 1.1
CD's from Walnut Creek may exhale again.. :-)

					Jordan