Contenu | Rechercher | Menus

Annonce

Si vous avez des soucis pour rester connecté, déconnectez-vous puis reconnectez-vous depuis ce lien en cochant la case
Me connecter automatiquement lors de mes prochaines visites.

À propos de l'équipe du forum.

#1 Le 27/04/2022, à 09:24

lherbaux

[résolu] cafouillage à l'installation

bonjour,
j'ai d'abords installer ubuntu sur un vieux disque dur, puis j'ai eut un nouveau ssd.
j'ai cafouillé en faisant l'installation de ubuntu mate sur le ssd : j'ai voulu mettre ubuntu sur le ssd et le home sur le vieux disque dur.
je voudrais être sur que tout ubuntu soit bien dans le ssd, quel manipulation je dois faire pour vérifier cela ?
et je me demande s'il n'y a pas des restes de ubuntu sur l'ancien disque dur, comment puis-je supprimer cela ?
merci d'avance.
à bientôt.

Dernière modification par lherbaux (Le 10/05/2022, à 10:26)

Hors ligne

#2 Le 27/04/2022, à 11:55

erresse

Re : [résolu] cafouillage à l'installation

Bonjour,
C'est bien compris que tu as "cafouillé", mais... qu'est-ce que tu as fait précisément ?
On n'a aucune idée de comment tu as installé ton système entre le SSD et le HDD.
Personnellement, je t'aurais conseillé de ne pas tenir compte du tout de ton HDD lors de l'installation et de tout mettre dans le SSD. Il suffit ensuite de se créer une partition vide sur le HDD pour y enregistrer tes données personnelles et d'y transférer les répertoires standard de données (Documents, Images, Musique, etc.) depuis le $HOME du SSD vers le HDD. Créer ensuite dans le $HOME les liens symboliques permettant au système de trouver ces répertoires standard au bon endroit et le tour est joué.
Mais pour l'heure, il va sans doute te falloir faire un boot-info et mettre le lien ici pour que les aidants puissent se faire une idée de l'état des lieux de ton système.


Plus de 50 ans d'informatique, ça en fait des lignes de commandes en console, mais on n'avait pas le choix...
Excellente raison pour, aujourd'hui qu'on le peut, utiliser au maximum les INTERFACES GRAPHIQUES !
Important : Une fois résolu, pensez à clore votre sujet en ajoutant [Résolu] devant le titre du 1er message, et un bref récapitulatif de la solution à la fin de celui-ci. Merci.

Hors ligne

#3 Le 28/04/2022, à 20:32

lherbaux

Re : [résolu] cafouillage à l'installation

boot-repair-4ppa125                                              [20220428_1831]

============================== 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 (,msdos1)/boot/grub. It also embeds following components:
    
    modules
    ---------------------------------------------------------------------------
    fshelp ext2 part_msdos biosdisk
    ---------------------------------------------------------------------------
 => No boot loader is installed in the MBR of /dev/sdb.

sda1: __________________________________________________________________________

    File system:       ext4
    Boot sector type:  -
    Boot sector info: 
    Operating System:  Ubuntu 20.04.4 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/fbx64.efi /efi/BOOT/mmx64.efi 
                       /efi/ubuntu/grubx64.efi /efi/ubuntu/mmx64.efi 
                       /efi/ubuntu/shimx64.efi /efi/ubuntu/grub.cfg

sdb2: __________________________________________________________________________

    File system:       ext4
    Boot sector type:  -
    Boot sector info: 
    Operating System:  Ubuntu 20.04.4 LTS
    Boot files:        /boot/grub/grub.cfg /etc/fstab /etc/default/grub


================================ 2 OS detected =================================

OS#1:   Ubuntu 20.04.4 LTS on sda1
OS#2:   Ubuntu 20.04.4 LTS on sdb2

============================ 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: 0026
Timeout: 1 seconds
BootOrder: 0000,001F,0020,0026,0021,0023,0025
Boot0000* ubuntu	HD(1,GPT,af41089b-948f-4ba0-9d92-487361f61a78,0x800,0x100000)/File(\EFI\ubuntu\shimx64.efi)
Boot001F* ubuntu	HD(1,GPT,af41089b-948f-4ba0-9d92-487361f61a78,0x800,0x100000)/File(\EFI\Ubuntu\grubx64.efi)
Boot0020* UEFI OS	HD(1,GPT,af41089b-948f-4ba0-9d92-487361f61a78,0x800,0x100000)/File(\EFI\BOOT\BOOTX64.EFI)
Boot0021* ATAPI   iHAS124   B	BBS(CDROM,,0x0)AMBO
Boot0023* SAMSUNG HD322HJ	BBS(HD,,0x0)AMBO
Boot0025* Samsung SSD 870 EVO 250GB	BBS(HD,,0x0)AMBO
Boot0026* UEFI: ATAPI   iHAS124   B	PciRoot(0x0)/Pci(0x1f,0x2)/Sata(4,65535,0)/CDROM(1,0xf1,0x1340)AMBO

