#1 Le 12/07/2022, à 14:59
- malbo
[Résolu] choix "Installer Ubuntu 22.04 LTS à côté de ... "
Etat de départ : une installation de Ubuntu 21.10 réalisée en mode UEFI - constituée de sda1 et sda2 - dont la taille a été réduite pour laisser une zone non-allouée destinée à recevoir l'installation de Ubuntu 22.04 en dual-boot. Les manips sont faites dans une machine virtuelle de VirtualBox.
1) L'installation est lancée depuis une session live démarrée en mode UEFI de Ubuntu 22.04 avec le choix "Installer Ubuntu 22.04 à côté de Ubuntu 21.10" : capture-1
Boot-info_1 depuis Ubuntu 22.04 installé démarré en mode UEFI :
boot-info-4ppa200 [20220712_0601]
============================== Boot Info Summary ===============================
=> 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/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 21.10
Boot files: /boot/grub/grub.cfg /etc/fstab /etc/default/grub
sda3: __________________________________________________________________________
File system: ext4
Boot sector type: -
Boot sector info:
Operating System: Ubuntu 22.04 LTS
Boot files: /boot/grub/grub.cfg /etc/fstab /etc/default/grub
================================ 2 OS detected =================================
OS#1: L'OS actuellement utilisé - Ubuntu 22.04 LTS CurrentSession on sda3
OS#2: Ubuntu 21.10 on sda2
================================ Host/Hardware =================================
CPU architecture: 64-bit
Video: SVGA II Adapter from VMware
BOOT_IMAGE of the installed session in use:
/boot/vmlinuz-5.15.0-41-generic root=UUID=36de00f4-05f4-44f0-8a2d-c9977e123a0c ro quiet splash vt.handoff=7
df -Th / : /dev/sda3 ext4 22G 9,4G 12G 46% /
===================================== UEFI =====================================
BIOS/UEFI firmware: VirtualBox from innotek GmbH
The firmware is EFI-compatible, and is set in EFI-mode for this installed-session.
SecureBoot disabled - This system doesn't support Secure Boot.
BootCurrent: 0005
Timeout: 0 seconds
BootOrder: 0005,0006,0000,0001,0002,0003,0004
Boot0000* UiApp FvVol(7cb8bdc9-f8eb-4f34-aaea-3ee4af6516a1)/FvFile(462caa21-7614-4503-836e-8ab6f4662331)
Boot0001* UEFI VBOX CD-ROM VB2-01700376 PciRoot(0x0)/Pci(0x1,0x1)/Ata(1,0,0)N.....YM....R,Y.
Boot0002* UEFI VBOX CD-ROM VB1-1a2b3c4d PciRoot(0x0)/Pci(0xd,0x0)/Sata(1,65535,0)N.....YM....R,Y.
Boot0003* UEFI VBOX HARDDISK VB4ad4cebc-c0c7522c PciRoot(0x0)/Pci(0xd,0x0)/Sata(0,65535,0)N.....YM....R,Y.
Boot0004* EFI Internal Shell FvVol(7cb8bdc9-f8eb-4f34-aaea-3ee4af6516a1)/FvFile(7c04a583-9e3e-4f1c-ad65-e05268d0b4d1)
Boot0005* ubuntu HD(1,GPT,52aa129e-e3f9-4fda-a6ff-38606fc18d49,0x800,0x100000)/File(\EFI\ubuntu\shimx64.efi)
Boot0006* mx HD(1,GPT,57eb369d-72aa-42c2-944b-ac3a37a6da24,0x800,0x80000)/File(\EFI\mx\grubx64.efi)
============================= Drive/Partition Info =============================
Disks info: ____________________________________________________________________
sda : is-GPT, no-BIOSboot, has---ESP, not-usb, not-mmc, has-os, no-wind, 2048 sectors * 512 bytes
Partitions info (1/3): _________________________________________________________
sda3 : is-os, 64, apt-get, signed grub-pc grub-efi , grub2, grub-install, grubenv-ok, update-grub, not-far
sda2 : is-os, 64, apt-get, signed grub-pc grub-efi , grub2, grub-install, grubenv-ok, update-grub, not-far
sda1 : no-os, 32, nopakmgr, no-docgrub, nogrub, nogrubinstall, no-grubenv, noupdategrub, not-far
Partitions info (2/3): _________________________________________________________
sda3 : isnotESP, fstab-has-goodEFI, 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
sda1 : is---ESP, part-has-no-fstab, no-nt, no-winload, no-recov-nor-hid, no-bmgr, notwinboot
Partitions info (3/3): _________________________________________________________
sda3 : not--sepboot, with-boot, fstab-without-boot, not-sep-usr, with--usr, fstab-without-usr, std-grub.d, sda
sda2 : not--sepboot, with-boot, fstab-without-boot, not-sep-usr, with--usr, fstab-without-usr, std-grub.d, sda
sda1 : not--sepboot, no---boot, part-has-no-fstab, not-sep-usr, no---usr, part-has-no-fstab, no--grub.d, sda
fdisk -l (filtered): ___________________________________________________________
Disk sda: 40 GiB, 42949640192 bytes, 83886016 sectors
Disk identifier: 925A16ED-458E-4ECA-85B7-4E5C6AEB675D
Start End Sectors Size Type
sda1 2048 1050623 1048576 512M EFI System
sda2 1050624 37496831 36446208 17.4G Linux filesystem
sda3 37496832 83884031 46387200 22.1G Linux filesystem
parted -lm (filtered): _________________________________________________________
sda:42.9GB:scsi:512:512:gpt:ATA VBOX HARDDISK:;
1:1049kB:538MB:537MB:fat32:EFI System Partition:boot, esp;
2:538MB:19.2GB:18.7GB:ext4::;
3:19.2GB:42.9GB:23.8GB:ext4::;
blkid (filtered): ______________________________________________________________
NAME FSTYPE UUID PARTUUID LABEL PARTLABEL
sda
├─sda1 vfat 3D0B-1C07 52aa129e-e3f9-4fda-a6ff-38606fc18d49 EFI System Partition
├─sda2 ext4 f2dcb09e-d1b2-44cd-80da-bc185e67ab77 1d6e363a-aa22-4227-a760-cfbc2dbffe66
└─sda3 ext4 36de00f4-05f4-44f0-8a2d-c9977e123a0c 1abd1ea5-c427-4c27-8b21-deae4b3f850a
Mount points (filtered): _______________________________________________________
Avail Use% Mounted on
/dev/sda2 6.5G 56% /mnt/boot-sav/sda2
/dev/sda3 11.1G 43% /
Mount options (filtered): ______________________________________________________
/dev/sda2 ext4 rw,relatime
/dev/sda3 ext4 rw,relatime,errors=remount-ro
===================== sda1/efi/ubuntu/grub.cfg (filtered) ======================
search.fs_uuid 36de00f4-05f4-44f0-8a2d-c9977e123a0c root hd0,gpt3
set prefix=($root)'/boot/grub'
configfile $prefix/grub.cfg
====================== sda2/boot/grub/grub.cfg (filtered) ======================
Ubuntu f2dcb09e-d1b2-44cd-80da-bc185e67ab77
Ubuntu, avec Linux 5.13.0-52-generic f2dcb09e-d1b2-44cd-80da-bc185e67ab77
Ubuntu, avec Linux 5.13.0-19-generic f2dcb09e-d1b2-44cd-80da-bc185e67ab77
### END /etc/grub.d/30_os-prober ###
UEFI Firmware Settings uefi-firmware
### END /etc/grub.d/30_uefi-firmware ###
========================== sda2/etc/fstab (filtered) ===========================
# <file system> <mount point> <type> <options> <dump> <pass>
# / was on /dev/sda2 during installation
UUID=f2dcb09e-d1b2-44cd-80da-bc185e67ab77 / ext4 errors=remount-ro 0 1
# /boot/efi was on /dev/sda1 during installation
UUID=3D0B-1C07 /boot/efi vfat umask=0077 0 1
/swapfile none swap sw 0 0
======================= sda2/etc/default/grub (filtered) =======================
GRUB_DEFAULT=0
GRUB_TIMEOUT_STYLE=menu
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)
8,297401428 = 8,909266944 boot/grub/grub.cfg 2
9,721454620 = 10,438332416 boot/vmlinuz 1
6,539115906 = 7,021322240 boot/vmlinuz-5.13.0-19-generic 2
9,721454620 = 10,438332416 boot/vmlinuz-5.13.0-52-generic 1
6,539115906 = 7,021322240 boot/vmlinuz.old 2
10,408229828 = 11,175751680 boot/initrd.img 1
10,205036163 = 10,957574144 boot/initrd.img-5.13.0-19-generic 1
10,408229828 = 11,175751680 boot/initrd.img-5.13.0-52-generic 1
10,205036163 = 10,957574144 boot/initrd.img.old 1
===================== sda2: ls -l /etc/grub.d/ (filtered) ======================
-rwxr-xr-x 1 root root 18151 Sep 2 2021 10_linux
-rwxr-xr-x 1 root root 43031 Sep 2 2021 10_linux_zfs
-rwxr-xr-x 1 root root 12894 Sep 2 2021 20_linux_xen
-rwxr-xr-x 1 root root 12059 Sep 2 2021 30_os-prober
-rwxr-xr-x 1 root root 1424 Sep 2 2021 30_uefi-firmware
-rwxr-xr-x 1 root root 214 Sep 2 2021 40_custom
-rwxr-xr-x 1 root root 216 Sep 2 2021 41_custom
====================== sda3/boot/grub/grub.cfg (filtered) ======================
Ubuntu 36de00f4-05f4-44f0-8a2d-c9977e123a0c
Ubuntu, with Linux 5.15.0-41-generic 36de00f4-05f4-44f0-8a2d-c9977e123a0c
Ubuntu, with Linux 5.15.0-25-generic 36de00f4-05f4-44f0-8a2d-c9977e123a0c
Ubuntu 21.10 (21.10) (on sda2) f2dcb09e-d1b2-44cd-80da-bc185e67ab77
Ubuntu (on sda2) f2dcb09e-d1b2-44cd-80da-bc185e67ab77
Ubuntu, avec Linux 5.13.0-52-generic (on sda2) f2dcb09e-d1b2-44cd-80da-bc185e67ab77
Ubuntu, avec Linux 5.13.0-19-generic (on sda2) f2dcb09e-d1b2-44cd-80da-bc185e67ab77
### 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=36de00f4-05f4-44f0-8a2d-c9977e123a0c / ext4 errors=remount-ro 0 1
# /boot/efi was on /dev/sda1 during installation
UUID=3D0B-1C07 /boot/efi vfat umask=0077 0 1
/swapfile none swap sw 0 0
======================= sda3/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=""
==================== sda3: Location of files loaded by Grub ====================
GiB - GB File Fragment(s)
23,198623657 = 24,909332480 boot/grub/grub.cfg 1
23,194892883 = 24,905326592 boot/vmlinuz 1
23,007381439 = 24,703987712 boot/vmlinuz-5.15.0-25-generic 1
23,194892883 = 24,905326592 boot/vmlinuz-5.15.0-41-generic 1
23,007381439 = 24,703987712 boot/vmlinuz.old 1
39,055152893 = 41,935151104 boot/initrd.img 1
27,773925781 = 29,822025728 boot/initrd.img-5.15.0-25-generic 1
39,055152893 = 41,935151104 boot/initrd.img-5.15.0-41-generic 1
27,773925781 = 29,822025728 boot/initrd.img.old 1
===================== sda3: ls -l /etc/grub.d/ (filtered) ======================
-rwxr-xr-x 1 root root 18683 Apr 15 23:50 10_linux
-rwxr-xr-x 1 root root 43031 Apr 15 23:50 10_linux_zfs
-rwxr-xr-x 1 root root 14180 Apr 15 23:50 20_linux_xen
-rwxr-xr-x 1 root root 13369 Apr 15 23:50 30_os-prober
-rwxr-xr-x 1 root root 1372 Apr 15 23:50 30_uefi-firmware
-rwxr-xr-x 1 root root 700 Feb 19 14:21 35_fwupd
-rwxr-xr-x 1 root root 214 Apr 15 23:50 40_custom
-rwxr-xr-x 1 root root 215 Apr 15 23: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
Suggested repair: ______________________________________________________________
The default repair of the Boot-Repair utility would reinstall the grub-efi of
sda3,
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: __________________________________________
Please use this software in a live-session (live-CD or live-USB). This will enable this feature.
Final advice in case of suggested repair: ______________________________________
Please do not forget to make your UEFI firmware boot on the L'OS actuellement utilisé - Ubuntu 22.04 LTS CurrentSession entry (sda1/efi/****/grub****.efi (**** will be updated in the final message) file) !
2) installation lancée depuis une session live démarrée en mode BIOS de Ubuntu 22.04 avec le choix "Installer Ubuntu 22.04 à côté de Ubuntu 21.10" : capture_2
Juste avant cela, l'installation précédente de Ubuntu 22.04 a été supprimée avec Gparted pour revenir à la situation de départ avec Ubuntu 21.10 seul. Quel intérêt d'installer Ubuntu 22.04 en mode Bios alors que Ubuntu 21.10 a été installé en mode UEFI ? Aucun intérêt en principe, mais c'est pour faire le parcours parce qu'on trouve des novices qui réalisent ce genre d'install (par exemple ici) et ça peut permettre de mieux les aider.
Boot-info_2 depuis Ubuntu 22.04 installé démarré en mode UEFI :
boot-info-4ppa200 [20220712_0952]
============================== Boot Info Summary ===============================
=> Grub2 (v2.00) is installed in the MBR of /dev/sda and looks at sector
37496832 of the same hard drive for core.img. core.img is at this location
and looks for (,gpt4)/boot/grub. It also embeds following components:
modules
---------------------------------------------------------------------------
fshelp ext2 part_gpt biosdisk
---------------------------------------------------------------------------
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 21.10
Boot files: /boot/grub/grub.cfg /etc/fstab /etc/default/grub
sda3: __________________________________________________________________________
File system: BIOS Boot partition
Boot sector type: Grub2's core.img
Boot sector info:
sda4: __________________________________________________________________________
File system: ext4
Boot sector type: -
Boot sector info:
Operating System: Ubuntu 22.04 LTS
Boot files: /boot/grub/grub.cfg /etc/fstab /etc/default/grub
/boot/grub/i386-pc/core.img
================================ 2 OS detected =================================
OS#1: L'OS actuellement utilisé - Ubuntu 22.04 LTS CurrentSession on sda4
OS#2: Ubuntu 21.10 on sda2
================================ Host/Hardware =================================
CPU architecture: 64-bit
Video: SVGA II Adapter from VMware
BOOT_IMAGE of the installed session in use:
/boot/vmlinuz-5.15.0-41-generic root=UUID=3ae6f69b-b05e-4a4b-bfd8-283f8f1baa4c ro quiet splash vt.handoff=7
df -Th / : /dev/sda4 ext4 22G 8,6G 12G 42% /
===================================== UEFI =====================================
BIOS/UEFI firmware: VirtualBox from innotek GmbH
The firmware is EFI-compatible, and is set in EFI-mode for this installed-session.
SecureBoot disabled - This system doesn't support Secure Boot.
BootCurrent: 0005
Timeout: 0 seconds
BootOrder: 0005,0006,0000,0001,0002,0003,0004
Boot0000* UiApp FvVol(7cb8bdc9-f8eb-4f34-aaea-3ee4af6516a1)/FvFile(462caa21-7614-4503-836e-8ab6f4662331)
Boot0001* UEFI VBOX CD-ROM VB2-01700376 PciRoot(0x0)/Pci(0x1,0x1)/Ata(1,0,0)N.....YM....R,Y.
Boot0002* UEFI VBOX CD-ROM VB1-1a2b3c4d PciRoot(0x0)/Pci(0xd,0x0)/Sata(1,65535,0)N.....YM....R,Y.
Boot0003* UEFI VBOX HARDDISK VB4ad4cebc-c0c7522c PciRoot(0x0)/Pci(0xd,0x0)/Sata(0,65535,0)N.....YM....R,Y.
Boot0004* EFI Internal Shell FvVol(7cb8bdc9-f8eb-4f34-aaea-3ee4af6516a1)/FvFile(7c04a583-9e3e-4f1c-ad65-e05268d0b4d1)
Boot0005* ubuntu HD(1,GPT,52aa129e-e3f9-4fda-a6ff-38606fc18d49,0x800,0x100000)/File(\EFI\ubuntu\shimx64.efi)
Boot0006* mx HD(1,GPT,57eb369d-72aa-42c2-944b-ac3a37a6da24,0x800,0x80000)/File(\EFI\mx\grubx64.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): _________________________________________________________
sda4 : is-os, 64, apt-get, signed grub-pc grub-efi , grub2, grub-install, grubenv-ok, update-grub, not-far
sda2 : is-os, 64, apt-get, signed grub-pc grub-efi , grub2, grub-install, grubenv-ok, update-grub, not-far
sda1 : no-os, 32, nopakmgr, no-docgrub, nogrub, nogrubinstall, no-grubenv, noupdategrub, not-far
Partitions info (2/3): _________________________________________________________
sda4 : isnotESP, fstab-has-goodEFI, 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
sda1 : is---ESP, part-has-no-fstab, no-nt, no-winload, no-recov-nor-hid, no-bmgr, notwinboot
Partitions info (3/3): _________________________________________________________
sda4 : not--sepboot, with-boot, fstab-without-boot, not-sep-usr, with--usr, fstab-without-usr, std-grub.d, sda
sda2 : not--sepboot, with-boot, fstab-without-boot, not-sep-usr, with--usr, fstab-without-usr, std-grub.d, sda
sda1 : not--sepboot, no---boot, part-has-no-fstab, not-sep-usr, no---usr, part-has-no-fstab, no--grub.d, sda
fdisk -l (filtered): ___________________________________________________________
Disk sda: 40 GiB, 42949640192 bytes, 83886016 sectors
Disk identifier: 925A16ED-458E-4ECA-85B7-4E5C6AEB675D
Start End Sectors Size Type
sda1 2048 1050623 1048576 512M EFI System
sda2 1050624 37496831 36446208 17.4G Linux filesystem
sda3 37496832 37498879 2048 1M BIOS boot
sda4 37498880 83884031 46385152 22.1G Linux filesystem
parted -lm (filtered): _________________________________________________________
sda:42.9GB:scsi:512:512:gpt:ATA VBOX HARDDISK:;
1:1049kB:538MB:537MB:fat32:EFI System Partition:boot, esp;
2:538MB:19.2GB:18.7GB:ext4::;
3:19.2GB:19.2GB:1049kB:::bios_grub;
4:19.2GB:42.9GB:23.7GB:ext4::;
blkid (filtered): ______________________________________________________________
NAME FSTYPE UUID PARTUUID LABEL PARTLABEL
sda
├─sda1 vfat 3D0B-1C07 52aa129e-e3f9-4fda-a6ff-38606fc18d49 EFI System Partition
├─sda2 ext4 f2dcb09e-d1b2-44cd-80da-bc185e67ab77 1d6e363a-aa22-4227-a760-cfbc2dbffe66
├─sda3 dd0b4a5e-0b6c-4e84-856c-a5721f3ff7d1
└─sda4 ext4 3ae6f69b-b05e-4a4b-bfd8-283f8f1baa4c ff7fed26-ef15-445f-9121-748581f4e65a
Mount points (filtered): _______________________________________________________
Avail Use% Mounted on
/dev/sda2 6.5G 56% /mnt/boot-sav/sda2
/dev/sda4 11.9G 40% /
Mount options (filtered): ______________________________________________________
/dev/sda2 ext4 rw,relatime
/dev/sda4 ext4 rw,relatime,errors=remount-ro
===================== sda1/efi/ubuntu/grub.cfg (filtered) ======================
search.fs_uuid 3ae6f69b-b05e-4a4b-bfd8-283f8f1baa4c root hd0,gpt4
set prefix=($root)'/boot/grub'
configfile $prefix/grub.cfg
====================== sda2/boot/grub/grub.cfg (filtered) ======================
Ubuntu f2dcb09e-d1b2-44cd-80da-bc185e67ab77
Ubuntu, avec Linux 5.13.0-52-generic f2dcb09e-d1b2-44cd-80da-bc185e67ab77
Ubuntu, avec Linux 5.13.0-19-generic f2dcb09e-d1b2-44cd-80da-bc185e67ab77
### END /etc/grub.d/30_os-prober ###
UEFI Firmware Settings uefi-firmware
### END /etc/grub.d/30_uefi-firmware ###
========================== sda2/etc/fstab (filtered) ===========================
# <file system> <mount point> <type> <options> <dump> <pass>
# / was on /dev/sda2 during installation
UUID=f2dcb09e-d1b2-44cd-80da-bc185e67ab77 / ext4 errors=remount-ro 0 1
# /boot/efi was on /dev/sda1 during installation
UUID=3D0B-1C07 /boot/efi vfat umask=0077 0 1
/swapfile none swap sw 0 0
======================= sda2/etc/default/grub (filtered) =======================
GRUB_DEFAULT=0
GRUB_TIMEOUT_STYLE=menu
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)
8,297401428 = 8,909266944 boot/grub/grub.cfg 2
9,721454620 = 10,438332416 boot/vmlinuz 1
6,539115906 = 7,021322240 boot/vmlinuz-5.13.0-19-generic 2
9,721454620 = 10,438332416 boot/vmlinuz-5.13.0-52-generic 1
6,539115906 = 7,021322240 boot/vmlinuz.old 2
10,408229828 = 11,175751680 boot/initrd.img 1
10,205036163 = 10,957574144 boot/initrd.img-5.13.0-19-generic 1
10,408229828 = 11,175751680 boot/initrd.img-5.13.0-52-generic 1
10,205036163 = 10,957574144 boot/initrd.img.old 1
===================== sda2: ls -l /etc/grub.d/ (filtered) ======================
-rwxr-xr-x 1 root root 18151 Sep 2 2021 10_linux
-rwxr-xr-x 1 root root 43031 Sep 2 2021 10_linux_zfs
-rwxr-xr-x 1 root root 12894 Sep 2 2021 20_linux_xen
-rwxr-xr-x 1 root root 12059 Sep 2 2021 30_os-prober
-rwxr-xr-x 1 root root 1424 Sep 2 2021 30_uefi-firmware
-rwxr-xr-x 1 root root 214 Sep 2 2021 40_custom
-rwxr-xr-x 1 root root 216 Sep 2 2021 41_custom
====================== sda4/boot/grub/grub.cfg (filtered) ======================
Ubuntu 3ae6f69b-b05e-4a4b-bfd8-283f8f1baa4c
Ubuntu, with Linux 5.15.0-41-generic 3ae6f69b-b05e-4a4b-bfd8-283f8f1baa4c
Ubuntu, with Linux 5.15.0-25-generic 3ae6f69b-b05e-4a4b-bfd8-283f8f1baa4c
Ubuntu 21.10 (21.10) (on sda2) f2dcb09e-d1b2-44cd-80da-bc185e67ab77
Ubuntu (on sda2) f2dcb09e-d1b2-44cd-80da-bc185e67ab77
Ubuntu, avec Linux 5.13.0-52-generic (on sda2) f2dcb09e-d1b2-44cd-80da-bc185e67ab77
Ubuntu, avec Linux 5.13.0-19-generic (on sda2) f2dcb09e-d1b2-44cd-80da-bc185e67ab77
### END /etc/grub.d/30_os-prober ###
### END /etc/grub.d/30_uefi-firmware ###
========================== sda4/etc/fstab (filtered) ===========================
# <file system> <mount point> <type> <options> <dump> <pass>
# / was on /dev/sda4 during installation
UUID=3ae6f69b-b05e-4a4b-bfd8-283f8f1baa4c / ext4 errors=remount-ro 0 1
# /boot/efi was on /dev/sda1 during installation
UUID=3D0B-1C07 /boot/efi vfat umask=0077 0 1
/swapfile none swap sw 0 0
======================= sda4/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=""
==================== sda4: Location of files loaded by Grub ====================
GiB - GB File Fragment(s)
24,095088959 = 25,871904768 boot/grub/grub.cfg 1
26,726989746 = 28,697886720 boot/grub/i386-pc/core.img 1
25,484931946 = 27,364237312 boot/vmlinuz 1
22,958980560 = 24,652017664 boot/vmlinuz-5.15.0-25-generic 2
25,484931946 = 27,364237312 boot/vmlinuz-5.15.0-41-generic 1
22,958980560 = 24,652017664 boot/vmlinuz.old 2
32,688938141 = 35,099480064 boot/initrd.img 1
31,446777344 = 33,765720064 boot/initrd.img-5.15.0-25-generic 4
32,688938141 = 35,099480064 boot/initrd.img-5.15.0-41-generic 1
31,446777344 = 33,765720064 boot/initrd.img.old 4
===================== sda4: ls -l /etc/grub.d/ (filtered) ======================
-rwxr-xr-x 1 root root 18683 Apr 15 23:50 10_linux
-rwxr-xr-x 1 root root 43031 Apr 15 23:50 10_linux_zfs
-rwxr-xr-x 1 root root 14180 Apr 15 23:50 20_linux_xen
-rwxr-xr-x 1 root root 13369 Apr 15 23:50 30_os-prober
-rwxr-xr-x 1 root root 1372 Apr 15 23:50 30_uefi-firmware
-rwxr-xr-x 1 root root 700 Feb 19 14:21 35_fwupd
-rwxr-xr-x 1 root root 214 Apr 15 23:50 40_custom
-rwxr-xr-x 1 root root 215 Apr 15 23:50 41_custom
=========================== sda4/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
Suggested repair: ______________________________________________________________
The default repair of the Boot-Repair utility would reinstall the grub-efi of
sda4,
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: __________________________________________
Please use this software in a live-session (live-CD or live-USB). This will enable this feature.
Final advice in case of suggested repair: ______________________________________
Please do not forget to make your UEFI firmware boot on the L'OS actuellement utilisé - Ubuntu 22.04 LTS CurrentSession entry (sda1/efi/****/grub****.efi (**** will be updated in the final message) file) !
Boot-info_3 depuis Ubuntu 22.04 installé démarré en mode BIOS :
boot-info-4ppa200 [20220712_1047]
============================== Boot Info Summary ===============================
=> Grub2 (v2.00) is installed in the MBR of /dev/sda and looks at sector
37496832 of the same hard drive for core.img. core.img is at this location
and looks for (,gpt4)/boot/grub. It also embeds following components:
modules
---------------------------------------------------------------------------
fshelp ext2 part_gpt biosdisk
---------------------------------------------------------------------------
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 21.10
Boot files: /boot/grub/grub.cfg /etc/fstab /etc/default/grub
sda3: __________________________________________________________________________
File system: BIOS Boot partition
Boot sector type: Grub2's core.img
Boot sector info:
sda4: __________________________________________________________________________
File system: ext4
Boot sector type: -
Boot sector info:
Operating System: Ubuntu 22.04 LTS
Boot files: /boot/grub/grub.cfg /etc/fstab /etc/default/grub
/boot/grub/i386-pc/core.img
================================ 2 OS detected =================================
OS#1: L'OS actuellement utilisé - Ubuntu 22.04 LTS CurrentSession on sda4
OS#2: Ubuntu 21.10 on sda2
================================ Host/Hardware =================================
CPU architecture: 64-bit
Video: SVGA II Adapter from VMware
BOOT_IMAGE of the installed session in use:
/boot/vmlinuz-5.15.0-41-generic root=UUID=3ae6f69b-b05e-4a4b-bfd8-283f8f1baa4c ro quiet splash
df -Th / : /dev/sda4 ext4 22G 9,2G 12G 45% /
===================================== UEFI =====================================
BIOS/UEFI firmware: VirtualBox from innotek GmbH
This installed-session is in Legacy/BIOS/CSM mode (not in EFI mode).
============================= Drive/Partition Info =============================
Disks info: ____________________________________________________________________
sda : is-GPT, hasBIOSboot, has---ESP, not-usb, not-mmc, has-os, no-wind, 2048 sectors * 512 bytes
Partitions info (1/3): _________________________________________________________
sda4 : is-os, 64, apt-get, signed grub-pc grub-efi , grub2, grub-install, grubenv-ok, update-grub, not-far
sda2 : is-os, 64, apt-get, signed grub-pc grub-efi , grub2, grub-install, grubenv-ok, update-grub, not-far
sda1 : no-os, 32, nopakmgr, no-docgrub, nogrub, nogrubinstall, no-grubenv, noupdategrub, not-far
Partitions info (2/3): _________________________________________________________
sda4 : isnotESP, fstab-has-goodEFI, 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
sda1 : is---ESP, part-has-no-fstab, no-nt, no-winload, no-recov-nor-hid, no-bmgr, notwinboot
Partitions info (3/3): _________________________________________________________
sda4 : not--sepboot, with-boot, fstab-without-boot, not-sep-usr, with--usr, fstab-without-usr, std-grub.d, sda
sda2 : not--sepboot, with-boot, fstab-without-boot, not-sep-usr, with--usr, fstab-without-usr, std-grub.d, sda
sda1 : not--sepboot, no---boot, part-has-no-fstab, not-sep-usr, no---usr, part-has-no-fstab, no--grub.d, sda
fdisk -l (filtered): ___________________________________________________________
Disk sda: 40 GiB, 42949640192 bytes, 83886016 sectors
Disk identifier: 925A16ED-458E-4ECA-85B7-4E5C6AEB675D
Start End Sectors Size Type
sda1 2048 1050623 1048576 512M EFI System
sda2 1050624 37496831 36446208 17.4G Linux filesystem
sda3 37496832 37498879 2048 1M BIOS boot
sda4 37498880 83884031 46385152 22.1G Linux filesystem
parted -lm (filtered): _________________________________________________________
sda:42.9GB:scsi:512:512:gpt:ATA VBOX HARDDISK:;
1:1049kB:538MB:537MB:fat32:EFI System Partition:boot, esp;
2:538MB:19.2GB:18.7GB:ext4::;
3:19.2GB:19.2GB:1049kB:::bios_grub;
4:19.2GB:42.9GB:23.7GB:ext4::;
blkid (filtered): ______________________________________________________________
NAME FSTYPE UUID PARTUUID LABEL PARTLABEL
sda
├─sda1 vfat 3D0B-1C07 52aa129e-e3f9-4fda-a6ff-38606fc18d49 EFI System Partition
├─sda2 ext4 f2dcb09e-d1b2-44cd-80da-bc185e67ab77 1d6e363a-aa22-4227-a760-cfbc2dbffe66
├─sda3 dd0b4a5e-0b6c-4e84-856c-a5721f3ff7d1
└─sda4 ext4 3ae6f69b-b05e-4a4b-bfd8-283f8f1baa4c ff7fed26-ef15-445f-9121-748581f4e65a
Mount points (filtered): _______________________________________________________
Avail Use% Mounted on
/dev/sda2 6.5G 56% /mnt/boot-sav/sda2
/dev/sda4 11.3G 42% /
Mount options (filtered): ______________________________________________________
/dev/sda2 ext4 rw,relatime
/dev/sda4 ext4 rw,relatime,errors=remount-ro
===================== sda1/efi/ubuntu/grub.cfg (filtered) ======================
search.fs_uuid 3ae6f69b-b05e-4a4b-bfd8-283f8f1baa4c root hd0,gpt4
set prefix=($root)'/boot/grub'
configfile $prefix/grub.cfg
====================== sda2/boot/grub/grub.cfg (filtered) ======================
Ubuntu f2dcb09e-d1b2-44cd-80da-bc185e67ab77
Ubuntu, avec Linux 5.13.0-52-generic f2dcb09e-d1b2-44cd-80da-bc185e67ab77
Ubuntu, avec Linux 5.13.0-19-generic f2dcb09e-d1b2-44cd-80da-bc185e67ab77
### END /etc/grub.d/30_os-prober ###
UEFI Firmware Settings uefi-firmware
### END /etc/grub.d/30_uefi-firmware ###
========================== sda2/etc/fstab (filtered) ===========================
# <file system> <mount point> <type> <options> <dump> <pass>
# / was on /dev/sda2 during installation
UUID=f2dcb09e-d1b2-44cd-80da-bc185e67ab77 / ext4 errors=remount-ro 0 1
# /boot/efi was on /dev/sda1 during installation
UUID=3D0B-1C07 /boot/efi vfat umask=0077 0 1
/swapfile none swap sw 0 0
======================= sda2/etc/default/grub (filtered) =======================
GRUB_DEFAULT=0
GRUB_TIMEOUT_STYLE=menu
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)
8,297401428 = 8,909266944 boot/grub/grub.cfg 2
9,721454620 = 10,438332416 boot/vmlinuz 1
6,539115906 = 7,021322240 boot/vmlinuz-5.13.0-19-generic 2
9,721454620 = 10,438332416 boot/vmlinuz-5.13.0-52-generic 1
6,539115906 = 7,021322240 boot/vmlinuz.old 2
10,408229828 = 11,175751680 boot/initrd.img 1
10,205036163 = 10,957574144 boot/initrd.img-5.13.0-19-generic 1
10,408229828 = 11,175751680 boot/initrd.img-5.13.0-52-generic 1
10,205036163 = 10,957574144 boot/initrd.img.old 1
===================== sda2: ls -l /etc/grub.d/ (filtered) ======================
-rwxr-xr-x 1 root root 18151 Sep 2 2021 10_linux
-rwxr-xr-x 1 root root 43031 Sep 2 2021 10_linux_zfs
-rwxr-xr-x 1 root root 12894 Sep 2 2021 20_linux_xen
-rwxr-xr-x 1 root root 12059 Sep 2 2021 30_os-prober
-rwxr-xr-x 1 root root 1424 Sep 2 2021 30_uefi-firmware
-rwxr-xr-x 1 root root 214 Sep 2 2021 40_custom
-rwxr-xr-x 1 root root 216 Sep 2 2021 41_custom
====================== sda4/boot/grub/grub.cfg (filtered) ======================
Ubuntu 3ae6f69b-b05e-4a4b-bfd8-283f8f1baa4c
Ubuntu, with Linux 5.15.0-41-generic 3ae6f69b-b05e-4a4b-bfd8-283f8f1baa4c
Ubuntu, with Linux 5.15.0-25-generic 3ae6f69b-b05e-4a4b-bfd8-283f8f1baa4c
Ubuntu 21.10 (21.10) (on sda2) f2dcb09e-d1b2-44cd-80da-bc185e67ab77
Ubuntu (on sda2) f2dcb09e-d1b2-44cd-80da-bc185e67ab77
Ubuntu, avec Linux 5.13.0-52-generic (on sda2) f2dcb09e-d1b2-44cd-80da-bc185e67ab77
Ubuntu, avec Linux 5.13.0-19-generic (on sda2) f2dcb09e-d1b2-44cd-80da-bc185e67ab77
### END /etc/grub.d/30_os-prober ###
### END /etc/grub.d/30_uefi-firmware ###
========================== sda4/etc/fstab (filtered) ===========================
# <file system> <mount point> <type> <options> <dump> <pass>
# / was on /dev/sda4 during installation
UUID=3ae6f69b-b05e-4a4b-bfd8-283f8f1baa4c / ext4 errors=remount-ro 0 1
# /boot/efi was on /dev/sda1 during installation
UUID=3D0B-1C07 /boot/efi vfat umask=0077 0 1
/swapfile none swap sw 0 0
======================= sda4/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=""
==================== sda4: Location of files loaded by Grub ====================
GiB - GB File Fragment(s)
24,095088959 = 25,871904768 boot/grub/grub.cfg 1
26,726989746 = 28,697886720 boot/grub/i386-pc/core.img 1
25,484931946 = 27,364237312 boot/vmlinuz 1
22,958980560 = 24,652017664 boot/vmlinuz-5.15.0-25-generic 2
25,484931946 = 27,364237312 boot/vmlinuz-5.15.0-41-generic 1
22,958980560 = 24,652017664 boot/vmlinuz.old 2
32,688938141 = 35,099480064 boot/initrd.img 1
31,446777344 = 33,765720064 boot/initrd.img-5.15.0-25-generic 4
32,688938141 = 35,099480064 boot/initrd.img-5.15.0-41-generic 1
31,446777344 = 33,765720064 boot/initrd.img.old 4
===================== sda4: ls -l /etc/grub.d/ (filtered) ======================
-rwxr-xr-x 1 root root 18683 Apr 15 23:50 10_linux
-rwxr-xr-x 1 root root 43031 Apr 15 23:50 10_linux_zfs
-rwxr-xr-x 1 root root 14180 Apr 15 23:50 20_linux_xen
-rwxr-xr-x 1 root root 13369 Apr 15 23:50 30_os-prober
-rwxr-xr-x 1 root root 1372 Apr 15 23:50 30_uefi-firmware
-rwxr-xr-x 1 root root 700 Feb 19 14:21 35_fwupd
-rwxr-xr-x 1 root root 214 Apr 15 23:50 40_custom
-rwxr-xr-x 1 root root 215 Apr 15 23:50 41_custom
=========================== sda4/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
Suggested repair: ______________________________________________________________
The default repair of the Boot-Repair utility would reinstall the grub-efi of
sda4,
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: __________________________________________
Please use this software in a live-session (live-CD or live-USB). This will enable this feature.
Final advice in case of suggested repair: ______________________________________
Please do not forget to make your UEFI firmware boot on the L'OS actuellement utilisé - Ubuntu 22.04 LTS CurrentSession entry (sda1/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.
Mes commentaires :
Dans l'item 2 (installation lancée depuis une session live démarrée en mode BIOS de Ubuntu 22.04), on peut voir que l'installateur de Ubuntu 22.04 crée une installation qui peut être démarrée en mode UEFI (Boot-info_2) ou en mode BIOS (Boot-info_3).
On notera que dans l'item 2, il y a eu création d'une partition "BIOS Boot partition" alors que ça n'existe pas dans l'item 1.
Dernière modification par malbo (Le 16/07/2022, à 06:27)
Hors ligne
#2 Le 15/07/2022, à 20:21
- Doc Brown
Re : [Résolu] choix "Installer Ubuntu 22.04 LTS à côté de ... "
1) L'installation est lancée depuis une session live démarrée en mode UEFI de Ubuntu 22.04 avec le choix "Installer Ubuntu 22.04 à côté de Ubuntu 21.10" : capture-1
Il faut faire le choix : Autre chose qui va t'afficher toutes les partitions de ton disque dont la vide que tu a préparée pour accueillir ton nouveau /
Il faudra cocher la case en face de cette partition vide, confirmer son formatage et s'ouvrira une fenêtre avec des choix dont /
en ne cochant aucune autre case, tu auras la surprise de constater que ton /home sera commun aux deux systèmes
Dernière modification par Doc Brown (Le 15/07/2022, à 20:27)
Membre de linux-azur
Insérer image
Conseils pour les nouveaux demandeurs et pas qu'eux copie de la signature de xubu1957
Hors ligne
#3 Le 16/07/2022, à 06:25
- malbo
Re : [Résolu] choix "Installer Ubuntu 22.04 LTS à côté de ... "
Bonjour,
Le choix "Autre chose" est certainement préférable. J'ai voulu faire le parcours du choix "Installer Ubuntu 22.04 à côté de..." pour voir ce que ça donne. Je rajoute "Résolu" dans le titre parce que je ne demande pas d'aide.
Dernière modification par malbo (Le 16/07/2022, à 06:25)
Hors ligne