Support de cours - Le Souricier Gris
Transcription
Support de cours - Le Souricier Gris
Red Hat 9 sur Dell Optiplex GXP270 Eric BERTHOMIER [email protected] 25 août 2004 1 Avant-Propos L’installation standard d’une RedHat 9 sur un Dell Optiplex ne permet d’obtenir une session graphique XWindow qu’en mode 800x600 et 256 couleurs, cette procédure a pour but de permettre de corriger ce problème. 2 Mise à jour du BIOS Avant toute chose, il est nécessaire de mettre à jour le BIOS des machines, la version de BIOS utilisée lors de l’exécution de cette procédure est la version A04. Le fichier permettant la mise à jour du BIOS peut être téléchargé sur le site de DELL à l’adresse suivante : http://support.euro.dell.com/fr/fr/filelib/download/index.asp?fileid=R77796. Une fois téléchargé, il est nécessaire d’exécuter le programme afin d’obtenir une disquette bootable qui va permettre la mise à jour. Une fois générée, insérer la disquette dans le lecteur et booter dessus. Réaliser la mise à jour. Rappel Une mise à jour de BIOS s’effectue normalement en prenant la précaution de mettre l’ordinateur derrière un onduleur de manière à éviter toute coupure d’électricité qui pourrait se révéler gênante voire très génante. 3 Modification des paramètres du BIOS Il vous faut modifier les paramètres du BIOS, pour celà au démarrage appuyer sur la touche F2 de manière à rentrer dans le Setup de la machine. Dans le Setup, – sélectionner Integrated Devices (LegacySelect Options) – se déplacer sur Onboard Video Buffer – à l’aide de la touche +, indiquer 8 MB – appuyer sur la touche Esc pour sortir de ce menu – appuyer sur la touche Esc et choisir Save Changes and Exit 1 4 CAS D’UNE NOUVELLE INSTALLATION 4 2 Cas d’une nouvelle installation Sélectionner le driver graphique i830 dans la sélection de pilotes graphiques qui vous est proposée à la fin de l’installation de la RedHat. Sélectionner une configuration en 1024x768 en Millions de couleurs. Tout fonctionne correctement. 5 Ancienne installation Modifier les sections Monitor, Devices et Screen du fichier de configuration de X : /etc/X11/XF86Config en vous inspirant de celui-ci : # XFree86 4 c o n f i g u r a t i o n c r e a t e d by p y x f 8 6 c o n f i g Section " ServerLayout " Identifier Screen 0 InputDevice InputDevice EndSection " D e f a u l t Layout " " Screen0 " 0 0 " Mouse0 " " C o r e P o i n t e r " " Keyboard0 " " C o r e K e y b o a r d " Section " Files " # RgbPath i s t h e l o c a t i o n o f t h e RGB d a t a b a s e . Note , t h i s i s t h e name o f t h e # f i l e minus t h e e x t e n s i o n ( l i k e " . t x t " o r " . db " ) . There i s normally # no n e e d t o c h a n g e t h e d e f a u l t . # Multiple FontPath e n t r i e s are allowed ( they are concatenated t o g e t h e r ) # By d e f a u l t , Red Hat 6 . 0 and l a t e r now u s e a f o n t s e r v e r i n d e p e n d e n t o f # the X server to render fonts . RgbPath FontPath EndSection " / u s r / X11R6 / l i b / X11 / r g b " " unix /:7100" S e c t i o n " Module " Load " dbe " Load " extmod " Load " fbdevhw " Load " g l x " Load " r e c o r d " Load " f r e e t y p e " Load " t y p e 1 " Load " d r i " EndSection Section " InputDevice " # S p e c i f y which k e y b o a r d LEDs c a n be u s e r −c o n t r o l l e d ( eg , w i t h x s e t ( 1 ) ) # Option " Xleds " "1 2 3" # To d i s a b l e t h e XKEYBOARD e x t e n s i o n , uncomment X k b D i s a b l e . # Option " XkbDisable " 5 ANCIENNE INSTALLATION # # # # # # # # # # # # # # # # # # # # To c u s t o m i s e t h e XKB s e t t i n g s t o s u i t y o u r k e y b o a r d , m o d i f y t h e l i n e s below ( which a r e t h e d e f a u l t s ) . F o r example , f o r a non−U . S . k e y b o a r d , you w i l l p r o b a b l y want t o u s e : O p t i o n " XkbModel " " pc102 " I f you h a v e a US M i c r o s o f t N a t u r a l k e y b o a r d , you c a n u s e : O p t i o n " XkbModel " " microsoft " Then t o c h a n g e t h e l a n g u a g e , c h a n g e t h e L a y o u t s e t t i n g . F o r example , a german l a y o u t c a n be o b t a i n e d w i t h : O p t i o n " XkbLayout " " de " or : O p t i o n " XkbLayout " " de " Option " XkbVariant " " nodeadkeys " I f you ’ d l i k e t o s w i t c h t h e p o s i t i o n s o f y o u r c a p s l o c k and c o n t r o l keys , u s e : Option " XkbOptions " " c t r l : swapcaps " Or i f you j u s t want b o t h t o be c o n t r o l , u s e : Option " XkbOptions " " c t r l : nocaps " Identifier Driver Option Option Option EndSection " Keyboard0 " " keyboard " " XkbRules " " x f r e e 8 6 " " XkbModel " " pc105 " " XkbLayout " " f r " Section " InputDevice " Identifier " Mouse0 " Driver " mouse " Option " P r o t o c o l " " IMPS / 2 " Option " D e v i c e " " / dev / i n p u t / mice " Option " ZAxisMapping " "4 5" Option " E m u l a t e 3 B u t t o n s " " no " EndSection Section " InputDevice " # I f t h e n o r m a l C o r e P o i n t e r mouse i s n o t a USB mouse t h e n # t h i s i n p u t d e v i c e c a n be u s e d i n AlwaysCore mode t o l e t you # a l s o u s e USB mice a t t h e same t i m e . Identifier " DevInputMice " Driver " mouse " Option " P r o t o c o l " " IMPS / 2 " Option " D e v i c e " " / dev / i n p u t / mice " Option " ZAxisMapping " "4 5" Option " E m u l a t e 3 B u t t o n s " " no " EndSection Sect i on " Monitor " Identifier VendorName " Monitor0 " " M o n i t o r Vendor " 3 6 CONCLUSION 4 ModelName "DELL E152FP " D i s p l a y S i z e 300 230 HorizSync 30.0 − 63.0 VertRefresh 56.0 − 76.0 Option " dpms " EndSection S e c t i o n " Device " Identifier Driver VendorName BoardName VideoRam EndSection " Videocard0 " " i810 " " Videocard vendor " " I n t e l 830" 16384 Section " Screen " I d e n t i f i e r " Screen0 " Device " Videocard0 " Monitor " Monitor0 " DefaultDepth 24 SubSection " Display " Depth 24 Modes "1024 x768 " "800 x600 " "640 x480 " EndSubSection EndSection S e c t i o n " DRI " Group Mode EndSection 0 0666 Si l’interface graphique démarre automatiquement, des erreurs vont s’afficher, que neni, suivez les instructions données par le programme de RedHat puis relancer le serveur X par la suite. Je n’ai hélas pu réaliser une méthode pure et dure mais soyez persévérant et têtu celà fonctionne ! Rappel Pour réinitialiser le serveur X (notamment dans le cas de l’utilisation d’un display manager (XDM, GDM, KDM, ...), il faut appuyer simultanément sur Ctrl Alt Backspace. 6 Conclusion Ce document est fourni à titre d’informations et n’engage en aucun cas la responsabilité de son auteur. Merci de bien vouloir faire suivre toute information relative à ce document afin de le compléter et le mettre à jour.