85fa9d77b929ec4231aba29476574eb6   sdb1/BOOT/fbx64.efi
469e608783843a701d172242f016c79c   sdb1/BOOT/mmx64.efi
fa1bf1a7f90a852abe0bdbd089b7f1b0   sdb1/ubuntu/grubx64.efi
469e608783843a701d172242f016c79c   sdb1/ubuntu/mmx64.efi
728124f6ec8e22fbdbe7034812c81b95   sdb1/ubuntu/shimx64.efi
728124f6ec8e22fbdbe7034812c81b95   sdb1/BOOT/BOOTX64.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,	no-BIOSboot,	has---ESP, 	not-usb,	not-mmc, has-os,	2048 sectors * 512 bytes

Partitions info (1/3): _________________________________________________________

sda1	: 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,	farbios

Partitions info (2/3): _________________________________________________________

sda1	: 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,	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: 232.9 GiB, 250059350016 bytes, 488397168 sectors
Disk identifier: 0x768d1047
      Boot Start       End   Sectors   Size Id Type
sda1  *     2048 488396799 488394752 232.9G 83 Linux
Disk sdb: 298.1 GiB, 320072933376 bytes, 625142448 sectors
Disk identifier: D514F1D7-3B12-4304-9619-464DDF7C6517
        Start       End   Sectors   Size Type
sdb1     2048   1050623   1048576   512M EFI System
sdb2  1050624 625141759 624091136 297.6G Linux filesystem
Disk zram0: 951.4 MiB, 997654528 bytes, 243568 sectors
Disk zram1: 951.4 MiB, 997654528 bytes, 243568 sectors

parted -lm (filtered): _________________________________________________________

sda:250GB:scsi:512:512:msdos:ATA Samsung SSD 870:;
1:1049kB:250GB:250GB:ext4::boot;
sdb:320GB:scsi:512:512:gpt:ATA SAMSUNG HD322HJ:;
1:1049kB:538MB:537MB:fat32:EFI System Partition:boot, esp;
2:538MB:320GB:320GB:ext4::;
zram1:998MB:unknown:4096:4096:loop:Unknown:;
1:0.00B:998MB:998MB:linux-swap(v1)::;
sr0:923MB:scsi:2048:2048:msdos:ATAPI iHAS124 B:;
2:1974kB:12.1MB:10.1MB:::esp;
zram0:998MB:unknown:4096:4096:loop:Unknown:;
1:0.00B:998MB:998MB:linux-swap(v1)::;

blkid (filtered): ______________________________________________________________

NAME   FSTYPE   UUID                                 PARTUUID                             LABEL                  PARTLABEL
sda                                                                                                              
└─sda1 ext4     46e2fdce-a2c3-4fc3-9a43-ebe2cd297b36 768d1047-01                                                 
sdb                                                                                                              
├─sdb1 vfat     805D-5E56                            af41089b-948f-4ba0-9d92-487361f61a78                        EFI System Partition
└─sdb2 ext4     56e16699-db69-4c98-9def-447b6bb72dc5 4f1f3263-4bc3-4832-867a-b54ac9fc93fe                        
zram0                                                                                                            
zram1                                                                                                            

df (filtered): _________________________________________________________________

       Avail Use% Mounted on
sda1     207G   4% /mnt/boot-sav/sda1
sdb1   505.8M   1% /mnt/boot-sav/sdb1
sdb2   255.1G   8% /mnt/boot-sav/sdb2

Mount options: __________________________________________________________________

sda1   rw,relatime
sdb1   rw,relatime,fmask=0022,dmask=0022,codepage=437,iocharset=iso8859-1,shortname=mixed,errors=remount-ro
sdb2   rw,relatime

====================== sda1/boot/grub/grub.cfg (filtered) ======================

