1 |
CARUANA J-P Ext ROSI/SIFAC a écrit : |
2 |
|
3 |
>non non, c'est écrit dans la doc gentoo |
4 |
> |
5 |
> |
6 |
> |
7 |
Ah bon, ce doit être le Genkernel alors. |
8 |
|
9 |
>??? |
10 |
>pour un 1er test, j'ai pris genkernel |
11 |
>j'ai un peu peur de ne pas mettre les bonnes options |
12 |
> |
13 |
> |
14 |
> |
15 |
Ok, de toutes façons le Genkernel est fait pour ça. ;-) |
16 |
|
17 |
>euh, les partitions de mon HD sont assez compliquée, mais j'ai séparé /boot qui est sur /dev/hda2 (donc hd0,1 pour grub) |
18 |
> |
19 |
> |
20 |
> |
21 |
Ne t'en fais pas, j'ai une trentaine de partitions sur 6 disques et ça |
22 |
le fait très bien. |
23 |
|
24 |
>pour grub, voila ce que donne la doc, et ce que j'ai fait : |
25 |
> |
26 |
># grub |
27 |
>grub> root (hd0,1) |
28 |
>grub> setup (hd0) |
29 |
>grub> quit |
30 |
># nano -w /boot/grub/grub.conf |
31 |
>default 0 |
32 |
>timeout 15 |
33 |
>splashimage=(hd0,1)/grub/splash.xpm.gz |
34 |
> |
35 |
>title=Gentoo Linux <kernel version> |
36 |
> root (hd0,1) |
37 |
> kernel /kernel-<kernel version> root=/dev/ram0 init=/linuxrc real_root=/dev/hda2 |
38 |
> initrd /initrd-<kernel version> |
39 |
> |
40 |
>mais il est vrai que la ligne kernel est celle pour les "genkernel users" |
41 |
> |
42 |
> |
43 |
>les "non genkernel users" n'ont pas de real_root, ils ont root=/dev/hda2 |
44 |
> |
45 |
>peut etre cela vient-il de la ? |
46 |
> |
47 |
> |
48 |
Tout à fait, comme tu peux le voir, sur mon serveur de test le grub.conf |
49 |
est beaucoup plus simple: |
50 |
|
51 |
marge grub # cat grub.conf |
52 |
# Boot automatically after 5 secs. |
53 |
timeout 5 |
54 |
password --md5 xxxxxxxxxx |
55 |
|
56 |
# By default, boot the first entry. |
57 |
default 0 |
58 |
|
59 |
# Un beau splash ! |
60 |
splashimage=(hd0,0)/grub/splash.xpm.gz |
61 |
|
62 |
# Fallback to the second entry. |
63 |
fallback 1 |
64 |
|
65 |
#Linux 2.4.27 avec Bootsplash |
66 |
title Linux 2.4.27 - Bootsplash |
67 |
root (hd0,0) |
68 |
kernel /kernel-2.4.27 root=/dev/hda5 video=mtrr,vesa:800x600@75 |
69 |
vga=0x314 splash=silent |
70 |
initrd=/initrd-gentoo-800x600 |
71 |
|
72 |
#Linux 2.4.26 avec bootsplash |
73 |
title Linux 2.4.26 avec bootsplash |
74 |
root (hd0,0) |
75 |
kernel /kernel-2.4.26-r2 root=/dev/hda5 |
76 |
video=mtrr,vesa:800x600@75 vga=0x314 splash=silent |
77 |
initrd=/initrd-gentoo-800x600 |
78 |
|
79 |
|
80 |
# For booting GNU/Linux |
81 |
title Linux 2.4.26 sans bootsplash |
82 |
root (hd0,0) |
83 |
kernel /kernel-2.4.26 root=/dev/hda5 vga=789 |
84 |
|
85 |
Mets de coté les options du framebuffer/bootsplash et on se retrouve |
86 |
dans une configuration ultra-classique. Malheureusement je ne peux |
87 |
t'aider immédiatement car je ne connais pas bien ce Genkernel. As-tu |
88 |
essayé de voir dans les forums? |
89 |
|
90 |
-- |
91 |
Christophe Garault |
92 |
|
93 |
|
94 |
|
95 |
|
96 |
|
97 |
|
98 |
-- |
99 |
gentoo-user-fr@g.o mailing list |