Port-macppc archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: Installing NetBSD on an iBook G4


On Fri, 14 Apr 2017 13:54:34 +0200
Alexander Klein <xelalex_maker%web.de@localhost> wrote:

> Am 13.04.2017 um 17:49 schrieb Michael:
> > What you can do is this - write down the sizes and offsets of your
> > fdisk partitions and create matching partitions with disklabel - that's
> > really all mbrlabel does.  
> Valery and Michael,
> thank you for your help!
> I managed to partition the disk with fdisk using wd0 as the device. This 
> seems to get redirected to wd0c, which represents the whole disk.
> However, disklabel invariably refuses to write the label to disk, no 
> matter if I place the MSDOS- or the NetBSD-partition in slot 0:
> disklabel: ioctl DIOCWDINFO: Label magic number or checksum is wrong!
> (disklabel or kernel is out of date?)
> Label not written

Looks like the kernel thinks there's an invalid label somewhere. Try
disklabel -Ii, that should write the label directly to the disk instead
of using ioctl()s. It may also help to zero the first couple sectors of
the disk before partitioning, in order to remove all traces of the old
apple partition table, which may confuse OF and others.

have fun

Home | Main Index | Thread Index | Old Index