Ubuntu   46e2fdce-a2c3-4fc3-9a43-ebe2cd297b36
Ubuntu, avec Linux 5.13.0-40-generic   46e2fdce-a2c3-4fc3-9a43-ebe2cd297b36
Ubuntu, avec Linux 5.13.0-39-generic   46e2fdce-a2c3-4fc3-9a43-ebe2cd297b36
Ubuntu 20.04.4 LTS (20.04) (sur sdb2)   56e16699-db69-4c98-9def-447b6bb72dc5
Ubuntu (sur sdb2)   56e16699-db69-4c98-9def-447b6bb72dc5
Ubuntu, avec Linux 5.13.0-39-generic (sur sdb2)   56e16699-db69-4c98-9def-447b6bb72dc5
Ubuntu, avec Linux 5.13.0-37-generic (sur sdb2)   56e16699-db69-4c98-9def-447b6bb72dc5
Ubuntu 20.04.4 LTS (20.04) (sur sda1) (sur sdb2)   56e16699-db69-4c98-9def-447b6bb72dc5
Ubuntu (sur sda1) (sur sdb2)   56e16699-db69-4c98-9def-447b6bb72dc5
Ubuntu, avec Linux 5.13.0-39-generic (sur sda1) (sur sdb2)   56e16699-db69-4c98-9def-447b6bb72dc5
Ubuntu 20.04.4 LTS (20.04) (sur sdb2) (sur sda1) (sur sdb2)   56e16699-db69-4c98-9def-447b6bb72dc5
Ubuntu (sur sdb2) (sur sda1) (sur sdb2)   56e16699-db69-4c98-9def-447b6bb72dc5
Ubuntu, avec Linux 5.13.0-39-generic (sur sdb2) (sur sda1) (sur sdb2)   56e16699-db69-4c98-9def-447b6bb72dc5
### END /etc/grub.d/30_os-prober ###
UEFI Firmware Settings   uefi-firmware
### END /etc/grub.d/30_uefi-firmware ###

========================== sda1/etc/fstab (filtered) ===========================

# <file system> <mount point>   <type>  <options>       <dump>  <pass>
# / was on /dev/sda1 during installation
UUID=46e2fdce-a2c3-4fc3-9a43-ebe2cd297b36 /               ext4    errors=remount-ro 0       1
# /home was on /dev/sdb2 during installation
UUID=56e16699-db69-4c98-9def-447b6bb72dc5 /home           ext4    defaults        0       2
/swapfile                                 none            swap    sw              0       0

======================= sda1/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=""

==================== sda1: Location of files loaded by Grub ====================

           GiB - GB             File                                 Fragment(s)
  32.767002106 = 35.183300608   boot/grub/grub.cfg                             1
  78.141929626 = 83.904258048   boot/grub/i386-pc/core.img                     1
  10.307327271 = 11.067408384   boot/vmlinuz                                   1
   6.612010956 = 7.099592704    boot/vmlinuz-5.13.0-39-generic                 1
  10.307327271 = 11.067408384   boot/vmlinuz-5.13.0-40-generic                 1
   6.612010956 = 7.099592704    boot/vmlinuz.old                               1
  10.774410248 = 11.568934912   boot/initrd.img                                3
   2.367530823 = 2.542116864    boot/initrd.img-5.13.0-39-generic              2
  10.774410248 = 11.568934912   boot/initrd.img-5.13.0-40-generic              3
   2.367530823 = 2.542116864    boot/initrd.img.old                            2

===================== sda1: ls -l /etc/grub.d/ (filtered) ======================

-rwxr-xr-x 1 root root 18224 Jan 11 15:09 10_linux
-rwxr-xr-x 1 root root 42359 Aug 12  2021 10_linux_zfs
-rwxr-xr-x 1 root root 12894 Aug 12  2021 20_linux_xen
-rwxr-xr-x 1 root root 12059 Aug 12  2021 30_os-prober
-rwxr-xr-x 1 root root  1424 Aug 12  2021 30_uefi-firmware
-rwxr-xr-x 1 root root   700 Feb 21 03:06 35_fwupd
-rwxr-xr-x 1 root root   214 Aug 12  2021 40_custom
-rwxr-xr-x 1 root root   216 Aug 12  2021 41_custom

=========================== sda1/etc/grub.d/35_fwupd ===========================

#! /bin/sh
# SPDX-License-Identifier: LGPL-2.1+
set -e
[ -d ${pkgdatadir:?} ]
# shellcheck source=/dev/null
. "$pkgdatadir/grub-mkconfig_lib"
if [ -f /var/lib/fwupd/uefi_capsule.conf ] &&
   ls /sys/firmware/efi/efivars/fwupd-*-0abba7dc-e516-4167-bbf5-4d9d1c739416 1>/dev/null 2>&1; then
      . /var/lib/fwupd/uefi_capsule.conf
      if [ "${EFI_PATH}" != "" ] && [ "${ESP}" != "" ]; then
      echo "Adding Linux Firmware Updater entry" >&2
