#1 Le 26/05/2024, à 08:22
- Salamandre87
[Résolu] impossible de démarrer après installation
Bonjour,
j'ai voulu installer ubuntu mate 24.04 sur mon portable HP elitebook 8560w (qui était déjà sur ubuntu). Après l'installation via un live usb, au cours de laquelle aucun message d'erreur ne s'est affiché, je redémarre, et ce message s'affiche :
bootdevice not found
please install an operating system on your hard disk
hard disk - (3F0)
F2 system diagnostics
For more information, please visit : www.hp.com....
Après avoir tester le disque dur via SMART, aucun problème trouvé. Je fais donc un boot info : https://paste.ubuntu.com/p/q9sVx85GsJ/
boot-info-4ppa2075 [20240525_2200]
============================== Boot Info Summary ===============================
=> Grub2 (v2.00) is installed in the MBR of /dev/sda and looks at sector 2048
of the same hard drive for core.img. core.img is at this location and
looks for (,gpt2)/boot/grub. It also embeds following components:
modules
---------------------------------------------------------------------------
fshelp ext2 part_gpt biosdisk
---------------------------------------------------------------------------
sda1: __________________________________________________________________________
File system: BIOS Boot partition
Boot sector type: Grub2's core.img
Boot sector info:
sda2: __________________________________________________________________________
File system: ext4
Boot sector type: -
Boot sector info:
Operating System: Ubuntu 24.04 LTS
Boot files: /boot/grub/grub.cfg /etc/fstab /etc/default/grub
/boot/grub/i386-pc/core.img
sdb: ___________________________________________________________________________
File system: iso9660
Boot sector type: Grub2 (v1.99-2.00)
Boot sector info: Grub2 (v1.99-2.00) is installed in the boot sector of
sdb and looks at sector 0 of the same hard drive for
core.img, but core.img can not be found at this
location.
Mounting failed: mount: /mnt/BootInfo/FD/sdb: /dev/sdb already mounted or mount point busy.
dmesg(1) may have more information after failed mount system call.
================================ 1 OS detected =================================
OS#1: Ubuntu 24.04 LTS on sda2
================================ Host/Hardware =================================
CPU architecture: 64-bit
Video: GF108GLM [Quadro 1000M] from NVIDIA Corporation
Live-session OS is Ubuntu 64-bit (Ubuntu 24.04 LTS, noble, x86_64)
===================================== UEFI =====================================
BIOS/UEFI firmware: 68SVD Ver. F.63(15.99) from Hewlett-Packard
This live-session is in Legacy/BIOS/CSM mode (not in EFI mode).
============================= Drive/Partition Info =============================
Disks info: ____________________________________________________________________
sda : is-GPT, hasBIOSboot, has-noESP, not-usb, not-mmc, has-os, no-wind, 2048 sectors * 512 bytes
Partitions info (1/3): _________________________________________________________
sda2 : is-os, 64, apt-get, grub-pc , grub2, grub-install, grubenv-ok, update-grub, end-after-100GB
Partitions info (2/3): _________________________________________________________
sda2 : isnotESP, fstab-without-efi, no-nt, no-winload, no-recov-nor-hid, no-bmgr, notwinboot
Partitions info (3/3): _________________________________________________________
sda2 : 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.89 GiB, 250059350016 bytes, 488397168 sectors
Disk identifier: 041DF159-6B8F-49A5-9E6C-FCFD683C6984
Start End Sectors Size Type
sda1 2048 4095 2048 1M BIOS boot
sda2 4096 488394751 488390656 232.9G Linux filesystem
Disk sdb: 57.69 GiB, 61945675776 bytes, 120987648 sectors
Disk identifier: 1A4B8E28-FA33-437A-8D9C-1BB63BC81820
Start End Sectors Size Type
sdb1 64 8185315 8185252 3.9G Microsoft basic data
sdb2 8185316 8195455 10140 5M EFI System
sdb3 8195456 8196055 600 300K Microsoft basic data
sdb4 8196096 120985599 112789504 53.8G Linux filesystem
parted -lm (filtered): _________________________________________________________
sda:250GB:scsi:512:512:gpt:ATA Samsung SSD 850:;
1:1049kB:2097kB:1049kB:::bios_grub;
2:2097kB:250GB:250GB:ext4::;
sdb:61.9GB:scsi:512:512:gpt: USB DISK 3.0:;
1:32.8kB:4191MB:4191MB::ISO9660:hidden, msftdata;
2:4191MB:4196MB:5192kB::Appended2:boot, esp;
3:4196MB:4196MB:307kB::Gap1:hidden, msftdata;
4:4196MB:61.9GB:57.7GB:ext4::;
blkid (filtered): ______________________________________________________________
NAME FSTYPE UUID PARTUUID LABEL PARTLABEL
sda
├─sda1 261b3dca-e36b-4af5-9791-c40818225ae9
└─sda2 ext4 2ce6dc8f-0176-4bc1-97ca-7c0597e36311 05f8ffb9-7dba-401d-b6ed-5c05ba8d1360
sdb iso9660 2024-04-24-13-11-30-00 Ubuntu-MATE 24.04 LTS amd64
├─sdb1 iso9660 2024-04-24-13-11-30-00 1a4b8e28-fa33-437a-8d9d-1bb63bc81820 Ubuntu-MATE 24.04 LTS amd64 ISO9660
├─sdb2 vfat 37B6-BC6E 1a4b8e28-fa33-437a-8d9e-1bb63bc81820 ESP Appended2
├─sdb3 1a4b8e28-fa33-437a-8d9f-1bb63bc81820 Gap1
└─sdb4 ext4 2705cb00-19ee-11ef-bd53-cd9f62c19c6c 521fe574-426f-46b0-b55c-89e1ffd6f869 writable
Mount points (filtered): _______________________________________________________
Avail Use% Mounted on
/dev/sda2 206G 5% /mnt/boot-sav/sda2
/dev/sdb1 0 100% /cdrom
Mount options (filtered): ______________________________________________________
/dev/sda2 ext4 rw,relatime
/dev/sdb1 iso9660 ro,noatime,nojoliet,check=s,map=n,blocksize=2048,iocharset=utf8
====================== sda2/boot/grub/grub.cfg (filtered) ======================
Ubuntu 2ce6dc8f-0176-4bc1-97ca-7c0597e36311
### END /etc/grub.d/30_os-prober ###
UEFI Firmware Settings uefi-firmware
### END /etc/grub.d/30_uefi-firmware ###
========================== sda2/etc/fstab (filtered) ===========================
# <file system> <mount point> <type> <options> <dump> <pass>
# / was on /dev/sda2 during curtin installation
/dev/disk/by-uuid/2ce6dc8f-0176-4bc1-97ca-7c0597e36311 / ext4 defaults 0 1
/swap.img none swap sw 0 0
======================= sda2/etc/default/grub (filtered) =======================
GRUB_DEFAULT=0
GRUB_TIMEOUT_STYLE=hidden
GRUB_TIMEOUT=0
GRUB_DISTRIBUTOR=`( . /etc/os-release; echo ${NAME:-Ubuntu} ) 2>/dev/null || echo Ubuntu`
GRUB_CMDLINE_LINUX_DEFAULT="quiet splash"
GRUB_CMDLINE_LINUX=""
==================== sda2: Location of files loaded by Grub ====================
GiB - GB File Fragment(s)
130.182041168 = 139.781902336 boot/grub/grub.cfg 1
148.127265930 = 159.050440704 boot/grub/i386-pc/core.img 1
211.125228882 = 226.693988352 boot/vmlinuz 1
211.125228882 = 226.693988352 boot/vmlinuz-6.8.0-31-generic 1
211.125228882 = 226.693988352 boot/vmlinuz.old 1
16.242748260 = 17.440518144 boot/initrd.img 1
16.242748260 = 17.440518144 boot/initrd.img-6.8.0-31-generic 1
16.242748260 = 17.440518144 boot/initrd.img.old 1
===================== sda2: ls -l /etc/grub.d/ (filtered) ======================
-rwxr-xr-x 1 root root 18133 Apr 4 10:12 10_linux
-rwxr-xr-x 1 root root 43202 Apr 4 10:12 10_linux_zfs
-rwxr-xr-x 1 root root 14513 Apr 4 10:12 20_linux_xen
-rwxr-xr-x 1 root root 786 Apr 4 10:12 25_bli
-rwxr-xr-x 1 root root 13120 Apr 4 10:12 30_os-prober
-rwxr-xr-x 1 root root 1174 Apr 4 10:12 30_uefi-firmware
-rwxr-xr-x 1 root root 722 Apr 5 11:36 35_fwupd
-rwxr-xr-x 1 root root 214 Apr 4 10:12 40_custom
-rwxr-xr-x 1 root root 215 Apr 4 10:12 41_custom
Suggested repair: ______________________________________________________________
The default repair of the Boot-Repair utility would reinstall the grub2 of
sda2 into the MBR of sda.
Grub-efi would not be selected by default because no ESP detected.
Additional repair would be performed: unhide-bootmenu-10s
Final advice in case of suggested repair: ______________________________________
The boot files of [sda2 (end>100GB)] are far from the start of the disk. Your BIOS may not detect them. You may want to retry after creating a /boot partition (EXT4, >200MB, start of the disk). This can be performed via tools such as gParted. Then select this partition via the [Separate /boot partition:] option of [Boot-Repair]. (https://help.ubuntu.com/community/BootPartition)
comme suggéré je fais un boot-repair : https://paste.ubuntu.com/p/vy55fFg7vF/
boot-repair-4ppa2075 [20240525_2206]
============================= Boot Repair Summary ==============================
ping: google.com: Temporary failure in name resolution
Recommended repair: ____________________________________________________________
The default repair of the Boot-Repair utility will reinstall the grub2 of
sda2 into the MBR of sda.
Grub-efi will not be selected by default because no ESP detected.
Additional repair will be performed: unhide-bootmenu-10s
Unhide GRUB boot menu in sda2/etc/default/grub
======================= Reinstall the grub2 of /dev/sda2 =======================
chroot /mnt/boot-sav/sda2 grub-install --version
grub-install (GRUB) 2.12-1ubuntu7
==> Reinstall the GRUB of /dev/sda2 into the MBR of /dev/sda
chroot /mnt/boot-sav/sda2 grub-install /dev/sda
Installing for i386-pc platform.
Installation finished. No error reported.
chroot /mnt/boot-sav/sda2 update-grub
Sourcing file `/etc/default/grub'
Found linux image: /boot/vmlinuz-6.8.0-31-generic
Found initrd image: /boot/initrd.img-6.8.0-31-generic
Found memtest86+x64 image: /boot/memtest86+x64.bin
Adding boot menu entry for UEFI Firmware Settings ...
Unhide GRUB boot menu in sda2/boot/grub/grub.cfg
Boot successfully repaired.
You can now reboot your computer.
The boot files of [sda2 (end>100GB)] are far from the start of the disk. Your BIOS may not detect them. You may want to retry after creating a /boot partition (EXT4, >200MB, start of the disk). This can be performed via tools such as gParted. Then select this partition via the [Separate /boot partition:] option of [Boot Repair]. (https://help.ubuntu.com/community/BootPartition)
============================ Boot Info After Repair ============================
=> Grub2 (v2.00) is installed in the MBR of /dev/sda and looks at sector 2048
of the same hard drive for core.img. core.img is at this location and
looks for (,gpt2)/boot/grub. It also embeds following components:
modules
---------------------------------------------------------------------------
fshelp ext2 part_gpt biosdisk
---------------------------------------------------------------------------
sda1: __________________________________________________________________________
File system: BIOS Boot partition
Boot sector type: Grub2's core.img
Boot sector info:
sda2: __________________________________________________________________________
File system: ext4
Boot sector type: -
Boot sector info:
Operating System: Ubuntu 24.04 LTS
Boot files: /boot/grub/grub.cfg /etc/fstab /etc/default/grub
/boot/grub/i386-pc/core.img
sdb: ___________________________________________________________________________
File system: iso9660
Boot sector type: Grub2 (v1.99-2.00)
Boot sector info: Grub2 (v1.99-2.00) is installed in the boot sector of
sdb and looks at sector 0 of the same hard drive for
core.img, but core.img can not be found at this
location.
Mounting failed: mount: /mnt/BootInfo/FD/sdb: /dev/sdb already mounted or mount point busy.
dmesg(1) may have more information after failed mount system call.
================================ 1 OS detected =================================
OS#1: Ubuntu 24.04 LTS on sda2
================================ Host/Hardware =================================
CPU architecture: 64-bit
Video: GF108GLM [Quadro 1000M] from NVIDIA Corporation
Live-session OS is Ubuntu 64-bit (Ubuntu 24.04 LTS, noble, x86_64)
===================================== UEFI =====================================
BIOS/UEFI firmware: 68SVD Ver. F.63(15.99) from Hewlett-Packard
This live-session is in Legacy/BIOS/CSM mode (not in EFI mode).
============================= Drive/Partition Info =============================
Disks info: ____________________________________________________________________
sda : is-GPT, hasBIOSboot, has-noESP, not-usb, not-mmc, has-os, no-wind, 2048 sectors * 512 bytes
Partitions info (1/3): _________________________________________________________
sda2 : is-os, 64, apt-get, grub-pc , grub2, grub-install, grubenv-ok, update-grub, end-after-100GB
Partitions info (2/3): _________________________________________________________
sda2 : isnotESP, fstab-without-efi, no-nt, no-winload, no-recov-nor-hid, no-bmgr, notwinboot
Partitions info (3/3): _________________________________________________________
sda2 : 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.89 GiB, 250059350016 bytes, 488397168 sectors
Disk identifier: 041DF159-6B8F-49A5-9E6C-FCFD683C6984
Start End Sectors Size Type
sda1 2048 4095 2048 1M BIOS boot
sda2 4096 488394751 488390656 232.9G Linux filesystem
Disk sdb: 57.69 GiB, 61945675776 bytes, 120987648 sectors
Disk identifier: 1A4B8E28-FA33-437A-8D9C-1BB63BC81820
Start End Sectors Size Type
sdb1 64 8185315 8185252 3.9G Microsoft basic data
sdb2 8185316 8195455 10140 5M EFI System
sdb3 8195456 8196055 600 300K Microsoft basic data
sdb4 8196096 120985599 112789504 53.8G Linux filesystem
parted -lm (filtered): _________________________________________________________
sda:250GB:scsi:512:512:gpt:ATA Samsung SSD 850:;
1:1049kB:2097kB:1049kB:::bios_grub;
2:2097kB:250GB:250GB:ext4::;
sdb:61.9GB:scsi:512:512:gpt: USB DISK 3.0:;
1:32.8kB:4191MB:4191MB::ISO9660:hidden, msftdata;
2:4191MB:4196MB:5192kB::Appended2:boot, esp;
3:4196MB:4196MB:307kB::Gap1:hidden, msftdata;
4:4196MB:61.9GB:57.7GB:ext4::;
blkid (filtered): ______________________________________________________________
NAME FSTYPE UUID PARTUUID LABEL PARTLABEL
sda
├─sda1 261b3dca-e36b-4af5-9791-c40818225ae9
└─sda2 ext4 2ce6dc8f-0176-4bc1-97ca-7c0597e36311 05f8ffb9-7dba-401d-b6ed-5c05ba8d1360
sdb iso9660 2024-04-24-13-11-30-00 Ubuntu-MATE 24.04 LTS amd64
├─sdb1 iso9660 2024-04-24-13-11-30-00 1a4b8e28-fa33-437a-8d9d-1bb63bc81820 Ubuntu-MATE 24.04 LTS amd64 ISO9660
├─sdb2 vfat 37B6-BC6E 1a4b8e28-fa33-437a-8d9e-1bb63bc81820 ESP Appended2
├─sdb3 1a4b8e28-fa33-437a-8d9f-1bb63bc81820 Gap1
└─sdb4 ext4 2705cb00-19ee-11ef-bd53-cd9f62c19c6c 521fe574-426f-46b0-b55c-89e1ffd6f869 writable
Mount points (filtered): _______________________________________________________
Avail Use% Mounted on
/dev/sda2 206G 5% /mnt/boot-sav/sda2
/dev/sdb1 0 100% /cdrom
Mount options (filtered): ______________________________________________________
/dev/sda2 ext4 rw,relatime
/dev/sdb1 iso9660 ro,noatime,nojoliet,check=s,map=n,blocksize=2048,iocharset=utf8
====================== sda2/boot/grub/grub.cfg (filtered) ======================
Ubuntu 2ce6dc8f-0176-4bc1-97ca-7c0597e36311
### END /etc/grub.d/30_os-prober ###
UEFI Firmware Settings uefi-firmware
### END /etc/grub.d/30_uefi-firmware ###
========================== sda2/etc/fstab (filtered) ===========================
# <file system> <mount point> <type> <options> <dump> <pass>
# / was on /dev/sda2 during curtin installation
/dev/disk/by-uuid/2ce6dc8f-0176-4bc1-97ca-7c0597e36311 / ext4 defaults 0 1
/swap.img none swap sw 0 0
======================= sda2/etc/default/grub (filtered) =======================
GRUB_DEFAULT=0
GRUB_TIMEOUT_STYLE=menu
GRUB_TIMEOUT=10
GRUB_DISTRIBUTOR=`( . /etc/os-release; echo ${NAME:-Ubuntu} ) 2>/dev/null || echo Ubuntu`
GRUB_CMDLINE_LINUX_DEFAULT="quiet splash"
GRUB_CMDLINE_LINUX=""
GRUB_DISABLE_OS_PROBER=false
==================== sda2: Location of files loaded by Grub ====================
GiB - GB File Fragment(s)
?? = ?? boot/grub/grub.cfg 1
148.133304596 = 159.056924672 boot/grub/i386-pc/core.img 1
211.125228882 = 226.693988352 boot/vmlinuz 1
211.125228882 = 226.693988352 boot/vmlinuz-6.8.0-31-generic 1
211.125228882 = 226.693988352 boot/vmlinuz.old 1
16.242748260 = 17.440518144 boot/initrd.img 1
16.242748260 = 17.440518144 boot/initrd.img-6.8.0-31-generic 1
16.242748260 = 17.440518144 boot/initrd.img.old 1
===================== sda2: ls -l /etc/grub.d/ (filtered) ======================
-rwxr-xr-x 1 root root 18133 Apr 4 10:12 10_linux
-rwxr-xr-x 1 root root 43202 Apr 4 10:12 10_linux_zfs
-rwxr-xr-x 1 root root 14513 Apr 4 10:12 20_linux_xen
-rwxr-xr-x 1 root root 786 Apr 4 10:12 25_bli
-rwxr-xr-x 1 root root 13120 Apr 4 10:12 30_os-prober
-rwxr-xr-x 1 root root 1174 Apr 4 10:12 30_uefi-firmware
-rwxr-xr-x 1 root root 722 Apr 5 11:36 35_fwupd
-rwxr-xr-x 1 root root 214 Apr 4 10:12 40_custom
-rwxr-xr-x 1 root root 215 Apr 4 10:12 41_custom
A la fin du boot-repair une fenêtre s'affiche me disant que la répération a fonctionné mais que les fichiers boot de sda2 sont loin du début du disque, que le BIOS peut ne pas les détecter, que je peux essayer de créer une partition de démarrage séparée et que cela peut être fait par Gparted.
Comme l'ordi affiche toujours le même message au démarrage, je fais cette manip comme expliqué dans ce tuto : https://doc.ubuntu-fr.org/tutoriel/partition_boot
Après cela, un nouveau rapport est créé : https://paste.ubuntu.com/p/W8pgXvvmkH/
View raw
boot-repair-4ppa2075 [20240525_2232]
============================= Boot Repair Summary ==============================
Default settings: ______________________________________________________________
The default repair of the Boot-Repair utility would reinstall the grub2 of
sda2 into the MBR of sda.
Grub-efi would not be selected by default because no ESP detected.
Additional repair would be performed: unhide-bootmenu-10s
Final advice in case of suggested repair: ______________________________________
The boot files of [sda2 (end>100GB)] are far from the start of the disk. Your BIOS may not detect them. You may want to retry after creating a /boot partition (EXT4, >200MB, start of the disk). This can be performed via tools such as gParted. Then select this partition via the [Separate /boot partition:] option of [Boot Repair]. (https://help.ubuntu.com/community/BootPartition)
User settings: _________________________________________________________________
The settings chosen by the user will reinstall the grub2 of
sda2 into the MBR of sda,
using the following options: kernel-purge sda3/boot
Grub-efi will not be selected by default because no ESP detected.
Additional repair will be performed: unhide-bootmenu-10s
/boot added in sda2/fstab
Rename /dev/sda3/boot to boot_bak
Mount /dev/sda3 on /mnt/boot-sav/sda2/boot
chroot /mnt/boot-sav/sda2 apt-get -y update
Running in chroot, ignoring command 'start'
================== dpkg -l | grep linux- before kernel purge ===================
ii binutils-x86-64-linux-gnu 2.42-4ubuntu2 amd64 GNU binary utilities, for x86-64-linux-gnu target
ii cpp-13-x86-64-linux-gnu 13.2.0-23ubuntu4 amd64 GNU C preprocessor for x86_64-linux-gnu
ii cpp-x86-64-linux-gnu 4:13.2.0-7ubuntu1 amd64 GNU C preprocessor (cpp) for the amd64 architecture
ii g++-13-x86-64-linux-gnu 13.2.0-23ubuntu4 amd64 GNU C++ compiler for x86_64-linux-gnu architecture
ii g++-x86-64-linux-gnu 4:13.2.0-7ubuntu1 amd64 GNU C++ compiler for the amd64 architecture
ii gcc-13-x86-64-linux-gnu 13.2.0-23ubuntu4 amd64 GNU C compiler for the x86_64-linux-gnu architecture
ii gcc-x86-64-linux-gnu 4:13.2.0-7ubuntu1 amd64 GNU C compiler for the amd64 architecture
ii linux-base 4.5ubuntu9 all Linux image base package
ii linux-firmware 20240318.git3b128b60-0ubuntu2 amd64 Firmware for Linux kernel drivers
ii linux-generic 6.8.0-31.31 amd64 Complete Generic Linux kernel and headers
ii linux-headers-6.8.0-31 6.8.0-31.31 all Header files related to Linux kernel version 6.8.0
ii linux-headers-6.8.0-31-generic 6.8.0-31.31 amd64 Linux kernel headers for version 6.8.0 on 64 bit x86 SMP
ii linux-headers-generic 6.8.0-31.31 amd64 Generic Linux kernel headers
ii linux-image-6.8.0-31-generic 6.8.0-31.31 amd64 Signed kernel image generic
ii linux-image-generic 6.8.0-31.31 amd64 Generic Linux kernel image
ii linux-libc-dev:amd64 6.8.0-31.31 amd64 Linux Kernel Headers for development
ii linux-modules-6.8.0-31-generic 6.8.0-31.31 amd64 Linux kernel extra modules for version 6.8.0 on 64 bit x86 SMP
ii linux-modules-extra-6.8.0-31-generic 6.8.0-31.31 amd64 Linux kernel extra modules for version 6.8.0 on 64 bit x86 SMP
ii linux-sound-base 1.0.25+dfsg-0ubuntu7 all base package for ALSA and OSS sound systems
ii linux-tools-6.8.0-31 6.8.0-31.31 amd64 Linux kernel version specific tools for version 6.8.0-31
ii linux-tools-6.8.0-31-generic 6.8.0-31.31 amd64 Linux kernel version specific tools for version 6.8.0-31
ii linux-tools-common 6.8.0-31.31 all Linux kernel version specific tools for version 6.8.0
========================== Purge kernel of /dev/sda2 ===========================
linux-generic available
0 upgraded, 0 newly installed, 1 reinstalled, 0 to remove and 13 not upgraded.
DEBCHECK debOK, linux-generic
DEBCHECKLINUX debOK
ls /mnt/boot-sav/sda2/boot/: lost+found
chroot /mnt/boot-sav/sda2 apt-get purge --allow-remove-essential -y linux-headers-*
The following packages were automatically installed and are no longer required:
bpfcc-tools bpftrace ieee-data libbpfcc libclang-cpp18 libclang1-18
libllvm18 python3-bpfcc python3-netaddr ubuntu-kernel-accessories
Use 'sudo apt autoremove' to remove them.
The following packages will be REMOVED:
linux-generic* linux-headers-6.8.0-31* linux-headers-6.8.0-31-generic*
linux-headers-generic*
0 upgraded, 0 newly installed, 4 to remove and 13 not upgraded.
Removing linux-generic (6.8.0-31.31) ...
Removing linux-headers-generic (6.8.0-31.31) ...
Removing linux-headers-6.8.0-31-generic (6.8.0-31.31) ...
Removing linux-headers-6.8.0-31 (6.8.0-31.31) ...
chroot /mnt/boot-sav/sda2 apt-get purge --allow-remove-essential -y linux-image-*
The following packages were automatically installed and are no longer required:
amd64-microcode bpfcc-tools bpftrace ieee-data intel-microcode iucode-tool
libbpfcc libclang-cpp18 libclang1-18 libllvm18 python3-bpfcc python3-netaddr
ubuntu-kernel-accessories
Use 'sudo apt autoremove' to remove them.
The following packages will be REMOVED:
linux-image-6.8.0-31-generic* linux-image-generic*
0 upgraded, 0 newly installed, 2 to remove and 13 not upgraded.
Removing linux-image-generic (6.8.0-31.31) ...
Removing linux-image-6.8.0-31-generic (6.8.0-31.31) ...
W: Last kernel image has been removed, so removing the default symlinks
/etc/kernel/postrm.d/initramfs-tools:
update-initramfs: Deleting /boot/initrd.img-6.8.0-31-generic
Purging configuration files for linux-image-6.8.0-31-generic (6.8.0-31.31) ...
W: Last kernel image has been removed, so removing the default symlinks
rmdir: failed to remove '/lib/modules/6.8.0-31-generic': Directory not empty
chroot /mnt/boot-sav/sda2 apt-get install -y linux-generic
The following additional packages will be installed:
linux-headers-6.8.0-31 linux-headers-6.8.0-31-generic linux-headers-generic
linux-image-6.8.0-31-generic linux-image-generic
Suggested packages:
fdutils linux-tools
The following NEW packages will be installed:
linux-generic linux-headers-6.8.0-31 linux-headers-6.8.0-31-generic
linux-headers-generic linux-image-6.8.0-31-generic linux-image-generic
0 upgraded, 6 newly installed, 0 to remove and 13 not upgraded.
Selecting previously unselected package linux-image-6.8.0-31-generic.
Preparing to unpack .../0-linux-image-6.8.0-31-generic_6.8.0-31.31_amd64.deb ...
Unpacking linux-image-6.8.0-31-generic (6.8.0-31.31) ...
Selecting previously unselected package linux-image-generic.
Preparing to unpack .../1-linux-image-generic_6.8.0-31.31_amd64.deb ...
Unpacking linux-image-generic (6.8.0-31.31) ...
Selecting previously unselected package linux-headers-6.8.0-31.
Preparing to unpack .../2-linux-headers-6.8.0-31_6.8.0-31.31_all.deb ...
Unpacking linux-headers-6.8.0-31 (6.8.0-31.31) ...
Selecting previously unselected package linux-headers-6.8.0-31-generic.
Preparing to unpack .../3-linux-headers-6.8.0-31-generic_6.8.0-31.31_amd64.deb ...
Unpacking linux-headers-6.8.0-31-generic (6.8.0-31.31) ...
Selecting previously unselected package linux-headers-generic.
Preparing to unpack .../4-linux-headers-generic_6.8.0-31.31_amd64.deb ...
Unpacking linux-headers-generic (6.8.0-31.31) ...
Selecting previously unselected package linux-generic.
Preparing to unpack .../5-linux-generic_6.8.0-31.31_amd64.deb ...
Unpacking linux-generic (6.8.0-31.31) ...
Setting up linux-image-6.8.0-31-generic (6.8.0-31.31) ...
I: /boot/vmlinuz.old is now a symlink to vmlinuz-6.8.0-31-generic
I: /boot/initrd.img.old is now a symlink to initrd.img-6.8.0-31-generic
I: /boot/vmlinuz is now a symlink to vmlinuz-6.8.0-31-generic
I: /boot/initrd.img is now a symlink to initrd.img-6.8.0-31-generic
Setting up linux-headers-6.8.0-31 (6.8.0-31.31) ...
Setting up linux-image-generic (6.8.0-31.31) ...
Setting up linux-headers-6.8.0-31-generic (6.8.0-31.31) ...
Setting up linux-headers-generic (6.8.0-31.31) ...
Setting up linux-generic (6.8.0-31.31) ...
Processing triggers for linux-image-6.8.0-31-generic (6.8.0-31.31) ...
/etc/kernel/postinst.d/initramfs-tools:
update-initramfs: Generating /boot/initrd.img-6.8.0-31-generic
W: Kernel configuration /boot/config-6.8.0-31-generic is missing, cannot check for zstd compression support (CONFIG_RD_ZSTD)
chroot /mnt/boot-sav/sda2 apt-get install -y linux-base
linux-base is already the newest version (4.5ubuntu9).
linux-base set to manually installed.
0 upgraded, 0 newly installed, 0 to remove and 13 not upgraded.
=================== dpkg -l | grep linux- after kernel reinstall
ii binutils-x86-64-linux-gnu 2.42-4ubuntu2 amd64 GNU binary utilities, for x86-64-linux-gnu target
ii cpp-13-x86-64-linux-gnu 13.2.0-23ubuntu4 amd64 GNU C preprocessor for x86_64-linux-gnu
ii cpp-x86-64-linux-gnu 4:13.2.0-7ubuntu1 amd64 GNU C preprocessor (cpp) for the amd64 architecture
ii g++-13-x86-64-linux-gnu 13.2.0-23ubuntu4 amd64 GNU C++ compiler for x86_64-linux-gnu architecture
ii g++-x86-64-linux-gnu 4:13.2.0-7ubuntu1 amd64 GNU C++ compiler for the amd64 architecture
ii gcc-13-x86-64-linux-gnu 13.2.0-23ubuntu4 amd64 GNU C compiler for the x86_64-linux-gnu architecture
ii gcc-x86-64-linux-gnu 4:13.2.0-7ubuntu1 amd64 GNU C compiler for the amd64 architecture
ii linux-base 4.5ubuntu9 all Linux image base package
ii linux-firmware 20240318.git3b128b60-0ubuntu2 amd64 Firmware for Linux kernel drivers
ii linux-generic 6.8.0-31.31 amd64 Complete Generic Linux kernel and headers
ii linux-headers-6.8.0-31 6.8.0-31.31 all Header files related to Linux kernel version 6.8.0
ii linux-headers-6.8.0-31-generic 6.8.0-31.31 amd64 Linux kernel headers for version 6.8.0 on 64 bit x86 SMP
ii linux-headers-generic 6.8.0-31.31 amd64 Generic Linux kernel headers
ii linux-image-6.8.0-31-generic 6.8.0-31.31 amd64 Signed kernel image generic
ii linux-image-generic 6.8.0-31.31 amd64 Generic Linux kernel image
ii linux-libc-dev:amd64 6.8.0-31.31 amd64 Linux Kernel Headers for development
ii linux-modules-6.8.0-31-generic 6.8.0-31.31 amd64 Linux kernel extra modules for version 6.8.0 on 64 bit x86 SMP
ii linux-modules-extra-6.8.0-31-generic 6.8.0-31.31 amd64 Linux kernel extra modules for version 6.8.0 on 64 bit x86 SMP
ii linux-sound-base 1.0.25+dfsg-0ubuntu7 all base package for ALSA and OSS sound systems
ii linux-tools-6.8.0-31 6.8.0-31.31 amd64 Linux kernel version specific tools for version 6.8.0-31
ii linux-tools-6.8.0-31-generic 6.8.0-31.31 amd64 Linux kernel version specific tools for version 6.8.0-31
ii linux-tools-common 6.8.0-31.31 all Linux kernel version specific tools for version 6.8.0
======================= Reinstall the grub2 of /dev/sda2 =======================
chroot /mnt/boot-sav/sda2 grub-install --version
grub-install (GRUB) 2.12-1ubuntu7
==> Reinstall the GRUB of /dev/sda2 into the MBR of /dev/sda
chroot /mnt/boot-sav/sda2 grub-install /dev/sda
Installing for i386-pc platform.
Installation finished. No error reported.
chroot /mnt/boot-sav/sda2 update-grub
Sourcing file `/etc/default/grub'
Found linux image: /boot/vmlinuz-6.8.0-31-generic
Found initrd image: /boot/initrd.img-6.8.0-31-generic
Adding boot menu entry for UEFI Firmware Settings ...
Boot successfully repaired.
You can now reboot your computer.
============================ Boot Info After Repair ============================
=> Grub2 (v2.00) is installed in the MBR of /dev/sda and looks at sector 2048
of the same hard drive for core.img. core.img is at this location and
looks for (,gpt3)/grub. It also embeds following components:
modules
---------------------------------------------------------------------------
fshelp ext2 part_gpt biosdisk
---------------------------------------------------------------------------
sda1: __________________________________________________________________________
File system: BIOS Boot partition
Boot sector type: Grub2's core.img
Boot sector info:
sda2: __________________________________________________________________________
File system: ext4
Boot sector type: -
Boot sector info:
Operating System: Ubuntu 24.04 LTS
Boot files: /boot/grub/grub.cfg /etc/fstab /etc/default/grub
/boot/grub/i386-pc/core.img
sda3: __________________________________________________________________________
File system: ext4
Boot sector type: -
Boot sector info:
Operating System:
Boot files: /grub/grub.cfg /grub/i386-pc/core.img
sdb: ___________________________________________________________________________
File system: iso9660
Boot sector type: Grub2 (v1.99-2.00)
Boot sector info: Grub2 (v1.99-2.00) is installed in the boot sector of
sdb and looks at sector 0 of the same hard drive for
core.img, but core.img can not be found at this
location.
Mounting failed: mount: /mnt/BootInfo/FD/sdb: /dev/sdb already mounted or mount point busy.
dmesg(1) may have more information after failed mount system call.
================================ 1 OS detected =================================
OS#1: Ubuntu 24.04 LTS on sda2
================================ Host/Hardware =================================
CPU architecture: 64-bit
Video: GF108GLM [Quadro 1000M] from NVIDIA Corporation
Live-session OS is Ubuntu 64-bit (Ubuntu 24.04 LTS, noble, x86_64)
===================================== UEFI =====================================
BIOS/UEFI firmware: 68SVD Ver. F.63(15.99) from Hewlett-Packard
This live-session is in Legacy/BIOS/CSM mode (not in EFI mode).
============================= Drive/Partition Info =============================
Disks info: ____________________________________________________________________
sda : is-GPT, hasBIOSboot, has-noESP, not-usb, not-mmc, has-os, no-wind, 2048 sectors * 512 bytes
Partitions info (1/3): _________________________________________________________
sda2 : is-os, 64, apt-get, grub-pc , grub2, grub-install, grubenv-ok, update-grub, end-after-100GB
sda3 : no-os, 64, nopakmgr, no-docgrub, nogrub, nogrubinstall, no-grubenv, noupdategrub, not-far
Partitions info (2/3): _________________________________________________________
sda2 : isnotESP, fstab-without-efi, no-nt, no-winload, no-recov-nor-hid, no-bmgr, notwinboot
sda3 : isnotESP, part-has-no-fstab, no-nt, no-winload, no-recov-nor-hid, no-bmgr, notwinboot
Partitions info (3/3): _________________________________________________________
sda2 : not--sepboot, with-boot, fstab-without-boot, not-sep-usr, with--usr, fstab-without-usr, std-grub.d, sda
sda3 : maybesepboot, no---boot, part-has-no-fstab, not-sep-usr, no---usr, part-has-no-fstab, no--grub.d, sda
fdisk -l (filtered): ___________________________________________________________
Disk sda: 232.89 GiB, 250059350016 bytes, 488397168 sectors
Disk identifier: 041DF159-6B8F-49A5-9E6C-FCFD683C6984
Start End Sectors Size Type
sda1 2048 4095 2048 1M BIOS boot
sda2 2052096 488396799 486344704 231.9G Linux filesystem
sda3 4096 2052095 2048000 1000M Linux filesystem
Partition table entries are not in disk order.
Disk sdb: 57.69 GiB, 61945675776 bytes, 120987648 sectors
Disk identifier: 1A4B8E28-FA33-437A-8D9C-1BB63BC81820
Start End Sectors Size Type
sdb1 64 8185315 8185252 3.9G Microsoft basic data
sdb2 8185316 8195455 10140 5M EFI System
sdb3 8195456 8196055 600 300K Microsoft basic data
sdb4 8196096 120985599 112789504 53.8G Linux filesystem
parted -lm (filtered): _________________________________________________________
sda:250GB:scsi:512:512:gpt:ATA Samsung SSD 850:;
1:1049kB:2097kB:1049kB:::bios_grub;
3:2097kB:1051MB:1049MB:ext4:sda3:;
2:1051MB:250GB:249GB:ext4::;
sdb:61.9GB:scsi:512:512:gpt: USB DISK 3.0:;
1:32.8kB:4191MB:4191MB::ISO9660:hidden, msftdata;
2:4191MB:4196MB:5192kB::Appended2:boot, esp;
3:4196MB:4196MB:307kB::Gap1:hidden, msftdata;
4:4196MB:61.9GB:57.7GB:ext4::;
blkid (filtered): ______________________________________________________________
NAME FSTYPE UUID PARTUUID LABEL PARTLABEL
sda
├─sda1 261b3dca-e36b-4af5-9791-c40818225ae9
├─sda2 ext4 2ce6dc8f-0176-4bc1-97ca-7c0597e36311 05f8ffb9-7dba-401d-b6ed-5c05ba8d1360
└─sda3 ext4 b5a219b3-f1da-4a50-9dd9-d32d8da0ff8c ac310077-0f9e-4f98-ac12-43b315b53926 sda3
sdb iso9660 2024-04-24-13-11-30-00 Ubuntu-MATE 24.04 LTS amd64
├─sdb1 iso9660 2024-04-24-13-11-30-00 1a4b8e28-fa33-437a-8d9d-1bb63bc81820 Ubuntu-MATE 24.04 LTS amd64 ISO9660
├─sdb2 vfat 37B6-BC6E 1a4b8e28-fa33-437a-8d9e-1bb63bc81820 ESP Appended2
├─sdb3 1a4b8e28-fa33-437a-8d9f-1bb63bc81820 Gap1
└─sdb4 ext4 2705cb00-19ee-11ef-bd53-cd9f62c19c6c 521fe574-426f-46b0-b55c-89e1ffd6f869 writable
Mount points (filtered): _______________________________________________________
Avail Use% Mounted on
/dev/sda2 205G 5% /mnt/boot-sav/sda2
/dev/sda3 819.3M 8% /mnt/boot-sav/sda3
/dev/sdb1 0 100% /cdrom
Mount options (filtered): ______________________________________________________
/dev/sda2 ext4 rw,relatime
/dev/sda3 ext4 rw,relatime
/dev/sdb1 iso9660 ro,noatime,nojoliet,check=s,map=n,blocksize=2048,iocharset=utf8
====================== sda2/boot/grub/grub.cfg (filtered) ======================
Ubuntu 2ce6dc8f-0176-4bc1-97ca-7c0597e36311
### END /etc/grub.d/30_os-prober ###
UEFI Firmware Settings uefi-firmware
### END /etc/grub.d/30_uefi-firmware ###
========================== sda2/etc/fstab (filtered) ===========================
# <file system> <mount point> <type> <options> <dump> <pass>
# / was on /dev/sda2 during curtin installation
/dev/disk/by-uuid/2ce6dc8f-0176-4bc1-97ca-7c0597e36311 / ext4 defaults 0 1
/swap.img none swap sw 0 0
UUID=b5a219b3-f1da-4a50-9dd9-d32d8da0ff8c /boot ext4 defaults 0 2
======================= sda2/etc/default/grub (filtered) =======================
GRUB_DEFAULT=0
GRUB_TIMEOUT_STYLE=menu
GRUB_TIMEOUT=10
GRUB_DISTRIBUTOR=`( . /etc/os-release; echo ${NAME:-Ubuntu} ) 2>/dev/null || echo Ubuntu`
GRUB_CMDLINE_LINUX_DEFAULT="quiet splash"
GRUB_CMDLINE_LINUX=""
GRUB_DISABLE_OS_PROBER=false
==================== sda2: Location of files loaded by Grub ====================
GiB - GB File Fragment(s)
149.109886169 = 160.105521152 boot/grub/grub.cfg 1
149.109867096 = 160.105500672 boot/grub/i386-pc/core.img 1
212.101791382 = 227.742564352 boot/vmlinuz 1
212.101791382 = 227.742564352 boot/vmlinuz-6.8.0-31-generic 1
212.101791382 = 227.742564352 boot/vmlinuz.old 1
17.219310760 = 18.489094144 boot/initrd.img 1
17.219310760 = 18.489094144 boot/initrd.img-6.8.0-31-generic 1
17.219310760 = 18.489094144 boot/initrd.img.old 1
===================== sda2: ls -l /etc/grub.d/ (filtered) ======================
-rwxr-xr-x 1 root root 18133 Apr 4 10:12 10_linux
-rwxr-xr-x 1 root root 43202 Apr 4 10:12 10_linux_zfs
-rwxr-xr-x 1 root root 14513 Apr 4 10:12 20_linux_xen
-rwxr-xr-x 1 root root 786 Apr 4 10:12 25_bli
-rwxr-xr-x 1 root root 13120 Apr 4 10:12 30_os-prober
-rwxr-xr-x 1 root root 1174 Apr 4 10:12 30_uefi-firmware
-rwxr-xr-x 1 root root 722 Apr 5 11:36 35_fwupd
-rwxr-xr-x 1 root root 214 Apr 4 10:12 40_custom
-rwxr-xr-x 1 root root 215 Apr 4 10:12 41_custom
======================== sda3/grub/grub.cfg (filtered) =========================
Ubuntu 2ce6dc8f-0176-4bc1-97ca-7c0597e36311
### END /etc/grub.d/30_os-prober ###
UEFI Firmware Settings uefi-firmware
### END /etc/grub.d/30_uefi-firmware ###
==================== sda3: Location of files loaded by Grub ====================
GiB - GB File Fragment(s)
0.213558197 = 0.229306368 grub/grub.cfg 1
0.213542938 = 0.229289984 grub/i386-pc/core.img 1
0.148666382 = 0.159629312 vmlinuz 1
0.148666382 = 0.159629312 vmlinuz-6.8.0-31-generic 1
0.148666382 = 0.159629312 vmlinuz.old 1
0.211498260 = 0.227094528 initrd.img 1
0.211498260 = 0.227094528 initrd.img-6.8.0-31-generic 1
0.211498260 = 0.227094528 initrd.img.old 1
Bien entendu si je poste un message c'est que le même message d'erreur s'affiche suite à ces opérations.
Merci d'avance
Dernière modification par Salamandre87 (Le 26/05/2024, à 22:39)
Hors ligne
#2 Le 26/05/2024, à 09:10
- geole
Re : [Résolu] impossible de démarrer après installation
Bonjour.
Tu as fais une installation LEGACY dans un disque partitionné en GPT.
Cette installation est correcte.
Il faudrait que tu ailles dans le bios et que tu regardes s'il ne boote pas prioritairement en EFI, Si oui, essaie de changer pour booter en LEGACY.
ou fabrique une partition FAT32 de 36 Mo avec drapeau ESP et relance boot-repair.
S'il boote prioritairement en LEGACY, il faudrait convertir la table de partition GPT de ton disque en table de partition MS-DOS et rebooter pour voir ce que cela donne.
La commande à faire est
sudo sgdisk --gpttombr /dev/sda
Les grilles de l'installateur https://doc.ubuntu-fr.org/tutoriel/inst … _subiquity
"gedit admin:///etc/fstab" est proscrit, utilisez "pkexec env DISPLAY=$DISPLAY XAUTHORITY=$XAUTHORITY xdg-open /etc/fstab" Voir https://doc.ubuntu-fr.org/gedit
Les partitions EXT4 des disques externes => https://forum.ubuntu-fr.org/viewtopic.p … #p22697248
Hors ligne
#3 Le 26/05/2024, à 21:04
- Salamandre87
Re : [Résolu] impossible de démarrer après installation
merci pour la réponse.
Quand j'ai créé la partition FAT32 de 36 Mo, il y a un "!" qui est apparu à son niveau sur Gparted. En faisant clic droit puis info il est écrit qu'il est impossible de lire le contenu du systeme de fichiers, que cela peut empêcher certaines opérations, que la raison peut être l’absence de paquet logiciel et qu'il faudrait installer dosfstools et mtools pour prndre en charge fat32.
A la relance de boot-repair il y a un message d'erreur qu'on retrouve en bas de ce boot-info : https://paste.ubuntu.com/p/9n7CfKDrFq/
boot-info-4ppa2075 [20240526_1927]
============================== Boot Info Summary ===============================
=> Grub2 (v2.00) is installed in the MBR of /dev/sda and looks at sector 2048
of the same hard drive for core.img. core.img is at this location and
looks for (,gpt2)/boot/grub. It also embeds following components:
modules
---------------------------------------------------------------------------
fshelp ext2 part_gpt biosdisk
---------------------------------------------------------------------------
sda1: __________________________________________________________________________
File system: BIOS Boot partition
Boot sector type: Grub2's core.img
Boot sector info:
sda2: __________________________________________________________________________
File system: ext4
Boot sector type: -
Boot sector info:
Operating System: Ubuntu 24.04 LTS
Boot files: /boot/grub/grub.cfg /etc/fstab /etc/default/grub
/boot/grub/i386-pc/core.img
sda3: __________________________________________________________________________
File system: vfat
Boot sector type: FAT32
Boot sector info: No errors found in the Boot Parameter Block.
Operating System:
Boot files:
sdb: ___________________________________________________________________________
File system: iso9660
Boot sector type: Grub2 (v1.99-2.00)
Boot sector info: Grub2 (v1.99-2.00) is installed in the boot sector of
sdb and looks at sector 0 of the same hard drive for
core.img, but core.img can not be found at this
location.
Mounting failed: mount: /mnt/BootInfo/FD/sdb: /dev/sdb already mounted or mount point busy.
dmesg(1) may have more information after failed mount system call.
================================ 1 OS detected =================================
OS#1: Ubuntu 24.04 LTS on sda2
================================ Host/Hardware =================================
CPU architecture: 64-bit
Video: GF108GLM [Quadro 1000M] from NVIDIA Corporation
Live-session OS is Ubuntu 64-bit (Ubuntu 24.04 LTS, noble, x86_64)
===================================== UEFI =====================================
BIOS/UEFI firmware: 68SVD Ver. F.63(15.99) from Hewlett-Packard
This live-session is in Legacy/BIOS/CSM mode (not in EFI mode).
============================= Drive/Partition Info =============================
Disks info: ____________________________________________________________________
sda : is-GPT, hasBIOSboot, has---ESP, not-usb, not-mmc, has-os, no-wind, 2048 sectors * 512 bytes
Partitions info (1/3): _________________________________________________________
sda2 : is-os, 64, apt-get, grub-pc , grub2, grub-install, grubenv-ok, update-grub, end-after-100GB
sda3 : no-os, 64, nopakmgr, no-docgrub, nogrub, nogrubinstall, no-grubenv, noupdategrub, not-far
Partitions info (2/3): _________________________________________________________
sda2 : isnotESP, fstab-without-efi, no-nt, no-winload, no-recov-nor-hid, no-bmgr, notwinboot
sda3 : is---ESP, part-has-no-fstab, no-nt, no-winload, no-recov-nor-hid, no-bmgr, notwinboot
Partitions info (3/3): _________________________________________________________
sda2 : not--sepboot, with-boot, fstab-without-boot, not-sep-usr, with--usr, fstab-without-usr, std-grub.d, sda
sda3 : not--sepboot, no---boot, part-has-no-fstab, not-sep-usr, no---usr, part-has-no-fstab, no--grub.d, sda
fdisk -l (filtered): ___________________________________________________________
Disk sda: 232.89 GiB, 250059350016 bytes, 488397168 sectors
Disk identifier: EB32192E-6E57-46DF-9AB3-4CE592D0952C
Start End Sectors Size Type
sda1 2048 4095 2048 1M BIOS boot
sda2 77824 488396799 488318976 232.8G Linux filesystem
sda3 4096 77823 73728 36M EFI System
Partition table entries are not in disk order.
Disk sdb: 57.69 GiB, 61945675776 bytes, 120987648 sectors
Disk identifier: 1A4B8E28-FA33-437A-8D9C-1BB63BC81820
Start End Sectors Size Type
sdb1 64 8185315 8185252 3.9G Microsoft basic data
sdb2 8185316 8195455 10140 5M EFI System
sdb3 8195456 8196055 600 300K Microsoft basic data
sdb4 8196096 120985599 112789504 53.8G Linux filesystem
parted -lm (filtered): _________________________________________________________
sda:250GB:scsi:512:512:gpt:ATA Samsung SSD 850:;
1:1049kB:2097kB:1049kB:::bios_grub;
3:2097kB:39.8MB:37.7MB:fat32::boot, esp;
2:39.8MB:250GB:250GB:ext4::;
sdb:61.9GB:scsi:512:512:gpt: USB DISK 3.0:;
1:32.8kB:4191MB:4191MB::ISO9660:hidden, msftdata;
2:4191MB:4196MB:5192kB::Appended2:boot, esp;
3:4196MB:4196MB:307kB::Gap1:hidden, msftdata;
4:4196MB:61.9GB:57.7GB:ext4::;
blkid (filtered): ______________________________________________________________
NAME FSTYPE UUID PARTUUID LABEL PARTLABEL
sda
├─sda1 c878aa42-7299-4225-8ae3-4d4f11865ffc
├─sda2 ext4 55c2c9eb-0a9e-4c2e-b130-5fb594cbf890 38db4c64-f968-4407-966a-6ca07dbdede8
└─sda3 vfat 274C-A385 f7cd36ef-b081-4fa8-bf30-80145861d5dd
sdb iso9660 2024-04-24-13-11-30-00 Ubuntu-MATE 24.04 LTS amd64
├─sdb1 iso9660 2024-04-24-13-11-30-00 1a4b8e28-fa33-437a-8d9d-1bb63bc81820 Ubuntu-MATE 24.04 LTS amd64 ISO9660
├─sdb2 vfat 37B6-BC6E 1a4b8e28-fa33-437a-8d9e-1bb63bc81820 ESP Appended2
├─sdb3 1a4b8e28-fa33-437a-8d9f-1bb63bc81820 Gap1
└─sdb4 ext4 01a37c58-1b66-11ef-9e75-3502794c3eb5 cdb9a56a-3393-436c-94fc-fba930b0f8b6 writable
Mount points (filtered): _______________________________________________________
Avail Use% Mounted on
/dev/sda2 206G 5% /mnt/boot-sav/sda2
/dev/sda3 35.4M 0% /mnt/boot-sav/sda3
/dev/sdb1 0 100% /cdrom
Mount options (filtered): ______________________________________________________
/dev/sda2 ext4 rw,relatime
/dev/sda3 vfat rw,relatime,fmask=0022,dmask=0022,codepage=437,iocharset=iso8859-1,shortname=mixed,errors=remount-ro
/dev/sdb1 iso9660 ro,noatime,nojoliet,check=s,map=n,blocksize=2048,iocharset=utf8
====================== sda2/boot/grub/grub.cfg (filtered) ======================
Ubuntu 55c2c9eb-0a9e-4c2e-b130-5fb594cbf890
### END /etc/grub.d/30_os-prober ###
UEFI Firmware Settings uefi-firmware
### END /etc/grub.d/30_uefi-firmware ###
========================== sda2/etc/fstab (filtered) ===========================
# <file system> <mount point> <type> <options> <dump> <pass>
# / was on /dev/sda2 during curtin installation
/dev/disk/by-uuid/55c2c9eb-0a9e-4c2e-b130-5fb594cbf890 / ext4 defaults 0 1
/swap.img none swap sw 0 0
======================= sda2/etc/default/grub (filtered) =======================
GRUB_DEFAULT=0
GRUB_TIMEOUT_STYLE=hidden
GRUB_TIMEOUT=0
GRUB_DISTRIBUTOR=`( . /etc/os-release; echo ${NAME:-Ubuntu} ) 2>/dev/null || echo Ubuntu`
GRUB_CMDLINE_LINUX_DEFAULT="quiet splash"
GRUB_CMDLINE_LINUX=""
==================== sda2: Location of files loaded by Grub ====================
GiB - GB File Fragment(s)
182.179508209 = 195.613757440 boot/grub/grub.cfg 1
164.166244507 = 176.272162816 boot/grub/i386-pc/core.img 1
11.004135132 = 11.815600128 boot/vmlinuz 1
11.004135132 = 11.815600128 boot/vmlinuz-6.8.0-31-generic 1
11.004135132 = 11.815600128 boot/vmlinuz.old 1
7.621654510 = 8.183689216 boot/initrd.img 1
7.621654510 = 8.183689216 boot/initrd.img-6.8.0-31-generic 1
7.621654510 = 8.183689216 boot/initrd.img.old 1
===================== sda2: ls -l /etc/grub.d/ (filtered) ======================
-rwxr-xr-x 1 root root 18133 Apr 4 10:12 10_linux
-rwxr-xr-x 1 root root 43202 Apr 4 10:12 10_linux_zfs
-rwxr-xr-x 1 root root 14513 Apr 4 10:12 20_linux_xen
-rwxr-xr-x 1 root root 786 Apr 4 10:12 25_bli
-rwxr-xr-x 1 root root 13120 Apr 4 10:12 30_os-prober
-rwxr-xr-x 1 root root 1174 Apr 4 10:12 30_uefi-firmware
-rwxr-xr-x 1 root root 722 Apr 5 11:36 35_fwupd
-rwxr-xr-x 1 root root 214 Apr 4 10:12 40_custom
-rwxr-xr-x 1 root root 215 Apr 4 10:12 41_custom
Suggested repair: ______________________________________________________________
The default repair of the Boot-Repair utility would purge (in order to fix packages) and reinstall the grub-efi of
sda2,
using the following options: sda3/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.
Final advice in case of suggested repair: ______________________________________
Please do not forget to make your UEFI firmware boot on the Ubuntu 24.04 LTS entry (sda3/efi/****/grub****.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.
Pourquoi je ne peux pas refaire une install en UEFI directement ?
Hors ligne
#4 Le 26/05/2024, à 21:27
- geole
Re : [Résolu] impossible de démarrer après installation
Tu n'as pas dit si le bios supportait EFI.
Si c'est le cas, vérifie aussi que le boot sur support USB est aussi fait en EFI car ce n'est pas le cas.
This live-session is in Legacy/BIOS/CSM mode (not in EFI mode).
Pas surprenant que tu aies un point d'exclamation dans gparted sur la partition FAT32.
En standard, il ne regarde pas le contenu. Si tu veux regarder le contenu, il faut "payer".
( Paragraphe 2.3! )
Dernière modification par geole (Le 26/05/2024, à 21:35)
Les grilles de l'installateur https://doc.ubuntu-fr.org/tutoriel/inst … _subiquity
"gedit admin:///etc/fstab" est proscrit, utilisez "pkexec env DISPLAY=$DISPLAY XAUTHORITY=$XAUTHORITY xdg-open /etc/fstab" Voir https://doc.ubuntu-fr.org/gedit
Les partitions EXT4 des disques externes => https://forum.ubuntu-fr.org/viewtopic.p … #p22697248
Hors ligne
#5 Le 26/05/2024, à 21:32
- Salamandre87
Re : [Résolu] impossible de démarrer après installation
le PC doit supporter l'UEFI, vu que dans le boot order j'ai un choix notebook upgrade bay (UEFI), notebook ethernet (UEFI) ou encore boot from EFi file.
Comment je fais pour que le boot sur support USB soit fait en EFI ?
Hors ligne
#6 Le 26/05/2024, à 21:33
- geole
Re : [Résolu] impossible de démarrer après installation
Il faut que tu informes le bios de booter en EFI,
Par curiosité: avec quel outil as-tu fais ta clé USB?
Dernière modification par geole (Le 26/05/2024, à 21:41)
Les grilles de l'installateur https://doc.ubuntu-fr.org/tutoriel/inst … _subiquity
"gedit admin:///etc/fstab" est proscrit, utilisez "pkexec env DISPLAY=$DISPLAY XAUTHORITY=$XAUTHORITY xdg-open /etc/fstab" Voir https://doc.ubuntu-fr.org/gedit
Les partitions EXT4 des disques externes => https://forum.ubuntu-fr.org/viewtopic.p … #p22697248
Hors ligne
#7 Le 26/05/2024, à 22:38
- Salamandre87
Re : [Résolu] impossible de démarrer après installation
Ça y est ça fonctionne.
Grand merci, en fait dans le boot order j'avais choisi de démarrer sur la clé usb, ce qui me paraissait logique pour installer via une session live usb... En fait il fallait choisir boot from efi files, et il y avait un fichier de la clé qui aparaissait... Comment passer des heures pour un truc qui devrait prendre 15 min, bref c'est les joies de l'installation par soi même et du bidouillage quand on ne comprend pas tout. Encore merci.
J'avais fait la clé usb depuis un autre PC sous Mate avec disque qui est installé de base.
Hors ligne
#8 Le 09/06/2024, à 20:47
- corbolion
Re : [Résolu] impossible de démarrer après installation
Bonjour Salamandre87
J'ai le meme pbe que tu as eu avec mon HP probook 640G1.
peut tu me preciser ou tu choisis "boot from efi files"
Merci
Hors ligne
#9 Le 09/06/2024, à 22:28
- Salamandre87
Re : [Résolu] impossible de démarrer après installation
Bonjour,
c'est lors du démarrage du PC, il faut appuyer sur une touche pour aller dans le menu boot order, "echap" ou F10, je crois. Comme quand tu installes linux à partir de la clé usb
Hors ligne
#10 Le 10/06/2024, à 20:05
- corbolion
Re : [Résolu] impossible de démarrer après installation
Bonjour,
Merci pour ta reponse, ca a marché
Hors ligne