Hello,
J'essaie depuis 2 jours d'installer un linux sur un vieil Asus de dix ans avec quelques problèmes de surchauffe. C'est pas vraiment gagné.
Je lance donc mon installation de Ubuntu sur une clé live-USB faite à partir de d'un Rufus. Ici pas de dual boot, je supprime le Win XP qui était installé et remplace par ubuntu. L'installation se déroule sans problème. Au moment du reboot je retire ma clé, lance la machine, je vois bien le logo ubuntu, ça charge mais au bout d'un moment tout s'arrête et je me retrouve avec un curseur clignotant en haut à gauche d'un écran noir et plus de signe d'activité :-/ (je peux juste faire un alt-ctrl-supp pour reboot)
Je fouille le forum, tombe sur le topic concernant boot disk repair, je lance la distro en USB, elle monte sans problème. Je lance l'outil de réparation et bam erreur :
http://paste.ubuntu.com/p/cSbKrcNrTJ/
boot-repair-4ppa125 [20210217_1044]
============================== Boot Info Summary ===============================
=> Grub2 (v2.00) is installed in the MBR of /dev/sda and looks at sector 1 of
the same hard drive for core.img. core.img is at this location and looks
for (,msdos5)/boot/grub. It also embeds following components:
modules
---------------------------------------------------------------------------
fshelp ext2 part_msdos biosdisk
---------------------------------------------------------------------------
=> Syslinux MBR (5.00 and higher) is installed in the MBR of /dev/sdc.
sda1: __________________________________________________________________________
File system: vfat
Boot sector type: FAT32
Boot sector info: No errors found in the Boot Parameter Block.
Operating System:
Boot files:
sda2: __________________________________________________________________________
File system: Extended Partition
Boot sector type: -
Boot sector info:
sda5: __________________________________________________________________________
File system: ext4
Boot sector type: -
Boot sector info:
Operating System: Ubuntu 20.04.2 LTS
Boot files: /boot/grub/grub.cfg /etc/fstab /etc/default/grub
/boot/grub/i386-pc/core.img
sdc1: __________________________________________________________________________
File system: vfat
Boot sector type: SYSLINUX 6.03
Boot sector info: Syslinux looks at sector 32816 of /dev/sdc1 for its
second stage. The integrity check of Syslinux failed.
No errors found in the Boot Parameter Block.
Operating System:
Boot files: /boot/grub/grub.cfg /syslinux.cfg
/efi/BOOT/grubx64.efi /ldlinux.sys
================================ 1 OS detected =================================
OS#1: Ubuntu 20.04.2 LTS on sda5
============================ Architecture/Host Info ============================
CPU architecture: 64-bit
Live-session OS is Ubuntu 64-bit (Boot-Repair-Disk 64bit 20200604, bionic, x86_64)
===================================== UEFI =====================================
This live-session is not in EFI-mode.
============================= Drive/Partition Info =============================
Disks info: ____________________________________________________________________
sda : notGPT, no-BIOSboot, has---ESP, not-usb, not-mmc, has-os, 2048 sectors * 512 bytes
Partitions info (1/3): _________________________________________________________
sda1 : no-os, 32, nopakmgr, no-docgrub, nogrub, nogrubinstall, no-grubenv, noupdategrub, not-far
sda5 : is-os, 64, apt-get, grub-pc , grub2, grub-install, grubenv-ok, update-grub, farbios
Partitions info (2/3): _________________________________________________________
sda1 : is---ESP, part-has-no-fstab, no-nt, no-winload, no-recov-nor-hid, no-bmgr, notwinboot
sda5 : isnotESP, fstab-has-goodEFI, no-nt, no-winload, no-recov-nor-hid, no-bmgr, notwinboot
Partitions info (3/3): _________________________________________________________
sda1 : not-sepboot, no-boot, part-has-no-fstab, not-sep-usr, no---usr, part-has-no-fstab, std-grub.d, sda
sda5 : not-sepboot, with-boot, fstab-without-boot, not-sep-usr, with--usr, fstab-without-usr, std-grub.d, sda
fdisk -l (filtered): ___________________________________________________________
Disk sda: 232.9 GiB, 250059350016 bytes, 488397168 sectors
Disk identifier: 0x8a0b6df9
Boot Start End Sectors Size Id Type
sda1 * 2048 1050623 1048576 512M b W95 FAT32
sda2 1052670 488396799 487344130 232.4G 5 Extended
sda5 1052672 488396799 487344128 232.4G 83 Linux
Disk sdc: 14.8 GiB, 15871246336 bytes, 30998528 sectors
Disk identifier: 0x000c8581
Boot Start End Sectors Size Id Type
sdc1 * 2048 30998527 30996480 14.8G c W95 FAT32 (LBA)
Disk zram0: 465.3 MiB, 487936000 bytes, 119125 sectors
Disk zram1: 465.3 MiB, 487936000 bytes, 119125 sectors
parted -lm (filtered): _________________________________________________________
sda:250GB:scsi:512:512:msdos:ATA ST9250827AS:;
1:1049kB:538MB:537MB:fat32::boot;
2:539MB:250GB:250GB:::;
5:539MB:250GB:250GB:ext4::;
sdc:15.9GB:scsi:512:512:msdos: USB DISK 3.0:;
1:1049kB:15.9GB:15.9GB:fat32::boot, lba;
zram1:488MB:unknown:4096:4096:loop:Unknown:;
1:0.00B:488MB:488MB:linux-swap(v1)::;
zram0:488MB:unknown:4096:4096:loop:Unknown:;
1:0.00B:488MB:488MB:linux-swap(v1)::;
blkid (filtered): ______________________________________________________________
NAME FSTYPE UUID PARTUUID LABEL PARTLABEL
sda
├─sda1 vfat A2B4-31F2 8a0b6df9-01
├─sda2 8a0b6df9-02
└─sda5 ext4 e2ca3d7d-a6cf-4334-aae4-3341085d3b88 8a0b6df9-05
sdc
└─sdc1 vfat 4687-8CFF 000c8581-01 BOOT-REPAIR
zram0
zram1
df (filtered): _________________________________________________________________
Avail Use% Mounted on
sda1 511M 0% /mnt/boot-sav/sda1
sda5 208.9G 3% /mnt/boot-sav/sda5
sdc1 13.9G 6% /cdrom
Mount options: __________________________________________________________________
sda1 rw,relatime,fmask=0022,dmask=0022,codepage=437,iocharset=iso8859-1,shortname=mixed,errors=remount-ro
sda5 rw,relatime
sdc1 ro,noatime,fmask=0022,dmask=0022,codepage=437,iocharset=iso8859-1,shortname=mixed,errors=remount-ro
====================== sda5/boot/grub/grub.cfg (filtered) ======================
Ubuntu e2ca3d7d-a6cf-4334-aae4-3341085d3b88
Ubuntu, avec Linux 5.8.0-43-generic e2ca3d7d-a6cf-4334-aae4-3341085d3b88
### END /etc/grub.d/30_os-prober ###
### END /etc/grub.d/30_uefi-firmware ###
========================== sda5/etc/fstab (filtered) ===========================
# <file system> <mount point> <type> <options> <dump> <pass>
# / was on /dev/sda5 during installation
UUID=e2ca3d7d-a6cf-4334-aae4-3341085d3b88 / ext4 errors=remount-ro 0 1
# /boot/efi was on /dev/sda1 during installation
UUID=A2B4-31F2 /boot/efi vfat umask=0077 0 1
/swapfile none swap sw 0 0
======================= sda5/etc/default/grub (filtered) =======================
GRUB_DEFAULT=0
GRUB_TIMEOUT_STYLE=hidden
GRUB_TIMEOUT=0
GRUB_DISTRIBUTOR=`lsb_release -i -s 2> /dev/null || echo Debian`
GRUB_CMDLINE_LINUX_DEFAULT="quiet splash"
GRUB_CMDLINE_LINUX=""
==================== sda5: Location of files loaded by Grub ====================
GiB - GB File Fragment(s)
160.638210297 = 172.483964928 boot/grub/grub.cfg 2
160.638206482 = 172.483960832 boot/grub/i386-pc/core.img 1
5.284439087 = 5.674123264 boot/vmlinuz 1
5.284439087 = 5.674123264 boot/vmlinuz-5.8.0-43-generic 1
133.136367798 = 142.954086400 boot/initrd.img 5
133.136367798 = 142.954086400 boot/initrd.img-5.8.0-43-generic 5
133.136367798 = 142.954086400 boot/initrd.img.old 5
===================== sda5: ls -l /etc/grub.d/ (filtered) ======================
-rwxr-xr-x 1 root root 17622 janv. 13 14:12 10_linux
-rwxr-xr-x 1 root root 42359 janv. 13 14:12 10_linux_zfs
-rwxr-xr-x 1 root root 12894 janv. 13 14:12 20_linux_xen
-rwxr-xr-x 1 root root 12059 janv. 13 14:12 30_os-prober
-rwxr-xr-x 1 root root 1424 janv. 13 14:12 30_uefi-firmware
-rwxr-xr-x 1 root root 214 janv. 13 14:12 40_custom
-rwxr-xr-x 1 root root 216 janv. 13 14:12 41_custom
====================== sdc1/boot/grub/grub.cfg (filtered) ======================
Boot-Repair-Disk session
Boot-Repair-Disk session (failsafe)
========================= sdc1/syslinux.cfg (filtered) =========================
DEFAULT loadconfig
LABEL loadconfig
CONFIG /isolinux/isolinux.cfg
APPEND /isolinux/
==================== sdc1: Location of files loaded by Grub ====================
GiB - GB File Fragment(s)
?? = ?? boot/grub/grub.cfg 1
================== sdc1: Location of files loaded by Syslinux ==================
GiB - GB File Fragment(s)
?? = ?? syslinux.cfg 1
?? = ?? ldlinux.sys 1
========= Devices which don't seem to have a corresponding hard drive ==========
sdb
=============================== StdErr Messages ================================
File descriptor 63 (pipe:[39209]) leaked on lvs invocation. Parent PID 2118: /bin/bash
Suggested repair: ______________________________________________________________
The default repair of the Boot-Repair utility would purge (in order to fix packages) and reinstall the grub-efi-amd64-signed of
sda5,
using the following options: sda1/boot/efi,
Additional repair would be performed: unhide-bootmenu-10s use-standard-efi-file
Blockers in case of suggested repair: __________________________________________
The current session is in BIOS-compatibility mode. Please disable BIOS-compatibility/CSM/Legacy mode in your UEFI firmware, and use this software from a live-CD (or live-USB) that is compatible with UEFI booting mode. For example, use a live-USB of Boot-Repair-Disk-64bit (www.sourceforge.net/p/boot-repair-cd), after making sure your BIOS is set up to boot USB in EFI mode. This will enable this feature.
Confirmation request before suggested repair: __________________________________
Le démarrage de votre ordinateur est en mode BIOS-compatibility/CSM/Legacy. Vous voudrez peut-être réessayer après l'avoir changé en mode EFI.
Alternativement, vous souhaiterez peut-être réessayer après avoir désactivé l'option [Partition /usr séparée :].
Êtes-vous sûr de vouloir continuer quand même ?The boot of your PC is in BIOS-compatibility/CSM/Legacy mode. You may want to retry after changing it to EFI mode.
Alternatively, you may want to retry after deactivating the [Separate /boot/efi partition:] option.
Are you sure you want to continue anyway?
Final advice in case of suggested repair: ______________________________________
Please do not forget to make your UEFI firmware boot on the Ubuntu 20.04.2 LTS entry (sda1/efi/****/shim****.efi (**** will be updated in the final message) file) !
The boot of your PC is in BIOS-compatibility/CSM/Legacy mode. You may want to retry after changing it to UEFI mode.
J'ai cherché partout dans le BIOS concernant ce mode UEFI à activer ou le mode CSM à désactiver. Je pense après y avoir passé des heures à regarder chaque option que c'est un paramètre que je n'ai pas.
Donc là je suis sec. Je vois pas du tout par quel bout le prendre pour résoudre le truc.
J'ai tenté 4 réinstallations de ubuntu avec toujours le même résultat et à chaque fois avec une installation comportant un format complet du disque.
Je suis preneur de toute aide, sachant que je suis une brêle en config BIOS / Partition / Filesystem merci d'être didactique 😃