Installare Gentoo su PPC (Stage 1) in 23 passi
Questa serie di comandi sono più che altro un riassunto dell'howto per PPC che trovate cliccando qua.
Il mio consiglio è di prenderlo in considerazione ma senza dimenticarsi di leggere la guida segnalata sopra e dare un'occhiata ai link a fondo articolo.
1) Scaricare il cd live più recente (minimal)
url: Gentoo Live CD
2) Eseguire il boot da cdrom
tenere premuto il tasto «c» mentre si riavvia
3) Scegliere la mappa della tastiera
# loadkeys it
4) Settare hdparm
# hdparm -d1 -A1 -m16 -u1 -a64 /dev/hdX (ovvio va sostituita la X finale)
5) Attivare la scheda di rete e settare le regole di routing
# ifconfig eth0
# route add -net defautl gw
# pico /etc/resolv.conf
# ping google.it
6) Partizionare l'hard disk
# mac-fdisk /dev/hdX (sempre sostituire la X finale)
--> cancellare le partizioni
--> creare il bootstrap
--> creare la swap
--> creare le altre partizioni
7) Creare i filesystem e attivare la swap
# mke2fs -j /dev/hdaXn
# mkswap /dev/hdXn
# swapon /dev/hdXn
8) Montare le partizioni e andare in /mnt/gentoo
# mkdir /mnt/gentoo
# mount /dev/hdXn /mnt/gentoo
--> anche altre eventuali partizioni (es. /home)
# cd /mnt/gentoo
9) Scaricare e scompattare lo stage scelto
# lynx http://www.gentoo.org
--> scorrere fino ai mirrors e scegliere quello italiano
# tar -xvjpf
10) Montare Proc e Dev
# mount -t proc none /mnt/gentoo/proc
# mount -o bind /dev /mnt/gentoo/dev
11) Editare il make.conf.example e rinominarlo make.conf
# nano -w /mnt/gentoo/etc/make.conf.example
12) Creare l'ambiente CHROOT
# cp -L /etc/resolv.conf /mnt/gentoo/etc/resolv.conf
# chroot /mnt/gentoo /bin/bash
# env-update
# source /etc/profile
13) Aggiornare il portage
# emerge sync
14) Configurare la USE di make.conf
per queste vedete i link a fondo pagina
-----------------------------------------------------------------------
DA QUA CONTINUARE A SECONDA DELLO STAGE SCELTO
-----------------------------------------------------------------------
Stage 1 - Stage 1 - Stage 1 - Stage 1 - Stage 1 - Stage 1 - Stage 1
15) Fare il bootstrap
# cd /usr/portage
# scripts/bootstraps.sh --> ci mette un paio di vite col mio G3600
16) Emergere tutto il sistema base
# emerge -e system --> ci mette anche lui un paio di vite
17) Settare il time-zone
# ln -sf /usr/share/zoneinfo/Europe/Rome /etc/locatime
18) Scaricare e compilare il kernel
# emerge gentoo-sources
# cd /usr/src/linux
# make menuconfig
# make all && make modules_install
# cp vmlinux /boot/
# cp System.map /boot/
19) reare fstab e configurazioni di rete
# nano -w /etc/fstab
# echo HOSTNAME > /etc/hostname
# nano -w /etc/conf.d/net
# rc-update add net.eth0 default
# nano -w /etc/rc.conf
20) BootLoader
# emerge --usepkg --update yaboot
# yabootconfig
21) Cron e System Logger
# emerge syslog-ng vixie-cron
# rc-update add syslog-ng default
# rc-update add vixie-cron default
22) Impostare password di root e creare un utente
# passwd
# useradd
# passwd
23) Reboot
# exit
# cd /
# umount /mnt/gentoo/proc /mnt/gentoo/dev /mnt/gentoo/home ecc ecc
# reboot
---------------------------------------------------------------------------------------
ADESSO DOVRESTE AVERE UN SISTEMA BASE PERFETTAMENTE COMPILATO PER LA VOSTRA MACCHINA. MANCA ANCORA DA EMERGERE TUTTO IL RESTO (XORG,GNOME-KDE,ECC.) MA LO FARETE UNA VOLTA FATTO IL BOOT.
---------------------------------------------------------------------------------------
Link Utili:
Forum di supporto ufficiale --> http://forums.gentoo.org
Portale italiano --> http://www.gentoo.it
Altro portale italiano --> http://www.gentoo-italia.net
Wiki italiano con molti doc --> http://wiki.gentoo-italia.net
Write a comment
If you want to add your comment on this post, simply fill out the next form:
* Required fields
You can use these XHTML tags: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <code> <em> <i> <strike> <strong>.
No comments
Be the first to write a comment on this post.
No trackbacks
To notify a mention on this post in your blog, enable automated notification (Options > Discussion in WordPress) or specify this trackback url: http://www.linuxchronicles.com/linux/installare-gentoo-su-ppc-stage-1-in-23-passi/trackback/