AMD64 depenguinator?
Thierry Herbelot
thierry at herbelot.com
Fri Dec 7 10:31:58 PST 2007
Le Friday 07 December 2007, Stanislaw Halik a écrit :
> Heya,
>
> I'd like to use depenguinator
> <http://www.daemonology.net/depenguinator/> to get rid of Linux on my
> dedicated servers. This one only works for IA-32 and my machines are
> mostly AMD64.
>
> Could you please share an AMD64 depenguinator so I won't have to either
> stick with Linux or change my dedicated server provider?
>
> TIA,
> -sh
Hello,
you can always use the ia32 depenguinator to install an AMD64 server by using
an intermediate ia32 FreeBSD partition :
1/ install depenguinator in the linux swap
2/ reboot into the ia32 FreeBSD installer
3/ partition your disk with a main and *one more* BIOS partition (around
200MB - see end of post)
4/ install a minimal i386 system in the supplemental partition
5/ reboot into the i386 minimal partition
6/ disklabel the main partition
7/ install the AMD64 binaries into the main partition
8/ reboot and switch to the AMD64 partition
there you are ! a full amd64 system is available ;-)
TfH
PS : disk space needed for a minimal 6.3 i386 installation :
Filesystem Size Used Avail Capacity Mounted on
/dev/ad0s1a 116M 38M 69M 35% /
/dev/ad0s1d 58M 12K 53M 0% /tmp
/dev/ad0s1e 58M 368K 53M 1% /var
/dev/ad0s1f 646M 103M 491M 17% /usr
PS2 : new installation in the main partition (ad0s1)
# newfs -U /dev/ad0s1f
# newfs -U /dev/ad0s1e
# newfs -U /dev/ad0s1d
# newfs /dev/ad0s1a
# mount /dev/ad0s1a /mnt
# mkdir /mnt/var
# mkdir /mnt/tmp
# mkdir /mnt/usr
# mount /dev/ad0s1d /mnt/tmp
# mount /dev/ad0s1e /mnt/var
# mount /dev/ad0s1f /mnt/usr
# cat base/base.?? | tar --unlink -xpzf - -C /mnt
# cat kernels/generic.?? | tar --unlink -xpzf - -C /mnt/boot
# rmdir /mnt/boot/kernel
# mv /mnt/boot/GENERIC/ /mnt/boot/kernel
(adjust configuration files and reboot)
More information about the freebsd-hackers
mailing list