Manual Installation FreeBSD/en

Aus EUserv Wiki

Version vom 13:49, 27. Sep. 2012 bei Praktikant1 (Diskussion | Beiträge)
(Unterschied) ← Nächstältere Version | Aktuelle Version (Unterschied) | Nächstjüngere Version → (Unterschied)
Wechseln zu: Navigation, Suche

Installing FreeBSD on my root server

Inhaltsverzeichnis

Installing FreeBSD on my root server

Prerequisites

For the installation of FreeBSD you need the following software on your system:

* SSH-client (e.g. OpenSSH / PuttY)


Start FreeBSD Live System

Start the FreeBSD Live-System, see: About the FreeBSD Live-System (RescueSystem)

Log in to your server via SSH. Before starting the installation be careful that you have an updated backup of your server.

Usually all data will be deleted at the installation.

Hint: On 64bit systems the 64bit RescueSystem will always be started by default. On this system an installation in 32 and 64bit is possible.


Starting the installation

The FreeBSD installation tool Sysinstall causes some problems, so we recommend that you run the installation manually.


Preparation of the hard drives

It's important for the installation that the system knows the existing hard drives. You can check this with the following command:

# ls -1 /dev/ad* /dev/da* /dev/twed* /dev/aacd* | grep -E '[a-z]{2}[0-9]+$' /dev/ad8 /dev/ad10

To get more information about the hard drives, you can use dmesg:

# dmesg | grep ad8 ad8: 1430799MB <Seagate ST31500341AS CC1H> at ata4-master UDMA100 SATA 3Gb/s

# dmesg | grep ad10 ad10: 1430799MB <Seagate ST31500341AS CC1H> at ata5-master UDMA100 SATA 3Gb/s

Here are 2 SATA2 hard disks with 1.5 TB installed on the server. (ad8 and ad10).

This intstruction describes the installation of a hard drive with the designation "ad8". You have to replace this designation with the name of your hard drive.

Now the hard drives have to be formatted:

# gpart show
# gpart delete -i 1 ad8
# gpart destroy ad8
# gpart create -s mbr ad8
# gpart add -t freebsd -i 1 ad8

Creating the partitions with bsdlabel:

# bsdlabel -wB /dev/ad8s1
# bsdlabel -e /dev/ad8s1