tech-kern archive

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

Re: wedges and gpt.



On Wed, Oct 07, 2009 at 12:34:09PM -0400, Thor Lancelot Simon wrote:
> I have fought with GPT, NetBSD and Intel Macs several times.  My basic
> complaint isn't any of these -- it's that on a disk that has *ever* had
> a GPT partition table on it, our DKWEDGE_AUTODISCOVER and GPT code
> conspire to have the alternate copy of the GPT override the BSD disklabel,
> whether that label's in an MBR partition or raw in the disklabel sector
> on the whole disk!  Macs ship with GPT partition tables, so if you take
> a Mac Mini out of the box, pop a NetBSD CD in, and reinstall it, you'll
> get all the way to the end of the install then find you can boot, but
> the kernel doesn't find the root partition you just made.
> 
> I think if we're going to keep a list of GPT and wedge-related problems
> this one should be way up there.

I don't think I saw this.. Though my kernel refused to probe my
swap partition so I had to dkctl add it in a boot script in order
for it to be recognized.. Not sure why since 'gpt show' did show
it. However, 'gpt show' did indicate that it was the same index as
the GPT secondary partition table (both were at indx '4') so when I 
saw that, it triggered my first tear-down/restart...

I didn't start with a fresh-out-of-the-box install though. I always shrunk
the OSX partition with diskutil first.


Home | Main Index | Thread Index | Old Index