- Modifié
EDIT le 29 dec 2020 : dans ce post #1, il s'agit d'une installation de la version 20.04 de Ubuntu, la version "de base" de Focal. Voir plus bas (dans le post #6) le cas d'une installation de la version 20.04.1
Je passe en "Résolu" parce que je ne demande pas d'aide.
Le but est d'avoir l'allure d'une installation toute neuve et toute propre de Ubuntu 20.04. Elle a été faite avec le choix "Effacer le disque et installer Ubuntu" à l'étape "Type d'installation". L'essai est fait dans une machine virtuelle avec VirtualBox. L'installation est faite dans sda (ne pas tenir compte de la présence de sdb et de sdb1)
Le Boot-info que je colle ci-dessous est réalisé depuis une session live de Ubuntu 20.04.
98bea152fadd26c4e9136916f6cc32a8 sda1/ubuntu/grubx64.efi
f7a57b08bc7c1c85417ae4cea582d1d4 sda1/ubuntu/shimx64.efi
EDIT : dans le cas de Ubuntu 18.04, le md5sum du fichier shimx64.efi est le même que pour Ubuntu 20.04 (f7a57b08bc7c1c85417ae4cea582d1d4). Par contre, le fichier grubx64.efi est différent : c'est 64a633007e3d5a9a5943e417442548d6 comme on peut voir dans ce post
Je passe en "Résolu" parce que je ne demande pas d'aide.
Le but est d'avoir l'allure d'une installation toute neuve et toute propre de Ubuntu 20.04. Elle a été faite avec le choix "Effacer le disque et installer Ubuntu" à l'étape "Type d'installation". L'essai est fait dans une machine virtuelle avec VirtualBox. L'installation est faite dans sda (ne pas tenir compte de la présence de sdb et de sdb1)
Le Boot-info que je colle ci-dessous est réalisé depuis une session live de Ubuntu 20.04.
boot-info-4ppa99 [20200506_0640]
============================== Boot Info Summary ===============================
=> No boot loader is installed in the MBR of /dev/sda.
=> libparted MBR boot code is installed in the MBR of /dev/sdb.
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/BOOT/mmx64.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 20.04 LTS
Boot files: /boot/grub/grub.cfg /etc/fstab /etc/default/grub
sdb1: __________________________________________________________________________
File system: ext4
Boot sector type: -
Boot sector info:
Operating System:
Boot files:
================================ 1 OS detected =================================
OS#1: Ubuntu 20.04 LTS on sda2
============================ Architecture/Host Info ============================
CPU architecture: 64-bit
Live-session OS is Ubuntu 64-bit (Ubuntu 20.04 LTS, focal, x86_64)
===================================== UEFI =====================================
BIOS is EFI-compatible, and is setup in EFI-mode for this live-session.
========================== ls /sys/firmware/efi/vars ===========================
Test1-e660597e-b94d-4209-9c80-1805b5d19b69, Test0-e660597e-b94d-4209-9c80-1805b5d19b69, RTC-378d7b65-8da9-4773-b6e4-a47826a833e1, PlatformLangCodes-8be4df61-93ca-11d2-aa0d-00e098032b8c, PlatformLang-8be4df61-93ca-11d2-aa0d-00e098032b8c, OsIndicationsSupported-8be4df61-93ca-11d2-aa0d-00e098032b8c, new_var, MTC-eb704011-1402-11d3-8e77-00a0c969723b, MemoryTypeInformation-4c19049f-4137-4dd3-9c10-8b97a83ffdfa, LastEnumLang-0e8c545b-a2ee-470d-8e26-bda1a13c0aa3, LangCodes-8be4df61-93ca-11d2-aa0d-00e098032b8c, Lang-8be4df61-93ca-11d2-aa0d-00e098032b8c, HDDP-fab7e9e1-39dd-4f2b-8408-e20e906cb6de, FirmwareFeaturesMask-4d1ede05-38c7-4a6a-9cc6-4bcca8b38c14, FirmwareFeatures-4d1ede05-38c7-4a6a-9cc6-4bcca8b38c14, del_var, ConOutDev-8be4df61-93ca-11d2-aa0d-00e098032b8c, ConOut-8be4df61-93ca-11d2-aa0d-00e098032b8c, ConInDev-8be4df61-93ca-11d2-aa0d-00e098032b8c, ConIn-8be4df61-93ca-11d2-aa0d-00e098032b8c, BootOrder-8be4df61-93ca-11d2-aa0d-00e098032b8c, BootOptionSupport-8be4df61-93ca-11d2-aa0d-00e098032b8c, BootCurrent-8be4df61-93ca-11d2-aa0d-00e098032b8c, boot-args-7c436110-ab2a-4bbb-a880-fe41995c9f82, Boot0004-8be4df61-93ca-11d2-aa0d-00e098032b8c, Boot0003-8be4df61-93ca-11d2-aa0d-00e098032b8c, Boot0002-8be4df61-93ca-11d2-aa0d-00e098032b8c, Boot0001-8be4df61-93ca-11d2-aa0d-00e098032b8c, Boot0000-8be4df61-93ca-11d2-aa0d-00e098032b8c, BackgroundClear-4d1ede05-38c7-4a6a-9cc6-4bcca8b38c14,
Veuillez indiquer ce message à boot.repair@gmail.com
================================ efibootmgr -v =================================
BootCurrent: 0000
BootOrder: 0004,0000,0001,0002,0003
Boot0000* EFI DVD/CDROM PciRoot(0x0)/Pci(0xd,0x0)/Sata(1,0,0)
Boot0001* EFI Hard Drive PciRoot(0x0)/Pci(0xd,0x0)/Sata(0,0,0)
Boot0002* EFI Hard Drive 1 PciRoot(0x0)/Pci(0xd,0x0)/Sata(2,0,0)
Boot0003* EFI Internal Shell MemoryMapped(11,0x2100000,0x28fffff)/FvFile(7c04a583-9e3e-4f1c-ad65-e05268d0b4d1)
Boot0004* ubuntu HD(1,GPT,82dbd02b-d652-4b61-80b7-0c90dc4ec418,0x800,0x100000)/File(FIuntu\shimx64.efi)
bed45d1c9554cea09924d3814cb7c446 sda1/BOOT/fbx64.efi
4487628005555bfd4a4c0a47211e0700 sda1/BOOT/mmx64.efi
98bea152fadd26c4e9136916f6cc32a8 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 : GPT, noBIOSboot, has---ESP, not-usb, not-mmc, has-os, 2048 sectors * 512 bytes
sdb : not-GPT, noBIOSboot, 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-pc grub-efi , grub2, grub-install, grubenv-ng, update-grub, not-far
sdb1 : no-os, 32, nopakmgr, no-docgrub, nogrub, nogrubinstall, no-grubenv, noupdategrub, not-far
Partitions info (2/3): _________________________________________________________
sda1 : is---ESP, part-has-no-fstab, notbiosboot, no-nt, no-winload, no-recov-nor-hid, no-bmgr, notwinboot
sda2 : isnotESP, fstab-has-goodEFI, notbiosboot, no-nt, no-winload, no-recov-nor-hid, no-bmgr, notwinboot
sdb1 : isnotESP, part-has-no-fstab, notbiosboot, 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
sdb1 : maybesepboot, no-boot, part-has-no-fstab, not-sep-usr, no---usr, part-has-no-fstab, std-grub.d, sdb
fdisk -l (filtered): ___________________________________________________________
Disk /dev/sda: 40.33 GiB, 43294556160 bytes, 84559680 sectors
Device Start End Sectors Size Type
/dev/sda1 2048 1050623 1048576 512M EFI System
/dev/sda2 1050624 84557823 83507200 39.8G Linux filesystem
Disk /dev/sdb: 32 GiB, 34359738368 bytes, 67108864 sectors
Device Boot Start End Sectors Size Id Type
/dev/sdb1 2048 67108863 67106816 32G 83 Linux
parted -lm (filtered): _________________________________________________________
/dev/sda:43.3GB:scsi:512:512:gpt:ATA VBOX HARDDISK:;
1:1049kB:538MB:537MB:fat32:EFI System Partition:boot, esp;
2:538MB:43.3GB:42.8GB:ext4::;
/dev/sdb:34.4GB:scsi:512:512:msdos:ATA VBOX HARDDISK:;
1:1049kB:34.4GB:34.4GB:ext4::;
/dev/sr0:2715MB:scsi:2048:2048:mac:VBOX CD-ROM:;
1:2048B:6143B:4096B::Apple:;
2:2162MB:2166MB:4063kB::EFI:;
blkid (filtered): ______________________________________________________________
NAME FSTYPE UUID PARTUUID LABEL PARTLABEL
sda
├─sda1 vfat BBF7-04C8 82dbd02b-d652-4b61-80b7-0c90dc4ec418 EFI System Partition
└─sda2 ext4 a2e9d350-5dc4-4bef-9927-adc8d9c28f76 ee25fbb8-1676-47f8-91ed-1efe72567a7a
sdb
└─sdb1 ext4 6c14aa5c-a67b-4211-afd2-42ff350e60b0 52caac94-01 images_win10_EFI
df (filtered): _________________________________________________________________
Avail Use% Mounted on
sda1 503.2M 2% /mnt/boot-sav/sda1
sda2 29.7G 19% /mnt/boot-sav/sda2
sdb1 7.1G 72% /mnt/boot-sav/sdb1
Mount options: __________________________________________________________________
sda1 rw,relatime,fmask=0022,dmask=0022,codepage=437,iocharset=iso8859-1,shortname=mixed,errors=remount-ro
sda2 rw,relatime
sdb1 rw,relatime
=========================== sda1/efi/ubuntu/grub.cfg ===========================
search.fs_uuid a2e9d350-5dc4-4bef-9927-adc8d9c28f76 root hd0,gpt2
set prefix=($root)'/boot/grub'
configfile $prefix/grub.cfg
====================== sda2/boot/grub/grub.cfg (filtered) ======================
Ubuntu
Ubuntu, avec Linux 5.4.0-29-generic
Ubuntu, avec Linux 5.4.0-26-generic
### END /etc/grub.d/30_os-prober ###
UEFI Firmware Settings
### 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=a2e9d350-5dc4-4bef-9927-adc8d9c28f76 / ext4 errors=remount-ro 0 1
# /boot/efi was on /dev/sda1 during installation
UUID=BBF7-04C8 /boot/efi vfat umask=0077 0 1
/swapfile 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=""
#GRUB_BADRAM="0x01234567,0xfefefefe,0x89abcdef,0xefefefef"
#GRUB_TERMINAL=console
#GRUB_GFXMODE=640x480
#GRUB_DISABLE_LINUX_UUID=true
#GRUB_DISABLE_RECOVERY="true"
#GRUB_INIT_TUNE="480 440 1"
==================== sda2: Location of files loaded by Grub ====================
GiB - GB File Fragment(s)
34,703075409 = 37,262143488 boot/grub/grub.cfg 2
21,652458191 = 23,249149952 boot/vmlinuz 2
4,727535248 = 5,076152320 boot/vmlinuz-5.4.0-26-generic 2
21,652458191 = 23,249149952 boot/vmlinuz-5.4.0-29-generic 2
4,727535248 = 5,076152320 boot/vmlinuz.old 2
21,882968903 = 23,496658944 boot/initrd.img 2
21,768993378 = 23,374278656 boot/initrd.img-5.4.0-26-generic 6
21,882968903 = 23,496658944 boot/initrd.img-5.4.0-29-generic 2
21,768993378 = 23,374278656 boot/initrd.img.old 6
Suggested repair: ______________________________________________________________
The default repair of the Boot-Repair utility would purge (in order to remove grub-efi) and reinstall the grub2 of
sda2 into the MBRs of all disks (except live-disks and removable disks without OS).
Grub-efi would not be selected by default because: no-win-efi
Additional repair would be performed: unhide-bootmenu-10s
Blockers in case of suggested repair: __________________________________________
GPT détecté. Veuillez créer une partition BIOS-Boot (>1MB, système de fichiers non formaté, drapeau bios_grub). Cela peut être réalisé via des outils tels que Gparted. Puis réessayez.
Alternativement, vous pouvez réessayer après avoir activé l'option [Partition /boot/efi séparée :].
Advice in case of suggested repair: ____________________________________________
EFI détecté. Vous souhaiterez peut-être réessayer après avoir activé l'option [Partition /boot/efi séparée :].
Voulez-vous continuer ?
Final advice in case of suggested repair: ______________________________________
N'oubliez pas de régler votre BIOS pour qu'il amorce sur le disque sda (ATA VBOX HARDDISK) !
A noter dans la partie "efibootmgr -v" du Boot-info : le md5sum caractéristique des fichiers .efi de cette install toute neuve de Ubuntu 20.04 : 98bea152fadd26c4e9136916f6cc32a8 sda1/ubuntu/grubx64.efi
f7a57b08bc7c1c85417ae4cea582d1d4 sda1/ubuntu/shimx64.efi
EDIT : dans le cas de Ubuntu 18.04, le md5sum du fichier shimx64.efi est le même que pour Ubuntu 20.04 (f7a57b08bc7c1c85417ae4cea582d1d4). Par contre, le fichier grubx64.efi est différent : c'est 64a633007e3d5a9a5943e417442548d6 comme on peut voir dans ce post