Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
[resolu] Aide configurer grub
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index French
View previous topic :: View next topic  
Author Message
aleskk
n00b
n00b


Joined: 21 May 2014
Posts: 4

PostPosted: Wed May 21, 2014 7:31 pm    Post subject: [resolu] Aide configurer grub Reply with quote

Bonjour,

Je cherche à savoir quelle commande crée le fichier kernel et intramfs dans /boot?

Mon /boot est vide (hormis le dossier grub) et j'ai une "erreur 15 - file not found" lorsque je sélectionne mon kernel dans grub.


Last edited by aleskk on Thu May 22, 2014 9:38 pm; edited 1 time in total
Back to top
View user's profile Send private message
USTruck
Guru
Guru


Joined: 21 Aug 2005
Posts: 423
Location: La Louviere (Belgique)

PostPosted: Thu May 22, 2014 9:04 am    Post subject: Reply with quote

Bonjour,

si le /boot est vide, c'est que tu as oublier de faire l'installation du kernel :
Rappel :
make menuconfig -> permet de modifier la config kernel
make all -jx -> all compile le kernel, -jx ; remplace x par le nombre que tu as mis dans le make.conf ou nombre de processeur (2, 4, 8, ...)
make modules -> compile les modules définis dans la config kernel
make modules_install -> installe les modules dans /lib/modules
make install -> installe le kernel dans /boot (pas le initramfs ou initrd)
make firmware -> prepare les firmware existant dans les sources kernel
make firmware_install -> installe les firmware existant dans les sources kernel dans /lib/firmware

On peut utiliser genkernel pour l'installation du kernel et générér l'initramfs

Pour le boot et initramfs : http://wiki.gentoo.org/wiki/Genkernel/fr

Pour grub : http://wiki.gentoo.org/wiki/GRUB2_Migration/fr
Back to top
View user's profile Send private message
aleskk
n00b
n00b


Joined: 21 May 2014
Posts: 4

PostPosted: Thu May 22, 2014 9:19 am    Post subject: Reply with quote

Merci, ça confirme ce que j'ai lu ici : http://unix.stackexchange.com/questions/121611/gentoo-does-not-seem-to-be-booting-new-kernel

Un raté pendant l'installation avec genkernel 3.12.13 ?? L'installation avait été réalisée avec la commande 'genkernel all'

Je réinstalle avec menuconfig en suivant tes indications.

Super le lien : http://wiki.gentoo.org/wiki/Genkernel/fr#Installer_le_noyau_et_le_disque_virtuel_de_d.C3.A9marrage_dans_le_dossier_.2Fboot
Back to top
View user's profile Send private message
aleskk
n00b
n00b


Joined: 21 May 2014
Posts: 4

PostPosted: Thu May 22, 2014 9:41 pm    Post subject: Reply with quote

j'ai réinstallé initramfs et le kernel

# genkernel --install initramfs
# genkernel kernel

Mes fichiers 'kernel', 'initramfs' et 'system.map' ont été créé dans /boot.

J'ai réparé grub via l'invite 'grub>' (pourtant après avoir configuré grub.conf)

Effectivement, c'est bien la compilation du kernel qui installe le noyau dans /boot.

On apprend, on apprend :)
Back to top
View user's profile Send private message
USTruck
Guru
Guru


Joined: 21 Aug 2005
Posts: 423
Location: La Louviere (Belgique)

PostPosted: Fri May 23, 2014 7:15 am    Post subject: Reply with quote

Bonjour

grub.conf ... si tu as grub2 il passe par grub.cfg ....

revoir le lien de grub
Back to top
View user's profile Send private message
aleskk
n00b
n00b


Joined: 21 May 2014
Posts: 4

PostPosted: Fri May 23, 2014 9:25 am    Post subject: Reply with quote

Ah merci, ça explique pourquoi mes changements n'étaient pas pris en compte au boot... !

J'ai suivi le manuel FR de Gentoo mais il est encore à grub 1 (2011)
en éditant grub.cfg, ca va effectivement tout de suite mieux.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index French All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum