forked from mmatuska/mfsbsd
-
Notifications
You must be signed in to change notification settings - Fork 0
/
INSTALL
43 lines (35 loc) · 1.38 KB
/
INSTALL
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
# $Id$
#
# mfsBSD installation (deployment) instructions
# Copyright (c) 2007-2013 Martin Matuska <mm at FreeBSD.org>
#
# Version 2.1
BUILD:
For customized build please see the BUILD file
DEPLOYMENT:
Scenario 1:
You have a linux server without console access and want to install
FreeBSD on this server.
a) modify your configuration files (do this properly, or no ssh access)
b) create an image file (e.g. make BASE=/cdrom/11.0-RELEASE)
c) write image with dd to the bootable harddrive of the linux server
d) reboot
e) ssh to your machine and enjoy :)
Scenario 2:
You want a rescue CD-ROM with a minimal FreeBSD installation that doesn't
need to remain in the tray after booting.
a) modify your configuration files
b) create an iso image file (e.g. make iso BASE=/cdrom/11.0-RELEASE)
c) burn ISO image onto a writable CD
d) boot from the CD and enjoy :)
Scenario 3:
You want a rescue partition on your FreeBSD system so you can re-partition
all harddrives remotely.
a) modify your configuration files
b) create an .tar.gz file (e.g. make tar BASE=/cdrom/11.0-RELEASE)
c) create your slice with sysinstall or fdisk (e.g. ada0s1)
d) auto-label the slice (e.g. bsdlabel -r -w ada0s1 auto)
e) create a filesystem on the slice (e.g. newfs /dev/ada0s1a)
f) mount the slice and extract your .tar.gz file on it
g) configure a bootmanager (e.g. boot0cfg -B -s 1 /dev/ada0)
h) boot from your rescue system and enjoy :)