FreeBSD 2.2.5 Installation Details for Newbies



This was written in order to help others get their first unix system up and running. - R. Pratt
 
General
About These Pages 
Getting Prepared 
Obtaining FreeBSD
   
Installation
Configuration
Making a Unix Boot Floppy 
Boot-up 
Start Kernel Configuration 
UserConfig Screen 
Checking Probe Results 
Final Probe Results 
Main Install Screen 
Creating a FreeBSD Bootable Slice 
Install a Boot Manager 
Creating FreeBSD Partitions 
Installing a Distribution Set 
Selecting XFree86 Installation Options 
Encryption Method 
Ports Collection 
Installation Media 
Final Warning 
Installation
Configure Network Devices 
Configure Gateway 
Allow Anonymous FTP 
Configure as NFS Server 
Configure as NFS Client 
System Console Settings 
Set Time Zone 
Mouse Settings 
Configure X-Server 
Install Packages 
Add Users/Groups 
Set Root Password 
Registering FreeBSD 
Change Configuration 
Exiting Install 
FreeBSD Bootup
 

About These Pages...

Getting Prepared Obtaining FreeBSD Make unix boot floppy:  
C:\> 
C:\>d: 
D:\>tools\rawrite d:\floppies\boot.flp a: 
Number of Sectors per track for this disk is 18 
Writing image to drive A:. Press ^C to abort. 
Track: 79  Head: 1  Sectors: 16 
Done. 

D:\>_

 

Boot-up

Start Kernel Configuration UserConfig Screen Checking Probe Results Final Probe Results  
avail memory = 28889088 (28212K bytes)                                {28.2 MB RAM} 
Probing for devices on the isa bus:                           
sc0 at 0x60-06f irq 1 on motherboard                                                    {monitor}   
sc0: VGA color <4 virtual consoles, flags=0x0>   
ed0 not found at 0x280 
ed1 not found at 0x300 
fe0 not found at 0x300 
sio0 at 0x3f8-0x3ff irq4 on isa                                                {serial port COM1}   
sio0: type 16550A   
sio1 at 0x2f8-0x2ff irq 3 on isa                                               {serial port COM2}   
sio1: type 16550A   
lpt0 at 0x3bc-0x3c3 irq 7 on isa                                             {parallel port LPT1}   
lpt0: Interrupt-driven port   
lp0: TCP/IP capable interface   
lpt1 not found at 0xffffffff                                         {no second parallel port found}  
mse0 not found at 0x23c                                            {Microsoft mouse not found} 
psm0 at 0x60-0x64 IRQ 12 on motherboard                          {PS/2 mouse found}  
psm0: device ID 0 
fdc0 at 0x3f0-0x3f7 irq 6 drq2 on isa                        {floppy disk controller found}   
fdc0: FIFO enabled, 8 bytes threshold   
fd0: 1.44 MB 3.5 in  
wdc0 at 0x1f0-0x1f7 irq 14 on isa                                        {first hard disk found}   
wdc0 unit 0 (wd0): <WDC AC2420H>   
wd0: 405 MB (830760 sectors), 989 cyls, 15 heads, 56 s/t, 512 b/s  
wdc1 not found at 0x170                                       {second hard disk not installed} 
bt0 not found at 0x330 
wha0 not found at 0x330  
aha0 not found at 0x330  
aic0 not found at 0x340  
nca0 not found at 0x188  
nca1 not found at 0x350 
sea0 not found  
wt0 not found at 0x300 
mcd0 not found at 0x300                                     {CD ROM - Mitsumi not found}   
matcd0 not found at 0x230  
scd0 not found at 0x230  
ie0: unknown board_id: f000  
ie0 not found at 0x300  
ie1: unknown board_id: f000  
ie1 not found at 0x360  
ep0 not found at 0x300 
ex0 not found at 0x300 
le0 not found at 0x300 
lnc0 not found at 0x280 
ze0 not found at 0x300 
zp0 not found at 0x300 
npx0 flags 0x1 on motherboard   
npx0: INT 16 interface   
rootfs is 1440 kbyte compiled in MFS   
/stand/systinstall running as init on vty0 
 

Main Install Screen

 Setting Hard Disk Slices
 
