#1 Le 26/09/2022, à 12:22
- Courtois_lathus
Ordinateur ne démarre plus suite a une mise a jour
Bonjour, suite a une mise a jour mon linux ne démarre plus. https://paste.ubuntu.com/p/ZChhQxnf9R/
Je suis donc partie pour fixer mon grub en installant l'outil boot repair et ouvrant ubuntu de ma clé d'installation , mais quand je le lance il me dit "La session en cours est en mode de compatibilité BIOS. Veuillez désactiver le mode BIOS-compatibility/CSM/Legacy dans votre firmware UEFI, et utiliser ce logiciel depuis un live-CD (ou live-USB) qui est compatible avec le mode de démarrage UEFI. Par exemple, utilisez un live-USB de Boot-Repair-Disk-64bit (www.sourceforge.net/p/boot-repair-cd), après avoir vérifié que votre BIOS est réglé pour démarrer l'USB en mode EFI. Cela vous permettra d'utiliser cette fonctionnalité.
Ayant un viel ordi ancien windows 7 2011 je n'ai quasiment aucune option dans mon bios donc je suis un peu perdu
Merci pour votre aide
Hors ligne
#2 Le 26/09/2022, à 12:25
- xubu1957
Re : Ordinateur ne démarre plus suite a une mise a jour
Bonjour,
Collage du Boot-repair, pour les spécialistes :
boot-repair-4ppa200 [20220926_1116]
============================== 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 (,msdos6)/boot/grub. It also embeds following components:
modules
---------------------------------------------------------------------------
fshelp ext2 part_msdos biosdisk
---------------------------------------------------------------------------
=> Grub2 (v2.00) is installed in the MBR of /dev/sdb and looks at sector 1 of
the same hard drive for core.img. core.img is at this location and looks
for (hd0,msdos1)/boot/grub. It also embeds following components:
modules
---------------------------------------------------------------------------
biosdisk fshelp fat exfat ext2 ntfs ntfscomp part_msdos
---------------------------------------------------------------------------
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.5 LTS
Boot files: /boot/grub/grub.cfg /etc/fstab /etc/default/grub
/boot/grub/i386-pc/core.img
sda6: __________________________________________________________________________
File system: ext4
Boot sector type: -
Boot sector info:
Operating System: Ubuntu 22.04.1 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: /efi/BOOT/fbx64.efi /efi/BOOT/mmx64.efi
/efi/ubuntu/grubx64.efi /efi/ubuntu/mmx64.efi
/efi/ubuntu/shimx64.efi /efi/ubuntu/grub.cfg
sdb1: __________________________________________________________________________
File system: vfat
Boot sector type: MSWIN4.1: FAT32
Boot sector info: No errors found in the Boot Parameter Block.
Operating System:
Boot files: /boot/grub/grub.cfg /efi/boot/bootx64.efi
/efi/boot/grubx64.efi /efi/boot/mmx64.efi
================================ 2 OS detected =================================
OS#1: Ubuntu 20.04.5 LTS on sda5
OS#2: Ubuntu 22.04.1 LTS on sda6
================================ Host/Hardware =================================
CPU architecture: 64-bit
Video: 2nd Generation Core Processor Family Integrated Graphics Controller from Intel Corporation
Live-session OS is Ubuntu 64-bit (Ubuntu 22.04.1 LTS, jammy, x86_64)
===================================== UEFI =====================================
BIOS/UEFI firmware: R0200E4(2.0) from Insyde Corp.
The firmware seems EFI-compatible, but this live-session is in Legacy/BIOS/CSM mode (not in EFI mode).
c152ec201c37b6e97bbc2207e49d1271 sda3/BOOT/fbx64.efi
fdafb5eece6caeccb788c946a28e6872 sda3/BOOT/mmx64.efi
f62c28d9b477b6a1a7b1c991b2b6637d sda3/ubuntu/grubx64.efi
fdafb5eece6caeccb788c946a28e6872 sda3/ubuntu/mmx64.efi
728124f6ec8e22fbdbe7034812c81b95 sda3/ubuntu/shimx64.efi
728124f6ec8e22fbdbe7034812c81b95 sda3/BOOT/BOOTX64.efi
============================= Drive/Partition Info =============================
Disks info: ____________________________________________________________________
sda : notGPT, no-BIOSboot, has---ESP, not-usb, not-mmc, has-os, no-wind, 2048 sectors * 512 bytes
Partitions info (1/3): _________________________________________________________
sda1 : no-os, 32, nopakmgr, no-docgrub, nogrub, nogrubinstall, no-grubenv, noupdategrub, not-far
sda3 : no-os, 32, nopakmgr, no-docgrub, nogrub, nogrubinstall, no-grubenv, noupdategrub, farbios
sda5 : is-os, 64, apt-get, grub-pc , grub2, grub-install, grubenv-ng, update-grub, farbios
sda6 : is-os, 64, apt-get, signed grub-pc grub-efi , grub2, grub-install, grubenv-ok, update-grub, farbios
Partitions info (2/3): _________________________________________________________
sda1 : isnotESP, part-has-no-fstab, 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
sda5 : isnotESP, fstab-has-goodEFI, no-nt, no-winload, no-recov-nor-hid, no-bmgr, notwinboot
sda6 : 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, no--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
sda5 : not--sepboot, with-boot, fstab-without-boot, not-sep-usr, with--usr, fstab-without-usr, std-grub.d, sda
sda6 : not--sepboot, with-boot, fstab-without-boot, not-sep-usr, with--usr, fstab-without-usr, std-grub.d, sda
fdisk -l (filtered): ___________________________________________________________
Disk sda: 111.79 GiB, 120034123776 bytes, 234441648 sectors
Disk identifier: 0x5a190230
Boot Start End Sectors Size Id Type
sda1 2048 1050623 1048576 512M b W95 FAT32
sda2 1052670 233390079 232337410 110.8G 5 Extended
sda3 * 233390080 234440703 1050624 513M ef EFI (FAT-12/16/32)
sda5 1052672 200723785 199671114 95.2G 83 Linux
sda6 200724480 233390079 32665600 15.6G 83 Linux
Partition table entries are not in disk order.
Disk sdb: 7.29 GiB, 7822376960 bytes, 15278080 sectors
Disk identifier: 0x0263996d
Boot Start End Sectors Size Id Type
sdb1 * 2048 15278079 15276032 7.3G c W95 FAT32 (LBA)
parted -lm (filtered): _________________________________________________________
sda:120GB:scsi:512:512:msdos:ATA LDLC F7+120GB:;
1:1049kB:538MB:537MB:fat32::;
2:539MB:119GB:119GB:::;
5:539MB:103GB:102GB:ext4::;
6:103GB:119GB:16.7GB:ext4::;
3:119GB:120GB:538MB:fat32::boot, esp;
sdb:7822MB:scsi:512:512:msdos:JetFlash Transcend 8GB:;
1:1049kB:7822MB:7821MB:fat32::boot, lba;
blkid (filtered): ______________________________________________________________
NAME FSTYPE UUID PARTUUID LABEL PARTLABEL
sda
├─sda1 vfat 3F16-461E 5a190230-01
├─sda2 5a190230-02
├─sda3 vfat 2A8C-6731 5a190230-03
├─sda5 ext4 d99c9ba3-f867-4c3d-8d37-2bc58f1ca1ec 5a190230-05
└─sda6 ext4 0f68f842-aa08-468b-bfc2-33629a609321 5a190230-06
sdb
└─sdb1 vfat A695-34D6 0263996d-01 UBUNTU 22_0
Mount points (filtered): _______________________________________________________
Avail Use% Mounted on
/dev/sda1 511M 0% /mnt/boot-sav/sda1
/dev/sda3 506.7M 1% /mnt/boot-sav/sda3
/dev/sda5 2.6G 92% /mnt/boot-sav/sda5
/dev/sda6 5.1G 62% /mnt/boot-sav/sda6
/dev/sdb1 3.7G 49% /cdrom
Mount options (filtered): ______________________________________________________
/dev/sda1 vfat rw,relatime,fmask=0022,dmask=0022,codepage=437,iocharset=iso8859-1,shortname=mixed,errors=remount-ro
/dev/sda3 vfat rw,relatime,fmask=0022,dmask=0022,codepage=437,iocharset=iso8859-1,shortname=mixed,errors=remount-ro
/dev/sda5 ext4 rw,relatime
/dev/sda6 ext4 rw,relatime
/dev/sdb1 vfat ro,noatime,fmask=0022,dmask=0022,codepage=437,iocharset=iso8859-1,shortname=mixed,errors=remount-ro
====================== sda5/boot/grub/grub.cfg (filtered) ======================
Ubuntu d99c9ba3-f867-4c3d-8d37-2bc58f1ca1ec
Ubuntu, avec Linux 5.15.0-48-generic d99c9ba3-f867-4c3d-8d37-2bc58f1ca1ec
Ubuntu, avec Linux 5.15.0-46-generic d99c9ba3-f867-4c3d-8d37-2bc58f1ca1ec
### 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=d99c9ba3-f867-4c3d-8d37-2bc58f1ca1ec / ext4 errors=remount-ro 0 1
# /boot/efi was on /dev/sda1 during installation
UUID=3F16-461E /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)
88,254360199 = 94,762397696 boot/grub/grub.cfg 2
20,636013031 = 22,157750272 boot/grub/i386-pc/core.img 1
83,653236389 = 89,821978624 boot/vmlinuz 2
83,668846130 = 89,838739456 boot/vmlinuz-5.15.0-46-generic 2
83,653236389 = 89,821978624 boot/vmlinuz-5.15.0-48-generic 2
83,668846130 = 89,838739456 boot/vmlinuz.old 2
93,001949310 = 99,860082688 boot/initrd.img 8
84,013668060 = 90,208989184 boot/initrd.img-5.15.0-46-generic 12
93,001949310 = 99,860082688 boot/initrd.img-5.15.0-48-generic 8
84,013668060 = 90,208989184 boot/initrd.img.old 12
===================== sda5: ls -l /etc/grub.d/ (filtered) ======================
-rwxr-xr-x 1 root root 18224 Jan 11 2022 10_linux
-rwxr-xr-x 1 root root 42359 Aug 17 2020 10_linux_zfs
-rwxr-xr-x 1 root root 12894 Apr 15 2020 20_linux_xen
-rwxr-xr-x 1 root root 12059 Apr 15 2020 30_os-prober
-rwxr-xr-x 1 root root 1424 Apr 15 2020 30_uefi-firmware
-rwxr-xr-x 1 root root 700 Feb 21 2022 35_fwupd
-rwxr-xr-x 1 root root 214 Apr 15 2020 40_custom
-rwxr-xr-x 1 root root 216 Apr 15 2020 41_custom
=========================== sda5/etc/grub.d/35_fwupd ===========================
#! /bin/sh
# SPDX-License-Identifier: LGPL-2.1+
set -e
[ -d ${pkgdatadir:?} ]
# shellcheck source=/dev/null
. "$pkgdatadir/grub-mkconfig_lib"
if [ -f /var/lib/fwupd/uefi_capsule.conf ] &&
ls /sys/firmware/efi/efivars/fwupd-*-0abba7dc-e516-4167-bbf5-4d9d1c739416 1>/dev/null 2>&1; then
. /var/lib/fwupd/uefi_capsule.conf
if [ "${EFI_PATH}" != "" ] && [ "${ESP}" != "" ]; then
echo "Adding Linux Firmware Updater entry" >&2
cat << EOF
menuentry 'Linux Firmware Updater' \$menuentry_id_option 'fwupd' {
EOF
${grub_probe:?}
prepare_grub_to_access_device '`${grub_probe} --target=device \${ESP}` | sed -e "s/^/\t/"'
cat << EOF
chainloader ${EFI_PATH}
}
EOF
fi
fi
====================== sda6/boot/grub/grub.cfg (filtered) ======================
Ubuntu 0f68f842-aa08-468b-bfc2-33629a609321
Ubuntu, with Linux 5.15.0-48-generic 0f68f842-aa08-468b-bfc2-33629a609321
Ubuntu, with Linux 5.15.0-43-generic 0f68f842-aa08-468b-bfc2-33629a609321
Ubuntu 20.04.5 LTS (20.04) (on sda5) d99c9ba3-f867-4c3d-8d37-2bc58f1ca1ec
Ubuntu (on sda5) d99c9ba3-f867-4c3d-8d37-2bc58f1ca1ec
Ubuntu, avec Linux 5.15.0-48-generic (on sda5) d99c9ba3-f867-4c3d-8d37-2bc58f1ca1ec
Ubuntu, avec Linux 5.15.0-46-generic (on sda5) d99c9ba3-f867-4c3d-8d37-2bc58f1ca1ec
### END /etc/grub.d/30_os-prober ###
### END /etc/grub.d/30_uefi-firmware ###
========================== sda6/etc/fstab (filtered) ===========================
# <file system> <mount point> <type> <options> <dump> <pass>
# / was on /dev/sda6 during installation
UUID=0f68f842-aa08-468b-bfc2-33629a609321 / ext4 errors=remount-ro 0 1
# /boot/efi was on /dev/sda3 during installation
UUID=2A8C-6731 /boot/efi vfat umask=0077 0 1
/swapfile none swap sw 0 0
======================= sda6/etc/default/grub (filtered) =======================
GRUB_DEFAULT=0
GRUB_TIMEOUT_STYLE=hidden
GRUB_TIMEOUT=10
GRUB_DISTRIBUTOR=`lsb_release -i -s 2> /dev/null || echo Debian`
GRUB_CMDLINE_LINUX_DEFAULT="quiet splash"
GRUB_CMDLINE_LINUX=""
==================== sda6: Location of files loaded by Grub ====================
GiB - GB File Fragment(s)
106,608051300 = 114,469523456 boot/grub/grub.cfg 1
96,595481873 = 103,718608896 boot/grub/i386-pc/core.img 1
103,090812683 = 110,692917248 boot/vmlinuz 2
110,533199310 = 118,684119040 boot/vmlinuz-5.15.0-43-generic 2
103,090812683 = 110,692917248 boot/vmlinuz-5.15.0-48-generic 2
110,533199310 = 118,684119040 boot/vmlinuz.old 2
106,654678345 = 114,519588864 boot/initrd.img 2
108,919414520 = 116,951330816 boot/initrd.img-5.15.0-43-generic 1
106,654678345 = 114,519588864 boot/initrd.img-5.15.0-48-generic 2
108,919414520 = 116,951330816 boot/initrd.img.old 1
===================== sda6: ls -l /etc/grub.d/ (filtered) ======================
-rwxr-xr-x 1 root root 18683 Apr 15 21:50 10_linux
-rwxr-xr-x 1 root root 43031 Apr 15 21:50 10_linux_zfs
-rwxr-xr-x 1 root root 14180 Apr 15 21:50 20_linux_xen
-rwxr-xr-x 1 root root 13369 Apr 15 21:50 30_os-prober
-rwxr-xr-x 1 root root 1372 Apr 15 21:50 30_uefi-firmware
-rwxr-xr-x 1 root root 700 Feb 19 2022 35_fwupd
-rwxr-xr-x 1 root root 214 Apr 15 21:50 40_custom
-rwxr-xr-x 1 root root 215 Apr 15 21:50 41_custom
=========================== sda6/etc/grub.d/35_fwupd ===========================
#! /bin/sh
# SPDX-License-Identifier: LGPL-2.1+
set -e
[ -d ${pkgdatadir:?} ]
# shellcheck source=/dev/null
. "$pkgdatadir/grub-mkconfig_lib"
if [ -f /var/lib/fwupd/uefi_capsule.conf ] &&
ls /sys/firmware/efi/efivars/fwupd-*-0abba7dc-e516-4167-bbf5-4d9d1c739416 1>/dev/null 2>&1; then
. /var/lib/fwupd/uefi_capsule.conf
if [ "${EFI_PATH}" != "" ] && [ "${ESP}" != "" ]; then
echo "Adding Linux Firmware Updater entry" >&2
cat << EOF
menuentry 'Linux Firmware Updater' \$menuentry_id_option 'fwupd' {
EOF
${grub_probe:?}
prepare_grub_to_access_device '`${grub_probe} --target=device \${ESP}` | sed -e "s/^/\t/"'
cat << EOF
chainloader ${EFI_PATH}
}
EOF
fi
fi
===================== sda3/efi/ubuntu/grub.cfg (filtered) ======================
search.fs_uuid 0f68f842-aa08-468b-bfc2-33629a609321 root hd0,msdos6
set prefix=($root)'/boot/grub'
configfile $prefix/grub.cfg
====================== sdb1/boot/grub/grub.cfg (filtered) ======================
Try or Install Ubuntu
Ubuntu (safe graphics)
OEM install (for manufacturers)
Boot from next volume
UEFI Firmware Settings
Test memory
==================== sdb1: Location of files loaded by Grub ====================
GiB - GB File Fragment(s)
?? = ?? boot/grub/grub.cfg 1
Suggested repair: ______________________________________________________________
The default repair of the Boot-Repair utility would purge (in order to fix packages) and reinstall the grub-efi of
sda5,
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 20.04.5 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.
Marque et modèle de l'ordi ?
Dernière modification par xubu1957 (Le 26/09/2022, à 12:27)
Conseils pour les nouveaux demandeurs et pas qu'eux
Important : Pensez à passer vos sujets en [Réso|u] lorsque ceux-ci le sont, au début du titre en cliquant sur Modifier sous le premier message, et un bref récapitulatif de la solution à la fin de celui-ci. Merci. Membre de Linux-Azur
Hors ligne
#3 Le 26/09/2022, à 12:59
- geole
Re : Ordinateur ne démarre plus suite a une mise a jour
Bonjour.
Je ne comprends absolument pas pourquoi tu ne peux pas démarrer.
Veux-tu dire par là que le menu grub du choix des deux O.S. ne t'est plus proposé?
Dans le boot-info, j'ai vu que tu as une structure de boot ubuntu correcte pour le LEGAGY et pour le EFI et surtout cette remarque "The firmware seems EFI-compatible" Mais je ne sais pas sur quoi elle se base: La presence des fichiers EFI???
Si tu as le grub d'affiché, as-tu essayé de booter avec le noyaux moins 1 ou l'autre ubuntu.
Dernière modification par geole (Le 26/09/2022, à 13:07)
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
#4 Le 26/09/2022, à 15:14
- iznobe
Re : Ordinateur ne démarre plus suite a une mise a jour
Bonjour , n ' y aurait il pas une install de ubuntu 20 en LEGACY et une 22 en EFI :
sda5 : is-os, 64, apt-get, grub-pc , grub2, grub-install, grubenv-ng, update-grub, farbios
sda6 : is-os, 64, apt-get, signed grub-pc grub-efi , grub2, grub-install, grubenv-ok, update-grub, farbios
autre possibilité :
BIOS en CSM , partition EFI ( demarrage en EFI donc ) , install double ubuntu en legacy ... rien ne demarre .
Dernière modification par iznobe (Le 26/09/2022, à 15:17)
retour COMPLET et utilisable de commande
MSI Z490A-pro , i7 10700 , 32 GB RAM .
Hors ligne
#5 Le 26/09/2022, à 20:47
- Courtois_lathus
Re : Ordinateur ne démarre plus suite a une mise a jour
J'en avais un peu marre donc j'ai réinstaller uniquement le ubuntu 22 uniquement et tout écrasé. Et j'ai essayé de revoir le partitionnement et ca ne change pas mon problème je n'arrive toujours pas a démarré, j'ai refais un boot diagnostic que voici : https://paste.ubuntu.com/p/SRtnKGyYbR/
Hors ligne
#6 Le 26/09/2022, à 20:51
- xubu1957
Re : Ordinateur ne démarre plus suite a une mise a jour
Marque et modèle de l'ordi (bis) ?
Boot-repair, deuxième édition :
boot-repair-4ppa200 [20220926_1816]
============================== 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 (,gpt3)/boot/grub. It also embeds following components:
modules
---------------------------------------------------------------------------
fshelp ext2 part_gpt biosdisk
---------------------------------------------------------------------------
=> Grub2 (v2.00) is installed in the MBR of /dev/sdb and looks at sector 1 of
the same hard drive for core.img. core.img is at this location and looks
for (hd0,msdos1)/boot/grub. It also embeds following components:
modules
---------------------------------------------------------------------------
biosdisk fshelp fat exfat ext2 ntfs ntfscomp part_msdos
---------------------------------------------------------------------------
sda1: __________________________________________________________________________
File system: BIOS Boot partition
Boot sector type: Grub2's core.img
Boot sector info:
sda2: __________________________________________________________________________
File system: vfat
Boot sector type: FAT32
Boot sector info: No errors found in the Boot Parameter Block.
Operating System:
Boot files: /efi/BOOT/fbx64.efi /efi/BOOT/mmx64.efi
/efi/ubuntu/grubx64.efi /efi/ubuntu/mmx64.efi
/efi/ubuntu/shimx64.efi /efi/ubuntu/grub.cfg
sda3: __________________________________________________________________________
File system: ext4
Boot sector type: Grub2 (v1.99-2.00)
Boot sector info: Grub2 (v2.00) is installed in the boot sector of sda3
and looks at sector 35643008 of the same hard drive
for core.img. core.img is at this location and looks
for (,gpt3)/boot/grub. It also embeds following
components:
modules
-------------------------------------------------------
fshelp ext2 part_gpt biosdisk
-------------------------------------------------------
Operating System: Ubuntu 22.04.1 LTS
Boot files: /boot/grub/grub.cfg /etc/fstab /etc/default/grub
/boot/grub/i386-pc/core.img
sdb1: __________________________________________________________________________
File system: vfat
Boot sector type: MSWIN4.1: FAT32
Boot sector info: No errors found in the Boot Parameter Block.
Operating System:
Boot files: /boot/grub/grub.cfg /efi/boot/bootx64.efi
/efi/boot/grubx64.efi /efi/boot/mmx64.efi
================================ 1 OS detected =================================
OS#1: Ubuntu 22.04.1 LTS on sda3
================================ Host/Hardware =================================
CPU architecture: 64-bit
Video: 2nd Generation Core Processor Family Integrated Graphics Controller from Intel Corporation
Live-session OS is Ubuntu 64-bit (Ubuntu 22.04.1 LTS, jammy, x86_64)
===================================== UEFI =====================================
BIOS/UEFI firmware: R0200E4(2.0) from Insyde Corp.
The firmware seems EFI-compatible, but this live-session is in Legacy/BIOS/CSM mode (not in EFI mode).
c152ec201c37b6e97bbc2207e49d1271 sda2/BOOT/fbx64.efi
fdafb5eece6caeccb788c946a28e6872 sda2/BOOT/mmx64.efi
f62c28d9b477b6a1a7b1c991b2b6637d sda2/ubuntu/grubx64.efi
fdafb5eece6caeccb788c946a28e6872 sda2/ubuntu/mmx64.efi
728124f6ec8e22fbdbe7034812c81b95 sda2/ubuntu/shimx64.efi
728124f6ec8e22fbdbe7034812c81b95 sda2/BOOT/BOOTX64.efi
============================= 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 : no-os, 32, nopakmgr, no-docgrub, nogrub, nogrubinstall, no-grubenv, noupdategrub, not-far
sda3 : is-os, 64, apt-get, signed grub-pc grub-efi , grub2, grub-install, grubenv-ok, update-grub, not-far
Partitions info (2/3): _________________________________________________________
sda2 : is---ESP, part-has-no-fstab, no-nt, no-winload, no-recov-nor-hid, no-bmgr, notwinboot
sda3 : isnotESP, fstab-has-goodEFI, no-nt, no-winload, no-recov-nor-hid, no-bmgr, notwinboot
Partitions info (3/3): _________________________________________________________
sda2 : not--sepboot, no---boot, part-has-no-fstab, not-sep-usr, no---usr, part-has-no-fstab, no--grub.d, sda
sda3 : not--sepboot, with-boot, fstab-without-boot, not-sep-usr, with--usr, fstab-without-usr, std-grub.d, sda
fdisk -l (filtered): ___________________________________________________________
Disk sda: 111.79 GiB, 120034123776 bytes, 234441648 sectors
Disk identifier: FFB2E7E3-0325-451A-A224-362D54A6D0AC
Start End Sectors Size Type
sda1 2048 4095 2048 1M BIOS boot
sda2 4096 1054719 1050624 513M EFI System
sda3 1054720 184515657 183460938 87.5G Linux filesystem
Disk sdb: 7.29 GiB, 7822376960 bytes, 15278080 sectors
Disk identifier: 0x0263996d
Boot Start End Sectors Size Id Type
sdb1 * 2048 15278079 15276032 7.3G c W95 FAT32 (LBA)
parted -lm (filtered): _________________________________________________________
sda:120GB:scsi:512:512:gpt:ATA LDLC F7+120GB:;
1:1049kB:2097kB:1049kB:::bios_grub;
2:2097kB:540MB:538MB:fat32:EFI System Partition:boot, esp;
3:540MB:94.5GB:93.9GB:ext4::;
sdb:7822MB:scsi:512:512:msdos:JetFlash Transcend 8GB:;
1:1049kB:7822MB:7821MB:fat32::boot, lba;
Free space >10MiB: ______________________________________________________________
sda: 90096MiB:114473MiB:24378MiB
blkid (filtered): ______________________________________________________________
NAME FSTYPE UUID PARTUUID LABEL PARTLABEL
sda
├─sda1 84c934f4-1ea5-4a5f-861d-dc930d48300a
├─sda2 vfat BB99-DCF1 0c38d8c1-982f-4869-92c4-ab9786453a45 EFI System Partition
└─sda3 ext4 c3bb9e20-104d-4827-b703-6405d32544ca 84a1a755-17f3-45d1-b356-6ab226362a28
sdb
└─sdb1 vfat A695-34D6 0263996d-01 UBUNTU 22_0
Mount points (filtered): _______________________________________________________
Avail Use% Mounted on
/dev/sda2 506.7M 1% /mnt/boot-sav/sda2
/dev/sda3 74.2G 8% /mnt/boot-sav/sda3
/dev/sdb1 3.7G 49% /cdrom
Mount options (filtered): ______________________________________________________
/dev/sda2 vfat rw,relatime,fmask=0022,dmask=0022,codepage=437,iocharset=iso8859-1,shortname=mixed,errors=remount-ro
/dev/sda3 ext4 rw,relatime
/dev/sdb1 vfat ro,noatime,fmask=0022,dmask=0022,codepage=437,iocharset=iso8859-1,shortname=mixed,errors=remount-ro
===================== sda2/efi/ubuntu/grub.cfg (filtered) ======================
search.fs_uuid c3bb9e20-104d-4827-b703-6405d32544ca root hd0,gpt3
set prefix=($root)'/boot/grub'
configfile $prefix/grub.cfg
====================== sda3/boot/grub/grub.cfg (filtered) ======================
Ubuntu c3bb9e20-104d-4827-b703-6405d32544ca
Ubuntu, with Linux 5.15.0-43-generic c3bb9e20-104d-4827-b703-6405d32544ca
### END /etc/grub.d/30_os-prober ###
### END /etc/grub.d/30_uefi-firmware ###
========================== sda3/etc/fstab (filtered) ===========================
# <file system> <mount point> <type> <options> <dump> <pass>
# / was on /dev/sda3 during installation
UUID=c3bb9e20-104d-4827-b703-6405d32544ca / ext4 errors=remount-ro 0 1
# /boot/efi was on /dev/sda2 during installation
UUID=BB99-DCF1 /boot/efi vfat umask=0077 0 1
======================= sda3/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=""
==================== sda3: Location of files loaded by Grub ====================
GiB - GB File Fragment(s)
9,009212494 = 9,673568256 boot/grub/grub.cfg 1
16,995933533 = 18,249244672 boot/grub/i386-pc/core.img 1
36,690425873 = 39,396044800 boot/vmlinuz 2
36,690425873 = 39,396044800 boot/vmlinuz-5.15.0-43-generic 2
13,436016083 = 14,426812416 boot/initrd.img 1
13,436016083 = 14,426812416 boot/initrd.img-5.15.0-43-generic 1
13,436016083 = 14,426812416 boot/initrd.img.old 1
===================== sda3: ls -l /etc/grub.d/ (filtered) ======================
-rwxr-xr-x 1 root root 18683 Apr 15 21:50 10_linux
-rwxr-xr-x 1 root root 43031 Apr 15 21:50 10_linux_zfs
-rwxr-xr-x 1 root root 14180 Apr 15 21:50 20_linux_xen
-rwxr-xr-x 1 root root 13369 Apr 15 21:50 30_os-prober
-rwxr-xr-x 1 root root 1372 Apr 15 21:50 30_uefi-firmware
-rwxr-xr-x 1 root root 700 Feb 19 2022 35_fwupd
-rwxr-xr-x 1 root root 214 Apr 15 21:50 40_custom
-rwxr-xr-x 1 root root 215 Apr 15 21:50 41_custom
=========================== sda3/etc/grub.d/35_fwupd ===========================
#! /bin/sh
# SPDX-License-Identifier: LGPL-2.1+
set -e
[ -d ${pkgdatadir:?} ]
# shellcheck source=/dev/null
. "$pkgdatadir/grub-mkconfig_lib"
if [ -f /var/lib/fwupd/uefi_capsule.conf ] &&
ls /sys/firmware/efi/efivars/fwupd-*-0abba7dc-e516-4167-bbf5-4d9d1c739416 1>/dev/null 2>&1; then
. /var/lib/fwupd/uefi_capsule.conf
if [ "${EFI_PATH}" != "" ] && [ "${ESP}" != "" ]; then
echo "Adding Linux Firmware Updater entry" >&2
cat << EOF
menuentry 'Linux Firmware Updater' \$menuentry_id_option 'fwupd' {
EOF
${grub_probe:?}
prepare_grub_to_access_device '`${grub_probe} --target=device \${ESP}` | sed -e "s/^/\t/"'
cat << EOF
chainloader ${EFI_PATH}
}
EOF
fi
fi
====================== sdb1/boot/grub/grub.cfg (filtered) ======================
Try or Install Ubuntu
Ubuntu (safe graphics)
OEM install (for manufacturers)
Boot from next volume
UEFI Firmware Settings
Test memory
==================== sdb1: Location of files loaded by Grub ====================
GiB - GB File Fragment(s)
?? = ?? boot/grub/grub.cfg 1
Suggested repair: ______________________________________________________________
The default repair of the Boot-Repair utility would reinstall the grub-efi of
sda3,
using the following options: sda2/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 22.04.1 LTS entry (sda2/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.
Conseils pour les nouveaux demandeurs et pas qu'eux
Important : Pensez à passer vos sujets en [Réso|u] lorsque ceux-ci le sont, au début du titre en cliquant sur Modifier sous le premier message, et un bref récapitulatif de la solution à la fin de celui-ci. Merci. Membre de Linux-Azur
Hors ligne
#7 Le 26/09/2022, à 20:59
- geole
Re : Ordinateur ne démarre plus suite a une mise a jour
Bonjour.
Je ne comprends absolument pas pourquoi tu ne peux pas démarrer.
Veux-tu dire par là que le menu grub du choix des deux O.S. ne t'est plus proposé?
Donc comme tu n'as plus qu'un seul O.S. c'est maintenant normal que le menu de choix ne soit plus proposé. Cela va compliquer la résolution.
Il ne te reste plus qu'à installer windows pour voir si c'est mieux.
Dernière modification par geole (Le 26/09/2022, à 21:00)
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
#8 Le 27/09/2022, à 04:47
- alh54
Re : Ordinateur ne démarre plus suite a une mise a jour
Comme tu ne maitrises pas EFI/Legacy, et qu'en plus tu as un vieil ordi, le mieux est d'installer en Legacy . On évitera aussi l'installation automatique pour ne pas avoir une partition EFI.
Démarre avec le live usb en mode Legacy, avec gparted crée une nouvelle table de partition de type msdos, cela supprime toutes les partitions existantes, crée une nouvelle partition qui prend tout le disque, formate-la en ext4.
Lance l'installateur Ubuntu et choisis comme type d'installation"Autre chose" ou "partitionnement personnalisé", je ne sais plus.
L'installateur détectera la partition qu'on vient de créer, tu la sélectionnes et tu demande à ce qu'elle soit montée en /
En bas de fenêtre il y a l'emplacement d'installation de grub, normalement c'est /dev/sda, verifie que c'est bien ça et pas /dev/sda1. C'est tout, laisse faire l'installateur.
Au redémarrage il faut évidemment booter en Legacy.
Hors ligne
#9 Le 27/09/2022, à 07:46
- geole
Re : Ordinateur ne démarre plus suite a une mise a jour
Bonjour.
La proposition de alh54 est à faire de préférence avec la version 20.04 car en 22.04 tu aurais des messages perturbants au niveau EFI,
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