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

Re: yaboot errors on g4



Daniel Jacobowitz wrote:

> On Sat, Apr 08, 2000 at 11:23:07AM +1000, Brendan J Simon wrote:
> > The output of "pdisk /dev/hda" is
> >
> > Edit /dev/hda -
> > Command (? for help): p
> >
> > Partition map (with 512 byte blocks) on '/dev/hda'
> >  #:                type name           length   base       ( size )
> >  1: Apple_partition_map Apple              63 @ 1
> >  2:           Apple_HFS /bootstrap       1600 @ 64
> >  3:           Linux_PPC swap           524288 @ 1664       (256.0M)
> >  4:           Linux_PPC /             4194304 @ 525952     (  2.0G)
> >  5:           Linux_PPC /home        35440732 @ 4720256    ( 16.9G)
> >  6:     Apple_UNIX_SVR2 Extra      4294967295 @ 40160988   (  2.0T)
> >
> > Device block size=512, Number of Blocks=40160987 (19.2G)
> > DeviceType=0x0, DeviceId=0x0
> >
> > Command (? for help): q
>
> I beg your pardon?  That's your problem - the partition table looks
> corrupted to me.

Really.  What is it supposed to look like ?
The only strange thing I noticed is that the "extra" partition has a length of
0xffffffff.
I used pdisk to initialise the partition table with the "i" option.
I didn't know how to set the size or types of partitions using pdisk or fdisk,
so I used the LinuxPPC X based disk partitioner.  I just set the last partition
to be as large as I could get.

How do I fix the partition table ?
I want 800KB bootstrap, 256MB of swap, 2GB for "/" and the rest for "/home".

Thanks,
Brendan Simon.



Reply to: