Difference between pages "F2FS Install Guide" and "Install/fr/Intro"

(Difference between pages)
(cleaning...)
 
(Created page with "<noinclude> {{InstallPart|texte d'introduction}} </noinclude> = Installation de Funtoo Linux = __NOTITLE__ == Introduction == {{Warning|Ce document peut contenir des liens ve...")
 
Line 1: Line 1:
<div class="container"><div class="row"><div class="col-sm-12 col-md-9">
+
<noinclude>
 +
{{InstallPart|texte d'introduction}}
 +
</noinclude>
 +
= Installation de Funtoo Linux =
 +
__NOTITLE__
 
== Introduction ==  
 
== Introduction ==  
These docs assume you have a "PC compatible" computer system with a standard PC BIOS. Many new computers support UEFI for booting, which is a new firmware interface that frequently replaces the older MBR-based BIOS. If you have a system with UEFI, you will want to use this documentation along with the [[UEFI Install Guide]], which will augment these instructions and explain how to get your system to boot. You may need to change your PC BIOS settings to enable or disable UEFI booting. The [[UEFI Install Guide]] has more information on this, and steps on how to determine if your system supports UEFI.
+
{{Warning|Ce document peut contenir des liens vers des pages en Anglais. }}
  
Installing on F2FS isn't terribly different from installing on XFS or EXT4;; but there are enough factors that warrant a guide of its own
+
Ce document a été rédigé afin de vous aider à installer Funtoo Linux sur un PC compatible. Ce tutoriel se veut le plus simple et minimaliste possible afin que le système d'exploitation Funtoo Linux soit installé et opérationnel le plus rapidement possible sans trop de difficulté.
  
 +
Si vous possèdez quelconque expérience avec l'installation de Gentoo Linux, plusieurs étapes vous seront familières. Vous devez cependant passer au travers tout le guide car il y a quelques différences.
  
=== Live CD ===
+
{{Note|Si vous installez Funtoo Linux sur une architecture [[Funtoo Linux Installation on ARM|ARM]], s'il vous plaît consuler [[Funtoo Linux Installation on ARM]] car il y a des différences notables concernant le support ARM. }}
 
+
Funtoo doesn't provide an "official" Funtoo Live CD, but there are plenty of good ones out there to choose from. A great choice is the Debian-based [https://grml.org/ GRML] as it contains lots of tools and utilities and supports both 32-bit and 64-bit systems.
+
 
+
It is also possible to install Funtoo Linux using many other Linux-based live CDs. Generally, any modern bootable Linux live CD or live USB media will work. See [[Requirements|requirements]] for an overview of what the Live Media must provide to allow a problem-free install of Funtoo Linux.
+
 
+
To begin a Funtoo Linux installation, boot your preferred live media & start a commandline session.
+
 
+
 
+
 
+
===Starting an SSH session===
+
This is only required if you wish to perform the installation process on a computer other than where you are installing funtoo to
+
<console>
+
service ssh start; passwd; ifconfig
+
</console>
+
This starts SSH, asks for a root password, and then displays the IP address
+
 
+
 
+
===Install required programs===
+
<console>
+
apt-get update; apt-get install f2fs-tools elinks
+
</console>
+
F2FS is not included in current linux kernels, and elinks is used to download the stage3 tarball
+
 
+
 
+
===Partitioning===
+
<console>
+
cfdisk /dev/sda
+
</console>
+
Your partition layout should be similar to
+
 
+
{{TableStart}}
+
<tr class="active"><th>Partition</th>
+
<th>Size</th>
+
<th>MBR Block Device (<code>fdisk</code>)</th>
+
<th>MBR Code</th>
+
</tr><tr>
+
<td><code>/boot</code></td>
+
<td>512 MB</td>
+
<td><code>/dev/sda1</code></td>
+
<td>83</td>
+
</tr><tr>
+
<td>swap</td>
+
<td>1.5 to 2x RAM for low-memory systems and production servers; otherwise 2GB.</td>
+
<td><code>/dev/sda2</code></td>
+
<td>82</td>
+
</tr><tr>
+
<td><code>/</code> (root)</td>
+
<td>minimum of 10GB.  Note: to compile the <code>debian-sources</code> kernel, requires a minimum of 14GB free space in <code>/tmp</code>; consider a minimum of 20GB in this case.</td>
+
<td><code>/dev/sda3</code></td>
+
<td>83</td>
+
</tr><tr>
+
<td><code>/home</code></td>
+
<td>User storage and media. Typically most of the disk.</td>
+
<td><code>/dev/sda4</code> (if created)</td>
+
<td>83</td>
+
</tr><tr>
+
</tr>{{TableEnd}}
+
+
==Formatting==
+
<console>
+
mkfs.ext2 /dev/sda1
+
mkswap /dev/sda2
+
swapon /dev/sda2
+
mkfs.f2fs /dev/sda3
+
mkfs.ext4 /dev/sda4
+
</console>
+
 
+
 
+
===Mounting the new system===
+
<console>
+
mkdir /mnt/funtoo
+
mount -t f2fs /dev/sda3 /mnt/funtoo
+
mkdir /mnt/funtoo/boot
+
mount /dev/sda1 /mnt/funtoo/boot
+
mkdir /mnt/funtoo/home
+
mount -o noatime /dev/sda4 /mnt/funtoo/home
+
</console>
+
 
+
===Downloading the system===
+
<console>
+
cd /mnt/funtoo/
+
elinks build.funtoo.org
+
<console/>
+
Navigate to your arch, your subarch and save stage3
+
 
+
==Installing stage3==
+
<console>
+
tar xpfv stage3-latest.tar.xz
+
cp /etc/resolv.conf etc
+
</console>
+
 
+
 
+
===chrooting into the new system
+
mount -t proc none proc<br>
+
mount --rbind /sys sys<br>
+
mount --rbind /dev dev<br>
+
env -i HOME=/root TERM=$TERM; chroot . bash -l<br>
+
export PS1="(chroot) $PS1"<br>
+
emerge --sync<br>
+
nano /etc/fstab<br>
+
/dev/sda1              /boot          ext2            noauto,noatime  1 2<br>
+
/dev/sda2              none            swap            sw              0 0<br>
+
/dev/sda3              /              f2fs            rw,acl,active_logs=6,background_gc=on,user_xattr          0 1<br>
+
/dev/sda4              /home          ext4            noatime        0 1<br>
+
#/dev/cdrom            /mnt/cdrom      auto            noauto,ro      0 0<br>
+
<br>
+
nproc<br>
+
nano /etc/make.conf<br>
+
CFLAGS="-mtune=generic -O2 -pipe"<br>
+
CXXFLAGS="-mtune=generic -O2 -pipe"<br>
+
MAKEOPTS="-j3"<br>
+
<br>
+
emerge -auDN @world<br>
+
emerge --depclean<br>
+
mkdir /etc/portage/sets<br>
+
emerge -av sys-kernel/gentoo-sources sys-kernel/genkernel f2fs-tools<br>
+
cd /usr/src/linux; make menuconfig<br>
+
#Filesystems->Miscellaneous->F2FS<br>
+
#Save config as 'f2fs.config'<br>
+
echo 'f2fs' >> /etc/conf.d/modules<br>
+
genkernel --kernel-config=f2fs.config all<br>
+
#The next three steps are the same as listed [[Funtoo_Linux_Installation#Installing_a_Bootloader|here]]<br>
+
emerge grub boot-update<br>
+
grub-install --no-floppy /dev/sda<br>
+
boot-update<br>
+
genkernel initramfs<br>
+
rc-update add dhcpcd default<br>
+
passwd<br>
+
===Next Steps===
+
 
+
If you are brand new to Funtoo Linux and Gentoo Linux, please check out [[Funtoo Linux First Steps]], which will help get you acquainted with your new system. We also have a category for our [[:Category:Official Documentation|official documentation]], which includes all docs that we officially maintain for installation and operation of Funtoo Linux.
+
 
+
We also have a number of pages dedicated to setting up your system, which you can find below. If you are interested in adding a page to this list, add it to the "First Steps" MediaWiki category.
+
 
+
{{#ask: [[Category:First Steps]] | format=ul }}
+
 
+
If your system did not boot correctly, see [[Installation Troubleshooting]] for steps you can take to resolve the problem.
+
 
+
[[Category:HOWTO]]
+
[[Category:Install]]
+
[[Category:Official Documentation]]
+
</div><div class="col-md-3 col-hidden-sm col-hidden-xs"><div id="tocwrap" >
+
__TOC__
+
</div></div></div>
+

Revision as of 15:52, December 20, 2014


Note

This is a template that is used as part of the Installation instructions which covers: texte d'introduction. Templates are being used to allow multiple variant install guides that use most of the same re-usable parts.


Installation de Funtoo Linux

Introduction

Warning

Ce document peut contenir des liens vers des pages en Anglais.

Ce document a été rédigé afin de vous aider à installer Funtoo Linux sur un PC compatible. Ce tutoriel se veut le plus simple et minimaliste possible afin que le système d'exploitation Funtoo Linux soit installé et opérationnel le plus rapidement possible sans trop de difficulté.

Si vous possèdez quelconque expérience avec l'installation de Gentoo Linux, plusieurs étapes vous seront familières. Vous devez cependant passer au travers tout le guide car il y a quelques différences.

Note

Si vous installez Funtoo Linux sur une architecture ARM, s'il vous plaît consuler Funtoo Linux Installation on ARM car il y a des différences notables concernant le support ARM.