NetBSD-3.0.1 インストール備忘録 (NetBSD/i386)

[2006/09/25]
CD-ROM等にイメージ焼くのが面倒だったんで、ftpでファイル取ってきて くれるイントールにした。楽チン。 ftp://ftp.jp.netbsd.org/pub/NetBSD/NetBSD-3.0.1/i386/installation/floppy/ で以下の 2ファイルゲット これを rawrite.exe 等を使ってFDに書き込む。boot1.fsを書いた方のFDでブートする。 途中でboot2.fsのFDも促されるので従う。

1.

 Welcome to sysinst, the NetBSD-3.0.1 system installation tool. This
 menu-driven tool is designed to help you install NetBSD to a hard disk, or
 upgrade an existing NetBSD system, with a minimum of work.
 In the following menus type the reference letter (a, b, c, ...) to select an
 item, or type CTRL+N/CTRL+P to select the next/previous item.
 The arrow keys and Page-up/Page-down may also work.
 Activate the current selection from the menu by typing the enter key.



               ┌───────────────────────┐
               │>a: Installation messages in English          │
               │ b: Messages d'installation en Fran?ais       │
               │ c: Installation auf Deutsch                  │
               │ d: Komunikaty instalacyjune w jezyku polskim │
               │ e: Mensajes de instalaction en Espanol       │
               └───────────────────────┘



      

2.

 Welcome to sysinst, the NetBSD-3.0.1 system installation tool. This
 menu-driven tool is designed to help you install NetBSD to a hard disk, or
 upgrade an existing NetBSD system, with a minimum of work.
 In the following menus type the reference letter (a, b, c, ...) to select an
 item, or type CTRL+N/CTRL+P to select the next/previous item.
 The arrow keys and Page-up/Page-down may also work.
 Activate the current selection from the menu by typing the enter key.

                       ┌──────────────┐
                       │ Keybooard type             │
                       │                            │
                       │ a: unchanged               │
                       │ b: US-English              │
                       │ c: UK-English              │
                       │ d: Belgian                 │
                       │ e: Danish                  │
                       │ f: Finnish                 │
                       │ g: French                  │
                       │ h: German                  │
                       │ i: Hungarian               │
                       │ j: Italian                 │
                       │>k: Japanese                │
                       │ <: page up, > : page down  │
                       └──────────────┘

3.

 Welcome to sysinst, the NetBSD-3.0.1 system installation tool. This
 menu-driven tool is designed to help you install NetBSD to a hard disk, or
 upgrade an existing NetBSD system, with a minimum of work.
 In the following menus type the reference letter (a, b, c, ...) to select an
 item, or type CTRL+N/CTRL+P to select the next/previous item.
 The arrow keys and Page-up/Page-down may also work.
 Activate the current selection from the menu by typing the enter key.

 If you booted from a floppy, you may now remove the disk.

 Thank you for using NetBSD !

              ┌───────────────────────┐
              │ NetBSD-3.0.1 Install System                  │
              │                                              │
              │>a: Install NetBSD to hard disk               │
              │ b: Upgrade NetBSD on a hard disk             │
              │ c: Re-install sets or install additional sets│
              │ d: Reboot the computer                       │
              │ e: Utility menu                              │
              │ x: Exit Install System                       │
              └───────────────────────┘

4.

 You have chosen to install NetBSD on your hard disk.  This will change
 information on your hard disk.  You should have made a full backup before
 this procedure!  This procedure will do the following things:
         a) Partion your disk
         b) Create new BSD file systems
         c) Load and install distribution sets
         d) Some initila system configuration

 (After you enter the partition information buf before your disk is changed,
 you will have the opportunity to quit this procedure.)

 Shall we continue?
                                ┌──────┐
                                │ yes or no? │
                                │            │
                                │ a: No      │
                                │>b: Yes     │
                                └──────┘


5.

 I found only one disk, wd0.
 Therefore I assume you want to install NetBSD on it.






                          ┌───────────┐
                          │>Hit enter to continue│
                          └───────────┘








