Now I get ... MBR has invalid signature; not showing it. ... followed by everything working. I've installed and successfully booted from HDD ...
Ken, you rock. On 01/09/2012, Kenneth R Westerback <kwesterb...@rogers.com> wrote: > When you try the install, choose (S)hell. At the prompt try > > dd if=/dev/zero of=/dev/rwd0c bs=1m count=1 > > You may have some old HFS partition table fragments lying around. > > .... Ken > > On Sat, Sep 01, 2012 at 01:51:43PM +0930, David Walker wrote: >> Hi. >> >> I got an iBook G4 and I'm having issues. >> >> I'm going for an MBR scheme using the whole disk but I'm not sure >> fdisk is working according to the installation instructions but I >> might have a borked disk ... >> Here's what I see: >> >> Available disks are: wd0. >> Which one is the root disk? (or 'done') [wd0] Enter >> Use DUIDs rather than device names in fstab? [yes] n >> Use HFS or MBR partition table? [HFS] MBR >> >> Here I get "read failed" repeated 8 times, "3 not HFS", a print out of >> the HFS style partitions. >> The "read failed" are obviously cause for concern but I don't know if >> that's from trying to read some previous Apple stuff, something >> in-correct that's correctable by proceeding with a write, something >> that's stopping the rest of the install or whatever. >> >> Are you *sure* you want an MBR partition table on wd0? [no] y >> Disk: wd0 geometry: 116280/16/63 [117210240 Sectors] >> Offset: 0 Signature: 0xAA55 >> Starting Ending LBA Info: >> #: id C H S - C H S [ start: size ] >> >> ------------------------------------------------------------------------------- >> *0: 06 0 0 2 - 2 0 33 [ 1: 2048 ] DOS > >> 32MB >> 1: 00 0 0 0 - 0 0 0 [ 0: 0 ] >> unused >> 2: 00 0 0 0 - 0 0 0 [ 0: 0 ] >> unused >> 3: A6 4 1 2 - 116279 15 63 [ 4096: 117206144 ] OpenBSD >> Use (W)hole disk, use the (O)penBSD area, or (E)dit the MBR? [OpenBSD] >> w >> >> I guess the reason for the DOS and OpenBSD partitions is that I've >> been through this a few times. >> I've tried using the whole disk or the OpenBSD area with as far as I >> can see the same result except using the whole disk re-creates the DOS >> partition. >> >> Creating a 1MB DOS partition and an OpenBSD partition for the rest >> of wd0...done. >> /dev/rwd0i: 116720008 sectors in 15490001 FAT32 clusters (4096 >> bytes/cluster) >> bps=512 spc=8 res=32 nft=2 mid=0xf8 spt=63 hds=16 hid=262208 >> bsec=116948016 bspf=113985 rdcl=2 infs=1 bkbs=2 >> The auto-allocated layout for wd0 is: >> # size offset fstype [fsize bsize cpg] >> a: 128.0M 64 4.2BSD 2048 16384 1 # / >> c: 57231.6M 0 unused >> i: 57103.5M 262208 HFS >> Use (A)uto layout, (E)dit auto layout, or create (C)ustom layout? [a] c >> >> Here I've tried A and C but I only seem to be able to use 128MB of disk >> space. >> For instance using A ... >> /dev/rwd0a: 128.0MB in 262144 sectors of 512 bytes >> 4 cylinder groups of 32.00MB, 2048 blocks, 4096 inodes each >> /dev/wd0a on /mnt type ffs (rw, asynchronous, local) >> >> I've tried deleting i and adding b and so on but the a is using the >> entire 128MB ... >> If I delete a which as far as I can tell is not what I should be >> doing, I can add 128MB at most ... >> >> There's not enough room to install bsd and etc so I've tried >> installing bsd.rd only but when I try ... >> boot hd:,ofwboot /bsd.rd >> ... at the OF prompt I get: >> Warning: sector size mismatch! can't OPEN: hd:,ofwboot >> Cant open device or file >> >> Any advice appreciated. >> >> Best wishes.