On Sun, Jul 05, 2009 at 10:52:41PM -0700, patrick keshishian wrote:
> Greetings,
>
> I grabbed a snapshot from July 3rd to install on my macppc.
> I've been meaning to get rid of my MacOS X partition off of
> this ibook for a while, and this installation was going to
> be the one to do it.
>
> So I think I was doing things correctly to achieve this goal,
> namely, choosing MBR vs HFS during the install and using the
> entire disk for obsd. But as you can see the HFS partition
> would not go away, even though the installer said it was
> creating "a 1MB DOS partition and an OpenBSD partition for
> rest of wd0" you can see the HFS partition in the subsequent
> disklabel output.
>
> I tried a few things to get rid of the HFS, including deleting
> it from fdisk, fdisk -i, editing the disklabel (using "E"
> option during install) and deleting slices and saving the
> disklabel and re-running the installer (rebooting off CDR).
>
> Even when fdisk shows the HFS partitions are gone, somehow
> the disklabel shows it still! [3]
>
> Finally I escaped to shell and resorted to:
>
> $ dd if=/dev/zero of=/dev/wd0c count=10240 bs=1024
>
> before I saw the HFS partition reference completely gone
> from the disklabel output and the 1MB MSDOS partition show
> up [4].
>
> I didn't dig through the installer, but is there some sort
> of caching issue here, or something more odd is at play?
If there's a apple partition map, the kernel will use that to fill
entries in the spoofed disklabel Kinda like it reads MBR on i386 and
amd64.
So you need to wipe the apple partition map to get rid of the HFS
partition(s), and dd is good for that.
>
>
> I took photos, hope you don't mind. I figured that way I
> would avoid typos.
>
> The first photo [1] is the first run of the installer. I
> should've taken some notes while I was doing this this but
> unfortunately I didn't: I think the second photo [2] is
> after changes to the disklabel ("E" options) -- but I may
> be wrong. Next photo [3] is after I ran `fdisk -i wd0'. The
> final photo [4] is after the `dd' zero-ing out some of wd0
> when things started to look "better".
>
> Maybe I'm doing something really wrong here, so feel free
> to point out my mistake(s).
>
>
> Also, I'm curious, where did the installer get the idea
> that I'm in US/Pacific? IIRC, in the past times, it always
> choose Canada/Eastern. Did the default change or is the
> installer getting "smarter" (somehow)?
It's getting smarter.
-Oto