forked from mmatuska/mfsbsd
-
Notifications
You must be signed in to change notification settings - Fork 0
/
INSTALL
42 lines (34 loc) · 1.37 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
# $Id$
#
# mfsBSD installation (deployment) instructions
# Copyright (c) 2007-2015 Martin Matuska <mm at FreeBSD.org>
#
# Version 2.2
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/10.2-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/10.2-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/10.2-RELEASE)
c) create your UFS partition with sysinstall or gpart (e.g. ada0p2)
d) create a filesystem on the partition (e.g. newfs /dev/ada0p2)
e) mount the slice and extract your .tar.gz file on it
f) configure a bootmanager (e.g. gpart bootcode -b /poot/pmbr -p /boot/gptboot -i 1 ada0)
g) boot from your rescue system and enjoy :)