The Linux operating system is known worldwide. Most often, inexperienced users use the Ubuntu distribution, because it is it that is simple and free. However, although other distributions are also free, they are less popular. Installation of Gentoo can be called rather complicated. But with our instructions, everything will surely work out.
What is Gentoo Linux?
, , , . , , , . , . , Gentoo PORTAGE. , , .
, ( ), .
, Gentoo Linux . . "" ( "") Source-based Linux, . (: ) . "" - . USE- ( ) , / .
. Portage, Gentoo . - . . :
- X86.
- X64.
- ARM.
- PowerPc970.
- PowerPC.
- Dec Alpha.
- IBM/390.
- 68K.
- Sparc.
- PA-RISC.
- MIPS.
- SuperH.
- PowerPC G5.
Gentoo . , . .
Gentoo. , , . .
Gentoo?
Ubuntu. , , . .
- Gentoo chroot. :
- : sudo apt-get install dchroot debootstrap.
- Synaptic debootstrap dchroot. , Linux , "" .
, . , . , . (/), /boot /var. /swap ( ) /home.
. /boot, /home, (/), /var ext3 reiser2.
/mnt/gentoo. .
. :
- sudo mount /dev/sda5 /mnt/gentoo.
- sudo mount /dev/sda6 /mnt/gentoo/home.
sda5 sda6 .
, . , : date MMDDhhmmYYYY.
. .
releases/ia64/2008.0/stages tar- stage3. Gentoo. : mv stage3*.bz2* /mnt/gentoo.
(cd /mnt/gentoo) md5. : md5sum -c stage3*.md5. , . , .
Gentoo. . : sudo tar xvjpf stage3*.bz2 .
Gentoo
Gentoo . Portage - . . . snapshots Portage. /mnt/gentoo. : tar xvjf /mnt/gentoo/portage-.tar.bz2 -C /mnt/gentoo/usr.
Portage?
. Portage - , . . , , rsync. Portage , , , .
compile flags. make.conf, /gentoo/etc. . make.conf.example make. . .
, Ubuntu . - dns- (sudo cp -L /etc/resolv.conf /mnt/gentoo/etc/resolv.conf) proc (sudo mount -t proc none /mnt/gentoo/proc).
, chroot. , :
- . : sudo chroot /mnt/gentoo /bin/bash
- , . : /usr/sbin/env-update.
- : source /etc/profile.
Gentoo.
- - , , . . rsync-. : emerge --sync. , 2.6. USE, , . , .
- . "-" . , ogg ogg. , -ogg.
, USE- , Gentoo.
make.conf /etc/ .
- . /usr/share/zoneinfo. , ls . /etc/localtime. : # cp /usr/share/zoneinfo/GMT /etc/localtime.
. : # emerge gentoo-sources. - , . , .
:
- cd /usr/src/linux;
- make menuconfig.
. . , , . . : , .
: make && make modules_install. . : make -j2 && make modules_install. /boot.
- . , : find /lib/modules/(kernel version)/ -type f -iname '*.o' -or -iname '*.ko'. /etc/modules.autoload.d/kernel-2.6 , . Gentoo . .
KDE Gentoo
. - . Gentoo . .
, Gentoo UEFI. , EFI. FAT. UEFI , UEFI-firmware FAT12, 16 32, FAT32.
Also, the tarage may not include the portage group and user. When using schroot on a host system, they must be created manually. In this case, the files in the / gentoo / etc directory and the password will be overwritten (you can change them directly).