#1 Le 05/12/2020, à 23:29
- phil76620
Probleme boot disque dur impossible meme avec boot-repair
Bonjour à tous
Je rencontre un problème que j'ai été incapable de résoudre seul. Une personne m'a aidé mais a peut être fait une bêtise en faisant un fsck -y ...manip trop compliqué.
J'ai accès à mes dossiers mais ne peut utilise rle PC que par une clé boot repais.
Le fichier de boor repair est disponible à l'adresse http://paste.ubuntu.com/p/WBFqg5JDCm/
J'ai tenté de modifier certains paramètres BIOS en UEFI mais je ne maîtrise absolument pas.
Merci pour votre aide.
Phil
Hors ligne
#2 Le 06/12/2020, à 00:15
- geole
Re : Probleme boot disque dur impossible meme avec boot-repair
Bonsoir.
Il faudrait certainement que tu regardes dans le bios la raison pour laquelle le boot EFI a cessé d'être prioritaire.
Les grilles de l'installateur https://doc.ubuntu-fr.org/tutoriel/inst … _subiquity
Je défie QUICONQUE de trouver une discussion où j'aurais suggéré de remplacer un SSD par un disque dur.
Les partitions EXT4 des disques externes => https://forum.ubuntu-fr.org/viewtopic.p … #p22697248
Hors ligne
#3 Le 06/12/2020, à 07:27
- xubu1957
Re : Probleme boot disque dur impossible meme avec boot-repair
Bonjour,
Collage du Boot-repair, pour les spécialistes :
boot-repair-4ppa125 [20201205_2104]
============================== Boot Info Summary ===============================
=> No boot loader is installed in the MBR of /dev/sda.
=> No boot loader is installed in the MBR of /dev/sdd.
sda1: __________________________________________________________________________
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/ubuntu/fwupx64.efi
/efi/ubuntu/grubx64.efi /efi/ubuntu/mmx64.efi
/efi/ubuntu/shimx64.efi /efi/ubuntu/grub.cfg
sda2: __________________________________________________________________________
File system: ext4
Boot sector type: -
Boot sector info:
Operating System: Ubuntu 18.04.2 LTS
Boot files: /boot/grub/grub.cfg /etc/fstab /etc/default/grub
sda3: __________________________________________________________________________
File system: swap
Boot sector type: -
Boot sector info:
sdd1: __________________________________________________________________________
File system: ntfs
Boot sector type: Windows 7/2008: NTFS
Boot sector info: No errors found in the Boot Parameter Block.
Operating System:
Boot files:
sdb: ___________________________________________________________________________
File system: iso9660
Boot sector type: Unknown
Boot sector info:
Operating System:
Boot files: /boot/grub/grub.cfg
================================ 1 OS detected =================================
OS#1: Ubuntu 18.04.2 LTS on sda2
============================ 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.
EFI in dmesg.
[ 0.008177] ACPI: UEFI 0x00000000CA6ACCD0 000042 (v01 INTEL EDK2 00000002 01000013)
bed45d1c9554cea09924d3814cb7c446 sda1/BOOT/fbx64.efi
256fe27540b54b71cf38110338247688 sda1/ubuntu/fwupx64.efi
b6e92eeb44c28043967df78682083d85 sda1/ubuntu/grubx64.efi
4487628005555bfd4a4c0a47211e0700 sda1/ubuntu/mmx64.efi
f7a57b08bc7c1c85417ae4cea582d1d4 sda1/ubuntu/shimx64.efi
f7a57b08bc7c1c85417ae4cea582d1d4 sda1/BOOT/BOOTX64.efi
============================= Drive/Partition Info =============================
Disks info: ____________________________________________________________________
sda : is-GPT, no-BIOSboot, has---ESP, not-usb, not-mmc, has-os, 2048 sectors * 512 bytes
sdd : notGPT, no-BIOSboot, has-noESP, not-usb, not-mmc, no-os, 2048 sectors * 512 bytes
Partitions info (1/3): _________________________________________________________
sda1 : no-os, 32, nopakmgr, no-docgrub, nogrub, nogrubinstall, no-grubenv, noupdategrub, not-far
sda2 : is-os, 64, apt-get, signed grub-efi , grub2, grub-install, grubenv-ng, update-grub, farbios
sdd1 : no-os, 32, nopakmgr, no-docgrub, nogrub, nogrubinstall, no-grubenv, noupdategrub, farbios
Partitions info (2/3): _________________________________________________________
sda1 : is---ESP, part-has-no-fstab, no-nt, no-winload, no-recov-nor-hid, no-bmgr, notwinboot
sda2 : isnotESP, fstab-has-goodEFI, no-nt, no-winload, no-recov-nor-hid, no-bmgr, notwinboot
sdd1 : isnotESP, part-has-no-fstab, 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
sda2 : not-sepboot, with-boot, fstab-without-boot, not-sep-usr, with--usr, fstab-without-usr, std-grub.d, sda
sdd1 : not-sepboot, no-boot, part-has-no-fstab, not-sep-usr, no---usr, part-has-no-fstab, std-grub.d, sdd
fdisk -l (filtered): ___________________________________________________________
Disk sda: 447.1 GiB, 480103981056 bytes, 937703088 sectors
Disk identifier: E53237AE-B0EE-4E9C-90F8-1D1C97DC67AE
Start End Sectors Size Type
sda1 2048 1050623 1048576 512M EFI System
sda2 1050624 921153535 920102912 438.8G Linux filesystem
sda3 921153536 937701375 16547840 7.9G Linux swap
Disk sdb: 3.7 GiB, 3995074560 bytes, 7802880 sectors
Disk identifier: 0x2c534026
Boot Start End Sectors Size Id Type
sdb1 * 0 1802239 1802240 880M 0 Empty
sdb2 964 5891 4928 2.4M ef EFI (FAT-12/16/32)
Disk sdd: 465.8 GiB, 500107861504 bytes, 976773167 sectors
Disk identifier: 0x71c7ff07
Boot Start End Sectors Size Id Type
sdd1 2048 976769023 976766976 465.8G 7 HPFS/NTFS/exFAT
Disk zram0: 981.3 MiB, 1028935680 bytes, 251205 sectors
Disk zram1: 981.3 MiB, 1028935680 bytes, 251205 sectors
Disk zram2: 981.3 MiB, 1028935680 bytes, 251205 sectors
Disk zram3: 981.3 MiB, 1028935680 bytes, 251205 sectors
parted -lm (filtered): _________________________________________________________
sda:480GB:scsi:512:512:gpt:ATA KINGSTON SA400S3:;
1:1049kB:538MB:537MB:fat32:EFI System Partition:boot, esp;
2:538MB:472GB:471GB:ext4::;
3:472GB:480GB:8472MB:linux-swap(v1)::;
sdb:3995MB:scsi:512:512:msdos: :;
2:494kB:3017kB:2523kB:::esp;
sdd:500GB:scsi:512:512:msdos:Seagate Expansion:;
1:1049kB:500GB:500GB:ntfs::;
zram3:1029MB:unknown:4096:4096:loop:Unknown:;
1:0.00B:1029MB:1029MB:linux-swap(v1)::;
zram1:1029MB:unknown:4096:4096:loop:Unknown:;
1:0.00B:1029MB:1029MB:linux-swap(v1)::;
sr0:3390MB:scsi:2048:2048:unknown:HL-DT-ST DVDRAM GH24NSD1:;
zram2:1029MB:unknown:4096:4096:loop:Unknown:;
1:0.00B:1029MB:1029MB:linux-swap(v1)::;
zram0:1029MB:unknown:4096:4096:loop:Unknown:;
1:0.00B:1029MB:1029MB:linux-swap(v1)::;
blkid (filtered): ______________________________________________________________
NAME FSTYPE UUID PARTUUID LABEL PARTLABEL
sda
├─sda1 vfat F141-2E8B 31d5c0fe-88a9-4dde-8935-fdffa22a2c91 EFI System Partition
├─sda2 ext4 d7890c8a-0faf-43cf-a343-fce5dc0bfc39 5a7f4150-2663-40dd-b7c6-9fff62a620ff
└─sda3 swap de9127db-fc3c-45a4-980e-a6f223a5c9dd 58b9ebe6-2700-4070-852f-298e4919e8a2
sdb iso9660 2020-06-13-00-42-55-00 Boot-Repair-Disk 64bit
├─sdb1 iso9660 2020-06-13-00-42-55-00 2c534026-01 Boot-Repair-Disk 64bit
└─sdb2 vfat D055-8513 2c534026-02 Boot-Repair-Disk 64bit
sdd
└─sdd1 ntfs DAB68795B6877135 71c7ff07-01 Seagate Expansion Drive
zram0
zram1
zram2
zram3
df (filtered): _________________________________________________________________
Avail Use% Mounted on
sda1 504.9M 1% /mnt/boot-sav/sda1
sda2 66.7G 79% /mnt/boot-sav/sda2
sdb 0 100% /cdrom
sdd1 5.9G 99% /mnt/boot-sav/sdd1
Mount options: __________________________________________________________________
sda1 rw,relatime,fmask=0022,dmask=0022,codepage=437,iocharset=iso8859-1,shortname=mixed,errors=remount-ro
sda2 rw,relatime
sdb ro,noatime,nojoliet,check=s,map=n,blocksize=2048
sdd1 rw,relatime,user_id=0,group_id=0,allow_other,blksize=4096
===================== sda1/efi/ubuntu/grub.cfg (filtered) ======================
search.fs_uuid d7890c8a-0faf-43cf-a343-fce5dc0bfc39 root hd0,gpt2
set prefix=($root)'/boot/grub'
configfile $prefix/grub.cfg
====================== sda2/boot/grub/grub.cfg (filtered) ======================
Ubuntu d7890c8a-0faf-43cf-a343-fce5dc0bfc39
Ubuntu, avec Linux 4.15.0-126-generic d7890c8a-0faf-43cf-a343-fce5dc0bfc39
Ubuntu, avec Linux 4.15.0-123-generic d7890c8a-0faf-43cf-a343-fce5dc0bfc39
### END /etc/grub.d/30_os-prober ###
System setup 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 installation
UUID=d7890c8a-0faf-43cf-a343-fce5dc0bfc39 / ext4 errors=remount-ro 0 1
# /boot/efi was on /dev/sda1 during installation
UUID=F141-2E8B /boot/efi vfat umask=0077 0 1
# swap was on /dev/sda3 during installation
UUID=de9127db-fc3c-45a4-980e-a6f223a5c9dd none swap sw 0 0
======================= sda2/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=""
==================== sda2: Location of files loaded by Grub ====================
GiB - GB File Fragment(s)
379.352169037 = 407.326289920 boot/grub/grub.cfg 2
247.243156433 = 265.475317760 boot/vmlinuz-4.15.0-123-generic 1
422.266597748 = 453.405306880 boot/vmlinuz-4.15.0-126-generic 1
422.266597748 = 453.405306880 vmlinuz 1
247.243156433 = 265.475317760 vmlinuz.old 1
407.909038544 = 437.988995072 boot/initrd.img-4.15.0-123-generic 4
422.696285248 = 453.866680320 boot/initrd.img-4.15.0-126-generic 5
422.696285248 = 453.866680320 initrd.img 5
407.909038544 = 437.988995072 initrd.img.old 4
===================== sda2: ls -l /etc/grub.d/ (filtered) ======================
-rwxr-xr-x 1 root root 12693 oct. 11 2018 10_linux
-rwxr-xr-x 1 root root 11298 oct. 11 2018 20_linux_xen
-rwxr-xr-x 1 root root 12059 oct. 11 2018 30_os-prober
-rwxr-xr-x 1 root root 1418 janv. 13 2017 30_uefi-firmware
-rwxr-xr-x 1 root root 214 janv. 13 2017 40_custom
-rwxr-xr-x 1 root root 216 janv. 13 2017 41_custom
====================== sdb/boot/grub/grub.cfg (filtered) =======================
Boot-Repair-Disk session
Boot-Repair-Disk session (failsafe)
==================== sdb: Location of files loaded by Grub =====================
GiB - GB File Fragment(s)
?? = ?? boot/grub/grub.cfg 1
======================== Unknown MBRs/Boot Sectors/etc =========================
Unknown BootLoader on sdb
00000000 33 ed 90 90 90 90 90 90 90 90 90 90 90 90 90 90 |3...............|
00000010 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 |................|
00000020 33 ed fa 8e d5 bc 00 7c fb fc 66 31 db 66 31 c9 |3......|..f1.f1.|
00000030 66 53 66 51 06 57 8e dd 8e c5 52 be 00 7c bf 00 |fSfQ.W....R..|..|
00000040 06 b9 00 01 f3 a5 ea 4b 06 00 00 52 b4 41 bb aa |.......K...R.A..|
00000050 55 31 c9 30 f6 f9 cd 13 72 16 81 fb 55 aa 75 10 |U1.0....r...U.u.|
00000060 83 e1 01 74 0b 66 c7 06 f3 06 b4 42 eb 15 eb 02 |...t.f.....B....|
00000070 31 c9 5a 51 b4 08 cd 13 5b 0f b6 c6 40 50 83 e1 |1.ZQ....[...@P..|
00000080 3f 51 f7 e1 53 52 50 bb 00 7c b9 04 00 66 a1 b0 |?Q..SRP..|...f..|
00000090 07 e8 44 00 0f 82 80 00 66 40 80 c7 02 e2 f2 66 |..D.....f@.....f|
000000a0 81 3e 40 7c fb c0 78 70 75 09 fa bc ec 7b ea 44 |.>@|..xpu....{.D|
000000b0 7c 00 00 e8 83 00 69 73 6f 6c 69 6e 75 78 2e 62 ||.....isolinux.b|
000000c0 69 6e 20 6d 69 73 73 69 6e 67 20 6f 72 20 63 6f |in missing or co|
000000d0 72 72 75 70 74 2e 0d 0a 66 60 66 31 d2 66 03 06 |rrupt...f`f1.f..|
000000e0 f8 7b 66 13 16 fc 7b 66 52 66 50 06 53 6a 01 6a |.{f...{fRfP.Sj.j|
000000f0 10 89 e6 66 f7 36 e8 7b c0 e4 06 88 e1 88 c5 92 |...f.6.{........|
00000100 f6 36 ee 7b 88 c6 08 e1 41 b8 01 02 8a 16 f2 7b |.6.{....A......{|
00000110 cd 13 8d 64 10 66 61 c3 e8 1e 00 4f 70 65 72 61 |...d.fa....Opera|
00000120 74 69 6e 67 20 73 79 73 74 65 6d 20 6c 6f 61 64 |ting system load|
00000130 20 65 72 72 6f 72 2e 0d 0a 5e ac b4 0e 8a 3e 62 | error...^....>b|
00000140 04 b3 07 cd 10 3c 0a 75 f1 cd 18 f4 eb fd 00 00 |.....<.u........|
00000150 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................|
*
000001b0 04 17 00 00 00 00 00 00 26 40 53 2c 00 00 80 00 |........&@S,....|
000001c0 01 00 00 3f e0 6f 00 00 00 00 00 80 1b 00 00 fe |...?.o..........|
000001d0 ff ff ef fe ff ff c4 03 00 00 40 13 00 00 00 00 |..........@.....|
000001e0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................|
000001f0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 55 aa |..............U.|
00000200
========= Devices which don't seem to have a corresponding hard drive ==========
sdc
=============================== StdErr Messages ================================
File descriptor 63 (pipe:[42001]) leaked on lvs invocation. Parent PID 2156: /bin/bash
Unmount sdd1 from /media/lubuntu/Seagate Expansion Drive/ to avoid special characters (& or \ or space) incompatibilities
Suggested repair: ______________________________________________________________
The default repair of the Boot-Repair utility would purge (in order to sign-grub) and reinstall the grub-efi-amd64-signed of
sda2,
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: __________________________________
The boot of your PC is in BIOS-compatibility/CSM/Legacy mode. You may want to retry after changing it to EFI mode.
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 18.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.
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
#4 Le 06/12/2020, à 08:05
- phil76620
Re : Probleme boot disque dur impossible meme avec boot-repair
Bonjour,
Quand je lance boot repair, j'ai je ne parviens pas à
a 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é.
"Après avoir vérifié que votre BIOS est réglé pour démarrer l'USB en mode EFI."
C'est cela que je ne parviens sans doute pas à faire
Dernière modification par phil76620 (Le 06/12/2020, à 08:06)
Hors ligne
#5 Le 06/12/2020, à 08:10
- xubu1957
Re : Probleme boot disque dur impossible meme avec boot-repair
Bonjour,
Marque et modèle précis de l'ordi ?
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
#6 Le 06/12/2020, à 08:29
- phil76620
Re : Probleme boot disque dur impossible meme avec boot-repair
Bonjour
En fait il y a du progrès. J'au pu faire un boot UEFI (un peu de chance sur les possibilités de Boot est apparue cette option non présente les fois d'avant quand je tentais de booter)
CPU~Dual core Intel Pentium G4560 (-MT-MCP-) speed/max~1121/3500 MHz Kernel~4.15.0-126-generic x86_64 Up~4 min Mem~2048.0/7864.5MB HDD~480.1GB(78.4% used) Procs~324 Client~Shell inxi~2.3.56
Il y a eu une erreur lors du boot repair et le boot-repair est à l'URL http://paste.ubuntu.com/p/gtjxvw7kDs/
Mais j'ai un boot et tout semble ok. Pas rassuré pour autant.
Pour l'instant je pourrais largement m'en contenter mais je ne comprends pas comment d'un seul coup la bécane a refusé de booter. Comment cela arrive-t-il ?
Si vous voyez quelque chose à ajouter et à m'expliquer d'après le boot repair.
Merci à tous
Hors ligne
#7 Le 06/12/2020, à 08:41
- xubu1957
Re : Probleme boot disque dur impossible meme avec boot-repair
Collage du deuxième Boot-repair, pour les spécialistes :
boot-repair-4ppa125 [20201206_0614]
============================= Boot Repair Summary ==============================
Default settings: ______________________________________________________________
The default repair of the Boot-Repair utility would purge (in order to sign-grub) and reinstall the grub-efi-amd64-signed of
sda2,
using the following options: sda1/boot/efi,
Additional repair would be performed: unhide-bootmenu-10s use-standard-efi-file
Final advice in case of suggested repair: ______________________________________
Please do not forget to make your UEFI firmware boot on the Ubuntu 18.04.2 LTS entry (sda1/efi/****/shim****.efi (**** will be updated in the final message) file) !
User settings: _________________________________________________________________
Warning: Unable to open /dev/sr0 read-write (Read-only file system). /dev/sr0 has been opened read-only.
Error: /dev/sr0: unrecognised disk label
grub-probe: error: cannot find a GRUB drive for /dev/sdb1. Check your device.map.
grub-probe: error: cannot find a GRUB drive for /dev/sdb1. Check your device.map.
/usr/share/boot-sav/bs-cmd_terminal.sh: line 177: warning: command substitution: ignored null byte in input
The settings chosen by the user will purge (in order to sign-grub) and reinstall the grub-efi-amd64-signed of
sda2,
using the following options: sda1/boot/efi,
Additional repair will be performed: unhide-bootmenu-10s use-standard-efi-file
/boot/efi added in sda2/fstab
Mount sda1 on /mnt/boot-sav/sda2/boot/efi
chroot /mnt/boot-sav/sda2 apt-get -y update
E: The repository 'http://ppa.launchpad.net/rockclimb/gephi-daily/ubuntu bionic Release' does not have a Release file.
W: GPG error: http://download.opensuse.org/repositories/isv:/ownCloud:/desktop/Ubuntu_18.04 InRelease: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 4ABE1AC7557BEFF9
E: The repository 'http://download.opensuse.org/repositories/isv:/ownCloud:/desktop/Ubuntu_18.04 InRelease' is not signed.
Purge the GRUB of sda2
grub-efi-amd64-signed available
The following additional packages will be installed:
grub-common grub-efi-amd64 grub-efi-amd64-bin grub2-common
Suggested packages:
multiboot-doc grub-emu xorriso desktop-base
The following packages will be upgraded:
grub-common grub-efi-amd64 grub-efi-amd64-bin grub-efi-amd64-signed
grub2-common
5 upgraded, 0 newly installed, 0 to remove and 206 not upgraded.
DEBCHECK debOK, grub-efi-amd64-signed
DEBCHECK debOK
shim-signed available
Please type: sudo chroot "/mnt/boot-sav/sda2" dpkg --configure -ansudo chroot "/mnt/boot-sav/sda2" apt-get install -fynsudo chroot "/mnt/boot-sav/sda2" apt-get purge -y grub*-common shim-signed
shim-signed available
linux-headers-generic available
linux-signed-generic available
Then type: sudo chroot "/mnt/boot-sav/sda2" apt-get install -y grub-efi-amd64-signed shim-signed linux-headers-generic linux-signed-generic
Unhide GRUB boot menu in sda2/etc/default/grub
========== Reinstall the grub-efi-amd64-signed shim-signed linux-headers-generic linux-signed-generic of sda2 ==========
grub-install --version
grub-install (GRUB) 2.02-2ubuntu8.20
efibootmgr -v from chroot before grub install
BootCurrent: 0004
Timeout: 1 seconds
BootOrder: 0000,0001,0003,0004,0005
Boot0000* ubuntu HD(1,GPT,31d5c0fe-88a9-4dde-8935-fdffa22a2c91,0x800,0x100000)/File(EFIubuntushimx64.efi)
Boot0001* Hard Drive BBS(HD,,0x0)..GO..NO........o.K.I.N.G.S.T.O.N. .S.A.4.0.0.S.3.7.4.8.0.G....................A...........................>..Gd-.;.A..MQ..L.0.5.2.0.B.6.7.7.4.7.3.0.C.F.1.B. . . . ........BO..NO........[.M.a.s.s. .S.t.o.r.a.g.e. .D.e.v.i.c.e....................A..........................Gd-.;.A..MQ..L.1.2.5.C.2.0.1.0.0.7.2.6........BO..NO}......._. .8...0.7....................A.......................2..Gd-.;.A..MQ..L.1.5.0.4.2.7.0.3.0.0.1.1.4.4........BO
Boot0003* CD/DVD Drive BBS(CDROM,,0x0)..GO..NO........o.H.L.-.D.T.-.S.T. .D.V.D.R.A.M. .G.H.2.4.N.S.D.1....................A...........................>..Gd-.;.A..MQ..L.1.K.H.N.D.3.5.A.2.7. .2. . . . . . . . ........BO
Boot0004* UEFI: 8.07 PciRoot(0x0)/Pci(0x14,0x0)/USB(1,0)/CDROM(1,0x3c4,0x4d00)..BO
Boot0005* UEFI: 8.07, Partition 1 PciRoot(0x0)/Pci(0x14,0x0)/USB(1,0)/HD(1,MBR,0x2c534026,0x3c4,0x1340)..BO
uname -r
5.3.0-28-generic
grub-install --efi-directory=/boot/efi --target=x86_64-efi --uefi-secure-boot
Installing for x86_64-efi platform.
Installation finished. No error reported.
df /dev/sda1
mv /mnt/boot-sav/sda2/boot/efi/EFI/Boot/bootx64.efi /mnt/boot-sav/sda2/boot/efi/EFI/Boot/bkpbootx64.efi
cp /mnt/boot-sav/sda2/boot/efi/EFI/ubuntu/shimx64.efi /mnt/boot-sav/sda2/boot/efi/EFI/Boot/bootx64.efi
cp /mnt/boot-sav/sda2/boot/efi/EFI/ubuntu/grubx64.efi /mnt/boot-sav/sda2/boot/efi/EFI/Boot/
grub-install --efi-directory=/boot/efi --target=x86_64-efi --uefi-secure-boot
Installing for x86_64-efi platform.
Installation finished. No error reported.
efibootmgr -v from chroot after grub install
BootCurrent: 0004
Timeout: 1 seconds
BootOrder: 0000,0001,0003,0004,0005
Boot0000* ubuntu HD(1,GPT,31d5c0fe-88a9-4dde-8935-fdffa22a2c91,0x800,0x100000)/File(EFIubuntushimx64.efi)
Boot0001* Hard Drive BBS(HD,,0x0)..GO..NO........o.K.I.N.G.S.T.O.N. .S.A.4.0.0.S.3.7.4.8.0.G....................A...........................>..Gd-.;.A..MQ..L.0.5.2.0.B.6.7.7.4.7.3.0.C.F.1.B. . . . ........BO..NO........[.M.a.s.s. .S.t.o.r.a.g.e. .D.e.v.i.c.e....................A..........................Gd-.;.A..MQ..L.1.2.5.C.2.0.1.0.0.7.2.6........BO..NO}......._. .8...0.7....................A.......................2..Gd-.;.A..MQ..L.1.5.0.4.2.7.0.3.0.0.1.1.4.4........BO
Boot0003* CD/DVD Drive BBS(CDROM,,0x0)..GO..NO........o.H.L.-.D.T.-.S.T. .D.V.D.R.A.M. .G.H.2.4.N.S.D.1....................A...........................>..Gd-.;.A..MQ..L.1.K.H.N.D.3.5.A.2.7. .2. . . . . . . . ........BO
Boot0004* UEFI: 8.07 PciRoot(0x0)/Pci(0x14,0x0)/USB(1,0)/CDROM(1,0x3c4,0x4d00)..BO
Boot0005* UEFI: 8.07, Partition 1 PciRoot(0x0)/Pci(0x14,0x0)/USB(1,0)/HD(1,MBR,0x2c534026,0x3c4,0x1340)..BO
Warning: NVram was not modified.
chroot /mnt/boot-sav/sda2 update-grub
Sourcing file `/etc/default/grub'
Generating grub configuration file ...
Found linux image: /boot/vmlinuz-4.15.0-126-generic
Found initrd image: /boot/initrd.img-4.15.0-126-generic
Found linux image: /boot/vmlinuz-4.15.0-123-generic
Found initrd image: /boot/initrd.img-4.15.0-123-generic
grub-probe: error: cannot find a GRUB drive for /dev/sdb1. Check your device.map.
Adding boot menu entry for EFI firmware configuration
Unhide GRUB boot menu in sda2/boot/grub/grub.cfg
An error occurred during the repair.
You can now reboot your computer.
Please do not forget to make your UEFI firmware boot on the Ubuntu 18.04.2 LTS entry (sda1/EFI/ubuntu/shimx64.efi file) !
============================ Boot Info After Repair ============================
=> No boot loader is installed in the MBR of /dev/sda.
sda1: __________________________________________________________________________
File system: vfat
Boot sector type: FAT32
Boot sector info: No errors found in the Boot Parameter Block.
Operating System:
Boot files: /efi/BOOT/bkpbootx64.efi /efi/BOOT/bootx64.efi
/efi/BOOT/fbx64.efi /efi/BOOT/grubx64.efi
/efi/ubuntu/fwupx64.efi /efi/ubuntu/grubx64.efi
/efi/ubuntu/mmx64.efi /efi/ubuntu/shimx64.efi
/efi/ubuntu/grub.cfg
sda2: __________________________________________________________________________
File system: ext4
Boot sector type: -
Boot sector info:
Operating System: Ubuntu 18.04.2 LTS
Boot files: /boot/grub/grub.cfg /etc/fstab /etc/default/grub
sda3: __________________________________________________________________________
File system: swap
Boot sector type: -
Boot sector info:
sdb: ___________________________________________________________________________
File system: iso9660
Boot sector type: Unknown
Boot sector info:
Operating System:
Boot files: /boot/grub/grub.cfg
================================ 1 OS detected =================================
OS#1: Ubuntu 18.04.2 LTS on sda2
============================ Architecture/Host Info ============================
CPU architecture: 64-bit
Live-session OS is Ubuntu 64-bit (Boot-Repair-Disk 64bit 20200604, bionic, x86_64)
===================================== UEFI =====================================
BIOS is EFI-compatible, and is setup in EFI-mode for this live-session.
SecureBoot disabled.
efibootmgr -v
BootCurrent: 0004
Timeout: 1 seconds
BootOrder: 0001,0003,0000,0004,0005
Boot0000* ubuntu HD(1,GPT,31d5c0fe-88a9-4dde-8935-fdffa22a2c91,0x800,0x100000)/File(\EFI\UBUNTU\SHIMX64.EFI)
Boot0001* Hard Drive BBS(HD,,0x0)..GO..NO........o.K.I.N.G.S.T.O.N. .S.A.4.0.0.S.3.7.4.8.0.G....................A...........................>..Gd-.;.A..MQ..L.0.5.2.0.B.6.7.7.4.7.3.0.C.F.1.B. . . . ........BO..NO........[.M.a.s.s. .S.t.o.r.a.g.e. .D.e.v.i.c.e....................A..........................Gd-.;.A..MQ..L.1.2.5.C.2.0.1.0.0.7.2.6........BO..NO}......._. .8...0.7....................A.......................2..Gd-.;.A..MQ..L.1.5.0.4.2.7.0.3.0.0.1.1.4.4........BO
Boot0003* CD/DVD Drive BBS(CDROM,,0x0)..GO..NO........o.H.L.-.D.T.-.S.T. .D.V.D.R.A.M. .G.H.2.4.N.S.D.1....................A...........................>..Gd-.;.A..MQ..L.1.K.H.N.D.3.5.A.2.7. .2. . . . . . . . ........BO
Boot0004* UEFI: 8.07 PciRoot(0x0)/Pci(0x14,0x0)/USB(1,0)/CDROM(1,0x3c4,0x4d00)..BO
Boot0005* UEFI: 8.07, Partition 1 PciRoot(0x0)/Pci(0x14,0x0)/USB(1,0)/HD(1,MBR,0x2c534026,0x3c4,0x1340)..BO
2895d47544fd587b26c7e29be1295c27 sda1/BOOT/fbx64.efi
256fe27540b54b71cf38110338247688 sda1/ubuntu/fwupx64.efi
692f14e6c365de0196592a9b5dd67b9e sda1/ubuntu/grubx64.efi
dc3c47be2f78a78e5e57d097ae6c5c84 sda1/ubuntu/mmx64.efi
78415fb8fb9b909f8029858113f1335f sda1/ubuntu/shimx64.efi
78415fb8fb9b909f8029858113f1335f sda1/BOOT/BOOTX64.efi
============================= Drive/Partition Info =============================
Disks info: ____________________________________________________________________
sda : is-GPT, 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
sda2 : is-os, 64, apt-get, signed grub-efi , grub2, grub-install, grubenv-ng, 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
sda2 : 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
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: 447.1 GiB, 480103981056 bytes, 937703088 sectors
Disk identifier: E53237AE-B0EE-4E9C-90F8-1D1C97DC67AE
Start End Sectors Size Type
sda1 2048 1050623 1048576 512M EFI System
sda2 1050624 921153535 920102912 438.8G Linux filesystem
sda3 921153536 937701375 16547840 7.9G Linux swap
Disk sdb: 3.7 GiB, 3995074560 bytes, 7802880 sectors
Disk identifier: 0x2c534026
Boot Start End Sectors Size Id Type
sdb1 * 0 1802239 1802240 880M 0 Empty
sdb2 964 5891 4928 2.4M ef EFI (FAT-12/16/32)
Disk zram0: 3.9 GiB, 4115845120 bytes, 1004845 sectors
parted -lm (filtered): _________________________________________________________
sda:480GB:scsi:512:512:gpt:ATA KINGSTON SA400S3:;
1:1049kB:538MB:537MB:fat32:EFI System Partition:boot, esp;
2:538MB:472GB:471GB:ext4::;
3:472GB:480GB:8472MB:linux-swap(v1)::;
sdb:3995MB:scsi:512:512:msdos: :;
2:494kB:3017kB:2523kB:::esp;
sr0:3390MB:scsi:2048:2048:unknown:HL-DT-ST DVDRAM GH24NSD1:;
zram0:4116MB:unknown:4096:4096:loop:Unknown:;
1:0.00B:4116MB:4116MB:linux-swap(v1)::;
blkid (filtered): ______________________________________________________________
NAME FSTYPE UUID PARTUUID LABEL PARTLABEL
sda
├─sda1 vfat F141-2E8B 31d5c0fe-88a9-4dde-8935-fdffa22a2c91 EFI System Partition
├─sda2 ext4 d7890c8a-0faf-43cf-a343-fce5dc0bfc39 5a7f4150-2663-40dd-b7c6-9fff62a620ff
└─sda3 swap de9127db-fc3c-45a4-980e-a6f223a5c9dd 58b9ebe6-2700-4070-852f-298e4919e8a2
sdb iso9660 2020-06-13-00-42-55-00 Boot-Repair-Disk 64bit
├─sdb1 iso9660 2020-06-13-00-42-55-00 2c534026-01 Boot-Repair-Disk 64bit
└─sdb2 vfat D055-8513 2c534026-02 Boot-Repair-Disk 64bit
zram0
df (filtered): _________________________________________________________________
Avail Use% Mounted on
sda1 502.5M 2% /mnt/boot-sav/sda1
sda2 66.7G 79% /mnt/boot-sav/sda2
sdb 0 100% /cdrom
Mount options: __________________________________________________________________
sda1 rw,relatime,fmask=0022,dmask=0022,codepage=437,iocharset=iso8859-1,shortname=mixed,errors=remount-ro
sda2 rw,relatime
sdb ro,noatime,nojoliet,check=s,map=n,blocksize=2048
===================== sda1/efi/ubuntu/grub.cfg (filtered) ======================
search.fs_uuid d7890c8a-0faf-43cf-a343-fce5dc0bfc39 root hd0,gpt2
set prefix=($root)'/boot/grub'
configfile $prefix/grub.cfg
====================== sda2/boot/grub/grub.cfg (filtered) ======================
Ubuntu d7890c8a-0faf-43cf-a343-fce5dc0bfc39
Ubuntu, with Linux 4.15.0-126-generic d7890c8a-0faf-43cf-a343-fce5dc0bfc39
Ubuntu, with Linux 4.15.0-123-generic d7890c8a-0faf-43cf-a343-fce5dc0bfc39
### END /etc/grub.d/30_os-prober ###
System setup 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 installation
UUID=d7890c8a-0faf-43cf-a343-fce5dc0bfc39 / ext4 errors=remount-ro 0 1
# /boot/efi was on /dev/sda1 during installation
# swap was on /dev/sda3 during installation
UUID=de9127db-fc3c-45a4-980e-a6f223a5c9dd none swap sw 0 0
UUID=F141-2E8B /boot/efi vfat defaults 0 1
======================= sda2/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=""
==================== sda2: Location of files loaded by Grub ====================
GiB - GB File Fragment(s)
0.500984192 = 0.537927680 boot/grub/grub.cfg 1
247.243156433 = 265.475317760 boot/vmlinuz-4.15.0-123-generic 1
422.266597748 = 453.405306880 boot/vmlinuz-4.15.0-126-generic 1
422.266597748 = 453.405306880 vmlinuz 1
247.243156433 = 265.475317760 vmlinuz.old 1
407.909038544 = 437.988995072 boot/initrd.img-4.15.0-123-generic 4
422.696285248 = 453.866680320 boot/initrd.img-4.15.0-126-generic 5
422.696285248 = 453.866680320 initrd.img 5
407.909038544 = 437.988995072 initrd.img.old 4
===================== sda2: ls -l /etc/grub.d/ (filtered) ======================
-rwxr-xr-x 1 root root 12808 Nov 14 00:40 10_linux
-rwxr-xr-x 1 root root 11298 Nov 14 00:40 20_linux_xen
-rwxr-xr-x 1 root root 12059 Nov 14 00:40 30_os-prober
-rwxr-xr-x 1 root root 1418 Nov 14 00:40 30_uefi-firmware
-rwxr-xr-x 1 root root 214 Nov 14 00:40 40_custom
-rwxr-xr-x 1 root root 216 Nov 14 00:40 41_custom
====================== sdb/boot/grub/grub.cfg (filtered) =======================
Boot-Repair-Disk session
Boot-Repair-Disk session (failsafe)
==================== sdb: Location of files loaded by Grub =====================
GiB - GB File Fragment(s)
?? = ?? boot/grub/grub.cfg 1
======================== Unknown MBRs/Boot Sectors/etc =========================
Unknown BootLoader on sdb
00000000 33 ed 90 90 90 90 90 90 90 90 90 90 90 90 90 90 |3...............|
00000010 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 |................|
00000020 33 ed fa 8e d5 bc 00 7c fb fc 66 31 db 66 31 c9 |3......|..f1.f1.|
00000030 66 53 66 51 06 57 8e dd 8e c5 52 be 00 7c bf 00 |fSfQ.W....R..|..|
00000040 06 b9 00 01 f3 a5 ea 4b 06 00 00 52 b4 41 bb aa |.......K...R.A..|
00000050 55 31 c9 30 f6 f9 cd 13 72 16 81 fb 55 aa 75 10 |U1.0....r...U.u.|
00000060 83 e1 01 74 0b 66 c7 06 f3 06 b4 42 eb 15 eb 02 |...t.f.....B....|
00000070 31 c9 5a 51 b4 08 cd 13 5b 0f b6 c6 40 50 83 e1 |1.ZQ....[...@P..|
00000080 3f 51 f7 e1 53 52 50 bb 00 7c b9 04 00 66 a1 b0 |?Q..SRP..|...f..|
00000090 07 e8 44 00 0f 82 80 00 66 40 80 c7 02 e2 f2 66 |..D.....f@.....f|
000000a0 81 3e 40 7c fb c0 78 70 75 09 fa bc ec 7b ea 44 |.>@|..xpu....{.D|
000000b0 7c 00 00 e8 83 00 69 73 6f 6c 69 6e 75 78 2e 62 ||.....isolinux.b|
000000c0 69 6e 20 6d 69 73 73 69 6e 67 20 6f 72 20 63 6f |in missing or co|
000000d0 72 72 75 70 74 2e 0d 0a 66 60 66 31 d2 66 03 06 |rrupt...f`f1.f..|
000000e0 f8 7b 66 13 16 fc 7b 66 52 66 50 06 53 6a 01 6a |.{f...{fRfP.Sj.j|
000000f0 10 89 e6 66 f7 36 e8 7b c0 e4 06 88 e1 88 c5 92 |...f.6.{........|
00000100 f6 36 ee 7b 88 c6 08 e1 41 b8 01 02 8a 16 f2 7b |.6.{....A......{|
00000110 cd 13 8d 64 10 66 61 c3 e8 1e 00 4f 70 65 72 61 |...d.fa....Opera|
00000120 74 69 6e 67 20 73 79 73 74 65 6d 20 6c 6f 61 64 |ting system load|
00000130 20 65 72 72 6f 72 2e 0d 0a 5e ac b4 0e 8a 3e 62 | error...^....>b|
00000140 04 b3 07 cd 10 3c 0a 75 f1 cd 18 f4 eb fd 00 00 |.....<.u........|
00000150 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................|
*
000001b0 04 17 00 00 00 00 00 00 26 40 53 2c 00 00 80 00 |........&@S,....|
000001c0 01 00 00 3f e0 6f 00 00 00 00 00 80 1b 00 00 fe |...?.o..........|
000001d0 ff ff ef fe ff ff c4 03 00 00 40 13 00 00 00 00 |..........@.....|
000001e0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................|
000001f0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 55 aa |..............U.|
00000200
========= Devices which don't seem to have a corresponding hard drive ==========
sdc
=============================== StdErr Messages ================================
File descriptor 63 (pipe:[39044]) leaked on lvs invocation. Parent PID 1804: /bin/bash
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