Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

From scratch - over FTP

INSTALLATION

From scratch - over FTP

by  Faroon  Posted    (Edited  )
1. Download ntrw.exe at ftp://ftp.openbsd.org/pub/OpenBSD/3.3/tools/ntrw.exe. This program is needed to write the boot disk in BSD format.

2. Download the file ftp://ftp.openbsd.org/pub/OpenBSD/3.3/i386/floppy33.fs. In command prompt, write the file floppy33.fs to a floppy disk using command:

ntrw path/to/floppy33.fs a:

3. Boot PC with floppy.

4. Follow directions on screen to make partitions as necessary. First type ædÆ to delete partition æaÆ and æbÆ, then type æaÆ to re-create partitions æaÆ for mounting and æbÆ for swapping. Mount \ on 'a'. Alternately, create different partitions and mount each of /usr, /etc, /var ... on each partition. Should leave about 512MB of space for swapping (1048576 sectors).

5. When asked, choose æyÆ to configure network interface.

a) If machine is to use DHCP configuration, type ædhcpÆ when asked for an IP. Machine will automatically search for available IP, Mask, and DNS information.
b) If have information for static IP, then type in appropriate information.

6. Type æfÆ to install using ftp method when asked. Choose æyÆ at the next question to get a list of available ftp sites to download source files from. Pick a number (choose 1).

7. After a list of available files from the ftp site is displayed, the files already marked with an æxÆ are required. Choose any additional files if necessary. Pressing ædoneÆ will begin the installation.

8. After files finish downloaded, type ædoneÆ to proceed.

9. Reboot. First time login in use login: root, password as previously created. Password can be changed at anytime later.

10. Create new user, add new packages (only can add packages if logged in as root). Ex:

# adduser
Enter username [a-z0-9_-]: <type username>
Enter full name []: <First Last>
Enter shell csh ksh nologin sh [sh]: <press ENTER>
Uid [1001]: <press ENTER>
Login group <same as username> [<login group>]: <press ENTER>
Login group is ô<login group>ö. Invite <username> into other groups: guest no
[no]: wheel [group1 group2 à]
Enter password []: <type password>
Enter password again []: <type password again>

Name: <username>
Password: ****
Fullname: <First Last>
Uid: 1001
Gid: 1001 (<login group>)
Groups: <login group> wheel
HOME: /home/<login group>
Shell: /bin/sh
OK? (y/n) [y]: <press ENTER>

Go to http://nomoa.com/bsd/useradmin.htm for more information.

To change userÆs information, permission, and/or password:

# chpass username or consult the chpass manual (man chpass).

Adding packages:

# pkg_add -v ftp://ftp.openbsd.org/pub/OpenBSD/3.3/packages/i386/bash-2.05b.tgz
Register to rate this FAQ  : BAD 1 2 3 4 5 6 7 8 9 10 GOOD
Please Note: 1 is Bad, 10 is Good :-)

Part and Inventory Search

Back
Top