Welcome to the MacNN Forums.

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

You are here: MacNN Forums > Software - Troubleshooting and Discussion > macOS > Error message on Jag install

Error message on Jag install
Thread Tools
bollux
Fresh-Faced Recruit
Join Date: Apr 2002
Status: Offline
Reply With Quote
Aug 22, 2002, 03:28 PM
 
Well...not exactly an error. After the first CD finishes installing it gets hung up. The following is in the top left-hand corner:


sh-2.05a#



it kind of looks like it�s waiting for a command of some sort. Any ideas??
     
fulmer
Professional Poster
Join Date: Jan 2001
Status: Offline
Reply With Quote
Aug 22, 2002, 03:59 PM
 
what is your mac? give us specifics, which'll help us determine your problem.

also, are you upgrading, archive and install, or installing on an empty drive?

and does your mac have any upgraded items, such as processor?
     
Mithras
Professional Poster
Join Date: Oct 1999
Location: :ИOITAↃO⅃
Status: Offline
Reply With Quote
Aug 22, 2002, 04:01 PM
 
Ha! I just posted about this in another thread.

The installer failed to copy over your /etc/hostconfig file.

At the prompt, enter this:
cp "/Previous Systems/Previous System 1/private/etc/hostconfig" /etc/hostconfig

Reboot, and it should be happy.
(The path might be something slightly different than that).
     
bollux  (op)
Fresh-Faced Recruit
Join Date: Apr 2002
Status: Offline
Reply With Quote
Aug 23, 2002, 10:13 AM
 
That didn't appear to work either. I'm really sorry, but I'm pretty much clueless w/ Unix...

It just said that that file could not be found.

I was able to restart w/ the installer disc in, and reinstalled, but with the same result: sh-2.05a#

I would REALLY appreciate any help that anyone could offer....

thanks!!
     
KaptainKaya
Mac Elite
Join Date: Mar 2001
Location: somewhere in ohio
Status: Offline
Reply With Quote
Aug 23, 2002, 10:17 AM
 
I got the same thing on a B&W G3/350. I had to take the hard drive out and put in my G4 and install it that way. I'm kinda p*ssed cause I shouldn't have to swap drives in order for it to install on a supposedly supported machine.

BTW, my specs are:

B&W G3/350
896MB RAM
12GB HD (stock drive)
CDROM

And I know its not the RAM causing it cause it starts up after I put the HD back into the tower after installing.
     
bollux  (op)
Fresh-Faced Recruit
Join Date: Apr 2002
Status: Offline
Reply With Quote
Aug 23, 2002, 10:22 AM
 
Oh BTW: I'm on a G4 running 10.1.5.
( Last edited by bollux; Aug 23, 2002 at 11:58 AM. )
     
Mithras
Professional Poster
Join Date: Oct 1999
Location: :ИOITAↃO⅃
Status: Offline
Reply With Quote
Aug 23, 2002, 12:48 PM
 
The problem, as I stated, is most likely a missing /etc/hostconfig file.

When the computer starts up, type the following:
ls /etc/hostconfig

