expert:repare_lilo
no way to compare when less than two revisions
Différences
Ci-dessous, les différences entre deux révisions de la page.
— | expert:repare_lilo [2018/11/17 12:53] (Version actuelle) – créée - modification externe 127.0.0.1 | ||
---|---|---|---|
Ligne 1: | Ligne 1: | ||
+ | ====== Réparer son gestionnaire de démarrage LILO ====== | ||
+ | |||
+ | ===== La façon classique ===== | ||
+ | |||
+ | ==== CHROOT ==== | ||
+ | |||
+ | Pour réparer Lilo, notre gestionnaire de boot, ce n'est pas très compliqué. | ||
+ | |||
+ | * Tout d' | ||
+ | * Ensuite, il vous faudra passer dans une console. Il n'est pas question de démarrer une nouvelle installation dans le cas ou vous utiliseriez le CD de votre distribution préférée. Donc, tapez les commandes suivantes (en adaptant à votre cas bien sûr): | ||
+ | |||
+ | # mkdir /mnt/linux | ||
+ | # cd /mnt/linux | ||
+ | |||
+ | * monter votre partition / et chrootez-la : | ||
+ | |||
+ | # mount -w / | ||
+ | # chroot /mnt/linux /bin/bash | ||
+ | |||
+ | * remplacer ou modifier votre fichier lilo.conf qui se trouve maintenant dans / | ||
+ | |||
+ | # lilo | ||
+ | |||
+ | * Il ne reste plus qu'à redémarrer. | ||
+ | |||
+ | |||
+ | Pour le cas où une réinstallation de Windows aurait écrasé votre MBR, c'est encore plus simple : Bootez avec le CD de votre distribution. Au prompt : | ||
+ | |||
+ | # boot:ata root=/ | ||
+ | |||
+ | Vous pourrez ainsi booter sur votre partition Linux. Une fois dans votre environnement : | ||
+ | |||
+ | # lilo | ||
+ | ou | ||
+ | # liloconfig | ||
+ | |||
+ | ===== / | ||
+ | |||
+ | Voici un exemple de fichier / | ||
+ | |||
+ | < | ||
+ | # LILO configuration file | ||
+ | # generated by ' | ||
+ | # | ||
+ | # Start LILO global section | ||
+ | append=" | ||
+ | boot = /dev/sda | ||
+ | bitmap=/ | ||
+ | bmp-table=234p, | ||
+ | bmp-colors=220, | ||
+ | bmp-timer=539p, | ||
+ | prompt | ||
+ | timeout = 50 | ||
+ | default = Linux | ||
+ | # Override dangerous defaults that rewrite the partition table: | ||
+ | change-rules | ||
+ | reset | ||
+ | # VESA framebuffer console @ 1024x768x64k | ||
+ | vga = 791 | ||
+ | # Normal VGA console | ||
+ | # vga = normal | ||
+ | # VESA framebuffer console @ 1024x768x64k | ||
+ | # vga=791 | ||
+ | # VESA framebuffer console @ 1024x768x32k | ||
+ | # vga=790 | ||
+ | # VESA framebuffer console @ 1024x768x256 | ||
+ | # vga=773 | ||
+ | # VESA framebuffer console @ 800x600x64k | ||
+ | # vga=788 | ||
+ | # VESA framebuffer console @ 800x600x32k | ||
+ | # vga=787 | ||
+ | # VESA framebuffer console @ 800x600x256 | ||
+ | # vga=771 | ||
+ | # VESA framebuffer console @ 640x480x64k | ||
+ | # vga=785 | ||
+ | # VESA framebuffer console @ 640x480x32k | ||
+ | # vga=784 | ||
+ | # VESA framebuffer console @ 640x480x256 | ||
+ | # vga=769 | ||
+ | # End LILO global section | ||
+ | # Windows bootable partition config begins | ||
+ | other = /dev/sda1 | ||
+ | label = Windows | ||
+ | table = /dev/sda | ||
+ | # Windows bootable partition config ends | ||
+ | # Linux bootable partition config begins | ||
+ | image = / | ||
+ | root = /dev/sda6 | ||
+ | label = Linux | ||
+ | initrd = / | ||
+ | read-only | ||
+ | # Linux bootable partition config ends | ||
+ | </ | ||
+ | |||
expert/repare_lilo.txt · Dernière modification : 2018/11/17 12:53 de 127.0.0.1