newhandbook - add pages
[ikiwiki.git] / docs / newhandbook / Installation / index.mdwn
1
2 # Chapter 2 Installation from CD 
3
4 This document describes the installation of DragonFly BSD. This process uses a bootable DragonFly CD, usually referred to as a 'live CD'.  This CD is available at one of the current mirrors, which distribute the images by various protocols. The authorative list can be found at the [DragonFly website](http://www.dragonflybsd.org/download/).
5
6 <!-- XXX: add stuff about usb stick -->
7
8
9 ----
10
11
12
13 ## First steps 
14
15
16
17 Upon booting, you see the following screen:
18
19 <img src="http://leaf.dragonflybsd.org/~alexh/images/2.png"/>
20 <!-- XXX: insert image 2.png -->
21
22
23 As you can see, it gives you the option of logging in as `root` to run the live CD and play around or logging in as `installer` to install DragonFly to your hard drive. 
24
25 Log in as `installer`. You will then see the following screen:
26
27 <img src="http://leaf.dragonflybsd.org/~alexh/images/3.png"/>
28 <!-- XXX: insert image 3.png -->
29
30
31
32 ## Set up Disk for Installation 
33
34 Note the warning to backup important data. Things can always go wrong and if, for example, you have another partition with important files, a mistype or other error might lose all the information on that partition. Assuming this is done, or that you aren't worried about other data on the machine, again, select install DragonFly BSD and you will be taken to the next screen:
35
36 <img src="http://leaf.dragonflybsd.org/~alexh/images/5.png"/>
37 <!-- XXX: insert image 5.png -->
38
39 If you have multiple disks installed, chose one where you want to install DragonFly.  We chose `ad0` here.
40
41 <img src="http://leaf.dragonflybsd.org/~alexh/images/6.png"/>
42 <!-- XXX: insert image 6.png -->
43
44 After selecting the disk we need to decide how much of the disk we want to use.  We choose to use the entire disk and see the next screen.  Now we can chose between the two file systems on DragonFly.  HAMMER is the brand-new file system with a big number of features like snapshots, history tracking, mirroring etc.  UFS is the old BSD file system.
45 <!-- XXX: mention stuf about UFS+HAMMER being the default setup, and why. -->
46
47 <img src="http://leaf.dragonflybsd.org/~alexh/images/8.png"/>
48 <!-- XXX: insert image 8.png -->
49
50 We select HAMMER and see now the following screen:
51
52 <img src="http://leaf.dragonflybsd.org/~alexh/images/9.png"/>
53 <!-- XXX: insert image 9.png -->
54
55 The screen (shown above) gives the default partition scheme for this drive. As the screen says, the * indicates that it will use remainder of the disk.  If you chose HAMMER as your file system there is no need to change the default settings.  One swap partition is created and the remaining space is assigned to the root partition.  The installer will automatically add sub-partitions (called Pseudo File Systems (PFS) in HAMMER) for /home, /usr, /var, /var/crash, /var/tmp and /tmp for you.  If you want to get more information about HAMMER, have a look in the man page.
56
57
58
59
60
61 ## Install to Disk 
62
63 The following steps show how DragonFly can be installed to your hard disk:
64
65 <img src="http://leaf.dragonflybsd.org/~alexh/images/10.png"/>
66 <!-- XXX: image 10.png -->
67
68 Depending on your hardware installing DragonFly will take some time. Once installation is complete, you are given an option to install bootblocks. Note that if you are installing bootblocks and the DragonFly installation is above the 1024th cylinder (approximately 8 gigs) accept the default of having packet mode selected:
69
70 <img src="http://leaf.dragonflybsd.org/~alexh/images/12.png"/>
71 <!-- XXX: image 12.png -->
72
73 Next, we are given an option to configure the system or reboot:
74
75 <img src="http://leaf.dragonflybsd.org/~alexh/images/13.png"/>
76 <!-- XXX: image 13.png -->
77
78
79
80
81
82 ## Set up your system 
83
84
85 The following menu of the installer allows you to configure your previously installed system.
86
87 <img src="http://leaf.dragonflybsd.org/~alexh/images/14.png"/>
88 <!-- XXX: image 14.png -->
89
90 This includes setting a password for your `root` account:
91
92 <img src="http://leaf.dragonflybsd.org/~alexh/images/15.png"/>
93 <!-- XXX: image 15.png -->
94
95 Be sure to select the correct keyboard map for your system, and configure a hostname.
96
97
98 ### Add a new user 
99
100 To perform your daily work, it is recommended to work as an unprivileged user.  Use the following screen to create such an account.  If you want to allow your user to use [su(1)](http://leaf.dragonflybsd.org/cgi/web-man?command=su&section1), also add him to the `wheel` group:
101
102 <img src="http://leaf.dragonflybsd.org/~alexh/images/16.png"/>
103 <!-- XXX: image 16.png -->
104
105 ### Configure the Network 
106
107 The next screen allows you to setup your network.  The installed card seen here is an Intel Ethernet 1000 powered by [em(4)](http://leaf.dragonflybsd.org/cgi/web-man?command=em&section4):
108
109 <img src="http://leaf.dragonflybsd.org/~alexh/images/17.png"/>
110 <!-- XXX: image 17.png -->
111
112 After finishing your configuration you can escape into a live shell or reboot the system into your installation.
113
114
115
116
117
118
119
120
121