Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Booting after installation on a 7600 followup

0 views
Skip to first unread message

Jim Ferr

unread,
Jul 11, 2000, 3:00:00 AM7/11/00
to
I posted a the "how do I boot after install" message and the most helpful
reply (from Gabriel Rosenkoetter) was to refer to a rather opaque section
of the FAQ:

>http://www.netbsd.org/Ports/macppc/faq.html#boot-disk

Okay, so now I'm trying to follow this section without much success. I
booted from the install floppy and selected the S)hell option. Then I
mounted /dev/sd0a on /mnt and entered the two commands the FAQ refers to
as they are:

>So if you have booted off floppy or network, and have the filesystem (say
>it's sd0) mounted on /mnt, you would do:
>
>
> cp /usr/mdec/ofwboot /mnt/boot
> /usr/mdec/installboot /mnt/boot /usr/mdec/bootxx /dev/rsd0a

Now that is the end of that bullet-point in the FAQ. Do I need to
continue on to the next one or am I done? I thought okay, maybe I'm done.
I then attempted to exit the shell unsuccessfully and after rebooting it
still doesn't boot from the hard drive, so I rebooted from the install
floppy (again) and when I tried the same mount command, it complains the
file system on /dev/sd0a is not clean. (Argh!)

So now I'm trying 'fsck -y /dev/sd0a' and fsck refuses to work without
fstab and I don't know what parameter to pass fsck to ignore fstab...
That's my new problem. If need be I can erase this mess and reinstall but
the question still stands, are there step-by-step instructions a new user
can follow to get past this point? My OF is 1.1 according to its splash
screen.

Cheers...

--
Jim Ferr, Support Analyst, Apple Canada
Phone: (905) 513-5617
Pager: (416) 295-4277


gabriel rosenkoetter

unread,
Jul 11, 2000, 3:00:00 AM7/11/00
to
What are you using as a boot command in OF?

You'll want something like boot scsi-int/sd@0,0

(No guarantees... OF is weird and different in differnt versions.)

You'll need to make fsck work... but if you can get the drive to boot,
it'll fsck itself (and, if you're *really* bad off, demand to be fscked
manually, which should work). At the worst, just reformat and start
over. (Not as bad as it sounds... things go more cleanly with
progressive retries. ;^>)

Btw, seeing as you work at Apple, don't suppose you could gank us some
OF docs?

~ g r @ eclipsed.net

gabriel rosenkoetter

unread,
Jul 11, 2000, 3:00:00 AM7/11/00
to
Whoops, didn't answer all of your questions in my first email.

On Tue, Jul 11, 2000 at 01:16:44PM -0400, Jim Ferr wrote:
> > cp /usr/mdec/ofwboot /mnt/boot
> > /usr/mdec/installboot /mnt/boot /usr/mdec/bootxx /dev/rsd0a
>
> Now that is the end of that bullet-point in the FAQ. Do I need to
> continue on to the next one or am I done? I thought okay, maybe I'm done.

That's correct, you're done. As long as the drive you want to boot is
sd0a and installboot didn't spout any weird error messages.

Each bullet-point is an alternate method for booting. That's vaguely
stated in the opening paragraph, but could be made clearer... but
that's true of so much of our documentation it pretty much goes
without saying. Yes, fixing this would be good, but most of the people
who know how it should be done are busy doing technical stuff. Go ask
an Apple engineer to write a User's Guide and see the reaction you
get. ;^>

Jim Ferr

unread,
Jul 11, 2000, 3:00:00 AM7/11/00
to
Okay, I've reinstalled and after installation was successful, I entered
the following commands in the shell:

mount /dev/sd0a /mnt


cp /usr/mdec/ofwboot /mnt/boot
/usr/mdec/installboot /mnt/boot /usr/mdec/bootxx /dev/rsd0a

No errors.

So then I rebooted into Open Firmware. The 7600 says it has Open Firmware
1.0.5. What magical incantations do I need to enter to boot now from the
SCSI drive?

Entering 'boot scsi-int/sd@0,0' got the reply 'Can't load from device' if
memory serves.

Yes, I do work for Apple (in Canada) but don't have a lot of contact with
Engineering. If there is something specific you'd like in terms of Open
Firmware docs, let me know and I'll see if I can turn over a few
stones... ;)

> ~ g r @ eclipsed.net