cat << EOF
menuentry 'Linux Firmware Updater' \$menuentry_id_option 'fwupd' {
EOF
      ${grub_probe:?}
      prepare_grub_to_access_device '`${grub_probe} --target=device \${ESP}` | sed -e "s/^/\t/"'
cat << EOF
	chainloader ${EFI_PATH}
}
EOF
      fi
fi

===================== sdb1/efi/ubuntu/grub.cfg (filtered) ======================

search.fs_uuid 56e16699-db69-4c98-9def-447b6bb72dc5 root hd2,gpt2 
set prefix=($root)'/boot/grub'
configfile $prefix/grub.cfg

====================== sdb2/boot/grub/grub.cfg (filtered) ======================

Ubuntu   56e16699-db69-4c98-9def-447b6bb72dc5
Ubuntu, avec Linux 5.13.0-39-generic   56e16699-db69-4c98-9def-447b6bb72dc5
Ubuntu, avec Linux 5.13.0-37-generic   56e16699-db69-4c98-9def-447b6bb72dc5
Ubuntu 20.04.4 LTS (20.04) (sur sda1)   46e2fdce-a2c3-4fc3-9a43-ebe2cd297b36
Ubuntu (sur sda1)   46e2fdce-a2c3-4fc3-9a43-ebe2cd297b36
Ubuntu, avec Linux 5.13.0-39-generic (sur sda1)   46e2fdce-a2c3-4fc3-9a43-ebe2cd297b36
Ubuntu, avec Linux 5.13.0-30-generic (sur sda1)   46e2fdce-a2c3-4fc3-9a43-ebe2cd297b36
Ubuntu 20.04.4 LTS (20.04) (sur sdb2) (sur sda1)   46e2fdce-a2c3-4fc3-9a43-ebe2cd297b36
Ubuntu (sur sdb2) (sur sda1)   46e2fdce-a2c3-4fc3-9a43-ebe2cd297b36
Ubuntu, avec Linux 5.13.0-39-generic (sur sdb2) (sur sda1)   46e2fdce-a2c3-4fc3-9a43-ebe2cd297b36
### END /etc/grub.d/30_os-prober ###
UEFI Firmware Settings   uefi-firmware
### END /etc/grub.d/30_uefi-firmware ###

========================== sdb2/etc/fstab (filtered) ===========================

# <file system> <mount point>   <type>  <options>       <dump>  <pass>
# / was on /dev/sdc2 during installation
UUID=56e16699-db69-4c98-9def-447b6bb72dc5 /               ext4    errors=remount-ro 0       1
# /boot/efi was on /dev/sdc1 during installation
UUID=805D-5E56  /boot/efi       vfat    umask=0077      0       1
/swapfile                                 none            swap    sw              0       0

======================= sdb2/etc/default/grub (filtered) =======================

GRUB_DEFAULT="Ubuntu 20.04.4 LTS (20.04) (sur /dev/sda1)"
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_SAVEDEFAULT="false"
==================== sdb2: Location of files loaded by Grub ====================

           GiB - GB             File                                 Fragment(s)
 268.141124725 = 287.914340352  boot/grub/grub.cfg                             2
  17.494823456 = 18.784923648   boot/vmlinuz                                   1
 126.635448456 = 135.973777408  boot/vmlinuz-5.13.0-37-generic                 1
  17.494823456 = 18.784923648   boot/vmlinuz-5.13.0-39-generic                 1
 126.635448456 = 135.973777408  boot/vmlinuz.old                               1
  17.951648712 = 19.275436032   boot/initrd.img                                3
  15.842277527 = 17.010515968   boot/initrd.img-5.13.0-37-generic              4
  17.951648712 = 19.275436032   boot/initrd.img-5.13.0-39-generic              3
  15.842277527 = 17.010515968   boot/initrd.img.old                            4

===================== sdb2: ls -l /etc/grub.d/ (filtered) ======================

-rwxr-xr-x 1 root root 18224 Jan 11 15:09 10_linux
-rwxr-xr-x 1 root root 42359 Jan 13  2021 10_linux_zfs
-rwxr-xr-x 1 root root 12894 Jan 13  2021 20_linux_xen
-rwxr-xr-x 1 root root 12059 Jan 13  2021 30_os-prober
-rwxr-xr-x 1 root root  1424 Jan 13  2021 30_uefi-firmware
-rwxr-xr-x 1 root root   700 Feb 21 03:06 35_fwupd
-rwxr-xr-x 1 root root   214 Jan 13  2021 40_custom
-rwxr-xr-x 1 root root   216 Jan 13  2021 41_custom
drwxr-xr-x 4 root root  4096 Apr  9 14:13 backup