Message
In the next menu, you will need to set up a DOS-style ("fdisk") partitioning scheme for your hard disk. If you simply wish to devote all disk space to FreeBSD (overwriting anything else that might be on the disk(s) selected) then use the (A)ll command to select the default partitioning scheme followed by a (Quit. If you wish to allocate only free space to FreeBSD, move to a partition marked "unused" and use the (C)reate command. 

[   OK   ]
[ Press enter to continue ] 
   
Disk name: wd0                            FDISK Partition Editor  
Disk Geometry 989 cyls/15 heads/56 sectors = 837760 sectors  

Offset     Size      End    Name  PType     Desc  Subtype  Flags  

     0       56       55       -      6   unused        0  
    56   829864   829919   wd0s1      2      fat        6  
829920      840   830759       -      6   unused        0 
 
 

The following commands are supported (in upper or lower case) 

A = Use Entire Disk   B = Bad Block Scan       C = Create Slice 
D = Delete Slice      G = Set Drive Geometry   S = Set Bootable 
T = Change Type       U = Undo All Changes     Q = Quit 

Use F1 or ? to get more help, arrow keys to select.

  Installing Boot Manager Creating FreeBSD Partitions
 
 
Message
Next, you need to create BSD partitions inside of the fdisk partition(s) just created. If you have a reasonable amount of disk space (200MB or more) and don't have any special requirements, simply use the (A)uto command to allocate space automatically. If you have more specific needs or just don't care for the layout chosen by (A)uto, press F1 for more information on manual input.  

[   OK   ]
[ Press enter to continue ] 
 
 
FreeBSD Disklabel Editor

Disk: wd0    Partition name: wd0s1    Free: 830704 blocks (405MB) 

Part    Mount      Size Newfs    Part    Mount      Size Newfs 
----    -----      ---- -----    ----    -----      ---- ----- 
 
 
 
 

The following commands are supported (in upper or lower case) 

C = Create         D = Delete         M = Mount pt. 
N = Newfs Opts     T = Newfs Toggle   U = Undo 
A = Auto Defaults for all! 

Use F1 or ? to get more help, arrow keys to select. 
 

   
FreeBSD Disklabel Editor

Disk: wd0    Partition name: wd0s1    Free: 0 blocks (0MB) 

Part    Mount      Size Newfs    Part    Mount      Size Newfs 
----    -----      ---- -----    ----    -----      ---- ----- 
wd0s1a  /          32MB UFS Y 
wd0s1b  swap       73MB SWAP 
wd0s1e  /var       30MB UFS Y 
wd0s1f  /usr      269MB UFS Y 
 
 
 

The following commands are supported (in upper or lower case) 

C = Create         D = Delete         M = Mount pt. 
N = Newfs Opts     T = Newfs Toggle   U = Undo 
A = Auto Defaults for all! 

Use F1 or ? to get more help, arrow keys to select. 
 

   Installing a Distribution Set Selecting XFree86 Installation Options Encryption Method FreeBSD Ports Collection Installation Media  Final Warning Installation Network Device Configuration  
Gateway Configuration  
FTP Connections  
NFS Server Configuration  
NFS Client Configuration System Console Settings  
Time Zone Setting  
Mouse Setup X-Server Configuration  
Package Collection  
Add User Accounts  
Set Root Password  
Registering FreeBSD  

Change Configuration Option

 

Exiting Install

FreeBSD Bootup
 
--- bootup and device probe --- 

swapon: adding /dev/wd0s1b as swap device 
Automatic reboot in progress... 
/dev/rwd0a: clean, 18350 free (174 frags, 2272 blocks, 0.5% fragmentation) 
/dev/rwd0s1f: clean, 203444 free (13628 frags, 23727 blocks, 5.1% fragmentation) 

/dev/rwd0s1e: clean, 29762 free (0 frags, 3709, 0.0% fragmentation) 
Doing initial network setup: hostname. 
lo0: flags=8049<UP,LOOPBACK,RUNNING,MULTICAST> mtu 16384 
        inet 127.0.0.1  netmask 0xff000000 

Additional routing options. 
recording kernel -c changes 
additional daemons: syslogd. 
Doing additional network setup: portmap. 
Starting final network daemons:. 
setting idconfig path: /usr/lib /usr/lib/compat /usr/X11R6/lib 
starting standard daemons: inetd cron sendmail. 
Initial rc.i386 initialization:. 
rc.i386 configuring syscons:. 
Local package initialization:. 
starting local daemons:. 
Sat Feb 28 22:00:25 MST 1998 

FreeBSD (myname.mydomain) (ttyv0) 

login: mrX 
Password:  
Copyright (c) 1980, 1983, 1986, 1988, 1990, 1991, 1993, 1994 
               The Regents of the University of California.  All rights reserved. 

FreeBSd 2.2.5-RELEASE (GENERIC) #0 Tue Oct 21 14:33:00 GMT 1997 

Welcome to FreeBSD! 

If the info distribution has been loaded on this machine, the FreeBSD  
Handbook will be in file:/usr/share/doc/handbook and  
the FAQ in file:/usr/share/doc/FAQ 

Type /stand/sysinstall to re-enter the installation and configuration utility. 

$ pwd 
/usr/home/mrX 
$ ls -al 
drwxr-xr-x  2  mrx   mrx      512 Feb 28 14:26 . 
drwxr-xr-x  3  root  wheel    512 Feb 28 14:26 .. 
-rw-r--r--  1  mrx   mrx      509 Feb 28 14:26 .cshrc 
-rw-r--r--  1  mrx   mrx      619 Feb 28 14:26 .login 
-rw-r--r--  1  mrx   mrx      290 Feb 28 14:26 .mailrc 
-rw-r--r--  1  mrx   mrx     1244 Feb 28 14:26 .profile 
-rw-------  1  mrx   mrx      257 Feb 28 14:26 .rhosts 
$ 

 
 You're There!!


Written by Randy Pratt


Last updated: 04.22.98
Email: tfug-web@azstarnet.com