Date: Fri, 7 Dec 2007 19:31:45 +0100 From: Thierry Herbelot <thierry@herbelot.com> To: freebsd-hackers@freebsd.org Cc: Stanislaw Halik <sthalik@tehran.lain.pl> Subject: Re: AMD64 depenguinator? Message-ID: <200712071931.46565.thierry@herbelot.com> In-Reply-To: <20071206233443.GA15969@tehran.lain.pl> References: <20071206233443.GA15969@tehran.lain.pl>
next in thread | previous in thread | raw e-mail | index | archive | help
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)
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200712071931.46565.thierry>