=========================== sdb2/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


=============================== StdErr Messages ================================

File descriptor 63 (pipe:[43801]) leaked on lvs invocation. Parent PID 3870: /bin/bash

Suggested repair: ______________________________________________________________

The default repair of the Boot-Repair utility would purge (in order to fix packages) and reinstall the grub-efi-amd64-signed of
sda1,
using the following options:        sdb1/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 20.04.4 LTS entry (sdb1/efi/****/shim****.efi (**** will be updated in the final message) file) !

Hors ligne

#4 Le 29/04/2022, à 14:18

erresse

Re : [résolu] cafouillage à l'installation

De ce que je comprends de ce boot-info, il semble que tu as installé deux fois le même système 20.04, une fois sur /dev/sda1 en mode legacy et une autre sur /dev/sdb1 et 2 en mode UEFI...
Personnellement, je ne me sens pas de te conseiller sur ce qu'il convient de faire en l'occurrence, je pense qu'il vaut mieux attendre un peu que des aidants plus pointus que moi sur le sujet se manifestent.
Désolé, je continue à suivre la conversation...


Plus de 50 ans d'informatique, ça en fait des lignes de commandes en console, mais on n'avait pas le choix...
Excellente raison pour, aujourd'hui qu'on le peut, utiliser au maximum les INTERFACES GRAPHIQUES !
Important : Une fois résolu, pensez à clore votre sujet en ajoutant [Résolu] devant le titre du 1er message, et un bref récapitulatif de la solution à la fin de celui-ci. Merci.

Hors ligne

#5 Le 29/04/2022, à 14:31

Korak

Re : [résolu] cafouillage à l'installation

Bonjour,

L'idéal est ceci :

boot-repair-4ppa200                                              [20220429_1429]

============================== Boot Info Summary ===============================

 => No boot loader is installed in the MBR of /dev/sda.

sda1: __________________________________________________________________________

    File system:       ntfs
    Boot sector type:  Windows 8/10/11/2012: NTFS
    Boot sector info:  No errors found in the Boot Parameter Block.
    Operating System:  
    Boot files:        

sda2: __________________________________________________________________________

    File system:       vfat
    Boot sector type:  Windows 8/10/11/2012: FAT32
    Boot sector info:  No errors found in the Boot Parameter Block.
    Operating System:  
    Boot files:        /efi/Boot/bootx64.efi /efi/Boot/fbx64.efi 
                       /efi/Boot/mmx64.efi /efi/ubuntu/grubx64.efi 
                       /efi/ubuntu/mmx64.efi /efi/ubuntu/shimx64.efi 
                       /efi/ubuntu/grub.cfg /efi/Microsoft/Boot/bootmgfw.efi 
                       /efi/Microsoft/Boot/bootmgr.efi

sda3: __________________________________________________________________________

    File system:       
    Boot sector type:  -
    Boot sector info: 

sda4: __________________________________________________________________________

    File system:       ntfs
    Boot sector type:  Windows 8/10/11/2012: NTFS
    Boot sector info:  No errors found in the Boot Parameter Block.
    Operating System:  Windows 8 or 10
    Boot files:        /Windows/System32/winload.exe

sda5: __________________________________________________________________________

    File system:       ntfs
    Boot sector type:  Windows 8/10/11/2012: NTFS
    Boot sector info:  No errors found in the Boot Parameter Block.
    Operating System:  
    Boot files:        

sda6: __________________________________________________________________________

    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 sda6
OS#2:   Windows 8 or 10 on sda4

================================ Host/Hardware =================================

CPU architecture: 64-bit
Video: Mullins [Radeon R4/R5 Graphics] Topaz XT [Radeon R7 M260/M265 / M340/M360 / M440/M445 / 530/535 / 620/625 Mobile] from Advanced Micro Devices, Inc. [AMD/ATI] Advanced Micro Devices, Inc. [AMD/ATI]
BOOT_IMAGE of the installed session in use:
/boot/vmlinuz-5.15.0-27-generic root=UUID=da625417-f557-4818-9bef-a5f3cb5ca883 ro quiet splash vt.handoff=7
df -Th / : /dev/sda6        ext4   456G     15G  418G   4% /

===================================== UEFI =====================================

