*BSD News Article 31689


Return to BSD News archive

Newsgroups: comp.os.386bsd.misc
Path: sserve!newshost.anu.edu.au!harbinger.cc.monash.edu.au!bunyip.cc.uq.oz.au!munnari.oz.au!hippo.ru.ac.za!Braae!g89r4222
From: csgr@cs.ru.ac.za (Geoff Rehmet)
Subject: Re: [FreeBSD] Problem booting from HD
Message-ID: <CrHq21.1CH@hippo.ru.ac.za>
Sender: news@hippo.ru.ac.za (Usenet News Admin)
Reply-To: csgr@cs.ru.ac.za
Organization: Rhodes University, Grahamstown, South Africa
References: <griffith.771232492@marsh> <Cr6rKM.A2F@hippo.ru.ac.za> <griffith.771748223@marsh>
Date: Thu, 16 Jun 1994 12:44:24 GMT
Lines: 44

In <griffith.771748223@marsh> griffith@cs.curtin.edu.au (Don Griffiths) writes:

>Now I've got a new one :-(

>I got to the point of extracting the bin.tar file when part way through it
>gave a segmentation violation.  I attempted to restart it only to have it
>report that it couldn't find tar!.  I halted the system to reboot but on
>rebooting it gave the message "panic: init died" and then proceeded to 
>reboot itself adnausium.  I've rebooted using the initial boot floopy &
>rfs and found that the filesystem is still on the HD and appears ok. What
>do I do now? (Short of repeating the entire install?)

Hmm, did you use the EXTRACT.sh that was on the ftp mirror with the
tarballs, or did you use "extract bin" (using the shell procedures from
the cpio.magic script)?

The best is to follow the following steps, which will see you back into
action (copied from an announcement that Jordan put together):

 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' 

You will probably need to go through extracting the bindist again
after that, using "extract bin" rather than the EXTRACT.sh

I hope this helps you!

Geoff.
--
 Geoff Rehmet, Computer Science Department,   | ____   _ o         /\
  Rhodes University,  South Africa            |___  _-\_<,        / /\/\
 FreeBSD core team                            |    (*)/'(*)    /\/ /  \ \
     csgr@cs.ru.ac.za, csgr@freefall.cdrom.com, geoff@neptune.ru.ac.za