Post#11 Babdu89 a écrit;
OK!. Pas de souci çà redémarre bien en mode UEFI.
Mais pas en Bios_Legacy, ce qui est normal, car pas de partition bios-grub, et pas de réinstallation de grub-pc en mode Bios_Legacy.
C'est à faire par la suite.
Et bien voila la suite et fin. (pour l'instant)
En session live Ubuntu 20.04 lancée en Bios_Legacy, création d'une partition bios-grub (sans format, drapeau bios-grub)
Avec Boot-Repair j'ai réinstallé un grub-Pc dans la copie.
boot-repair-4ppa125 [20200704_2012]
============================= Boot Repair Summary ==============================
User choice:
Is sda (ATA LDLC) a removable disk? no
Default settings: ______________________________________________________________
The default repair of the Boot-Repair utility would 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: legacy-win no-win-efi
Additional repair would be performed: unhide-bootmenu-10s restore-efi-backups
Final advice in case of suggested repair: ______________________________________
Please do not forget to make your BIOS boot on sda (ATA LDLC) disk!
User settings: _________________________________________________________________
The settings chosen by the user will purge (in order to unsign) and reinstall the grub2 of
sdb2 into the MBR of sdb.
Grub-efi will not be selected by default because: legacy-win no-win-efi
Additional repair will be performed: unhide-bootmenu-10s restore-efi-backups
/boot/efi removed in sdb2/fstab
rm /mnt/boot-sav/sdb1/efi/Boot/bootx64.efi
mv /mnt/boot-sav/sdb1/efi/Boot/bkpbootx64.efi /mnt/boot-sav/sdb1/efi/Boot/bootx64.efi
chroot /media/ubuntu/copy-xubu-20.04 apt-get -y update
Purge the GRUB of sdb2
grub-pc available
Lecture des listes de paquets…
Construction de l'arbre des dépendances…SET@_progressbar1.pulse()
Lecture des informations d'état…
Les paquets suivants ont été installés automatiquement et ne sont plus nécessaires :
gnome-software-common grub-efi-amd64-bin grub-efi-amd64-signed
libappstream-glib8 libgspell-1-2 libgspell-1-common libllvm9
linux-modules-5.4.0-39-generic
Veuillez utiliser « apt autoremove » pour les supprimer.
Les paquets supplémentaires suivants seront installés :
grub-gfxpayload-lists
Les paquets suivants seront ENLEVÉS :
grub-efi grub-efi-amd64
Les NOUVEAUX paquets suivants seront installés :
grub-gfxpayload-lists grub-pc
0 mis à jour, 2 nouvellement installés, 2 à enlever et 8 non mis à jour.
Il est nécessaire de prendre 128 ko dans les archives.
Après cette opération, 417 ko d'espace disque supplémentaires seront utilisés.
Réception de :1 http://archive.ubuntu.com/ubuntu focal/main amd64 grub-pc amd64 2.04-1ubuntu26 [125 kB]
Réception de :2 http://archive.ubuntu.com/ubuntu focal/main amd64 grub-gfxpayload-lists amd64 0.7 [3658 B]
128 ko réceptionnés en 0s (287 ko/s)
Téléchargement achevé et dans le mode téléchargement uniquement
DEBCHECK debOK, grub-pc
DEBCHECK debOK
shim-signed available
Please type: sudo chroot "/media/ubuntu/copy-xubu-20.04" dpkg --configure -ansudo chroot "/media/ubuntu/copy-xubu-20.04" apt-get install -fynsudo chroot "/media/ubuntu/copy-xubu-20.04" apt-get purge -y grub*-common shim-signed
ls: impossible d'accéder à '/media/ubuntu/ubuntu20.04-dell/': Aucun fichier ou dossier de ce type
ls: impossible d'accéder à '/media/ubuntu/ubuntu20.04-dell/': Aucun fichier ou dossier de ce type
Then type: sudo chroot "/media/ubuntu/copy-xubu-20.04" apt-get install -y grub-pc
ls: impossible d'accéder à '/media/ubuntu/ubuntu20.04-dell/': Aucun fichier ou dossier de ce type
ls: impossible d'accéder à '/media/ubuntu/ubuntu20.04-dell/': Aucun fichier ou dossier de ce type
Unhide GRUB boot menu in sdb2/etc/default/grub
ls: impossible d'accéder à '/media/ubuntu/ubuntu20.04-dell/': Aucun fichier ou dossier de ce type
ls: impossible d'accéder à '/media/ubuntu/ubuntu20.04-dell/': Aucun fichier ou dossier de ce type
======================== Reinstall the grub-pc of sdb2 =========================
grub-install --version
grub-install (GRUB) 2.04-1ubuntu26
==> Reinstall the GRUB of sdb2 into the MBR of sdb
grub-install /dev/sdb
Installing for i386-pc platform.
Installation finished. No error reported.
chroot /media/ubuntu/copy-xubu-20.04 update-grub
Sourcing file `/etc/default/grub'
Sourcing file `/etc/default/grub.d/init-select.cfg'
Generating grub configuration file ...
Found linux image: /boot/vmlinuz-5.4.0-40-generic
Found initrd image: /boot/initrd.img-5.4.0-40-generic
Found Windows 7 on /dev/sda1
Found Ubuntu 20.04 LTS (20.04) on /dev/sda2
Unhide GRUB boot menu in sdb2/boot/grub/grub.cfg
Le démarrage de l'ordinateur a été correctement réparé.
Vous pouvez maintenant redémarrer votre ordinateur.
N'oubliez pas de régler votre BIOS pour qu'il amorce sur le disque sdb (Verbatim STORE N GO) !
============================ Boot Info After Repair ============================
=> 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 (,msdos2)/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
118523904 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: ntfs
Boot sector type: Windows 7/2008: NTFS
Boot sector info: No errors found in the Boot Parameter Block.
Operating System: Windows 7
Boot files: /bootmgr /Boot/BCD /Windows/System32/winload.exe
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
/boot/grub/i386-pc/core.img
sdb1: __________________________________________________________________________
File system: vfat
Boot sector type: FAT32
Boot sector info: No errors found in the Boot Parameter Block.
Operating System:
Boot files: /efi/BOOT/bootx64.efi /efi/ubuntu/grubx64.efi
/efi/ubuntu/grub.cfg
sdb2: __________________________________________________________________________
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
/boot/grub/i386-pc/core.img
sdb3: __________________________________________________________________________
File system: BIOS Boot partition
Boot sector type: Grub2's core.img
Boot sector info:
================================ 3 OS detected =================================
OS#1: Windows 7 on sda1
OS#2: Ubuntu 20.04 LTS on sda2
OS#3: Ubuntu 20.04 LTS on sdb2
============================ Architecture/Host Info ============================
CPU architecture: 64-bit
Live-session OS is Ubuntu 64-bit (Ubuntu 20.04 LTS, focal, x86_64)
===================================== UEFI =====================================
This live-session is not in EFI-mode.
5c14b2158486ded02655f86386b249e2 sdb1/BOOT/bootx64.efi
5c14b2158486ded02655f86386b249e2 sdb1/ubuntu/grubx64.efi
============================= Drive/Partition Info =============================
Disks info: ____________________________________________________________________
sda : notGPT, no-BIOSboot, has-noESP, not-usb, not-mmc, has-os, 2048 sectors * 512 bytes
sdb : is-GPT, hasBIOSboot, has---ESP, usb-disk, not-mmc, has-os, 2048 sectors * 512 bytes
Partitions info (1/3): _________________________________________________________
sda1 : is-os, 32, nopakmgr, no-docgrub, nogrub, nogrubinstall, no-grubenv, noupdategrub, not-far
sda2 : is-os, 64, apt-get, grub-pc , grub2, grub-install, grubenv-ok, update-grub, farbios
sdb1 : no-os, 32, nopakmgr, no-docgrub, nogrub, nogrubinstall, no-grubenv, noupdategrub, not-far
sdb2 : is-os, 64, apt-get, signed grub-pc grub-efi , grub2, grub-install, grubenv-ok, update-grub, not-far
Partitions info (2/3): _________________________________________________________
sda1 : isnotESP, part-has-no-fstab, no-nt, haswinload, no-recov-nor-hid, bootmgr, is-winboot
sda2 : isnotESP, fstab-without-efi, no-nt, no-winload, no-recov-nor-hid, no-bmgr, notwinboot
sdb1 : is---ESP, part-has-no-fstab, no-nt, no-winload, no-recov-nor-hid, no-bmgr, notwinboot
sdb2 : 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
sdb1 : not-sepboot, no-boot, part-has-no-fstab, not-sep-usr, no---usr, part-has-no-fstab, std-grub.d, sdb
sdb2 : not-sepboot, with-boot, fstab-without-boot, not-sep-usr, with--usr, fstab-without-usr, std-grub.d, sdb
fdisk -l (filtered): ___________________________________________________________
Disk sda: 111.81 GiB, 120034123776 bytes, 234441648 sectors
Disk identifier: 0x00040603
Boot Start End Sectors Size Id Type
sda1 * 2048 56383487 56381440 26.9G 7 HPFS/NTFS/exFAT
sda2 56383488 234440703 178057216 84.9G 83 Linux
Disk sdb: 60.1 GiB, 64525172736 bytes, 126025728 sectors
Disk identifier: AB564FA3-EB89-4A87-8B35-8C94EA293218
Start End Sectors Size Type
sdb1 2048 1009663 1007616 492M EFI System
sdb2 1009664 118523903 117514240 56G Linux filesystem
sdb3 118523904 118544383 20480 10M BIOS boot
parted -lm (filtered): _________________________________________________________
sda:120GB:scsi:512:512:msdos:ATA LDLC:;
1:1049kB:28.9GB:28.9GB:ntfs::boot;
2:28.9GB:120GB:91.2GB:ext4::;
sdb:64.5GB:scsi:512:512:gpt:Verbatim STORE N GO:;
1:1049kB:517MB:516MB:fat32::boot, esp;
2:517MB:60.7GB:60.2GB:ext4::;
3:60.7GB:60.7GB:10.5MB:::bios_grub;
sr0:4700MB:scsi:2048:2048:mac:TSSTcorp DVD+-RW TS-U633J:;
1:2048B:6143B:4096B::Apple:;
2:2162MB:2166MB:4063kB::EFI:;
blkid (filtered): ______________________________________________________________
NAME FSTYPE UUID PARTUUID LABEL PARTLABEL
sda
├─sda1 ntfs FA2AC6152AC5CF37 00040603-01 windows-7-del
└─sda2 ext4 9f5305b9-ddf9-4400-838d-7bb99f8b492f 00040603-02 ubuntu20.04-dell
sdb
├─sdb1 vfat 68B5-52AE d81265ca-4505-4e55-b18b-a1ea2dedd515
├─sdb2 ext4 d4542d6e-6d3c-4109-b8fe-e4223f12beae 91c201b9-657a-45fc-a753-d3430933c2f0 copy-xubu-20.04
└─sdb3 3b5ead65-9fb6-459c-a86c-16e0071e6393
df (filtered): _________________________________________________________________
Avail Use% Mounted on
sda1 3G 89% /mnt/boot-sav/sda1
sda2 32.5G 56% /mnt/boot-sav/sda2
sdb1 487.8M 1% /mnt/boot-sav/sdb1
sdb2 42.5G 17% /media/ubuntu/copy-xubu-20.04
Mount options: __________________________________________________________________
sda1 rw,relatime,user_id=0,group_id=0,allow_other,blksize=4096
sda2 rw,relatime
sdb1 rw,relatime,fmask=0022,dmask=0022,codepage=437,iocharset=iso8859-1,shortname=mixed,errors=remount-ro
sdb2 rw,nosuid,nodev,relatime
====================== sda2/boot/grub/grub.cfg (filtered) ======================
Ubuntu 9f5305b9-ddf9-4400-838d-7bb99f8b492f
Ubuntu, avec Linux 5.4.0-40-generic 9f5305b9-ddf9-4400-838d-7bb99f8b492f
Ubuntu, avec Linux 5.4.0-39-generic 9f5305b9-ddf9-4400-838d-7bb99f8b492f
Windows 7 (sur sda1) FA2AC6152AC5CF37
### END /etc/grub.d/30_os-prober ###
### END /etc/grub.d/30_uefi-firmware ###
========================== sda2/etc/fstab (filtered) ===========================
# <file system> <mount point> <type> <options> <dump> <pass>
# / was on /dev/sdc16 during installation
UUID=9f5305b9-ddf9-4400-838d-7bb99f8b492f / ext4 errors=remount-ro 0 1
# swap was on /dev/sdc6 during installation
/file.swap none swap sw 0 0
======================= 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)
31,015373230 = 33,302503424 boot/grub/grub.cfg 1
31,032611847 = 33,321013248 boot/grub/i386-pc/core.img 1
57,755977631 = 62,015008768 boot/vmlinuz 1
58,529415131 = 62,845480960 boot/vmlinuz-5.4.0-39-generic 1
57,755977631 = 62,015008768 boot/vmlinuz-5.4.0-40-generic 1
58,529415131 = 62,845480960 boot/vmlinuz.old 1
50,737300873 = 54,478761984 boot/initrd.img 6
57,390190125 = 61,622247424 boot/initrd.img-5.4.0-39-generic 2
50,737300873 = 54,478761984 boot/initrd.img-5.4.0-40-generic 6
57,390190125 = 61,622247424 boot/initrd.img.old 2
===================== sda2: ls -l /etc/grub.d/ (filtered) ======================
-rwxr-xr-x 1 root root 17123 avril 15 11:31 10_linux
-rwxr-xr-x 1 root root 42128 avril 15 11:31 10_linux_zfs
-rwxr-xr-x 1 root root 12894 avril 15 11:31 20_linux_xen
-rwxr-xr-x 1 root root 12059 avril 15 11:31 30_os-prober
-rwxr-xr-x 1 root root 1424 avril 15 11:31 30_uefi-firmware
-rwxr-xr-x 1 root root 214 avril 15 11:31 40_custom
-rwxr-xr-x 1 root root 216 avril 15 11:31 41_custom
===================== sdb1/efi/ubuntu/grub.cfg (filtered) ======================
search.fs_uuid d4542d6e-6d3c-4109-b8fe-e4223f12beae root hd1,gpt2
set prefix=($root)'/boot/grub'
configfile $prefix/grub.cfg
====================== sdb2/boot/grub/grub.cfg (filtered) ======================
Ubuntu d4542d6e-6d3c-4109-b8fe-e4223f12beae
Ubuntu, with Linux 5.4.0-40-generic d4542d6e-6d3c-4109-b8fe-e4223f12beae
Windows 7 (on sda1) FA2AC6152AC5CF37
Ubuntu 20.04 LTS (20.04) (on sda2) 9f5305b9-ddf9-4400-838d-7bb99f8b492f
Ubuntu (on sda2) 9f5305b9-ddf9-4400-838d-7bb99f8b492f
Ubuntu, avec Linux 5.4.0-40-generic (on sda2) 9f5305b9-ddf9-4400-838d-7bb99f8b492f
Ubuntu, avec Linux 5.4.0-39-generic (on sda2) 9f5305b9-ddf9-4400-838d-7bb99f8b492f
### END /etc/grub.d/30_os-prober ###
### END /etc/grub.d/30_uefi-firmware ###
========================== sdb2/etc/fstab (filtered) ===========================
# <file system> <mount point> <type> <options> <dump> <pass>
# / was on /dev/sdb2 during installation
UUID=d4542d6e-6d3c-4109-b8fe-e4223f12beae / ext4 errors=remount-ro 0 1
# swap was on /dev/sdc5 during installation
# /boot/efi was on /dev/sdb2 during installation
======================= sdb2/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=""
==================== sdb2: Location of files loaded by Grub ====================
GiB - GB File Fragment(s)
0,481452942 = 0,516956160 boot/grub/grub.cfg 1
55,316658020 = 59,395809280 boot/grub/i386-pc/core.img 1
6,992305756 = 7,507931136 boot/vmlinuz 1
6,992305756 = 7,507931136 boot/vmlinuz-5.4.0-40-generic 1
6,992305756 = 7,507931136 boot/vmlinuz.old 1
7,360832214 = 7,903633408 boot/initrd.img 3
7,360832214 = 7,903633408 boot/initrd.img-5.4.0-40-generic 3
7,360832214 = 7,903633408 boot/initrd.img.old 3
===================== sdb2: ls -l /etc/grub.d/ (filtered) ======================
-rwxr-xr-x 1 root root 17123 avril 15 11:31 10_linux
-rwxr-xr-x 1 root root 42128 avril 15 11:31 10_linux_zfs
-rwxr-xr-x 1 root root 12894 avril 15 11:31 20_linux_xen
-rwxr-xr-x 1 root root 12059 avril 15 11:31 30_os-prober
-rwxr-xr-x 1 root root 1424 avril 15 11:31 30_uefi-firmware
-rwxr-xr-x 1 root root 214 avril 15 11:31 40_custom
-rwxr-xr-x 1 root root 216 avril 15 11:31 41_custom
Reboot de la machine en mode bios_Legacy, un boot-info fait depuis la copie.
boot-info-4ppa125 [20200704_2249]
============================== 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 (,msdos2)/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
118523904 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: ntfs
Boot sector type: Windows 7/2008: NTFS
Boot sector info: No errors found in the Boot Parameter Block.
Operating System: Windows 7
Boot files: /bootmgr /Boot/BCD /Windows/System32/winload.exe
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
/boot/grub/i386-pc/core.img
sdb1: __________________________________________________________________________
File system: vfat
Boot sector type: FAT32
Boot sector info: No errors found in the Boot Parameter Block.
Operating System:
Boot files: /efi/BOOT/bootx64.efi /efi/ubuntu/grubx64.efi
/efi/ubuntu/grub.cfg
sdb2: __________________________________________________________________________
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
/boot/grub/i386-pc/core.img
sdb3: __________________________________________________________________________
File system: BIOS Boot partition
Boot sector type: Grub2's core.img
Boot sector info:
================================ 3 OS detected =================================
OS#1: L'OS actuellement utilisé - Ubuntu 20.04 LTS CurrentSession on sdb2
OS#2: Windows 7 on sda1
OS#3: Ubuntu 20.04 LTS on sda2
============================ Architecture/Host Info ============================
CPU architecture: 64-bit
BOOT_IMAGE of the installed session in use:
/boot/vmlinuz-5.4.0-40-generic root=UUID=d4542d6e-6d3c-4109-b8fe-e4223f12beae ro quiet splash vt.handoff=7
===================================== UEFI =====================================
This installed-session is not in EFI-mode.
5c14b2158486ded02655f86386b249e2 sdb1/BOOT/bootx64.efi
5c14b2158486ded02655f86386b249e2 sdb1/ubuntu/grubx64.efi
============================= Drive/Partition Info =============================
Disks info: ____________________________________________________________________
sdb : is-GPT, hasBIOSboot, has---ESP, usb-disk, not-mmc, has-os, 2048 sectors * 512 bytes
sda : notGPT, no-BIOSboot, has-noESP, not-usb, not-mmc, has-os, 2048 sectors * 512 bytes
Partitions info (1/3): _________________________________________________________
sdb2 : is-os, 64, apt-get, grub-pc , grub2, grub-install, grubenv-ok, update-grub, not-far
sda1 : is-os, 32, nopakmgr, no-docgrub, nogrub, nogrubinstall, no-grubenv, noupdategrub, not-far
sda2 : is-os, 64, apt-get, grub-pc , grub2, grub-install, grubenv-ok, update-grub, farbios
sdb1 : no-os, 32, nopakmgr, no-docgrub, nogrub, nogrubinstall, no-grubenv, noupdategrub, not-far
Partitions info (2/3): _________________________________________________________
sdb2 : isnotESP, fstab-without-efi, no-nt, no-winload, no-recov-nor-hid, no-bmgr, notwinboot
sda1 : isnotESP, part-has-no-fstab, no-nt, haswinload, no-recov-nor-hid, bootmgr, is-winboot
sda2 : isnotESP, fstab-without-efi, no-nt, no-winload, no-recov-nor-hid, no-bmgr, notwinboot
sdb1 : is---ESP, part-has-no-fstab, no-nt, no-winload, no-recov-nor-hid, no-bmgr, notwinboot
Partitions info (3/3): _________________________________________________________
sdb2 : not-sepboot, with-boot, fstab-without-boot, not-sep-usr, with--usr, fstab-without-usr, std-grub.d, sdb
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 : not-sepboot, no-boot, part-has-no-fstab, not-sep-usr, no---usr, part-has-no-fstab, std-grub.d, sdb
fdisk -l (filtered): ___________________________________________________________
Disk sda: 111.81 GiB, 120034123776 bytes, 234441648 sectors
Disk identifier: 0x00040603
Boot Start End Sectors Size Id Type
sda1 * 2048 56383487 56381440 26.9G 7 HPFS/NTFS/exFAT
sda2 56383488 234440703 178057216 84.9G 83 Linux
Disk sdb: 60.1 GiB, 64525172736 bytes, 126025728 sectors
Disk identifier: AB564FA3-EB89-4A87-8B35-8C94EA293218
Start End Sectors Size Type
sdb1 2048 1009663 1007616 492M EFI System
sdb2 1009664 118523903 117514240 56G Linux filesystem
sdb3 118523904 118544383 20480 10M BIOS boot
parted -lm (filtered): _________________________________________________________
sda:120GB:scsi:512:512:msdos:ATA LDLC:;
1:1049kB:28.9GB:28.9GB:ntfs::boot;
2:28.9GB:120GB:91.2GB:ext4::;
sdb:64.5GB:scsi:512:512:gpt:Verbatim STORE N GO:;
1:1049kB:517MB:516MB:fat32::boot, esp;
2:517MB:60.7GB:60.2GB:ext4::;
3:60.7GB:60.7GB:10.5MB:::bios_grub;
blkid (filtered): ______________________________________________________________
NAME FSTYPE UUID PARTUUID LABEL PARTLABEL
sda
├─sda1 ntfs FA2AC6152AC5CF37 00040603-01 windows-7-del
└─sda2 ext4 9f5305b9-ddf9-4400-838d-7bb99f8b492f 00040603-02 ubuntu20.04-dell
sdb
├─sdb1 vfat 68B5-52AE d81265ca-4505-4e55-b18b-a1ea2dedd515
├─sdb2 ext4 d4542d6e-6d3c-4109-b8fe-e4223f12beae 91c201b9-657a-45fc-a753-d3430933c2f0 copy-xubu-20.04
└─sdb3 3b5ead65-9fb6-459c-a86c-16e0071e6393
df (filtered): _________________________________________________________________
Avail Use% Mounted on
sda1 3G 89% /mnt/boot-sav/sda1
sda2 32.5G 56% /mnt/boot-sav/sda2
sdb1 487.8M 1% /mnt/boot-sav/sdb1
sdb2 42.6G 17% /
Mount options: __________________________________________________________________
sda1 rw,relatime,user_id=0,group_id=0,allow_other,blksize=4096
sda2 rw,relatime
sdb1 rw,relatime,fmask=0022,dmask=0022,codepage=437,iocharset=iso8859-1,shortname=mixed,errors=remount-ro
sdb2 rw,relatime,errors=remount-ro
====================== sda2/boot/grub/grub.cfg (filtered) ======================
Ubuntu 9f5305b9-ddf9-4400-838d-7bb99f8b492f
Ubuntu, avec Linux 5.4.0-40-generic 9f5305b9-ddf9-4400-838d-7bb99f8b492f
Ubuntu, avec Linux 5.4.0-39-generic 9f5305b9-ddf9-4400-838d-7bb99f8b492f
Windows 7 (sur sda1) FA2AC6152AC5CF37
### END /etc/grub.d/30_os-prober ###
### END /etc/grub.d/30_uefi-firmware ###
========================== sda2/etc/fstab (filtered) ===========================
# <file system> <mount point> <type> <options> <dump> <pass>
# / was on /dev/sdc16 during installation
UUID=9f5305b9-ddf9-4400-838d-7bb99f8b492f / ext4 errors=remount-ro 0 1
# swap was on /dev/sdc6 during installation
/file.swap none swap sw 0 0
======================= 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)
31,015373230 = 33,302503424 boot/grub/grub.cfg 1
31,032611847 = 33,321013248 boot/grub/i386-pc/core.img 1
57,755977631 = 62,015008768 boot/vmlinuz 1
58,529415131 = 62,845480960 boot/vmlinuz-5.4.0-39-generic 1
57,755977631 = 62,015008768 boot/vmlinuz-5.4.0-40-generic 1
58,529415131 = 62,845480960 boot/vmlinuz.old 1
50,737300873 = 54,478761984 boot/initrd.img 6
57,390190125 = 61,622247424 boot/initrd.img-5.4.0-39-generic 2
50,737300873 = 54,478761984 boot/initrd.img-5.4.0-40-generic 6
57,390190125 = 61,622247424 boot/initrd.img.old 2
===================== sda2: ls -l /etc/grub.d/ (filtered) ======================
-rwxr-xr-x 1 root root 17123 avril 15 13:31 10_linux
-rwxr-xr-x 1 root root 42128 avril 15 13:31 10_linux_zfs
-rwxr-xr-x 1 root root 12894 avril 15 13:31 20_linux_xen
-rwxr-xr-x 1 root root 12059 avril 15 13:31 30_os-prober
-rwxr-xr-x 1 root root 1424 avril 15 13:31 30_uefi-firmware
-rwxr-xr-x 1 root root 214 avril 15 13:31 40_custom
-rwxr-xr-x 1 root root 216 avril 15 13:31 41_custom
===================== sdb1/efi/ubuntu/grub.cfg (filtered) ======================
search.fs_uuid d4542d6e-6d3c-4109-b8fe-e4223f12beae root hd1,gpt2
set prefix=($root)'/boot/grub'
configfile $prefix/grub.cfg
====================== sdb2/boot/grub/grub.cfg (filtered) ======================
Ubuntu d4542d6e-6d3c-4109-b8fe-e4223f12beae
Ubuntu, with Linux 5.4.0-40-generic d4542d6e-6d3c-4109-b8fe-e4223f12beae
Windows 7 (on sda1) FA2AC6152AC5CF37
Ubuntu 20.04 LTS (20.04) (on sda2) 9f5305b9-ddf9-4400-838d-7bb99f8b492f
Ubuntu (on sda2) 9f5305b9-ddf9-4400-838d-7bb99f8b492f
Ubuntu, avec Linux 5.4.0-40-generic (on sda2) 9f5305b9-ddf9-4400-838d-7bb99f8b492f
Ubuntu, avec Linux 5.4.0-39-generic (on sda2) 9f5305b9-ddf9-4400-838d-7bb99f8b492f
### END /etc/grub.d/30_os-prober ###
### END /etc/grub.d/30_uefi-firmware ###
========================== sdb2/etc/fstab (filtered) ===========================
# <file system> <mount point> <type> <options> <dump> <pass>
# / was on /dev/sdb2 during installation
UUID=d4542d6e-6d3c-4109-b8fe-e4223f12beae / ext4 errors=remount-ro 0 1
# swap was on /dev/sdc5 during installation
# /boot/efi was on /dev/sdb2 during installation
======================= sdb2/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=""
==================== sdb2: Location of files loaded by Grub ====================
GiB - GB File Fragment(s)
44,616233826 = 47,906316288 boot/grub/grub.cfg 1
55,316658020 = 59,395809280 boot/grub/i386-pc/core.img 1
6,992305756 = 7,507931136 boot/vmlinuz 1
6,992305756 = 7,507931136 boot/vmlinuz-5.4.0-40-generic 1
6,992305756 = 7,507931136 boot/vmlinuz.old 1
7,360832214 = 7,903633408 boot/initrd.img 3
7,360832214 = 7,903633408 boot/initrd.img-5.4.0-40-generic 3
7,360832214 = 7,903633408 boot/initrd.img.old 3
===================== sdb2: ls -l /etc/grub.d/ (filtered) ======================
-rwxr-xr-x 1 root root 17123 avril 15 13:31 10_linux
-rwxr-xr-x 1 root root 42128 avril 15 13:31 10_linux_zfs
-rwxr-xr-x 1 root root 12894 avril 15 13:31 20_linux_xen
-rwxr-xr-x 1 root root 12059 avril 15 13:31 30_os-prober
-rwxr-xr-x 1 root root 1424 avril 15 13:31 30_uefi-firmware
-rwxr-xr-x 1 root root 214 avril 15 13:31 40_custom
-rwxr-xr-x 1 root root 216 avril 15 13:31 41_custom
================================= User choice ==================================
Is sdb (Verbatim STORE N GO) a removable disk? yes
Suggested repair: ______________________________________________________________
The default repair of the Boot-Repair utility would reinstall the grub2 of
sdb2 into the MBR of sdb.
It would also fix access to other systems (other MBRs) for the situations
when the removable media is disconnected.
Grub-efi would not be selected by default because: legacy-win no-win-efi
Additional repair would be performed: unhide-bootmenu-10s
Final advice in case of suggested repair: ______________________________________
Please do not forget to make your BIOS boot on the removable disk!
La copie démarre bien maintenant dans les deux modes UEFI et Bios_Legacy. Un boot-info fait depuis la copie lancée en mode UEFI;
boot-info-4ppa125 [20200704_2240]
============================== 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 (,msdos2)/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
118523904 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: ntfs
Boot sector type: Windows 7/2008: NTFS
Boot sector info: No errors found in the Boot Parameter Block.
Operating System: Windows 7
Boot files: /bootmgr /Boot/BCD /Windows/System32/winload.exe
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
/boot/grub/i386-pc/core.img
sdb1: __________________________________________________________________________
File system: vfat
Boot sector type: FAT32
Boot sector info: No errors found in the Boot Parameter Block.
Operating System:
Boot files: /efi/BOOT/bootx64.efi /efi/ubuntu/grubx64.efi
/efi/ubuntu/grub.cfg
sdb2: __________________________________________________________________________
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
/boot/grub/i386-pc/core.img
sdb3: __________________________________________________________________________
File system: BIOS Boot partition
Boot sector type: Grub2's core.img
Boot sector info:
================================ 3 OS detected =================================
OS#1: L'OS actuellement utilisé - Ubuntu 20.04 LTS CurrentSession on sdb2
OS#2: Ubuntu 20.04 LTS on sda2
OS#3: Windows 7 on sda1
============================ Architecture/Host Info ============================
CPU architecture: 64-bit
BOOT_IMAGE of the installed session in use:
/boot/vmlinuz-5.4.0-40-generic root=UUID=d4542d6e-6d3c-4109-b8fe-e4223f12beae ro quiet splash vt.handoff=7
===================================== UEFI =====================================
BIOS is EFI-compatible, and is setup in EFI-mode for this installed-session.
efibootmgr -v
BootCurrent: 000A
Timeout: 2 seconds
BootOrder: 0006,0000,0002,0001,0003,0004,000A
Boot0000 Diskette Drive BBS(Floppy,,0x0)
Boot0001* Internal HDD BBS(HD,,0x0)P0: LDLC .
Boot0002* USB Storage Device BBS(USB,,0x0)USB Storage Device.
Boot0003* CD/DVD/CD-RW Drive BBS(CDROM,,0x0)P1: TSSTcorp DVD+/-RW TS-U633J.
Boot0004 Onboard NIC BBS(Network,,0x0)
Boot0006* ubuntu HD(1,GPT,d81265ca-4505-4e55-b18b-a1ea2dedd515,0x800,0xf6000)/File(\EFI\ubuntu\grubx64.efi)
Boot000A UEFI: INT13(USB,0x80) PciRoot(0x0)/Pci(0x1d,0x0)/VenHw(aa7ba38a-dabf-40c3-8d18-b55b39609ef7,8001000000005553422020202020ffffffffffffffffffffffffffffffffffffffffffffffff)/HD(1,GPT,d81265ca-4505-4e55-b18b-a1ea2dedd515,0x800,0xf6000)
5c14b2158486ded02655f86386b249e2 sdb1/BOOT/bootx64.efi
5c14b2158486ded02655f86386b249e2 sdb1/ubuntu/grubx64.efi
============================= Drive/Partition Info =============================
Disks info: ____________________________________________________________________
sdb : is-GPT, hasBIOSboot, has---ESP, usb-disk, not-mmc, has-os, 2048 sectors * 512 bytes
sda : notGPT, no-BIOSboot, has-noESP, not-usb, not-mmc, has-os, 2048 sectors * 512 bytes
Partitions info (1/3): _________________________________________________________
sdb2 : is-os, 64, apt-get, grub-pc , grub2, grub-install, grubenv-ok, update-grub, not-far
sda1 : is-os, 32, nopakmgr, no-docgrub, nogrub, nogrubinstall, no-grubenv, noupdategrub, not-far
sda2 : is-os, 64, apt-get, grub-pc , grub2, grub-install, grubenv-ok, update-grub, farbios
sdb1 : no-os, 32, nopakmgr, no-docgrub, nogrub, nogrubinstall, no-grubenv, noupdategrub, not-far
Partitions info (2/3): _________________________________________________________
sdb2 : isnotESP, fstab-without-efi, no-nt, no-winload, no-recov-nor-hid, no-bmgr, notwinboot
sda1 : isnotESP, part-has-no-fstab, no-nt, haswinload, no-recov-nor-hid, bootmgr, is-winboot
sda2 : isnotESP, fstab-without-efi, no-nt, no-winload, no-recov-nor-hid, no-bmgr, notwinboot
sdb1 : is---ESP, part-has-no-fstab, no-nt, no-winload, no-recov-nor-hid, no-bmgr, notwinboot
Partitions info (3/3): _________________________________________________________
sdb2 : not-sepboot, with-boot, fstab-without-boot, not-sep-usr, with--usr, fstab-without-usr, std-grub.d, sdb
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 : not-sepboot, no-boot, part-has-no-fstab, not-sep-usr, no---usr, part-has-no-fstab, std-grub.d, sdb
fdisk -l (filtered): ___________________________________________________________
Disk sda: 111.81 GiB, 120034123776 bytes, 234441648 sectors
Disk identifier: 0x00040603
Boot Start End Sectors Size Id Type
sda1 * 2048 56383487 56381440 26.9G 7 HPFS/NTFS/exFAT
sda2 56383488 234440703 178057216 84.9G 83 Linux
Disk sdb: 60.1 GiB, 64525172736 bytes, 126025728 sectors
Disk identifier: AB564FA3-EB89-4A87-8B35-8C94EA293218
Start End Sectors Size Type
sdb1 2048 1009663 1007616 492M EFI System
sdb2 1009664 118523903 117514240 56G Linux filesystem
sdb3 118523904 118544383 20480 10M BIOS boot
parted -lm (filtered): _________________________________________________________
sda:120GB:scsi:512:512:msdos:ATA LDLC:;
1:1049kB:28.9GB:28.9GB:ntfs::boot;
2:28.9GB:120GB:91.2GB:ext4::;
sdb:64.5GB:scsi:512:512:gpt:Verbatim STORE N GO:;
1:1049kB:517MB:516MB:fat32::boot, esp;
2:517MB:60.7GB:60.2GB:ext4::;
3:60.7GB:60.7GB:10.5MB:::bios_grub;
blkid (filtered): ______________________________________________________________
NAME FSTYPE UUID PARTUUID LABEL PARTLABEL
sda
├─sda1 ntfs FA2AC6152AC5CF37 00040603-01 windows-7-del
└─sda2 ext4 9f5305b9-ddf9-4400-838d-7bb99f8b492f 00040603-02 ubuntu20.04-dell
sdb
├─sdb1 vfat 68B5-52AE d81265ca-4505-4e55-b18b-a1ea2dedd515
├─sdb2 ext4 d4542d6e-6d3c-4109-b8fe-e4223f12beae 91c201b9-657a-45fc-a753-d3430933c2f0 copy-xubu-20.04
└─sdb3 3b5ead65-9fb6-459c-a86c-16e0071e6393
df (filtered): _________________________________________________________________
Avail Use% Mounted on
sda1 3G 89% /mnt/boot-sav/sda1
sda2 32.5G 56% /mnt/boot-sav/sda2
sdb1 487.8M 1% /mnt/boot-sav/sdb1
sdb2 42.5G 17% /
Mount options: __________________________________________________________________
sda1 rw,relatime,user_id=0,group_id=0,allow_other,blksize=4096
sda2 rw,relatime
sdb1 rw,relatime,fmask=0022,dmask=0022,codepage=437,iocharset=iso8859-1,shortname=mixed,errors=remount-ro
sdb2 rw,relatime,errors=remount-ro
====================== sda2/boot/grub/grub.cfg (filtered) ======================
Ubuntu 9f5305b9-ddf9-4400-838d-7bb99f8b492f
Ubuntu, avec Linux 5.4.0-40-generic 9f5305b9-ddf9-4400-838d-7bb99f8b492f
Ubuntu, avec Linux 5.4.0-39-generic 9f5305b9-ddf9-4400-838d-7bb99f8b492f
Windows 7 (sur sda1) FA2AC6152AC5CF37
### END /etc/grub.d/30_os-prober ###
### END /etc/grub.d/30_uefi-firmware ###
========================== sda2/etc/fstab (filtered) ===========================
# <file system> <mount point> <type> <options> <dump> <pass>
# / was on /dev/sdc16 during installation
UUID=9f5305b9-ddf9-4400-838d-7bb99f8b492f / ext4 errors=remount-ro 0 1
# swap was on /dev/sdc6 during installation
/file.swap none swap sw 0 0
======================= 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)
31,015373230 = 33,302503424 boot/grub/grub.cfg 1
31,032611847 = 33,321013248 boot/grub/i386-pc/core.img 1
57,755977631 = 62,015008768 boot/vmlinuz 1
58,529415131 = 62,845480960 boot/vmlinuz-5.4.0-39-generic 1
57,755977631 = 62,015008768 boot/vmlinuz-5.4.0-40-generic 1
58,529415131 = 62,845480960 boot/vmlinuz.old 1
50,737300873 = 54,478761984 boot/initrd.img 6
57,390190125 = 61,622247424 boot/initrd.img-5.4.0-39-generic 2
50,737300873 = 54,478761984 boot/initrd.img-5.4.0-40-generic 6
57,390190125 = 61,622247424 boot/initrd.img.old 2
===================== sda2: ls -l /etc/grub.d/ (filtered) ======================
-rwxr-xr-x 1 root root 17123 avril 15 13:31 10_linux
-rwxr-xr-x 1 root root 42128 avril 15 13:31 10_linux_zfs
-rwxr-xr-x 1 root root 12894 avril 15 13:31 20_linux_xen
-rwxr-xr-x 1 root root 12059 avril 15 13:31 30_os-prober
-rwxr-xr-x 1 root root 1424 avril 15 13:31 30_uefi-firmware
-rwxr-xr-x 1 root root 214 avril 15 13:31 40_custom
-rwxr-xr-x 1 root root 216 avril 15 13:31 41_custom
===================== sdb1/efi/ubuntu/grub.cfg (filtered) ======================
search.fs_uuid d4542d6e-6d3c-4109-b8fe-e4223f12beae root hd1,gpt2
set prefix=($root)'/boot/grub'
configfile $prefix/grub.cfg
====================== sdb2/boot/grub/grub.cfg (filtered) ======================
Ubuntu d4542d6e-6d3c-4109-b8fe-e4223f12beae
Ubuntu, with Linux 5.4.0-40-generic d4542d6e-6d3c-4109-b8fe-e4223f12beae
Windows 7 (on sda1) FA2AC6152AC5CF37
Ubuntu 20.04 LTS (20.04) (on sda2) 9f5305b9-ddf9-4400-838d-7bb99f8b492f
Ubuntu (on sda2) 9f5305b9-ddf9-4400-838d-7bb99f8b492f
Ubuntu, avec Linux 5.4.0-40-generic (on sda2) 9f5305b9-ddf9-4400-838d-7bb99f8b492f
Ubuntu, avec Linux 5.4.0-39-generic (on sda2) 9f5305b9-ddf9-4400-838d-7bb99f8b492f
### END /etc/grub.d/30_os-prober ###
### END /etc/grub.d/30_uefi-firmware ###
========================== sdb2/etc/fstab (filtered) ===========================
# <file system> <mount point> <type> <options> <dump> <pass>
# / was on /dev/sdb2 during installation
UUID=d4542d6e-6d3c-4109-b8fe-e4223f12beae / ext4 errors=remount-ro 0 1
# swap was on /dev/sdc5 during installation
# /boot/efi was on /dev/sdb2 during installation
======================= sdb2/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=""
==================== sdb2: Location of files loaded by Grub ====================
GiB - GB File Fragment(s)
44,616233826 = 47,906316288 boot/grub/grub.cfg 1
55,316658020 = 59,395809280 boot/grub/i386-pc/core.img 1
6,992305756 = 7,507931136 boot/vmlinuz 1
6,992305756 = 7,507931136 boot/vmlinuz-5.4.0-40-generic 1
6,992305756 = 7,507931136 boot/vmlinuz.old 1
7,360832214 = 7,903633408 boot/initrd.img 3
7,360832214 = 7,903633408 boot/initrd.img-5.4.0-40-generic 3
7,360832214 = 7,903633408 boot/initrd.img.old 3
===================== sdb2: ls -l /etc/grub.d/ (filtered) ======================
-rwxr-xr-x 1 root root 17123 avril 15 13:31 10_linux
-rwxr-xr-x 1 root root 42128 avril 15 13:31 10_linux_zfs
-rwxr-xr-x 1 root root 12894 avril 15 13:31 20_linux_xen
-rwxr-xr-x 1 root root 12059 avril 15 13:31 30_os-prober
-rwxr-xr-x 1 root root 1424 avril 15 13:31 30_uefi-firmware
-rwxr-xr-x 1 root root 214 avril 15 13:31 40_custom
-rwxr-xr-x 1 root root 216 avril 15 13:31 41_custom
================================= User choice ==================================
Is sdb (Verbatim STORE N GO) a removable disk? yes
Suggested repair: ______________________________________________________________
The default repair of the Boot-Repair utility would reinstall the grub2 of
sdb2 into the MBR of sdb.
It would also fix access to other systems (other MBRs) for the situations
when the removable media is disconnected.
Grub-efi would not be selected by default because: legacy-win no-win-efi
Additional repair would be performed: unhide-bootmenu-10s
Blockers in case of suggested repair: __________________________________________
LegacyWindows detected. Please enable BIOS-compatibility/CSM/Legacy mode in your UEFI firmware, and use this software from a live-CD (or live-USB).
Final advice in case of suggested repair: ______________________________________
Please do not forget to make your BIOS boot on the removable disk!
The boot of your PC is in UEFI mode. You may want to retry after changing it to BIOS-compatibility/CSM/Legacy mode.
@+. Babdu89 .