New Hardware!

This is running on new hardware as of yesterday. New 7.0 Stable FreeBSD,
Depenguinator again, Eco-Server with a third of the power consumption.

http://www.daemonology.net/blog/2008-01-29-depenguinator-2.0.html

Very helpful:

http://wp.lando.cc/blog/2008/07/11/depenguinator-20-auf-s4y-server/

I changed the script because having a great server, but no rescue system
sucks.

The trick is, keep the sda1 with grub, keep the sda2 with the
depenguinator image, install everything in sda3! Add another entry in
the menu.lst for grub. So you can change the default to boot either of
them. You have to always use the rescue system from server4you, because
freebsd can not mount ext2, because it's GPL. Ah, you need to add the
ufs2_stage1_5 in the /boot/grub directory! Get it here:

http://stderr.de/~pluto/ufs2_stage1_5

Of course, do not try to change the MBR! Grub stays where it is!

When installing, fdisk and label manually, then mount the new drives.

Get the base.* and kernel manually and tar them on the new drive. Get
the right system type (amd64!) Otherwise you end up with an 80386
system, that does not even compile a amd64 kernel! And is not SMP and so on.

Edit /etc/rc.conf for the network setting, resolv.conf as well.

My menu.lst:

title FreeBSD
root (hd0,1)
makeactive
chainloader +1

title FreeBSD
root (hd0,2,a)
kernel /boot/loader

my fstab:

/dev/ad4s3b none swap sw 0 0
/dev/ad4s3a / ufs rw 1 1
/dev/ad4s3d /usr ufs rw 2 2

My disklabel:
[root@stderr ~]# disklabel ad4s3
# /dev/ad4s3:
8 partitions:
# size offset fstype [fsize bsize bps/cpg]
a: 8388608 16 4.2BSD 2048 16384 28552
b: 8388608 8388624 swap c: 622942032
0 unused 0 0 # "raw" part, don't edit
d: 606164800 16777232 4.2BSD 2048 16384 28552

My fdisk:
[root@stderr ~]# fdisk ad4
******* Working on device /dev/ad4 *******
parameters extracted from in-core disklabel are:
cylinders=620181 heads=16 sectors/track=63 (1008 blks/cyl)

Figures below won't work with BIOS for partitions not in cyl 1
parameters to be used for BIOS calculations are:
cylinders=620181 heads=16 sectors/track=63 (1008 blks/cyl)

Media sector size is 512
Warning: BIOS sector numbering starts with sector 1
Information from DOS bootblock is:
The data for partition 1 is:
sysid 131 (0x83),(Linux native)
start 1, size 195312 (95 Meg), flag 0
beg: cyl 0/ head 0/ sector 2;
end: cyl 12/ head 40/ sector 13
The data for partition 2 is:
sysid 165 (0xa5),(FreeBSD/NetBSD/386BSD)
start 195313, size 2000000 (976 Meg), flag 80 (active)
beg: cyl 12/ head 40/ sector 14;
end: cyl 136/ head 166/ sector 15
The data for partition 3 is:
sysid 165 (0xa5),(FreeBSD/NetBSD/386BSD)
start 2195313, size 622942032 (304170 Meg), flag 80 (active)
beg: cyl 136/ head 166/ sector 16;
end: cyl 1023/ head 254/ sector 63
The data for partition 4 is:


Have Fun, FreeBSD rocks!