|
|
|
実例
- 以前のようにやって見たら、うまく行かない
-
# 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
|
|
|