Introduction: Why Funtoo?
Funtoo Linux is a Gentoo-based distribution maintained by Daniel Robbins himself, the original creator of Gentoo. If you like performance-tuned systems, customization to the nth degree, and don’t mind rolling up your sleeves, Funtoo is your playground. It’s like building a custom race car instead of just buying a sedan—thrilling, educational, and occasionally terrifying when things don’t start.
Prerequisites
- Hardware: 64-bit or 32-bit PC, 1 GB RAM minimum (2 GB or more recommended).
- Connection: Reliable internet (you’ll compile dozens of packages).
- Time Patience: Compilation can take hours, depending on your CPU and USE flags.
- Comfort with Command Line: You’ll spend most time in a terminal—no GUI hand-holding here.
- Backup: Back up important data. Funtoo loves adventures, but your files might not.
Step 1: Download Stage3 Tarball
1.1 Pick Your Architecture
Visit the official mirrors (choose the fastest one):
1.2 Download Verify
- Download stage3-.tar.xz and the corresponding md5sum.txt.
- Verify:
md5sum -c md5sum.txt(If it fails, blame the mirror).
Step 2: Partition Format
2.1 Create Partitions
Using fdisk or parted:
- /dev/sda1 – 512 MB – BIOS/UEFI boot or EFI System Partition (if UEFI).
- /dev/sda2 – remainder – root filesystem.
- Optionally, swap, /home, or other partitions.
2.2 Format Filesystems
mkfs.ext4 /dev/sda2mkfs.vfat -F 32 /dev/sda1(for UEFI) ormkfs.ext4 /dev/sda1(for BIOS).mkswap /dev/sdaX swapon /dev/sdaX(if you created a swap).
Step 3: Extract Mount Stage3
3.1 Mount Root
mount /dev/sda2 /mnt/funtoo
3.2 Extract Tarball
tar xpvf stage3-.tar.xz --xattrs-include=. --numeric-owner -C /mnt/funtoo
3.3 Setup /etc/resolv.conf
cp /etc/resolv.conf /mnt/funtoo/etc/
Step 4: Chroot into Your New System
4.1 Mount Virtual Filesystems
mount -t proc proc /mnt/funtoo/procmount --rbind /sys /mnt/funtoo/sysmount --rbind /dev /mnt/funtoo/dev
4.2 Enter Chroot
chroot /mnt/funtoo /bin/bashsource /etc/profileexport PS1=(chroot) u:w
Step 5: Configure Portage System Profile
5.1 Select Profile
List available profiles:
eselect profile list
Set your favorite, e.g.: eselect profile set 1
5.2 Update @world
It’s a fresh chroot, but updating gives you the latest overlays:
emerge --sync
emerge -uDN @world
Step 6: Kernel Configuration
6.1 Choose Kernel Source
Funtoo offers funtoo-sources optimized for its users.
emerge sys-kernel/funtoo-sources
6.2 Configure with Genkernel (Optional)
emerge sys-kernel/genkernelgenkernel all– This builds a generic kernel and initramfs.
6.3 Manual Kernel Build (Advanced)
cd /usr/src/linuxmake menuconfig– enable your hardware, filesystems, networking.make -j(nproc) make modules_install make install
Step 7: Configure Networking
7.1 /etc/conf.d/net
Example for DHCP on eth0:
config_eth0=( dhcp )
7.2 Enable the Interface
rc-update add net.eth0 default
Step 8: Install a Bootloader
8.1 GRUB2 Installation
emerge sys-boot/grub:2grub-install /dev/sda(or your drive)grub-mkconfig -o /boot/grub/grub.cfg
If you used Genkernel, GRUB auto-detects the initramfs.
Step 9: Final Touches in Chroot
9.1 Set Root Password
passwd
9.2 Add a Regular User
useradd -m -G users,wheel,audio,video -s /bin/bash yourusernamepasswd yourusername
9.3 Locale Timezone
Edit /etc/locale.gen, uncomment en_US.UTF-8 UTF-8, then:
locale-gen echo LANG=en_US.UTF-8 > /etc/env.d/02locale
Set timezone:
echo America/New_York > /etc/timezone emerge --config sys-libs/timezone-data
Step 10: Exit Reboot
Everything set? Exit chroot, unmount, reboot:
exit
cd /
umount -l /mnt/funtoo/{dev,sys,proc}
umount /mnt/funtoo
reboot
Don’t be alarmed if the first kernel boot takes a minute—compilation-born babies sometimes crawl before they sprint.
Post-Install: Tweaks Performance
USE Flags
Fine-tune features in /etc/portage/make.conf. Example:
USE=X alsa pulseaudio gtk qt5 kvm vmware lvm
Mount Options
Add in /etc/fstab:
/dev/sda2 / ext4 noatime,errors=remount-ro 0 1
Kernel Optimizations
- Enable PREEMPT if you need low-latency.
- Strip unused modules.
Resources Community
Join the IRC channel #funtoo on Libera.Chat and remember: if your system breaks spectacularly, you’ve learned something. Keep calm and FUNTOO on!
Leave a Reply