BIOS/UEFI firmware: F.44(15.68) from American Megatrends Inc.
The firmware is EFI-compatible, and is set in EFI-mode for this installed-session.
SecureBoot enabled but mokutil says: SecureBoot enabled - Veuillez indiquer ce message à boot.repair@gmail.com.
BootCurrent: 0001
Timeout: 0 seconds
BootOrder: 0001,0000,0004,9999,9998
Boot0000* Windows Boot Manager	HD(2,GPT,88f258eb-241a-4414-a36a-40d70f901b3c,0xe1800,0x32000)/File(\EFI\Microsoft\Boot\bootmgfw.efi)WINDOWS.........x...B.C.D.O.B.J.E.C.T.=.{.9.d.e.a.8.6.2.c.-.5.c.d.d.-.4.e.7.0.-.a.c.c.1.-.f.3.2.b.3.4.4.d.4.7.9.5.}...a................
Boot0001* ubuntu	HD(2,GPT,88f258eb-241a-4414-a36a-40d70f901b3c,0xe1800,0x32000)/File(\EFI\ubuntu\shimx64.efi)
Boot0004* Internal Hard Disk	PciRoot(0x0)/Pci(0x11,0x0)/Sata(0,65535,0)/HD(2,GPT,88f258eb-241a-4414-a36a-40d70f901b3c,0xe1800,0x32000)..BO
Boot9998* Internal CD/DVD ROM Drive(UEFI)	PciRoot(0x0)/Pci(0x1d,0x0)/USB(16,0)....BO
Boot9999* USB Drive (UEFI)	PciRoot(0x0)/Pci(0x1d,0x0)/USB(16,0)..BO


============================= Drive/Partition Info =============================

Disks info: ____________________________________________________________________

sda	: is-GPT,	no-BIOSboot,	has---ESP, 	not-usb,	not-mmc, has-os,	has-win,	2048 sectors * 512 bytes

Partitions info (1/3): _________________________________________________________

sda6	: is-os,	64, apt-get,	signed grub-pc grub-efi ,	grub2,	grub-install,	grubenv-ok,	update-grub,	farbios
sda4	: is-os,	32, nopakmgr,	no-docgrub,	nogrub,	nogrubinstall,	no-grubenv,	noupdategrub,	farbios
sda2	: no-os,	32, nopakmgr,	no-docgrub,	nogrub,	nogrubinstall,	no-grubenv,	noupdategrub,	not-far
sda5	: no-os,	32, nopakmgr,	no-docgrub,	nogrub,	nogrubinstall,	no-grubenv,	noupdategrub,	farbios
sda1	: no-os,	32, nopakmgr,	no-docgrub,	nogrub,	nogrubinstall,	no-grubenv,	noupdategrub,	not-far

Partitions info (2/3): _________________________________________________________

sda6	: isnotESP,	fstab-has-goodEFI,	no-nt,	no-winload,	no-recov-nor-hid,	no-bmgr,	notwinboot
sda4	: isnotESP,	part-has-no-fstab,	no-nt,	haswinload,	no-recov-nor-hid,	no-bmgr,	notwinboot
sda2	: is---ESP,	part-has-no-fstab,	no-nt,	no-winload,	no-recov-nor-hid,	no-bmgr,	notwinboot
sda5	: isnotESP,	part-has-no-fstab,	no-nt,	no-winload,	recovery-or-hidden,	no-bmgr,	notwinboot
sda1	: isnotESP,	part-has-no-fstab,	no-nt,	no-winload,	recovery-or-hidden,	no-bmgr,	notwinboot

Partitions info (3/3): _________________________________________________________

sda6	: not--sepboot,	with-boot,	fstab-without-boot,	not-sep-usr,	with--usr,	fstab-without-usr,	std-grub.d,	sda
sda4	: not--sepboot,	no---boot,	part-has-no-fstab,	not-sep-usr,	no---usr,	part-has-no-fstab,	no--grub.d,	sda
sda2	: not--sepboot,	no---boot,	part-has-no-fstab,	not-sep-usr,	no---usr,	part-has-no-fstab,	no--grub.d,	sda
sda5	: not--sepboot,	no---boot,	part-has-no-fstab,	not-sep-usr,	no---usr,	part-has-no-fstab,	no--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: 931.51 GiB, 1000204886016 bytes, 1953525168 sectors
Disk identifier: 1D5E4A26-88B3-43D7-B723-0014A066292D
          Start        End   Sectors   Size Type
sda1       2048     923647    921600   450M Windows recovery environment
sda2     923648    1128447    204800   100M EFI System
sda3    1128448    1161215     32768    16M Microsoft reserved
sda4    1161216  979415204 978253989 466.5G Microsoft basic data
sda5  979417088  980721663   1304576   637M Windows recovery environment
sda6  980721664 1953523711 972802048 463.9G Linux filesystem

parted -lm (filtered): _________________________________________________________

