snapshot 19991204 |
without sysinst installation
Sysinst is NetBSD standard installation tool.
It will be invoked after floppy boot is done.
This document may NOT apply for iMac/B&W G3/PowerBook.
NetBSD Resident with MacOS partition is not just supported.
It is just not implemented yet.
Which model is supported is shown in this table.
Making boot floppy
Use suntar or Diskcopy
Getting OF(Open Firmware) prompt
By
-
using Boot Vars
OR
- get another computer connected to the serial line, and
typing (Command + Option + O + F) at power on.
(Older machine prior to B&W G3 may default to
input/output ttya which means to the serial port,
so above method is appropriate for the older models.)
get OF prompt.
( Some OF requires special setting for ouput setting, see
http://www.linuxppc.org/userguide/output_dev.html
Booting from floppy
Type following command at Open Firmware prompt,
>boot fd:0
And you will get:
erase ^H, werase ^W, kill ^U, intr ^C, status ^T
Terminal type? [vt100] xterm
Erase is backspace.
(I)nstall, (S)hell or (H)alt ?
Drop to the shell and setup network interface
(This part is no longer needed since 1.4.1)
Run sysinst
By responding I for above prompt,
you will get following dialogs.
- Welcome to sysinst, the NetBSD-1.4 system installation tool (a) to start
- 020-guide (b) to continue
- 030-disk-selection wd0 or sd0 etc,
- 040-choose-installation (a)Standard, (b)w/X, (c)Custom ?
- 050-partition ( Unless you have special
interest, recommended partition table is offered)
- 060-disk-name (I typed wrong name in this example).
- 070-are-you-sure
- 071-unknown-disk-type ( So I got an error),
- 080-newfs (if just mydisk used at 060-disk-name dialog.
- 090-fsck-OK-go-fetch-dist ( Return to continue )
- 100-full-or-custom ( Full or Custom, again )
- 110-see-filename-q ( see filenames while extracting ?
it is nice for the first time, but taking time.)
- 120-select-medium (Where and how to get binary/sets )
- 120b-nfs (Try setting up nfs from sysinst -- fails )
- 130-local-disk ( tell where to find *.tgz files )
- 140-extracting ( Just watching, please )
- 150-unpacked ( said done successfully, hit enter )
- 160-making-device-files (takes several mins, be patient.)
- 170-complete
- 180-rebooting select (d) to reboot,
actually get OF prompt again.
booting from installed disk
Above sysinst will not take care booting parameters
( in case with macppc ).
Printenv at OF prompt will show you all the varible name,
current settings and default values.
value names related to boot are shown below.
variable name | default value | my example |
auto-boot? | true | false |
boot-device | /AAPL,ROM | ata/ata-disk@0:0 |
If you get auto-boot? false,
you will be prompted what to do every time you power on.
The examples for manual booting are:
>boot scsi/sd@3:0
>boot ata/ata-disk@0:0
etc, depending on SCSI/IDE or SCSI id's.
To know the available alias for booting device, type devalias
at Open Firmware prompt.
If boot-device is set properly, you just need to type boot
even when auto-boot? set false.
My machine example here.
StarMax oddities
If you run StarMax (from Motorola), and installing onto IDE disk,
kernel booting may stop while probing wdc1.
To avoid this problem, take one out of following three.
setup /etc files
macppc version sysinst may not take care /etc files.
See another table for the list to setup
Last Update
19:53:02 03/12/08
Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)
(since 1999/07/28)