6.

 The NetBSD distribution is broken into a collection of distribution sets.
 There are some basic sets that are needed by all installations and there are
 some other sets that are not needed by all installations.  You may choose to
 install all of them (Full installation) or you select from the optional
 distribution sets.





                         ┌─────────────┐
                         │ Select your distribution │
                         │                          │
                         │ a: Full installation     │
                         │>b: Custom installation   │
                         └─────────────┘






7.

 The Current MBR partition table is shown below.
 Flgs: a => Active partition, d => bootselect default, I => Install here.
 Select the partition you wish to change:

    Total disk seize 39205 MB.
               ┌───────────────────────────┐
    Start( MB) │ a:       kind: NetBSD                                │
    ---------- │ b:      start: 0MB                                   │
>a:            │ c:       size: 20002 MB                              │
 b:            │ d:        end: 20002 MB                              │
 c:            │ e:     active: Yes                                   │
 d:            │ f:    install: Yes                                   │
 e: Change inpu│ g:   bootmenu: NetBSD                                │
 x: Partition t│ h:    default: Yes                                   │
               │ i: Change input units (sectors/cylinders/MB)         │
               │>x: Partition OK                                      │
               └───────────────────────────┘




8.

 Your configuration requires the NetBSD bootselect code to select which
 operating system to use.

 It is no currently installed, do you want to install it now?





                               ┌──────┐
                               │ yes or no? │
                               │            │
                               │>a: Yes     │
                               │ b: No      │
                               └──────┘






9.

 NetBSD uses a BSD disklabel to carve up the NetBSD portion of the disk into
 multiple BSD partitions.  You must now set up your BSD disklabel.

 You can use a simple editor to set the sizes of the NetBSD partitions, or
 keep the existing partition sizes and contents.

 You will then be given the opportunity to change any of the disklabel fields.

 The NetBSD part of your disk is 20002 Megabytes.  A full installation
 requires at least 288 Megabytes without X and at least 338 Megabytes if the X
 sets are included.
                    ┌─────────────────┐
                    │ Choose your installation         │
                    │                                  │
                    │>a: Set sizes of NetBSD partitions│
                    │ b: Use existing partition sizes  │
                    └─────────────────┘





