入口
    OF 1/2 の場合
    OF 3 の場合
      設置後すぐ
      CDROM 無で
    Mac OS の場合
    その他
  NetBSD
  Booting Media
Primary
  bootxx
Secondary
  xcf/elf
    release(7)
    /usr/mdec
ofwboot
  Locore.c
  boot.c
    main()
    boot-file
    chain()
    OF_chain()
kernel(1)
  locore.S
  machdep.c
    initppc()
kernel(2)
  init_main.c
    main()
その他
  installboot
    旧版
    新版
    実例
  DEFAULT CATCH
GENERIC_MD
  mdsetimage

NetBSD/macppc booting

実例

以前のようにやって見たら、うまく行かない
# installboot -n -v /boot bootxx /dev/rwd0a
File system:         /boot
File system type:    raw (blocksize 8192, needswap 0)
Primary bootstrap:   bootxx
Secondary bootstrap: /dev/rwd0a
installboot: Need `-B bno' for raw file systems
installboot: Set bootstrap operation failed
-n /dev/wd0a
# installboot -n -v -t ffs /dev/wd0a bootxx /boot
installboot: Opening file system `/dev/wd0a' read-only: Device busy
-n /dev/rwd0a
# installboot -n -v -t ffs /dev/rwd0a bootxx /boot
File system:         /dev/rwd0a
File system type:    ffs (blocksize 8192, needswap 0)
Primary bootstrap:   bootxx
Secondary bootstrap: /boot
Bootstrap start sector: 4
Bootstrap byte count:   1764
Bootstrap block table:  118 entries of 8192 bytes available, 8 used: 2128 2144 2160 2176 2192 2208 2224 2106
Not writing bootstrap
/dev/wd0a
# installboot -v -t ffs /dev/wd0a bootxx /boot
installboot: Opening file system `/dev/wd0a' read-write: Device busy
/dev/rwd0a (これでやっとうまく行く)
# installboot -v -t ffs /dev/rwd0a bootxx /boot
File system:         /dev/rwd0a
File system type:    ffs (blocksize 8192, needswap 0)
Primary bootstrap:   bootxx
Secondary bootstrap: /boot
Bootstrap start sector: 4
Bootstrap byte count:   1764
Bootstrap block table:  118 entries of 8192 bytes available, 8 used: 2128 2144 2160 2176 2192 2208 2224 2106
Writing bootstrap
1.6.1 CDROM, after installboot
# ./installboot -v -m macppc /dev/rsd0a /mnt/usr/mdec/bootxx /boot
File system:         /dev/rsd0a
File system type:    ffs (blocksize 8192, needswap 0)
Primary bootstrap:   /mnt/usr/mdec/bootxx
Secondary bootstrap: /boot
Bootstrap start sector: 4
Bootstrap byte count:   1764
Bootstrap block table:  118 entries of 8192 bytes available, 8 used: 2192 2208 2224 2240 2256 2272 2288 2164
Writing bootstrap
Last Update: Fri, 03 May 2019 15:45:20 GMT 1.66 2008/03/08