Re: ibook + USB hard drive = yaboot failure
When I got the drive, it had one big FAT32 partition. I just fired up the
debian net install CD and used it to do the partitioning.
Parted shows me this:
# parted /dev/sda print
Disk geometry for /dev/sda: 0kB - 160GB
Disk label type: mac
Number Start End Size File system Name Flags
1 1kB 32kB 32kB Apple
2 33kB 2033kB 2000kB hfs debian boot
3 2033kB 10GB 10GB reiserfs untitled
4 10GB 30GB 20GB reiserfs untitled
5 30GB 31GB 1000MB linux-swap swap swap
The 10GB and 20GB partitions are / and /home respectively.
Oddly enough, mac-fdisk (0.4a2) won't print the partition table. Instead,
when I type "p" to print the table, it shows the same information as if I had
hit "P" for "print ordered by base address". If I let either of those
options keep printing lines, it will eventually segfault.
Thanks for the help,
On Friday 14 July 2006 03:14 am, brian wrote:
> yes, using ybin, according to "man bootstrap" (man page is not
> always best in linix, but here it is, very good actually)
> and also might
> consider reformatting just the yaboot partition, with parted before
> reinstalling yaboot with ybin (rather than the whole disk).
> caution: the write map command in parted would erase the entire
> partition table, thus loosing your install. parted writes whatever
> you do, unlike mac-fdisk which only writes with the "w" command.
> but if you are careful you should be able to do all this inside your
> i think what Mr CS was describing was the partition map. that is usually
> followed by a bunch of device drivers, then the small 0.8-1.0MB yaboot
> partition - which often seems to be called the first partition, even though
> it is hda9 on my disk
> what did you use to partition in the (very) first place ? was it a current
> (aka usb2. aware) tool ? IMHO the only way system restore would help
> is if something is wrong on your macosintall. in which case maybe
> better use parted to also split your linix root for a macos backup
> partition !!
> if you look at your disk in linix with parted or
> mac-fdisk, or both, what do the partition maps look like. are all
> the labels consistent, with each other as well as the description
> from the "man bootstrap" command ?
> Michael Hrivnak <firstname.lastname@example.org> wrote: Thanks for the advice. For
> the time, I am travelling all summer and will be without my apple rescue
> disk for another month or so. Is there another way to "bless" the Apple
> In the mean time, I'm trying to get my synaptics touchpad detected and the
> 2.6.15-1-powerpc kernel booted. Stand by for more potential questions....
> On Wednesday 12 July 2006 07:56 am, Chasecreek Systemhouse wrote:
> > [Grrr .. sorry for following-up my own post]
> > On 7/12/06, Chasecreek Systemhouse wrote:
> > > 2) Some boot managers expect it to be separate and formated as ext2
> > > (as opposed to ext3) -- however these days yaboot can see the boot
> > > software even inside / when formated at ext3.
> > >
> > > On PowerPC (read Apple) hard drives it must be formated as HFSl on
> > > Ultrasparcs it must be formated as a recognized SUN Disk Label (which
> > > I give again, as an example.)
> > This is the way the drive *must* be laid out before the OpenFirmware
> > Boot manager will "see" it (I list it the way I know it will always
> > work for *me* but YMMV because while I have used various types of
> > 'linux' on a couple hundred Macs I realise that there can still be
> > "gotchas" floating around, and people's experience levels vary a great
> > deal) -
> > /dev/[hs]d?1 -- Apple Disk Label as created by the Apple Disk
> > Formatter; it is usually ~32KB in size...
> > /dev/[hs]d?2 -- Linux OpenBoot Partition, must be formatted 1MB and be
> > created as HFS not HFS+ or ext2/3.
> > Beyond those two required partitions I don't see any issues with
> > laying out the disk anyway you want; but those two are not negotiable.
> > This advice falls under the "Works for me" category =)
> > --
> > WC (Bill) Jones -- http://youve-reached-the.endoftheinternet.org/