10.

 You can now change the sizes for the system partitions.  The default is to
 allocate all the space to the root file system, however you may wish to have
 separate /usr (additional system files), /var (log files etc) or /home
 (users' home directories).

 Free space will be added to the partition marked with a '+'.

        MB         Cylinders   Sectors   Filesysetm
    > 1202              2444   2463552   /
       512              1041   1049328   swap
         0                 0         0   tmp (mfs)
     18287             37155  37452240   /usr
         0                 0         0   /var
         0                 0         0   /home
    Add a user defined partition
    Change input units (sectors/cylinders/MB)
    Accept partition sizes.  Free space 0 MB, 11 free partitions.






11.

 We now have your BSD-disklabel partitions as:
 This is your last chance to change them.

    Start  MB   End  MB  Size  MB FS type   Newfs Mount Mount point
    --------- --------- --------- --------- ----- ----- -----------
 a:         0      1201      1202 FFSv1     Yes   Yes   /
 b:      1202      1714       512 swap
 c:         0     20001     20002 NetBSD partition
 d:         0     39204     39205 Whole disk
 e:      1715     20001     18287 FFSv1     Yes   Yes   /usr
 f:         0         0         0 unused
 g: Show all unused partitions
 h: Change input units (sectors/cylinders/MB)
>x: Partition size of








12.ちょい確認.

 Ok, we are now ready to install NetBSD on your hard disk (wd0). Nothing has
 been written yet.  This is your last chance to quit this process before
 anything gets changed.

 Shall we continue?



                               ┌──────┐
                               │ yes or no? │
                               │            │
                               │ a: No      │
                               │>b: Yes     │
                               └──────┘






13.

 Would you like to install the normal set of bootblocks of serial bootblocks?

 Normal bootblocks use the BIOS console device as the console (usually the
 monitor and keyboard).  Serial bootblocks use the first serial port as the
 console.

 Selected bootlock: BIOS console

                       ┌──────────────┐
                       │ Bootblocks selection       │
                       │                            │
                       │ a: Use BIOS console        │
                       │ b: Use serial port com0    │
                       │ c: Use serial port com1    │
                       │ d: Use serial port com2    │
                       │ e: Use serial port com3    │
                       │ f: Serial baud rate        │
                       │ g: Use existing bootblocks │
                       │>x: Exit                    │
                       └──────────────┘


14.

 Okay, the first part of the procedure is finished.  Sysinst has written a
 disklabel to the target disk, and newfs'ed and fsck'ed the new partitions you
 specified for the target disk.

 The next step is to fetch and unpack the distribution filesets.

 During the extraction process, what do you want to see as earch file is
 extracted?


                   ┌──────────────────┐
                   │ Select set extraction verbosity    │
                   │                                    │
                   │>a: Progress bar (recommended)      │
                   │ b: Silent                          │
                   │ c: Verbose file name listing (slow)│
                   └──────────────────┘




15.

 Your disk is now ready for installing the kernel and the distribution sets.
 As noted in your INSTALL notes, you have several options.  For ftp or nfs,
 you must be connected to a network with access to the proper machines.  If
 you are not ready to complete the installation at this time, you may select
 "none" and you will be returned to the main menu.  When you are ready at a
 later time, you may select "upgrade" from the main menu to complete the
 installation.


                            ┌──────────┐
                            │ Select medium      │
                            │                    │
                            │ a: CD-ROM / DVD    │
                            │>b: FTP             │
                            │ c: HTTP            │
                            │ d: NFS             │
                            │ e: Floppy          │
                            │ f: Unmounted fs    │
                            │ g: Local directory │
                            │ h: none            │
                            └──────────┘

16.

 I have found the following network interfaces: ex0

 Which device shall I use? [ex0]:  


















17.

 To be able to use the network, we need answers to the following:

 Network media type [autoselect]:





                     ┌────────────────┐
                     │ Perform DHCP autoconfiguration?│
                     │                                │
                     │ a: Yes                         │
                     │>b: No                          │
                     └────────────────┘






18.

 The following are the values you entered.

 NDS Domain:             foobar.bogus
 Host Name:              hogehoge.foobar.bogus
 Primary Interface:      ex0
 Host IP:                192.168.1.2
 Netmask:                0xffffff00
 IPv4 Nameserver:        192.168.1.1
 IPv4 Gateway:           192.168.1.254
 Media type:             autoselect
 IPv6 autoconf:          no
 IPv6 Nameserver:        <none>
                              ┌───────┐
                              │ Are they OK? │
                              │              │
                              │>a: Yes       │
                              │ b: No        │
                              └───────┘




19.

 What directory shall I use for ftp?  [/usr/INSTALL]:



















20.

 All selected distribution sets unpacked successfully.

 Making device nodes ...





     ┌─────────────────────────────────┐
     │ Is the network information you entered accurate for this machine │
     │ in regular operation and do you want it installed in /etc?       │
     │                                                                  │
     │>a: Yes                                                           │
     │ b: No                                                            │
     └─────────────────────────────────┘







21.

 Do you want to delete the NetBSD sets from /usr/INSTALL?
 (You can keep them to install/upgrade a second system.)







                                ┌────┐
                                │ Delete?│
                                │        │
                                │ a: Yes │
                                │>b: No  │
                                └────┘






22.

 The extraction of the selected sets for NetBSD-3.0.1 is complete.  The system
 is now able to boot from the selected harddisk.  To complete the
 installation, sysinst will give you the opportunity to configure some
 essential things first.






                         ┌───────────┐
                         │>Hit enter to continue│
                         └───────────┘








23.

 Please choose the timezone that fits you best from the list below.
 Press RETURN to select an entry.
 Press 'x' followed by RETURN to quit the timezone selection.

 Default:        UTC
 Selected:       UTC
 Local time:     Sun Aug 27 22:58:55 2006 UTC

                      ┌─────────────────┐
                      │ Indian/                          │
                      │ Iran                             │
                      │ Israel                           │
                      │ Jamaica                          │
                      │>Japan                            │
                      │ Kwajalein                        │
                      │ Libya                            │
                      │ MET                              │
                      │ MST                              │
                      │ MST7MDT                          │
                      │ Mexico/                          │
                      │ Mideast/                         │
                      │ <: page up, >: page down         │
                      └─────────────────┘

24.

 Please choose the password cipher to use.  NetBSD can be configured to use
 either the DES, MD5 or Blowfish schemes.

 The traditional DES scheme is compatible with most other Unix-like operating
 systems, but only the first 8 characters of nay password will be recognised.
 The MD5 and Blowfish scheme allows for longer passwords, and some would argue
 that it's more secure.

 If you have a network and intend to use NIS, please bear in mind the
 capabilities of other machines on your network.

 If you are upgrading and would like to keep configuration unchanged, choose
 the last option "do not change".


                          ┌───────────┐
                          │ Password cipher      │
                          │                      │
                          │>a: DES               │
                          │ b: MD5               │
                          │ c: Blowfish 2^7 round│
                          │ d: do not change     │
                          └───────────┘

25.

 The root password of the newly installed system has not yet been initialized
 and is thus empty.  Do you want to set a root password for the system now?






                               ┌──────┐
                               │ yes or no? │
                               │            │
                               │>a: Yes     │
                               │ b: No      │
                               └──────┘







26.

     Status: Runnning
    Command: passwl -l root

--------------------------------------------------------------------------------
Changing local password for root.
New password: 
















27.

 You can now select which shell to use for the root user.  The default is
 /bin/sh, but you may prefer another one.









                              ┌──────┐
                              │ Root shell │
                              │            │
                              │>a: /bin/sh │
                              │ b: /bin/ksh│
                              │ c: /bin/csh│
                              └──────┘



28.

 The installation of NetBSD-3.0.1 is now complete.  The system should boot
 from hard disk.  Follow the instructions in the INSTALL decument about final
 configuration of your system.  The afterboot(8) manpage is another
 recommended reading: it contains a list of things to be checked after the
 first complete boot.

 At a minimum, you should edit /etc/rc.conf to match your needs.  See
 /etc/defaults/rc.conf for the default values.

                          ┌───────────┐
                          │>Hit enter to continue│
                          └───────────┘









29.

 Welcome to sysinst, the NetBSD-3.0.1 system installation tool.  This
 menu-dirven tool is designed to help you install NetBSD to a hard disk, or
 upgrade an existing NetBSD system, with a minimum of work.
 In the following menus type the reference letter (a, b, c, ...) to select an
 item, or type CTRL+N/CTRL+P to select the next/previous item.
 The arrow keys and Page-up/Page-down may also work.
 Activate the current selection from the menu by typing the enter key.

 If you booted from a floppy, you may now remove the disk.

 Thank you for using NetBSD!

              ┌───────────────────────┐
              │ NetBSD-3.0.1 Install System                  │
              │                                              │
              │ a: Install NetBSD to hard disk               │
              │ b: Upgrade NetBSD on a hard disk             │
              │ c: Re-install sets or install additional sets│
              │>d: Rebbot the computer                       │
              │ e: Utiilty menu                              │
              │ x: Exit Install System                       │
              └───────────────────────┘

以上。
本当は NetBSD-3.0.1/hpcsh, hpcarmを試してみたいのだが母艦が必要なんで。 まずは NetBSD/i386から。


※個人の備忘録ですんで間違いあるかも。``AS IS''です。
2006/09/25

Copyright(C) 2006 masu, All rights reserved.
massun.masumoto@nifty.ne.jp