List Info

Thread: DISK LABEL : invalid partition (...)




DISK LABEL : invalid partition (...)
user name
2006-07-22 12:54:41
Hi,

that's it, I've done : installed NetBSD 3.0 on my Mac
Mini.
it still dual-boot with MacOS X or at least it is supposed
to 

So I have 4 parts on my internal disk:
- pci2/ata-6D/0:2, labeled "boot", formatted in
"extended journalised
macos". it contains ofwboot.xcf from the install CD.
- pci2/ata-6D/0:4, formatted as NetBSD swap during install
- pci2/ata-6D/0:6, formatted as FFSv1 during install
- pci2/ata-6D/0:8, formatted as "extended journalised
macos". this is
where macosx is installed. this is the partition that boots
when I enter
"boot" on PROM prompt.

To try booting NetBSD, I do:
> boot pci2/ata-6D/0:2:,\ofwboot.xcf
And get "DISK-LABEL : invalid partition # can't OPEN:
pci2/ata-6D/0:2:,\ofwboot.xcf"

The partition is readable/mounted under MacOS X.

same thing when I try "boot hd:2/ofwboot.xcf"
this is my first time on macppc so I might forget some easy
;)

Any idea ?
TIA,
   Jo

DISK LABEL : invalid partition (...)
user name
2006-07-22 18:26:21
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hello,

> To try booting NetBSD, I do:
>> boot pci2/ata-6D/0:2:,\ofwboot.xcf
> And get "DISK-LABEL : invalid partition # can't
OPEN:
> pci2/ata-6D/0:2:,\ofwboot.xcf"
>
> The partition is readable/mounted under MacOS X.
>
> same thing when I try "boot
hd:2/ofwboot.xcf"
> this is my first time on macppc so I might forget some
easy ;)

try
boot hd:ofwboot.xcf
with this OF should pick the first partition it understands
( should be 
the first HFS one ) and load ofwboot.xcf from there. OF
partition 
numbering may or may not be in sync with MacOS X or NetBSD.
You will 
have to specify the kernel location like hd:6/netbsd as
well.
You may want to create the partitions from MacOS as
Apple_UFS or raw - 
NetBSD supports that ( with the right COMPAT option ) and
you'll be 
able to access the NetBSD partitions from MacOS X as well.
Stuff like 
soft dependencies work fine with it.

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

iQEVAwUBRMJtzcpnzkX8Yg2nAQKbUQf/bwskNHh4FZI8nVHrovr4k0o8JERc
KCH9
Ma+5QHSU/URJMjSv3W4XoLYFFJ2Wm1lnI8C3PwvNDxVYxZGRqWfOFU9fEZ9r
TM+1
YJzy4bASd4T7Da3McLXOiSIVQdF1hOCkrq9jel/zbSILsOfqoxwpDZBBRSrP
2qha
CS2V4MicCcFAIK7zbTzFAOhaiQ0/rjRof6n1TQLzZkuOpRQkDRYF0cEhY8/t
O4DO
1chyXz4hrgN5znm2vADN64n/dNGVA0roZPBqnkvd47KZ42/foVqxSmSwNS7a
JEm0
HZwY57ko/bG3+YQ3D/gQ2M1OcIcNKEBDvAPKHzjYOj95BCKYFdz2OQ==
=yHWE
-----END PGP SIGNATURE-----

DISK LABEL : invalid partition (...)
user name
2006-07-29 11:25:22
| From: joelcarnat.net
| Date: Sat, 22 Jul 2006 14:54:41 +0200 (CEST)

> boot pci2/ata-6D/0:2:,\ofwboot.xcf
Did you try
  boot pci2/ata-6D/0:2,ofwboot.xcf hd:6/netbsd
(no colon before comma, and no backslash)
or 
  boot hd:2,ofwboot.xcf hd:6/netbsd
?
> The partition is readable/mounted under MacOS X.

what if you see when you type on Mac OS X as,
  sudo pdisk /dev/disk0
?
[1-3]

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