
You are not logged in.
Pages: 1
Hi,
Here are the notes I made when installing Funtoo. You can use them as a reference for a quick install of Funtoo.
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
Check if the date is correct
===========================
# dateGo to the installation directory
=================================
# cd /mnt/gentoo
Download and extract the stage3 file for your system. I use amd64. You can find other architecturess here:
http://distro.ibiblio.org/pub/linux/distributions/funtoo/funtoo/
========================================================================
# wget http://distro.ibiblio.org/pub/linux/distributions/funtoo/funtoo/amd64/funtoo-amd64-2010.09.05/stage3-amd64-2010.09.05.tar.xz
# tar xpf stage3-amd64-2010.08.22.tar.xz
Download and extract the portage tree, you find the most recent snapshot here: http://distro.ibiblio.org/pub/linux/distributions/funtoo/~funtoo/snapshots/
=====================================
# wget http://distro.ibiblio.org/pub/linux/distributions/funtoo/~funtoo/snapshots/portage-2010.09.10.tar.xz
# cd /mnt/gentoo/usr
# tar xf /mnt/gentoo/portage-2010.08.27.tar.xz
Mount your home partition (if you have one)
============================================
# 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
# export PS1="(chroot) $PS1"
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/Amsterdam /etc/localtimeInstall 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 defaultSet 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.xzExit & 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
Install a DE
========
# emerge -av kdebase-metaLast edited by Kasumi_Ninja (2010-10-14 19:32:05)
Offline
Thank is a good idea to create it ! ![]()
Offline
nice and good job ;-)
thanks
Offline
Very good guide and great idea! And it seems really quick! ![]()
Offline
And it seems really quick!
It takes about an hour on my Athlon II X4 630 ![]()
Last edited by Kasumi_Ninja (2010-10-13 20:09:16)
Offline
Hi, can you post your /etc/make.conf ?
I always rebuild my box, since I use -march=native, so I want to know which cflags the AMD64 use by default.
Offline
Hi, can you post your /etc/make.conf ?
I want to know which cflags the AMD64 use by default.
For example, if you want to see it in a terminal:
1) generic x86_64
echo 'int main(){return 0;}' > test.c && gcc -v -Q -march=x86-64 -O2 test.c -o test && rm test.c test 2) with -march=native:
echo 'int main(){return 0;}' > test.c && gcc -v -Q -march=native -O2 test.c -o test && rm test.c test Offline
Hi, can you post your /etc/make.conf ?
I always rebuild my box, since I use -march=native, so I want to know which cflags the AMD64 use by default.
I started a new thread here.
Last edited by Kasumi_Ninja (2010-10-14 14:17:33)
Offline
touch /tmp/null.c; gcc -c -march=native -v /tmp/null.c 2>&1 | grep march | egrep --color -- '\s-m\S+|--param \S+' I found this on forums gentoo. Quite nice. For march native:
-march=core2 -mcx16 -msahf --param l1-cache-size=24 --param l1-cache-line-size=64 --param l2-cache-size=512 -mtune=core2Work smart not hard.
Offline
Hello all!
I have successfully installed standard Gentoo up to a usable system (KDE, fixed to print, Open Office, Firefox etc), but when I tried installing Funtoo, I ran into a number of "gotchas"
1)
When I updated portage with the following step
emerge portage
portage was updated from portage-2.2_rc67-r2 to portage-2.2.0_alpha4.
Now that every time I used emerge, I get a warning that portage no longer recognizes the "mini-manifest" FEATURE
Should I remove the mini-manifest flag from /etc/make.conf, ignore the warning or mask out portage?
2)
In any case, everything seemed to emerge okay up to the step
emerge xorg-sever
when I get an error while emerging nvidia-drivers.
I get a message that the kernel is not correct, ie that
include/generated/autoconf.h or include/config/auto.conf
files cannot be found
The mesage also suggests running
make oldconfig && make prepare
which didn't solve the problem.
Any suggestions on how to get Funtoo to a usable desktop stage?
Thanks TW?
Offline
Nice guide. Can I make a suggestion? Change chroot command to match funtoo install guide :
env -i HOME=/root TERM=$TERM SHELL=/bin/bash $(type -p chroot) /mnt/gentoo /bin/bashOffline
@twallace51
You got the problem, because you didn't follow the install guide. Funtoo has different portage tree, patched portage and many other improvements and hence it's not quite easy to turn gentoo into funtoo. Do a fresh install, please.
Last edited by angry_vincent (2010-11-20 04:00:19)
Offline
well.. to make it more obvious that funtoo != gentoo one could rename /mnt/gentoo to /mnt/funtoo... ![]()
Offline
You can call the mount point whatever you want. How about /mnt/youtoo?
Offline
stick with fun
Offline
Kasumi, the portage snapshot tar should have absolute paths.
Offline
Suggest to download stage3 and portage files before you install. And you can just copy them to the partition from a U-disk or other.
You can avoid waiting download when installing.
Offline
Hi,
Here are the notes I made when installing Funtoo. You can use them as a reference for a quick install of Funtoo.
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 Check if the date is correct =========================== # dateGo to the installation directory ================================= # cd /mnt/gentoo Download and extract the stage3 file for your system. I use amd64. You can find other architecturess here: http://distro.ibiblio.org/pub/linux/distributions/funtoo/funtoo/ ======================================================================== # wget http://distro.ibiblio.org/pub/linux/distributions/funtoo/funtoo/amd64/funtoo-amd64-2010.09.05/stage3-amd64-2010.09.05.tar.xz # tar xpf stage3-amd64-2010.08.22.tar.xz Download and extract the portage tree, you find the most recent snapshot here: http://distro.ibiblio.org/pub/linux/distributions/funtoo/~funtoo/snapshots/ ===================================== # wget http://distro.ibiblio.org/pub/linux/distributions/funtoo/~funtoo/snapshots/portage-2010.09.10.tar.xz # cd /mnt/gentoo/usr # tar xf /mnt/gentoo/portage-2010.08.27.tar.xz Mount your home partition (if you have one) ============================================ # 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 # export PS1="(chroot) $PS1" 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/Amsterdam /etc/localtimeInstall 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 defaultSet 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.xzExit & 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 Install a DE ======== # emerge -av kdebase-meta
If I follow exactly this step by step I'm done with funtoo?
Offline
hal is no longer used. also check install page for newer kernel options. source for stage3 is outdated
really no different than install page. follow install page. no shortcuts for funtoo/gentoo.
May you re-discover what the poor in 18th century France discovered, that rich people's heads can be mechanically separated from their shoulders if they refuse to listen to reason.
Offline
Is funtoo faster than gentoo?
Is funtoo simpler than gentoo?
I got fedora 17 liveusb...can I install from it? I don't see chroot on fedora...
Can I use the fedora kernel and how?
Offline
Is funtoo faster than gentoo?
No, both are source-based so speed is determined by gcc flags, packages installed, use flags, ect..
Is funtoo simpler than gentoo?
Somethings are such as configuring your boot loader. Funtoo has boot-update to make it easy. We also have different network scripts which in my opinion are easier to use.
I got fedora 17 liveusb...can I install from it? I don't see chroot on fedora...
While i've never used fedora, as long as it's got all the tools you need you can pretty much use any linux live cd/usb. Obviously your going need "chroot". If it's anything like other live usbs you could probably install it.
Can I use the fedora kernel and how?
Well you can pretty much use any kernel you want. There's no ebuild for fedora kernel that i know of so you'll either have to download kernel sources and whatever patches fedora uses and compile your own or otherwise obtain an already compiled one.
One thing to note if you install a kernel outside of portage, you'll want to let portage know about it so it doesn't try to force you to install one. That's done by adding a kernel package to /etc/portage/profile/package.provided:
mkdir /etc/portage/profile
echo "sys-kernel/gentoo-sources" >> /etc/portage/profile/package.providedOffline
* Messages for package sys-kernel/sysrescue-std-sources-3.0.21.302:
* ERROR: sys-kernel/sysrescue-std-sources-3.0.21.302 failed (compile phase):
* genkernel failed
*
* Call stack:
* ebuild.sh, line 85: Called src_compile
* environment, line 308: Called die
* The specific snippet of code:
* genkernel ${GKARGS} --no-save-config --kernel-config="$defconfig_src" --kernname="${PN/-sources/}" --build-src="$S" --build-dst=${WORKDIR}/build --makeopts="${MAKEOPTS}" --firmware-dst=${WORKDIR}/out/lib/firmware --cachedir="${T}/cache" --tempdir="${T}/twork" --logfile="${WORKDIR}/genkernel.log" --bootdir="${WORKDIR}/out/boot" --lvm --luks --iscsi --module-prefix="${WORKDIR}/out" all || die "genkernel failed"
*
* If you need support, post the output of 'emerge --info =sys-kernel/sysrescue-std-sources-3.0.21.302',
* the complete build log and the output of 'emerge -pqv =sys-kernel/sysrescue-std-sources-3.0.21.302'.
* The complete build log is located at '/var/tmp/portage/sys-kernel/sysrescue-std-sources-3.0.21.302/temp/build.log'.
* The ebuild environment file is located at '/var/tmp/portage/sys-kernel/sysrescue-std-sources-3.0.21.302/temp/environment'.
* S: '/var/tmp/portage/sys-kernel/sysrescue-std-sources-3.0.21.302/work/linux-3.0.21'
* GNU info directory index is up-to-date.
* IMPORTANT: 2 news items need reading for repository 'gentoo'.
* Use eselect news to read news items.out of luck...after 3 hours something had to happen! :emomad:
TOTALLY out ...
# grub-install --no-floppy /dev/sda
/sbin/grub-probe: error: cannot find a device for /boot/grub (is /dev mounted?).
No path or device is specified.
Try `/sbin/grub-probe --help' for more information.
Auto-detection of a filesystem module failed.
Please specify the module with the option `--modules' explicitly.# boot-update
boot-update 1.5.2 / Copyright 2009-2011 Funtoo Technologies
[use option "-l" for license info, "-h" for help]
* Generating config for grub...
mount: wrong fs type, bad option, bad superblock on /dev/sda1,
missing codepage or helper program, or other error
In some cases useful info is found in syslog - try
dmesg | tail or so
umount: /boot: not mounted
* ERROR: No matching kernels or boot entries found in /etc/boot.conf.
* Did not complete successfully.# dmesg | tail
[13468.480769] grub-probe: sending ioctl 1261 to a partition!
[13468.501090] grub-probe: sending ioctl 1261 to a partition!
[13468.501095] grub-probe: sending ioctl 1261 to a partition!
[13468.552198] grub-probe: sending ioctl 1261 to a partition!
[13468.552204] grub-probe: sending ioctl 1261 to a partition!
[13468.568293] grub-probe: sending ioctl 1261 to a partition!
[13468.568297] grub-probe: sending ioctl 1261 to a partition!
[13468.594270] grub-probe: sending ioctl 1261 to a partition!
[13468.594278] grub-probe: sending ioctl 1261 to a partition!
[14027.030946] EXT4-fs (sda1): VFS: Can't find ext4 filesystemLast edited by goro (2012-05-10 07:41:45)
Offline
"* Messages for package sys-kernel/sysrescue-std-sources-3.0.21.302:
* ERROR: sys-kernel/sysrescue-std-sources-3.0.21.302 failed (compile phase):
* genkernel failed"
the actual error is several lines above the message. that is what is useful.
or do what it says
" If you need support, post the output of 'emerge --info =sys-kernel/sysrescue-std-sources-3.0.21.302',
* the complete build log and the output of 'emerge -pqv =sys-kernel/sysrescue-std-sources-3.0.21.302'.
* The complete build log is located at '/var/tmp/portage/sys-kernel/sysrescue-std-sources-3.0.21.302/temp/build.log'.
* The ebuild environment file is located at '/var/tmp/portage/sys-kernel/sysrescue-std-sources-3.0.21.302/temp/environment'.
* S: '/var/tmp/portage/sys-kernel/sysrescue-std-sources-3.0.21.302/work/linux-3.0.21'"
show us or check,
#mount
#ls /boot
#less /etc/boot.conf
don't want to spend three hours compiling kernel?
kernel-seeds.org
http://swift.siphos.be/linux_sea/ch07.html
ps: you could open a new thread for these problems.
Last edited by whiteghost (2012-05-10 16:08:05)
May you re-discover what the poor in 18th century France discovered, that rich people's heads can be mechanically separated from their shoulders if they refuse to listen to reason.
Offline
Pages: 1