sda:1000GB:scsi:512:4096:gpt:ATA HGST HTS541010A9:;
1:1049kB:473MB:472MB:ntfs:Basic data partition:hidden, diag;
2:473MB:578MB:105MB:fat32:EFI system partition:boot, esp;
3:578MB:595MB:16.8MB::Microsoft reserved partition:msftres;
4:595MB:501GB:501GB:ntfs:Basic data partition:msftdata;
5:501GB:502GB:668MB:ntfs::hidden, diag;
6:502GB:1000GB:498GB:ext4::;

blkid (filtered): ______________________________________________________________

NAME   FSTYPE   UUID                                 PARTUUID                             LABEL        PARTLABEL
sda                                                                                                    
├─sda1 ntfs     70F03522F034F048                     2e60fefb-9d42-4052-bbf2-74af78874992 Récupération Basic data partition
├─sda2 vfat     9637-608E                            88f258eb-241a-4414-a36a-40d70f901b3c              EFI system partition
├─sda3                                               d55b4e45-0dc9-4181-aa91-502548fce3e6              Microsoft reserved partition
├─sda4 ntfs     F8903AED903AB1CC                     73393e85-85a3-4daa-be03-cac5f780ded8              Basic data partition
├─sda5 ntfs     AC36F05736F0244C                     8b22ba7c-bb0f-470b-9555-17cbb8e12e5c              
└─sda6 ext4     da625417-f557-4818-9bef-a5f3cb5ca883 5175aa5b-151d-4cd1-96f0-e8b96e598775              

Mount points (filtered): _______________________________________________________

                        Avail Use% Mounted on
/dev/sda1              437.8M   3% /mnt/boot-sav/sda1
/dev/sda4              389.3G  17% /mnt/boot-sav/sda4
/dev/sda5               85.6M  87% /mnt/boot-sav/sda5
/dev/sda6              417.3G   3% /

Mount options (filtered): ______________________________________________________

/dev/sda1              fuseblk         rw,relatime,user_id=0,group_id=0,allow_other,blksize=4096
/dev/sda4              fuseblk         rw,relatime,user_id=0,group_id=0,allow_other,blksize=4096
/dev/sda5              fuseblk         rw,relatime,user_id=0,group_id=0,allow_other,blksize=4096
/dev/sda6              ext4            rw,relatime,errors=remount-ro

===================== sda2/efi/ubuntu/grub.cfg (filtered) ======================

search.fs_uuid da625417-f557-4818-9bef-a5f3cb5ca883 root hd0,gpt6 
set prefix=($root)'/boot/grub'
configfile $prefix/grub.cfg

====================== sda6/boot/grub/grub.cfg (filtered) ======================

Ubuntu   da625417-f557-4818-9bef-a5f3cb5ca883
Ubuntu, with Linux 5.15.0-27-generic   da625417-f557-4818-9bef-a5f3cb5ca883
Ubuntu, with Linux 5.15.0-25-generic   da625417-f557-4818-9bef-a5f3cb5ca883
Windows Boot Manager (on sda2)   osprober-efi-9637-608E
### END /etc/grub.d/30_os-prober ###
UEFI Firmware Settings   uefi-firmware
### END /etc/grub.d/30_uefi-firmware ###

========================== sda6/etc/fstab (filtered) ===========================

# <file system> <mount point>   <type>  <options>       <dump>  <pass>
# / was on /dev/sda6 during installation
UUID=da625417-f557-4818-9bef-a5f3cb5ca883 /               ext4    errors=remount-ro 0       1
# /boot/efi was on /dev/sda2 during installation
UUID=9637-608E  /boot/efi       vfat    umask=0077      0       1
/swapfile                                 none            swap    sw              0       0

======================= sda6/etc/default/grub (filtered) =======================

GRUB_DEFAULT=0
GRUB_TIMEOUT_STYLE=hidden
GRUB_TIMEOUT=10
GRUB_DISTRIBUTOR=`lsb_release -i -s 2> /dev/null || echo Debian`
GRUB_CMDLINE_LINUX_DEFAULT="quiet splash"
GRUB_CMDLINE_LINUX=""

==================== sda6: Location of files loaded by Grub ====================

           GiB - GB             File                                 Fragment(s)
 629,793601990 = 676,235730944  boot/grub/grub.cfg                             1
 478,076709747 = 513,330958336  boot/vmlinuz                                   1
 472,772029877 = 507,635101696  boot/vmlinuz-5.15.0-25-generic                 1
 478,076709747 = 513,330958336  boot/vmlinuz-5.15.0-27-generic                 1
 472,772029877 = 507,635101696  boot/vmlinuz.old                               1
 478,639705658 = 513,935470592  boot/initrd.img                                1
 750,545982361 = 805,892612096  boot/initrd.img-5.15.0-25-generic              2
 478,639705658 = 513,935470592  boot/initrd.img-5.15.0-27-generic              1
 750,545982361 = 805,892612096  boot/initrd.img.old                            2

