Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
[boot UUID]boot avec option "real_root=UUID=" [RESOLU]
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
xaviermiller
Bodhisattva
Bodhisattva


Joined: 23 Jul 2004
Posts: 8723
Location: ~Brussels - Belgique

PostPosted: Fri Nov 14, 2008 8:29 am    Post subject: [boot UUID]boot avec option "real_root=UUID=" [RES Reply with quote

Bonjour,

Dans le cadre d'un Gentoo sur disque USB, j'ai constitué un noyau universel avec genkernel et l'option "--disklabel".

Dans grub, j'ai mis

Code:
title Gentoo Linux
root (hd0,0)
kernel /boot/vmlinuz root=/dev/ram0 ramdisk=8192 init=/linuxrc real_root=UUID=5c12ef3e-05ee-4fb8-b1b1-992429b308c2 video=uvesafb:1024x768-32,ywrap,mtrr:3 quiet
initrd /boot/initramfs
rootdelay=10


Tout démarre correctement, mais au moment de monter /, un message me dit qu'il ne peut pas déterminer UUID=...
Je presse ENTER et ça passe.

En cherchant sur le forum, je vois qu'il faut mettre une option "rootdelay" mais elle ne semble pas fonctionner.

Et vu que je ne sais pas à quoi elle est attachée (kernel ? genkernel ?) et que je ne trouve pas grand chose sur le net (le wiki est quasi vide), je n'ai pas d'idées...

Quelqu'un a-t-il réussi une manip du genre de la mienne ?

EDIT: Comme dit par Baptux : ajouter scandelay=2 dans les paramètres du kernel et ça roule !
_________________
Kind regards,
Xavier Miller


Last edited by xaviermiller on Wed Nov 19, 2008 7:36 pm; edited 1 time in total
Back to top
View user's profile Send private message
NEOxAKIRA
Guru
Guru


Joined: 20 May 2007
Posts: 302
Location: France

PostPosted: Fri Nov 14, 2008 2:29 pm    Post subject: Reply with quote

l'utilisation de UUID dans grub nécessite un initrd après je sais pas ce qu'il faut dedans, le tien il sert à quoi ?
Back to top
View user's profile Send private message
xaviermiller
Bodhisattva
Bodhisattva


Joined: 23 Jul 2004
Posts: 8723
Location: ~Brussels - Belgique

PostPosted: Fri Nov 14, 2008 2:34 pm    Post subject: Reply with quote

comme indiqué, c'est le initrd de genkernel, qui, avec l'option --disklabel, génère le patch nécessaire, et qui fonctionne... à condition de laisser la détection automatique se planter et appuyer sur enter.
_________________
Kind regards,
Xavier Miller
Back to top
View user's profile Send private message
netfab
Veteran
Veteran


Joined: 03 Mar 2005
Posts: 1968
Location: 127.0.0.1

PostPosted: Fri Nov 14, 2008 3:17 pm    Post subject: Reply with quote

Salut,

Jette un oeil dans le fichier /usr/share/genkernel/generic/linuxrc, pour voir si tu y trouves le message d'erreur exact lorsqu'il te dit qu'il ne peut pas détermnier UUID. Et d'après ce bug :
Quote:
Are you using --disklabel when building your kernel/initramfs? It's required
to have blkid installed into the initramfs.

Aucune idée si c'est lié à ton problème ou pas, vérifie. Jamais utilisé genkernel.
Back to top
View user's profile Send private message
xaviermiller
Bodhisattva
Bodhisattva


Joined: 23 Jul 2004
Posts: 8723
Location: ~Brussels - Belgique

PostPosted: Fri Nov 14, 2008 3:20 pm    Post subject: Reply with quote

je vais vérifier.

Ce que j'avais trouvé en googlant, c'est qu'il faut mettre un délai pour que ça passe. Certains ont patché le linuxrc pour mettre un sleep avant le montage de root, mais d'autres (et je trouve cette option plus propre) passent par un paramètre au lancement du kernel.

Je vais lire le script, histoire de voir qu'il interprète bien ce paramètre :)
_________________
Kind regards,
Xavier Miller
Back to top
View user's profile Send private message
xaviermiller
Bodhisattva
Bodhisattva


Joined: 23 Jul 2004
Posts: 8723
Location: ~Brussels - Belgique

PostPosted: Sun Nov 16, 2008 7:54 pm    Post subject: Reply with quote

Bonjour,

Je "upperise" mon message :)
_________________
Kind regards,
Xavier Miller
Back to top
View user's profile Send private message
bouleetbil
Guru
Guru


Joined: 06 Jul 2004
Posts: 456
Location: Montpellier

PostPosted: Tue Nov 18, 2008 10:18 pm    Post subject: Reply with quote

Salut,
essaye avec l'option "scandelay" sa fera une pause de 10 secondes
_________________
L'homme n'est pas fait pour travailler ça le fatigue.
LiveCD Gentoo : http://www.frogdev.info
Gentoo/Freebsd : http://www.frogdev.info/gentoo_freebsd.php
Back to top
View user's profile Send private message
xaviermiller
Bodhisattva
Bodhisattva


Joined: 23 Jul 2004
Posts: 8723
Location: ~Brussels - Belgique

PostPosted: Wed Nov 19, 2008 8:31 am    Post subject: Reply with quote

ah en effet, si c'est "scandelay" à la place de "rootdelay", je comprends pourquoi ça ne fonctionne pas. Je réessaie dès que possible :)

Merci pour la piste ;)
_________________
Kind regards,
Xavier Miller
Back to top
View user's profile Send private message
xaviermiller
Bodhisattva
Bodhisattva


Joined: 23 Jul 2004
Posts: 8723
Location: ~Brussels - Belgique

PostPosted: Wed Nov 19, 2008 7:37 pm    Post subject: Reply with quote

MERCI MERCI MERCI !!!! C'est résolu !

title Gentoo Linux
root (hd0,0)
kernel /boot/vmlinuz root=/dev/ram0 ramdisk=8192 init=/linuxrc real_root=UUID=5c12ef3e-05ee-4fb8-b1b1-992429b308c2 video=uvesafb:1024x768-32,ywrap,mtrr:3 quiet scandelay=2
initrd /boot/initramfs
_________________
Kind regards,
Xavier Miller
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