2006年11月4日にNetBSD/macppc 3.1がリリースされました。
ここではMacマシンをNetBSD/macppc 3.1だけがインストールされている状態(クリーンインストール状態)にする手順を紹介します。
更にはVine Linux/ppcとのデュアルブートについても触れます。
以下、NetBSD/macppc 3.1を単にNetBSD/macppcと略します。
1.マシン環境
NetBSD/macppcをクリーンインストールしたMacマシン環境は以下の通りです。
|
Partition map (with 512 byte blocks) on '/dev/wd0c' #: type name length base ( size ) 1: Apple_partition_map Apple 63 @ 1 2: Apple_HFS ofwbootpart 32768 @ 64 ( 16.0M) 3: Apple_UNIX_SVR2 netbsdroot 41943040 @ 32832 ( 20.0G) S0 RUFS k0 / 4: Apple_UNIX_SVR2 netbsdswap 2097152 @ 41975872 ( 1.0G) S1 SFS k0 (swap) 5: Apple_Free Extra 116013504 @ 44073024 ( 55.3G) |
|
/etc/rc.conf is not configured. Multiuser boot aborted. |
|
NetBSD/macppc (macnetbsd31) (ttyE0) login: root Password: 〜途中略〜 NetBSD 3.1 (GENERIC) #0: Tue Oct 31 05:09:13 UTC 2006 Welcome to NetBSD! Terminal type is xterm. We recommend creating a non-root account and using su(1) for root access. macnetbsd31# |
# pdisk /dev/wd0c Edit /dev/wd0c - Command (? for help): p Partition map (with 512 byte blocks) on '/dev/wd0c' #: type name length base ( size ) 1: Apple_partition_map Apple 63 @ 1 2: Apple_HFS ofwbootpart 32768 @ 64 ( 16.0M) 3: Apple_UNIX_SVR2 netbsdroot 41943040 @ 32832 ( 20.0G) S0 RUFS k0 / 4: Apple_UNIX_SVR2 netbsdswap 2097152 @ 41975872 ( 1.0G) S1 SFS k0 (swap) 5: Apple_Free Extra 116013504 @ 44073024 ( 55.3G) Device block size=512, Number of Blocks=160086528 (76.3G) DeviceType=0x0, DeviceId=0x0 |
# disklabel wd0 disklabel: Invalid signature in mbr record 0 # /dev/rwd0c: type: unknown disk: Maxtor 6Y080L0 label: flags: bytes/sector: 512 sectors/track: 63 tracks/cylinder: 16 sectors/cylinder: 1008 cylinders: 158816 total sectors: 160086528 rpm: 3600 interleave: 1 trackskew: 0 cylinderskew: 0 headswitch: 0 # microseconds track-to-track seek: 0 # microseconds drivedata: 0 16 partitions: # size offset fstype [fsize bsize cpg/sgs] a: 41943040 32832 4.2BSD 512 4096 22616 # (Cyl. 32*- 41642*) b: 2097152 41975872 swap # (Cyl. 41642*- 43723*) c: 160086528 0 unused 0 0 # (Cyl. 0 - 158815) d: 32768 64 HFS # (Cyl. 0*- 32*) e: 116013504 44073024 unknown # (Cyl. 43723*- 158815) |
# ps aux USER PID %CPU %MEM VSZ RSS TTY STAT STARTED TIME COMMAND root 0 0.0 2.2 0 17048 ? DKs 7:11AM 0:00.20 [swapper] root 1 0.0 0.1 68 784 ? Is 7:11AM 0:00.01 init root 2 0.0 2.2 0 17048 ? DK 7:11AM 0:00.00 [atabus0] root 3 0.0 2.2 0 17048 ? DK 7:11AM 0:00.00 [atabus1] root 4 0.0 2.2 0 17048 ? DK 7:11AM 0:00.00 [usb0] root 5 0.0 2.2 0 17048 ? DK 7:11AM 0:00.00 [usbtask] root 6 0.0 2.2 0 17048 ? DK 7:11AM 0:00.00 [usb1] root 7 0.0 2.2 0 17048 ? DK 7:11AM 0:00.00 [fwohci0] root 8 0.0 2.2 0 17048 ? DK 7:11AM 0:00.00 [atapibus0] root 9 0.0 2.2 0 17048 ? DK 7:11AM 0:00.20 [pagedaemon] root 10 0.0 2.2 0 17048 ? DK 7:11AM 0:00.25 [ioflush] root 11 0.0 2.2 0 17048 ? DK 7:11AM 0:00.20 [aiodoned] root 181 0.0 0.1 176 800 ? Is 7:11AM 0:00.01 /usr/sbin/syslogd -s root 368 0.0 0.2 296 1276 ? Is 7:11AM 0:00.01 /usr/sbin/sshd root 382 0.0 0.2 1208 1592 ? Ss 7:11AM 0:00.02 sendmail: accepting connections root 403 0.0 0.1 60 776 ? Is 7:11AM 0:00.20 /usr/sbin/inetd -l root 441 0.0 0.1 36 696 ? I 7:11AM 0:00.00 /usr/libexec/getty std.38400 tty00 root 447 0.0 0.1 232 800 ? Is 7:11AM 0:00.20 /usr/sbin/cron root 589 0.0 0.4 416 3020 ? Ss 7:27AM 0:00.08 sshd: root@ttyp0 root 470 0.0 0.1 288 904 ttyp0 Ss 7:27AM 0:00.02 -ksh root 591 0.0 0.1 88 684 ttyp0 R+ 7:32AM 0:00.00 ps aux root 444 0.0 0.1 52 804 ttyE0 Is+ 7:11AM 0:00.58 /usr/libexec/getty std.9600 ttyE0 |
|
|