List Info

Thread: PowerBook 2400 OF HD Boot Syntax




PowerBook 2400 OF HD Boot Syntax
user name
2006-09-06 03:22:09
This is driving me crazy! I got NetBSD/macppc 3.0.1
installed using  
the boot floppies and the CD on my PowerBook 2400. After the
 
installation completed, I rebooted and now I am trying to
figure out  
what the correct Open Firmware boot-file syntax is. I
figured out  
that the correct boot-device is:

/bandit/ohare/ata/ata-disk0:0

I have tried a bunch of boot-file commands like:

/bandit/ohare/ata/ata/disk0:0,\netbsd
/bandit/ohare/ata/ata/disk0:1,\netbsd
/bandit/ohare/ata/ata/disk0:2,\netbsd
etc.

And:

/bandit/ohare/ata/ata/disk0:0,/netbsd
etc.

Does anyone have a 2400 or 3400 that they are booting from
the  
internal hd with? I would greatly appreciate your boot
syntax! Thank  
you.

Bryan
PowerBook 2400 OF HD Boot Syntax
user name
2006-09-06 07:09:44
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hello,

On Sep 5, 2006, at 23:22, Bryan Vyhmeister wrote:

> This is driving me crazy! I got NetBSD/macppc 3.0.1
installed using 
> the boot floppies and the CD on my PowerBook 2400.
After the 
> installation completed, I rebooted and now I am trying
to figure out 
> what the correct Open Firmware boot-file syntax is. I
figured out that 
> the correct boot-device is:
>
> /bandit/ohare/ata/ata-disk0:0

That looks wrong - what kind of error message do you get?

> I have tried a bunch of boot-file commands like:
>
> /bandit/ohare/ata/ata/disk0:0,\netbsd
> /bandit/ohare/ata/ata/disk0:1,\netbsd
> /bandit/ohare/ata/ata/disk0:2,\netbsd
> etc.

Those won't work. OF can't load the kernel directly, you
need to load a 
bootloader first, either from partition zero ( ...disk0:0 ) or
from a 
filesystem OF understands ( ...disk0:,\ofwboot.xcf )

First figure out the right path. There's probably already a
 devalias 
defined for your ide controller. Something like 'boot
ide0/0:0' might 
work.

If not you need to figure out where in the OF tree your
disks are.

have fun
Michael
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.4 (Darwin)

iQEVAwUBRP50OMpnzkX8Yg2nAQI4vwf8CIbTj4AnLUyWyIERHuPRL6CFBkKY
6voJ
PkIguqzhEn9gWdAbPLC5PJlSqQGpObUvUVOfWDml5MO6LVCdNdi3bNJowl1i
+a0p
fwkIKBwEl0dYnosMwLrcKWdflSKXFDC17kT5IV3kSBXaqeHr1zc2uNZHnbOC
xaM8
V6kRGoIARut58/3Kz6giyjGI9orn/6pXrAGEzrXivITDAO3Ty9KbaZrLH60R
8gIh
SurhC+Pf6TYIgkWP0hMDGe0j/Ki172OVH5regZJwCEu/U8SQuZhrbdRbvaHF
B/wz
kiYVmxo6eu+zlafsoGtzrAUkMYxf2fWHe3dme1v/wGytdLyh19/BtQ==
=sRmH
-----END PGP SIGNATURE-----

PowerBook 2400 OF HD Boot Syntax
user name
2006-09-06 08:43:30
On Sep 6, 2006, at 12:09 AM, Michael Lorenz wrote:

> Hello,
>
> On Sep 5, 2006, at 23:22, Bryan Vyhmeister wrote:
>
>> This is driving me crazy! I got NetBSD/macppc 3.0.1
installed  
>> using the boot floppies and the CD on my PowerBook
2400. After the  
>> installation completed, I rebooted and now I am
trying to figure  
>> out what the correct Open Firmware boot-file syntax
is. I figured  
>> out that the correct boot-device is:
>>
>> /bandit/ohare/ata/ata-disk0:0
>
> That looks wrong - what kind of error message do you
get?

It looks wrong but it is correct. Using the devalias is
easier. I  
figured out the devalias command just after I posted this. I
remember  
figuring all this out three years ago or so but I didn't
keep good  
notes. I could kick myself for that.

The correct boot-device string for the PowerBook 2400 is:

ata-int/ata-disk0:0

That boots into the partition zero bootloader. It starts
loading  
stage two but it cannot find the kernel. It says it is
trying to  
load /NETBSD but the error message says device not
configured. Maybe  
this is a problem with NetBSD 3.0.1. I was thinking about
trying - 
current tomorrow or possibly attempting to go back to 2.1 or
even 1.6.

Bryan
PowerBook 2400 OF HD Boot Syntax
user name
2006-09-06 17:58:13
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hello,

On Sep 6, 2006, at 04:43, Bryan Vyhmeister wrote:

