Quick install guide Funtoo Linux for you systemd haters. - GNU/Linux

Users browsing this thread: 1 Guest(s)
simon
Long time nixers
I used crunchbang live cd to make it happen. You can use whatever you feel like.
first i downloaded stage-3 and portage to my home partition. from here
http://www.funtoo.org/wiki/Download

notes from my installation.
Code:
Create ext4 filesystem with labels
==================================
# mkswap -L swap /dev/sda2
# mkfs.ext4 -L root /dev/sda3
# mkfs.ext4 -L home /dev/sda4

Setting reserved blocks percentage
==================================
# tune2fs -m 1 /dev/sda3
# tune2fs -m 0 /dev/sda4


Mount swap and other partitions
================================
# swapon /dev/sda2
# mount /dev/sda3 /mnt/gentoo
# mount /dev/sda4 /mnt/home

Check if the date is correct
===========================
# date

Copy files and go to the installation directory
=================================
# cp /mnt/home/simon/stage3-latest.tar.xz /mnt/gentoo
# cp /mnt/home/simon/portage-latest.tar.xz /mnt/gentoo
# cd /mnt/gentoo

Extract
=================================
(DO NOT FORGET THE p IN tar xpf!)

# tar xpf stage3-amd64-2010.08.22.tar.xz
# tar xpf portage-latest.tar.xz -C usr/

Mount your home partition
============================================
# umount /dev/sda4
# mount /dev/sda4 /mnt/gentoo/home

Configure your compile options
==============================
# nano -w /mnt/gentoo/etc/make.conf

e.g. add for a quadcore processor to your make.conf
MAKEOPTS="-j5"

Chroot in your Funtoo install
=============================
# cp -L /etc/resolv.conf /mnt/gentoo/etc/
# mount -t proc none /mnt/gentoo/proc
# mount -o bind /dev /mnt/gentoo/dev

# chroot /mnt/gentoo /bin/bash
# env-update
# source /etc/profile
Activate portage for first usage
================================
# cd /usr/portage
# git checkout funtoo.org
# emerge --sync

Select a profile, I choose a desktop profile
=================

# eselect profile list
# eselect profile set 2

Configure your timezone (mine is the Netherlands)
=================================================

# ls /usr/share/zoneinfo
# cp /usr/share/zoneinfo/Europe/Stockholm /etc/localtime
Install a kernel. I use genkernel for convience
===============================================
# emerge gentoo-sources genkernel

Verify if /usr/src/linux is pointing to the right kernel
========================================================
# ls -l /usr/src/linux

Configure & compile the kernel
==============================
# genkernel --menuconfig all

Edit the required config files
==============================
# nano -w /etc/fstab
# nano -w /etc/conf.d/hostname
# nano -w /etc/rc.conf
# nano -w /etc/conf.d/keymaps
# nano -w /etc/conf.d/hwclock

Enable dhcp at boot
====================
# rc-update add dhcpcd default

Set a root password
===================
# passwd

Emerge neceserry system services and the grub bootloader.
============================================
# emerge syslog-ng vixie-cron grub boot-update

Enable syslog and cron
======================
# rc-update add syslog-ng default
# rc-update add vixie-cron default

Install grub
============
# grub-install --no-floppy /dev/sda
# boot-update

Add a user
==========
# useradd -m -G audio,cdrom,portage,usb,users,plugdev,video,wheel -s /bin/bash john
# passwd john

Remove portage snapshot & stage
==============================
# rm -v  /portage-2010.09.10.tar.xz
# rm /stage3-amd64-2010.09.05.tar.xz

Exit & reboot in your funtoo installation
=========================================
# exit
# cd
# umount /mnt/gentoo/dev /mnt/gentoo/proc /mnt/gentoo/home /mnt/gentoo
# reboot

Post install configuration
==========================

Install xorg
============
# emerge xorg-server

Enable hal
==========
# /etc/init.d/hald start
# rc-update add hald default

Dont forget wireless_tools, wpa_supplicant and maybe wicd if you rocking wireless.


Messages In This Thread
Quick install guide Funtoo Linux for you systemd haters. - by simon - 01-09-2012, 09:44 AM