Skip to content

Instantly share code, notes, and snippets.

@tsutsui
Created May 28, 2024 17:43
Show Gist options
  • Save tsutsui/e9388dda01e855da1ee83f19fed83c54 to your computer and use it in GitHub Desktop.
Save tsutsui/e9388dda01e855da1ee83f19fed83c54 to your computer and use it in GitHub Desktop.
MacOS 8 and NetBSD/macppc 10.0 dual boot on Apus 2000/200 (OpenFirmware 2.0)
Open Firmware, 2.0
To continue booting the MacOS type:
BYE<return>
To continue booting from the default boot device type:
BOOT<return>
ok
0 > boot
OF_open bootpath=ata/ATA-Disk@0
read stage 2 blocks: 01234. done!
starting stage 2...
>> NetBSD/macppc OpenFirmware Boot, Revision 1.14 (Thu Mar 28 08:33:33 UTC 2024)
>> Open Firmware version 2.x
>> Open Firmware running in virtual-mode.
Cannot use bootpath
Using boot-device instead
11800060+167172 [463008+446635]=0xc481e4
start=0x100000
[ 1.0000000] Copyright (c) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003,
[ 1.0000000] 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2011, 2012, 2013,
[ 1.0000000] 2014, 2015, 2016, 2017, 2018, 2019, 2020, 2021, 2022, 2023,
[ 1.0000000] 2024
[ 1.0000000] The NetBSD Foundation, Inc. All rights reserved.
[ 1.0000000] Copyright (c) 1982, 1986, 1989, 1991, 1993
[ 1.0000000] The Regents of the University of California. All rights reserved.
[ 1.0000000] NetBSD 10.0 (GENERIC) #0: Thu Mar 28 08:33:33 UTC 2024
[ 1.0000000] mkrepro@mkrepro.NetBSD.org:/usr/src/sys/arch/macppc/compile/GENERIC
[ 1.0000000] total memory = 144 MB
[ 1.0000000] avail memory = 125 MB
[ 1.0000000] found ohare PIC at f3000000
[ 1.0000000] bootpath: ata/ATA-Disk@0/netbsd
[ 1.0000000] mainbus0 (root)
[ 1.0000000] valkyriefb0 at mainbus0 address 0xf1000000
[ 1.0000000] memory0 at mainbus0
[ 1.0000000] bandit0 at mainbus0
[ 1.0000000] pci0 at bandit0 bus 0
[ 1.0000000] pchb0 at pci0 dev 11 function 0
[ 1.0000000] pchb0: Apple Computer Bandit Host-PCI Bridge (rev. 0x02)
[ 1.0000000] ex0 at pci0 dev 13 function 0: 3Com 3c905B-TX 10/100 Ethernet (rev. 0x30)
[ 1.0000000] ex0: interrupting at irq 23
[ 1.0000000] ex0: MAC address 00:50:04:65:51:1a
[ 1.0000000] exphy0 at ex0 phy 24: 3Com internal media interface
[ 1.0000000] exphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto
[ 1.0000000] VIA Technologies VT83C572 USB Controller (USB serial bus, UHCI, revision 0x04) at pci0 dev 14 function 0 not configured
[ 1.0000000] obio0 at pci0 dev 16 function 0: addr 0xf3000000
[ 1.0000000] mesh0 at obio0 offset 0x10000 irq 12: 50MHz, SCSI ID 7
[ 1.0000000] scsibus0 at mesh0: 8 targets, 8 luns per target
[ 1.0000000] zsc0 at obio0 irq 15,16
[ 1.0000000] zstty0 at zsc0 channel 0 (console i/o)
[ 1.0000000] zstty1 at zsc0 channel 1
[ 1.0000000] awacs0 at obio0 offset 0x14000: irq 17,8,9
[ 1.0000000] awacs0: speaker
[ 1.0000000] audio0 at awacs0: playback, capture, full duplex
[ 1.0000000] audio0: slinear_be:16 2ch 44100Hz, blk 4096 bytes (23.2ms) for playback
[ 1.0000000] audio0: slinear_be:16 2ch 44100Hz, blk 4096 bytes (23.2ms) for recording
[ 1.0000000] spkr0 at audio0: PC Speaker (synthesized)
[ 1.0000000] wsbell at spkr0 not configured
[ 1.0000000] swim3 at obio0 offset 0x15000 not configured
[ 1.0000000] nvram0 at obio0 offset 0x60000
[ 1.0000000] cuda0 at obio0 offset 0x16000 irq 18
[ 1.0000000] nadb0 at cuda0: Apple Desktop Bus
[ 1.0000000] iic0 at cuda0: I2C bus
[ 1.0000000] videopll0 at iic0 addr 0x50: Apple onboard video PLL
[ 1.0000000] wdc0 at obio0 offset 0x20000 irq property not found; using 13: DMA transfer
[ 1.0000000] atabus0 at wdc0 channel 0
[ 1.0000000] vmmask 7cc00000 schedmask 7fc00000 highmask 7fc00000
[ 1.0001122] scsibus0: waiting 2 seconds for devices to settle...
[ 1.0299862] WARNING: system needs entropy for security; see entropy(7)
[ 1.3499071] adbkbd0 at nadb0 addr 2: extended keyboard
[ 1.3799111] wskbd0 at adbkbd0 mux 1
[ 1.3799111] wsmouse0 at adbkbd0 mux 0
[ 4.2800630] wd0 at atabus0 drive 0
[ 4.2800630] wd0: <MZ-5S71000-0D3>
[ 4.2800630] wd0: 95396 MB, 193821 cyl, 16 head, 63 sec, 512 bytes/sect x 195371568 sectors
[ 4.7300952] cd0 at scsibus0 target 3 lun 0: <MATSHITA, CD-ROM CR-8024, 2.0e> cdrom removable
[ 6.4900899] swwdog0: software watchdog initialized
[ 6.5201542] valkyriefb0: switched to 800 x 600 in 8 bit colour
[ 6.5800895] wsdisplay1 at valkyriefb0 kbdmux 1
[ 6.5800895] valkyriefb0: switched to 800 x 600 in 8 bit colour
[ 6.6500967] wsdisplay2 at valkyriefb0 kbdmux 1
[ 6.6701634] boot device: wd0
[ 6.6801263] root on wd0a dumps on wd0b
[ 6.7001705] root file system type: ffs
[ 6.7201543] kern.module.path=/stand/macppc/10.0/modules
[ 6.9201536] entropy: best effort
/etc/rc.conf is not configured. Multiuser boot aborted.
Enter pathname of shell or RETURN for /bin/sh:
# disklabel wd0
# /dev/rwd0:
type: ESDI
disk: wd0
label: fictitious
flags:
bytes/sector: 512
sectors/track: 63
tracks/cylinder: 16
sectors/cylinder: 1008
cylinders: 193821
total sectors: 195371568
rpm: 3600
interleave: 1
trackskew: 0
cylinderskew: 0
headswitch: 0 # microseconds
track-to-track seek: 0 # microseconds
drivedata: 0
4 partitions:
# size offset fstype [fsize bsize cpg/sgs]
a: 178257920 16777216 4.2BSD 0 0 0 # (Cyl. 16644*- 193487*)
b: 336432 195035136 swap # (Cyl. 193487*- 193820)
c: 195371568 0 unused 0 0 # (Cyl. 0 - 193820)
d: 16776640 64 HFS # (Cyl. 0*- 16643*)
disklabel: boot block size 0
disklabel: super block size 0
# pdisk /dev/rwd0c
Edit /dev/rwd0c -
Command (? for help): p
Partition map (with 512 byte blocks) on '/dev/rwd0c'
#: type name length base ( size )
1: Apple_partition_map Apple 63 @ 1
2: Apple_HFS MacOS 16776640 @ 64 ( 8.0G)
3: Apple_Driver_ATA*Macintosh_Bs 512 @ 16776704
4: Apple_UNIX_SVR2 NetBSD 178257920 @ 16777216 ( 85.0G) S0 RUFS k0 /
5: Apple_UNIX_SVR2 NetBSD_swap 336432 @ 195035136 (164.3M) S1 SFS k0 (swap)
Device block size=512, Number of Blocks=195371568 (93.2G)
DeviceType=0x0, DeviceId=0x0
Drivers-
1: 11 @ 16776704, type=0x701
Command (? for help): q
#
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment