Installation de Gentoo 2008.0 sur une dedibox XL
By AkH, 3 years, 6 months ago, modified Aug. 7, 2008
Dedibox à l'heure actuelle ne fournit qu'une version 2007.0 de Gentoo en 32 bits.
Les core duo 2 sont des cpus 64bits en emulation amd64, voici les étapes à suivre pour installer une 2008.0 en 64bits:
Installer d'abord ubuntu en 64 bits pour avoir un rescue en 64 bits oui c est nul ...
Choisissez un partionnement qui ressemblera à votre future installation cela vous évitera de devoir le refaire à la main.
Une fois l'installation terminé, lancez la console de secours par l'interface dedibox, connectez vous
EDIT: ATTENTION dans mon exemple la swap est sur /dev/sda1 et mon / sur /dev/sda2, rien ne vous oblige à suivre le même partionnement, l'installation est la même que pour gentoo standard, la seule nuance réside dans le fait de faire cela a distance sans live cd, et d'avoir un kernel qui boot correctement.
mkdir /mnt/gentoo mount /dev/sda2 /mnt/gentoo cd /mnt/gentoo/ wget ftp://ftp.free.fr/pub/Distributions_Linux/Gentoo/releases/amd64/2008.0/stages/stage3-amd64-2008.0.tar.bz2 tar xvjpf stage3-amd64-2008.0.tar.bz2 rm stage3-amd64-2008.0.tar.bz2 wget ftp://ftp.free.fr/pub/Distributions_Linux/Gentoo/snapshots/portage-20080806.tar.bz2 tar xvjf portage-20080806.tar.bz2 -C /mnt/gentoo/usr
Editez /mnt/gentoo/etc/make.conf pour y faire figurer les infos suivantes:
CFLAGS="-march=nocona -O2 -pipe"
CXXFLAGS="${CFLAGS}"
MAKEOPTS="-j3"
GENTOO_MIRRORS="ftp://ftp.free.fr/mirrors/ftp.gentoo.org/ "
SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage"
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"
emerge --sync
Editez /etc/locale.gen
en_US ISO-8859-1 en_US.UTF-8 UTF-8 fr_FR ISO-8859-1 fr_FR@euro ISO-8859-15 fr_FR.UTF-8 UTF-8
locale-gen
cp /usr/share/zoneinfo/Europe/Paris /etc/localtime
emerge gentoo-sources cd /usr/src/linux
Pour le kernel il vous faut le module r8169 pour la carte réseau, et choisir Core duo 2 cpu Family 6, voici un fichier de config pour le kernel-2.6.25-gentoo-r7 qui fonctionne.
Editez /etc/fstab
/etc/fstab /dev/sda2 / ext3 noatime 0 1 /dev/sda1 none swap sw 0 0
Attention chez moi la swap est en début de disque en général, vous avez un /boot et un / qui peuvent être ailleurs voir la doc d'install de gentoo.
Editez /etc/conf.d/hostname
Editez /etc/conf.d/net
dns_domain_lo="nobugware.com" config_eth0=( "88.191.xx.xx netmask 255.255.255.0 brd 88.191.xx.255" ) routes_eth0=( "default via 88.191.xx.1" )
Editez /etc/hosts
emerge -uDv system
emerge reiserfsprogs mirrorselect metalog ... rc-update add metalog default emerge vixie-cron rc-update add vixie-cron default crontab /etc/crontab
Editez/boot/grub/grub.conf
default 0 timeout 30 title Gentoo Linux root (hd0,1) kernel /boot/bzImage root=/dev/sda2
Ici encore attention chez vous le root n'est peut être pas sda2 ni (hd0,1)
grub> root (hd0, Possible partitions are: Partition num: 0, Filesystem type unknown, partition type 0x83 Partition num: 1, Filesystem type is ext2fs, partition type 0x83 grub> root (hd0,1) Filesystem type is ext2fs, partition type 0x83 grub> setup (hd0) Checking if "/boot/grub/stage1" exists... yes Checking if "/boot/grub/stage2" exists... yes Checking if "/boot/grub/e2fs_stage1_5" exists... yes Running "embed /boot/grub/e2fs_stage1_5 (hd0)"... failed (this is not fatal) Running "embed /boot/grub/e2fs_stage1_5 (hd0,1)"... failed (this is not fatal) Running "install /boot/grub/stage1 (hd0) /boot/grub/stage2 p /boot/grub/menu.lst "... succeeded Done.
emerge openssh rc-update add sshd default rc-update add net.eth0 default
Configurer /etc/conf.d/clock
Ajouter un passwd root eventuelement
emerge sudo et le configurer
useradd -m -G users,wheel,audio -s /bin/bash john passwd john
umount /mnt/gentoo/boot /mnt/gentoo/dev /mnt/gentoo/proc /mnt/gentoo reboot
Vous avez une Gentoo 2008.0 64 bits sur votre dedibox XL.
Merci Juju pour les tests :)


Comments
hi john !
stoi mission impossible
il manque donc qqus trucs systemes important :
rc-update add sshd default
configurer /etc/conf.d/clock
ajouter un passwd root eventuelement
emerge sudo + config
ah oui et ajouter eth0 au rd-default aussi ;) c tes mieux quand on ets en remote
Bonjour, impossible de configurer grub.. je n'arrive pas a le faire booter
Il y a plus simple que d'installer gentoo par dessus une debian....
Il suffit de procéder à l'installation à partir du mode Rescue de dedibox.
et la c'est beaucoup plus propre et plus pro
http://www.nikeairmaxhome.com/
http://www.ugg2boot.com/
Great resource. I really enjoyed your site!
<a href="http://www.promdressesol.com/alice/174-alice-cocktail-dresses-off-shoulder-white-chiffon-knee-length80306.html"><strong>white cocktail dresses</strong></a> party gowns
<a href="http://www.promdressesol.com"><strong>wedding dresses</strong></a> cheap prom dresses
<a href="http://www.promdressesol.com"><strong>red prom dresses 2011</strong></a> party dresses 2010
<a href="http://www.promdressesol.com"><strong>short prom dresses 2011</strong></a> prom dresses 2010 collection
<a href="http://www.promdressesol.com"><strong>purple wedding dresses</strong></a> prom dresses and gowns
<a href="http://www.promdressesol.com/tiffany/183-tiffany-bridesmaid-dresses-one-shoulder-picture-color-netorganza-spumous0505.html"><strong>tiffany blue bridesmaid dresses</strong></a> prom gowns on sale
<a href="http://www.promdressesol.com"><strong>blue prom dresses 2011</strong></a> prom dresses 2010
<a href="http://www.promdressesol.com"><strong>prom dresses 2011 long</strong></a> prom gowns wholesale
<a href="http://www.promdressesol.com"><strong>long prom dresses 2011</strong></a> ball dresses
<a href="http://www.promdressesol.com"><strong>backless wedding dresses</strong></a> ball dresses 2010
<a href="http://www.promdressesol.com"><strong>white prom dresses</strong></a> ball dresses for sale
<a href="http://www.promdressesol.com"><strong>evening dress</strong></a> brides dresses <a href="http://www.promdressesol.com/athena/366-asymmetrical-v-neck-sleeveless-elastic-satin-dress2880-.html"><strong>satin dress</strong></a> girls bridesmaid dresses
<a href="http://www.promdressesol.com/fancy-world/226-fancy-world-party-gowns-off-shoulder-red-carpet-chiffon-sweetheart56308.html"><strong>red carpet dresses</strong></a> handmade dresses
<a href="http://www.promdressesol.com/48-pink"><strong>purple sweet 16 dresses</strong></a> prom dress shops
I see a lot good quality posts here
<a href=http://odchudzanieskuteczne.blogspot.com>tabletki na odchudzanie</a>
Are there further facts about the following?
This excellent website stands out as the the best marketers.
Magnificent internet site! Too spammy despite the fact
outstanding web-site My goal is to put the site if you want to this facebook or twitter . to boot
I without doubt embrace every thing you have mentioned. The fact is, I actually read all the way through ones own some articles and reviews and perform think that you might be definitely correctly. Champion using this internet based webpage.
It’s extraordinary should come across things on line this is as exciting and additionally fascinating like every thing you come with below. The article is undoubtedly splendid, your personal images perfect, combined with what’s a great deal more, make use of useful resource which can be about exactly what you’re preaching about. You’re definitely one at a billion dollars, congratulations!
Oh my benefits! a wonderful document boy. Thx Having said that I’m having trouble with 3rd thererrrs r feed . Don’t acknowledge the reasons why Unable to sign up for doing it. Perhaps there is anyone gaining equivalent rss feed draw back? Anybody who recognizes kindly response. Thnkx
good internet site
Appreciation for this excellent posting! It will be very useful. I wish which you will move publishing your understanding with us.
I'm fresh to weblog and also savored your web site. My goal is to store your web site plus always keep checking out you out. Prefer need to thank you meant for telling your web location.