informatique:partition_boot_remplie_sur_debian_grub_rescue
Différences
Ci-dessous, les différences entre deux révisions de la page.
| Les deux révisions précédentesRévision précédenteProchaine révision | Révision précédente | ||
| informatique:partition_boot_remplie_sur_debian_grub_rescue [2026/07/05 09:42] – simon | informatique:partition_boot_remplie_sur_debian_grub_rescue [2026/07/05 10:56] (Version actuelle) – simon | ||
|---|---|---|---|
| Ligne 31: | Ligne 31: | ||
| mount: /rescue: unknown filesystem type ' | mount: /rescue: unknown filesystem type ' | ||
| - | root@localhost-live:/ | + | root@localhost-live:/ |
| Enter passphrase for / | Enter passphrase for / | ||
| Ligne 91: | Ligne 91: | ||
| {{ : | {{ : | ||
| - | À tester : une ligne à copier coller : | + | Les commandes |
| <code bash> | <code bash> | ||
| - | sudo -i; mkdir /rescue; cryptsetup luksOpen / | + | sudo -i |
| + | mkdir /rescue | ||
| + | cryptsetup luksOpen / | ||
| + | mount -t ext4 -o noatime / | ||
| + | mount /dev/sda1 / | ||
| + | chroot /rescue/ | ||
| </ | </ | ||
| Ligne 157: | Ligne 162: | ||
| <code bash> | <code bash> | ||
| - | # update-initramfs -u | + | # export LANG=fr_BE.utf8 |
| + | # export LC_ALL=fr_BE.utf8 | ||
| + | # export LANGUAGE=fr_BE.utf8 | ||
| + | # update-initramfs -u -k all | ||
| </ | </ | ||
| Ligne 177: | Ligne 185: | ||
| Puis relancez la création de l’image du noyau avec cette commande : | Puis relancez la création de l’image du noyau avec cette commande : | ||
| <code bash> | <code bash> | ||
| - | # update-initramfs -u | + | # export LANG=fr_BE.utf8 |
| + | # export LC_ALL=fr_BE.utf8 | ||
| + | # export LANGUAGE=fr_BE.utf8 | ||
| + | # update-initramfs -u -k all | ||
| </ | </ | ||
| </ | </ | ||
| Ligne 183: | Ligne 194: | ||
| Espérons que ça règle un peu le problème. Sinon je vais finir par faire une réinstallation complète et mettre une partition /boot de 2Go.:-\ | Espérons que ça règle un peu le problème. Sinon je vais finir par faire une réinstallation complète et mettre une partition /boot de 2Go.:-\ | ||
| + | < | ||
| + | |||
| + | J'ai également rencontré un autre problème : | ||
| + | <code bash> | ||
| + | root@localhost-live:/# | ||
| + | Installing for i386-pc platform. | ||
| + | grub-install: | ||
| + | </ | ||
| + | |||
| + | Si je comprends bien, il y a des erreurs dans les partitions et ça vaut la peine de nettoyer ça (voir [[https:// | ||
| + | |||
| + | <code bash> | ||
| + | root@localhost-live:/# | ||
| + | exit | ||
| + | root@localhost-live: | ||
| + | root@localhost-live: | ||
| + | e2fsck 1.47.3 (8-Jul-2025) | ||
| + | /dev/sda1 contains a file system with errors, check forced. | ||
| + | Pass 1: Checking inodes, blocks, and sizes | ||
| + | Inode 108123, i_size is 16384, should be 12288. | ||
| + | Inode 108123, i_blocks is 34, should be 26. Fix< | ||
| + | Inode 108363, i_blocks is 36, should be 26. Fix< | ||
| + | Inode 108675, i_blocks is 32, should be 26. Fix< | ||
| + | Inode 108125, i_blocks is 116, should be 26. Fix< | ||
| + | Inode 108126, i_blocks is 60, should be 26. Fix< | ||
| + | Inode 108127, i_blocks is 58, should be 26. Fix< | ||
| + | Inode 108161, i_blocks is 236, should be 26. Fix< | ||
| + | Inode 108162, i_blocks is 292, should be 26. Fix< | ||
| + | Inode 108163, i_blocks is 346, should be 26. Fix (' | ||
| + | Inode 108630, i_blocks is 120, should be 26. Fix? yes | ||
| + | |||
| + | (...plein de trucs...) | ||
| + | |||
| + | Free blocks count wrong for group #60 (2348, counted=2359). | ||
| + | Fix? yes | ||
| + | |||
| + | Free blocks count wrong (166249, counted=167613). | ||
| + | Fix? yes | ||
| + | |||
| + | |||
| + | /dev/sda1: ***** FILE SYSTEM WAS MODIFIED ***** | ||
| + | /dev/sda1: 523/124440 files (22.2% non-contiguous), | ||
| + | </ | ||
| + | |||
| + | Après ça, on remonte la partition, on chroot à nouveau et on réinstalle grub : | ||
| + | |||
| + | <code bash> | ||
| + | root@localhost-live: | ||
| + | |||
| + | root@localhost-live: | ||
| + | |||
| + | root@localhost-live:/# | ||
| + | Installing for i386-pc platform. | ||
| + | Installation finished. No error reported. | ||
| + | |||
| + | root@localhost-live:/# | ||
| + | Generating grub configuration file ... | ||
| + | Found background image: .background_cache.png | ||
| + | Found linux image: / | ||
| + | Found initrd image: / | ||
| + | Found linux image: / | ||
| + | Found initrd image: / | ||
| + | Found linux image: / | ||
| + | Found initrd image: / | ||
| + | Warning: os-prober will not be executed to detect other bootable partitions. | ||
| + | Systems on them will not be added to the GRUB boot configuration. | ||
| + | Check GRUB_DISABLE_OS_PROBER documentation entry. | ||
| + | Adding boot menu entry for UEFI Firmware Settings ... | ||
| + | done | ||
| + | </ | ||
| + | |||
| + | Ça semble mieux! Est-ce que c' | ||
| + | |||
| + | Problème résolu ? | ||
| + | |||
| + | ===== Sources qui m'ont aide ===== | ||
| + | |||
| + | * [[https:// | ||
informatique/partition_boot_remplie_sur_debian_grub_rescue.1783244556.txt.gz · Dernière modification : de simon