>Whoops, didn't answer all of your questions in my first email.
>
>On Tue, Jul 11, 2000 at 01:16:44PM -0400, Jim Ferr wrote:
>> > cp /usr/mdec/ofwboot /mnt/boot
>> > /usr/mdec/installboot /mnt/boot /usr/mdec/bootxx /dev/rsd0a
>>
>> Now that is the end of that bullet-point in the FAQ. Do I need to
>> continue on to the next one or am I done? I thought okay, maybe I'm done.
>
>That's correct, you're done. As long as the drive you want to boot is
>sd0a and installboot didn't spout any weird error messages.
>
>Each bullet-point is an alternate method for booting. That's vaguely
>stated in the opening paragraph, but could be made clearer... but
>that's true of so much of our documentation it pretty much goes
>without saying. Yes, fixing this would be good, but most of the people
>who know how it should be done are busy doing technical stuff. Go ask
>an Apple engineer to write a User's Guide and see the reaction you
>get. ;^>
>
> ~ g r @ eclipsed.net

Michael Jeffrey Tucker

unread,
Jul 11, 2000, 3:00:00 AM7/11/00
to
Hi,

I dont know if this is the problem in this case, but I believe it
should be 'boot scsi-int/sd@0:0' with the colon instead of the comma but I
am not sure about that. You might want to check the syntax more exactly on
the netbsd web site.

Mike

gabriel rosenkoetter

unread,
Jul 11, 2000, 3:00:00 AM7/11/00
to
On Tue, Jul 11, 2000 at 02:02:26PM -0400, Michael Jeffrey Tucker wrote:
> I dont know if this is the problem in this case, but I believe it
> should be 'boot scsi-int/sd@0:0' with the colon instead of the comma but I
> am not sure about that. You might want to check the syntax more exactly on
> the netbsd web site.

That looks correct.

It's been a while since I did this, and I use an alternate boot script
as I need to wait for the heads to settle on my drive before trying to
boot.

Jim Ferr

unread,
Jul 11, 2000, 3:00:00 AM7/11/00
to
Yes, it should have been a colon. I have successfully booted into single
user mode. Thanks to all.

>Hi,


>
> I dont know if this is the problem in this case, but I believe it
>should be 'boot scsi-int/sd@0:0' with the colon instead of the comma but I
>am not sure about that. You might want to check the syntax more exactly on
>the netbsd web site.
>

>Mike
>
> On Tue, 11 Jul 2000, Jim Ferr wrote:
>
>> Okay, I've reinstalled and after installation was successful, I entered
>> the following commands in the shell:
>>
>> mount /dev/sd0a /mnt
>> cp /usr/mdec/ofwboot /mnt/boot
>> /usr/mdec/installboot /mnt/boot /usr/mdec/bootxx /dev/rsd0a
>>
>> No errors.
>>
>> So then I rebooted into Open Firmware. The 7600 says it has Open Firmware
>> 1.0.5. What magical incantations do I need to enter to boot now from the
>> SCSI drive?
>>
>> Entering 'boot scsi-int/sd@0,0' got the reply 'Can't load from device' if
>> memory serves.

an...@softbook.com

unread,
Jul 11, 2000, 3:00:00 AM7/11/00
to
try giving it the full device path ( scsi-int is an alias that resolves to
something like:
/bandit/gc/mesh <or 53c94>/)
Andy


>Hi,
>
> I dont know if this is the problem in this case, but I believe it
>should be 'boot scsi-int/sd@0:0' with the colon instead of the comma but I
>am not sure about that. You might want to check the syntax more exactly on
>the netbsd web site.
>
>Mike
>
> On Tue, 11 Jul 2000, Jim Ferr wrote:
>
>> Okay, I've reinstalled and after installation was successful, I entered
>> the following commands in the shell:
>>
>> mount /dev/sd0a /mnt
>> cp /usr/mdec/ofwboot /mnt/boot
>> /usr/mdec/installboot /mnt/boot /usr/mdec/bootxx /dev/rsd0a
>>
>> No errors.
>>
>> So then I rebooted into Open Firmware. The 7600 says it has Open Firmware
>> 1.0.5. What magical incantations do I need to enter to boot now from the
>> SCSI drive?
>>
>> Entering 'boot scsi-int/sd@0,0' got the reply 'Can't load from device' if
>> memory serves.
>>

Bill Studenmund

unread,
Jul 25, 2000, 3:00:00 AM7/25/00
to
Cleaning out old EMail...

On Tue, 11 Jul 2000, Jim Ferr wrote:

> So now I'm trying 'fsck -y /dev/sd0a' and fsck refuses to work without
> fstab and I don't know what parameter to pass fsck to ignore fstab...
> That's my new problem. If need be I can erase this mess and reinstall but
> the question still stands, are there step-by-step instructions a new user
> can follow to get past this point? My OF is 1.1 according to its splash
> screen.

Try "fsck -u /dev/rsd0a" - fsck need the raw partition, not the block
device. :-)

Take care,

Bill


0 new messages