1 |
Bonjour, |
2 |
|
3 |
J'ai installé gentoo sur mon serveur (auparavant, c'était une debian). |
4 |
Celui-ci comporte deux disques: |
5 |
|
6 |
/dev/hda -> IDE -> /mnt/hd |
7 |
|
8 |
/dev/hdc -> SATA -> /dev/hdc1 -> /boot |
9 |
-> /dev/hdc3 -> / |
10 |
|
11 |
Je pouvais pas deviner qu'au reboot, après l'installation, mon SATA |
12 |
serait hdc (j'aurai préféré sda ou encore hda). Horreur! Le SATA est |
13 |
terriblement lent! Forcèment, il n'est pas actif dans le noyau par |
14 |
défaut 2.6.19. Je l'ai recompilé dans le noyau |
15 |
|
16 |
sedna linux # grep -i SATA /usr/src/linux/.config |
17 |
# CONFIG_BLK_DEV_IDE_SATA is not set |
18 |
# CONFIG_SATA_AHCI is not set |
19 |
# CONFIG_SATA_SVW is not set |
20 |
# CONFIG_SATA_MV is not set |
21 |
# CONFIG_SATA_NV is not set |
22 |
# CONFIG_SATA_QSTOR is not set |
23 |
# CONFIG_SATA_PROMISE is not set |
24 |
# CONFIG_SATA_SX4 is not set |
25 |
# CONFIG_SATA_SIL is not set |
26 |
# CONFIG_SATA_SIL24 is not set |
27 |
# CONFIG_SATA_SIS is not set |
28 |
# CONFIG_SATA_ULI is not set |
29 |
# CONFIG_SATA_VIA is not set |
30 |
# CONFIG_SATA_VITESSE is not set |
31 |
CONFIG_SATA_INTEL_COMBINED=y |
32 |
|
33 |
Par contre lorsque je boote sur le nouveau noyau, on dirait bien que |
34 |
ma racine n'est plus la même... Comment faire pour démarrer avec prise |
35 |
en charge de mon disque SATA? |
36 |
|
37 |
Merci. |
38 |
|
39 |
Ci-dessous mon grub.conf et fstab: |
40 |
|
41 |
sedna linux # cat /boot/grub/grub.conf |
42 |
default 0 |
43 |
timeout 30 |
44 |
|
45 |
splashimage=(hd0,0)/boot/grub/splash.xpm.gz |
46 |
|
47 |
title=Gentoo Linux ancien |
48 |
root (hd0,0) |
49 |
kernel /kernel-genkernel-x86-2.6.19-gentoo-r5 root=/dev/ram0 |
50 |
init=/linuxrc ramdisk=8192 real_root=/dev/hdc3 udev |
51 |
initrd /initramfs-genkernel-x86-2.6.19-gentoo-r5 |
52 |
|
53 |
title=Gentoo Linux recompile |
54 |
root (hd0,0) |
55 |
kernel /kernel-genkernel-x86-2.6.19-gentoo-r5-custom root=/dev/ram0 |
56 |
init=/linuxrc ramdisk=8192 real_root=/dev/hdc3 udev |
57 |
initrd /initramfs-genkernel-x86-2.6.19-gentoo-r5-custom |
58 |
|
59 |
sedna linux # cat /etc/fstab |
60 |
/dev/hdc1 /boot reiserfs notail,noatime 1 2 |
61 |
/dev/hdc3 / reiserfs notail,noatime 0 1 |
62 |
/dev/hdc2 none swap sw 0 0 |
63 |
/dev/cdroms/cdrom0 /mnt/cdrom iso9660 noauto,ro 0 0 |
64 |
/dev/fd0 /mnt/floppy auto noauto 0 0 |
65 |
/dev/hda1 /mnt/hd1 reiserfs defaults 0 0 |
66 |
proc /proc proc defaults 0 0 |
67 |
shm /dev/shm tmpfs |
68 |
nodev,nosuid,noexec 0 0 |
69 |
-- |
70 |
gentoo-user-fr@g.o mailing list |