===================== sda6: ls -l /etc/grub.d/ (filtered) ======================

-rwxr-xr-x 1 root root 18683 avr  15 23:50 10_linux
-rwxr-xr-x 1 root root 43031 avr  15 23:50 10_linux_zfs
-rwxr-xr-x 1 root root 14180 avr  15 23:50 20_linux_xen
-rwxr-xr-x 1 root root 13369 avr  15 23:50 30_os-prober
-rwxr-xr-x 1 root root  1372 avr  15 23:50 30_uefi-firmware
-rwxr-xr-x 1 root root   700 fév 19 14:21 35_fwupd
-rwxr-xr-x 1 root root   214 avr  15 23:50 40_custom
-rwxr-xr-x 1 root root   215 avr  15 23:50 41_custom

=========================== sda6/etc/grub.d/35_fwupd ===========================

#! /bin/sh
# SPDX-License-Identifier: LGPL-2.1+
set -e
[ -d ${pkgdatadir:?} ]
# shellcheck source=/dev/null
. "$pkgdatadir/grub-mkconfig_lib"
if [ -f /var/lib/fwupd/uefi_capsule.conf ] &&
   ls /sys/firmware/efi/efivars/fwupd-*-0abba7dc-e516-4167-bbf5-4d9d1c739416 1>/dev/null 2>&1; then
      . /var/lib/fwupd/uefi_capsule.conf
      if [ "${EFI_PATH}" != "" ] && [ "${ESP}" != "" ]; then
      echo "Adding Linux Firmware Updater entry" >&2
cat << EOF
menuentry 'Linux Firmware Updater' \$menuentry_id_option 'fwupd' {
EOF
      ${grub_probe:?}
      prepare_grub_to_access_device '`${grub_probe} --target=device \${ESP}` | sed -e "s/^/\t/"'
cat << EOF
	chainloader ${EFI_PATH}
}
EOF
      fi
fi



Suggested repair: ______________________________________________________________

The default repair of the Boot-Repair utility would reinstall the grub-efi-amd64-signed of
sda6,
using the following options:  sda2/boot/efi
Additional repair would be performed: unhide-bootmenu-10s use-standard-efi-file

Blockers in case of suggested repair: __________________________________________

 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 (sda2/efi/****/shim****.efi (**** will be updated in the final message) file) !
If your computer reboots directly into Windows, try to change the boot order in your UEFI firmware.
If your UEFI firmware does not allow to change the boot order, change the default boot entry of the Windows bootloader.
For example you can boot into Windows, then type the following command in an admin command prompt:
bcdedit /set {bootmgr} path \EFI\****\shim****.efi (**** will be updated in the final message)

Bref, tout en UEFI.

Et, sauf besoins particuliers, une seule version d'Ubuntu est suffisante.

Dernière modification par Korak (Le 29/04/2022, à 14:46)


OS: Ubuntu 22.04 64 bits + Windows 11 64 bits en dualboot (BIOS UEFI, Secure Boot activé et table de partitions GPT)
PC portable HP 17-CP0308NF   Processeur: AMD Ryzen 7 5700U avec carte graphique AMD Lucienne intégrée au processeur.   Mémoire vive: 16 Go RAM
Quand vous ne trouvez pas la solution à un problème, cherchez des pistes menant à la solution !

Hors ligne

#6 Le 29/04/2022, à 14:57

Korak

Re : [résolu] cafouillage à l'installation

À ta place lherbaux, je sauvegarderais mes données, je formaterais les DD puis je réinstallerais Ubuntu 22.04 (ou 20.04 si tu y tiens) en propre.


OS: Ubuntu 22.04 64 bits + Windows 11 64 bits en dualboot (BIOS UEFI, Secure Boot activé et table de partitions GPT)
PC portable HP 17-CP0308NF   Processeur: AMD Ryzen 7 5700U avec carte graphique AMD Lucienne intégrée au processeur.   Mémoire vive: 16 Go RAM
Quand vous ne trouvez pas la solution à un problème, cherchez des pistes menant à la solution !

Hors ligne

#7 Le 10/05/2022, à 10:25

lherbaux

Re : [résolu] cafouillage à l'installation

j'ai fait les conseils de Krak

Hors ligne