> On Sep 6, 2006, at 12:09 AM, Michael Lorenz wrote:
>
>> Hello,
>>
>> On Sep 5, 2006, at 23:22, Bryan Vyhmeister wrote:
>>
>>> This is driving me crazy! I got NetBSD/macppc
3.0.1 installed using 
>>> the boot floppies and the CD on my PowerBook
2400. After the 
>>> installation completed, I rebooted and now I am
trying to figure out 
>>> what the correct Open Firmware boot-file syntax
is. I figured out 
>>> that the correct boot-device is:
>>>
>>> /bandit/ohare/ata/ata-disk0:0
>>
>> That looks wrong - what kind of error message do
you get?
>
> It looks wrong but it is correct. Using the devalias is
easier. I 
> figured out the devalias command just after I posted
this. I remember 
> figuring all this out three years ago or so but I
didn't keep good 
> notes. I could kick myself for that.
>
> The correct boot-device string for the PowerBook 2400
is:
>
> ata-int/ata-disk0:0
>
> That boots into the partition zero bootloader. It
starts loading stage 
> two but it cannot find the kernel. It says it is trying
to load 
> /NETBSD but the error message says device not
configured. Maybe this 
> is a problem with NetBSD 3.0.1. I was thinking about
trying -current 
> tomorrow or possibly attempting to go back to 2.1 or
even 1.6.

hmm, loading /NETBSD is wrong - should be just netbsd.

Ok, try this:
setenv boot-device ata-int/ata-disk0:0
setenv boot-file netbsd
reset-all

and then just
boot

when the boot loader asks for a kernel name then something
went wrong - 
it should try 'netbsd' first. Better check if the kernel
is there at 
all.

have fun
Michael
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.4 (Darwin)

iQEVAwUBRP8MNcpnzkX8Yg2nAQIFtAf9EJXfVCkSpWos/R5wSvfHNC5uNWEa
t/27
TdntC3Bx3A5yHO9hu4drTyGjWbOitvkg6tLge0GHYSOYpJmGyALHBxXsc1G6
9DWs
N7s8+am5gYhwZIDcn9buIHRbKW9VF4KHIe+lwOkPtCMXitPpVoDZvrWpajVh
Y9Zb
R9yH0HrDxKcCKkEVmvDpYHb/sC5dkxabmZMCXScQIvSSZAeURST4J4X18M5V
fn1W
Jfah74RxKxGkrhhb0OqfVywDP3d2V+A+PaHBuYHvWxLqwarYwzUwsvMP7jOT
GQWD
c2UzwePzzh8eOiEQk0yknREH0HMMAFxCx3YJBETy0YrhQXilu0AU0g==
=u69Q
-----END PGP SIGNATURE-----

PowerBook 2400 OF HD Boot Syntax
user name
2006-09-06 18:32:01
On Sep 6, 2006, at 10:58 AM, Michael wrote:

>> It looks wrong but it is correct. Using the
devalias is easier. I  
>> figured out the devalias command just after I
posted this. I  
>> remember figuring all this out three years ago or
so but I didn't  
>> keep good notes. I could kick myself for that.
>>
>> The correct boot-device string for the PowerBook
2400 is:
>>
>> ata-int/ata-disk0:0
>>
>> That boots into the partition zero bootloader. It
starts loading  
>> stage two but it cannot find the kernel. It says it
is trying to  
>> load /NETBSD but the error message says device not
configured.  
>> Maybe this is a problem with NetBSD 3.0.1. I was
thinking about  
>> trying -current tomorrow or possibly attempting to
go back to 2.1  
>> or even 1.6.
>
> hmm, loading /NETBSD is wrong - should be just netbsd.
>
> Ok, try this:
> setenv boot-device ata-int/ata-disk0:0
> setenv boot-file netbsd
> reset-all
>
> and then just
> boot
>
> when the boot loader asks for a kernel name then
something went  
> wrong - it should try 'netbsd' first. Better check if
the kernel is  
> there at all.

I tried this before and it didn't work but I just tried it
again. I  
get the message:

no active packageopen netbsd: Device not configured
Boot:

The kernel may very well not be there. I'll check.

Bryan
PowerBook 2400 OF HD Boot Syntax
user name
2006-09-06 22:28:07
On Sep 6, 2006, at 11:32 AM, Bryan Vyhmeister wrote:

> On Sep 6, 2006, at 10:58 AM, Michael wrote:
>
>>> It looks wrong but it is correct. Using the
devalias is easier. I  
>>> figured out the devalias command just after I
posted this. I  
>>> remember figuring all this out three years ago
or so but I didn't  
>>> keep good notes. I could kick myself for that.
>>>
>>> The correct boot-device string for the
PowerBook 2400 is:
>>>
>>> ata-int/ata-disk0:0
>>>
>>> That boots into the partition zero bootloader.
It starts loading  
>>> stage two but it cannot find the kernel. It
says it is trying to  
>>> load /NETBSD but the error message says device
not configured.  
>>> Maybe this is a problem with NetBSD 3.0.1. I
was thinking about  
>>> trying -current tomorrow or possibly attempting
to go back to 2.1  
>>> or even 1.6.
>>
>> hmm, loading /NETBSD is wrong - should be just
netbsd.
>>
>> Ok, try this:
>> setenv boot-device ata-int/ata-disk0:0
>> setenv boot-file netbsd
>> reset-all
>>
>> and then just
>> boot
>>
>> when the boot loader asks for a kernel name then
something went  
>> wrong - it should try 'netbsd' first. Better
check if the kernel  
>> is there at all.
>
> I tried this before and it didn't work but I just
tried it again. I  
> get the message:
>
> no active packageopen netbsd: Device not configured
> Boot:
>
> The kernel may very well not be there. I'll check.

I checked the partition and the kernel is there. The only
thing that  
I just thought of is that the filesystem is FFSv2. Does that
make a  
difference? I am going to reinstall in a minute to see if
that makes  
a difference.

Bryan
[1-6]

about | contact  Other archives ( Real Estate discussion Medical topics )