The computer will respond either with:
/etc/hostconfig
which means the file does exist (and I'm out of ideas),

or with:
ls: /etc/hostconfig: No such file or directory

Which means we're in business.

The solution is the following:
You simply need a valid /etc/hostconfig file for the computer to start up. You can get one from any of 3 places:
1: Your archived system (if you did an Archive & Install)
2: Another computer with 10.1.5 or a working 10.2 installation
3: Typing it in yourself

You can do this with Unix, at the prompt, or by booting into OS 9.

Method 1: Archived system (OS X way)
If you did an "Archive & Install", your old 'hostconfig' is still on the disk. You just need to find that file and copy it to the right place.

When the computer starts up, type:
cd /
ls

which should list all the files and folders at the root of your disk. Some are familiar (like "Applications"), some are not (like "var").
Look for the folder named "Previous Systems" (or something like that; I've since removed mine...)
When you see the right folder, type:
cd "Previous Systems"

with the quotation marks around the name of the folder. Then type
ls

again to list the contents of that folder. It should be something like "Previous System 1". Type
cd "Previous System 1" (using the correct name, of course)
and then
ls

This time you should see several folders, one of which is named "etc"
For the last time, type
cd etc
ls
You'll see a bunch of files go by. One of them should be "hostconfig".

First we mount the drive for read/write access:
mount -uw /

Now we'll copy hostconfig into the right place:
cp hostconfig /etc/hostconfig

Now restart:
shutdown -r now
(or just hit the button)

Method 2 (skipping for now)

Method 3: Typing it in
You can also just type in a basic hostconfig file. I don't think it needs very much to allow the computer to start up.

First, mount the disk to allow reads and writes:
mount -uw /

Then type:
pico /etc/hostconfig

This opens a little word processor. Type in the following to make the simple 'hostconfig':
Code:
## # /etc/hostconfig ## # Network HOSTNAME=-AUTOMATIC- ROUTER=-AUTOMATIC- # Services NISDOMAIN=-NO-
Then press control-O to save the file, and control-X to exit.

I think just that should be enough to start up the computer. Restart and give it a shot.

Good luck!
mithras
( Last edited by Mithras; Aug 23, 2002 at 01:04 PM. )
     
bollux  (op)
Fresh-Faced Recruit
Join Date: Apr 2002
Status: Offline
Reply With Quote
Aug 23, 2002, 02:45 PM
 
thank you VERY VERY much!

I'll try it and let you know how it works...
     
a-poria
Forum Regular
Join Date: Mar 2001
Status: Offline
Reply With Quote
Aug 23, 2002, 03:27 PM
 
mithras,
i want to attempt your solution for my non-working 10.2. when i finish installing a always get a blue screen and nothing more. when booting into single user mode i get the sh-2.05a# thing as well. if your suggestion about a missing hostconfig file is correct, i would be thrilled.

where do i type this info in? i am particularly interested in your 3rd method, as i do not have another way of getting at a hostconfig file. do i do an open firmware boot-up or is single user mode enough?

thanks for the help.
     
Mithras
Professional Poster
Join Date: Oct 1999
Location: :ИOITAↃO⅃
Status: Offline
Reply With Quote
Aug 23, 2002, 03:50 PM
 
a-poria,

type the commands either at a single-user prompt (press command-S at startup) or at the sh-2.05# prompt. (Yes, that's a prompt, even though the screen is still blue. Hit return a few times to clear the screen)

Keep in mind that the /etc/hostconfig problem is just what happened to me. There's no guarantee that you've suffered the same problem...
     
a-poria
Forum Regular
Join Date: Mar 2001
Status: Offline
Reply With Quote
Aug 23, 2002, 04:05 PM
 
mithras, ran a quick check from the single user mode and hostconfig file is present. too bad, i was hoping this was the problem. after numerous installation attempts i have officially given up. this last attempt at installing a fresh copy of 10.2 i was not even asked for the 2nd cd. oh well, i guess i'll do without for now...

thanks!
     
bollux  (op)
Fresh-Faced Recruit
Join Date: Apr 2002
Status: Offline
Reply With Quote
Aug 26, 2002, 10:05 AM
 
No luck for me either, unfortunately. I guess I'll give Apple Support a ring later on. I just hope this doesn't turn into the nightmare I had installing the original OSX...where I ended up on the phone with mac support for 5 hours one afternoon....
( Last edited by bollux; Aug 26, 2002 at 10:52 AM. )
     
iYoda
Fresh-Faced Recruit
Join Date: May 2002
Location: DC
Status: Offline
Reply With Quote
Aug 26, 2002, 10:41 AM
 
I got the exact same experience on my wifesslot loading iMac. After "install" sometimes Open Firware will halt the boot process and sometimes it will get caught at the CL. A user on another post (Apple Disscusions) said his disc was or had become "dirty" and after he wiped the disc clean the install successfully completed. I have not had a chance to clean my disc and try again.

RT
     
iYoda
Fresh-Faced Recruit
Join Date: May 2002
Location: DC
Status: Offline
Reply With Quote
Aug 26, 2002, 02:43 PM
 
This is happening far too often with no apperant solution.

RT
     
bollux  (op)
Fresh-Faced Recruit
Join Date: Apr 2002
Status: Offline
Reply With Quote
Aug 27, 2002, 10:26 AM
 
anybody have any luck on this? I couldn't hold on the phone w/ apple for that long to get any info out of them. I'm hoping someone else has had success....
     
   
 
Forum Links
Forum Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Top
Privacy Policy
All times are GMT -4. The time now is 05:19 PM.
All contents of these forums © 1995-2017 MacNN. All rights reserved.
Branding + Design: www.gesamtbild.com
vBulletin v.3.8.8 © 2000-2017, Jelsoft Enterprises Ltd.,