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 Aujourd'hui à 18:41

fred-cavernedufond

Boot repair refuse de faire une analyse de disque

Bonjour,

Boot-repair refuse de me faire une analyse de disque, alors que je l'ai installé depuis une clé live-usb Ubuntu 22.04. L'objectif est de vérifier la structure de ce disque-cible après un clonage. Il m'affiche le message suivant :
Msg-boot-repair.jpg

Visiblement, il bloque sur le BIOS qui est uniquement en Legacy sur cette vielle machine (2012). Pas d'UEFI. Voici les partitions du disque
Partition-disque.jpg

Voici le rapport Boot repair : https://paste.ubuntu.com/p/SXjhcVBYx8/ (pas connecté,  je ne peux pas le lire) Je ne vois pas le truc hmm Ce qui est bizarre c'est que j'avais déjà utilisé Boot-repair sur ce système dans problème. Je vais essayer de charger l'ISO livre USB 64bit demain...
Une idée ?
Fred

Dernière modification par fred-cavernedufond (Aujourd'hui à 18:43)


Fred
Ubuntu 22.04 LTS

Hors ligne

#2 Aujourd'hui à 18:45

xubu1957

Re : Boot repair refuse de faire une analyse de disque

Bonjour,

Collage du Boot-repair :

boot-repair-4ppa2081                                              [20241022_1500]

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

 => Grub2 (v2.00) is installed in the MBR of /dev/sdf and looks at sector 2048 
    of the same hard drive for core.img. core.img is at this location and 
    looks for (,gpt3)/boot/grub. It also embeds following components:
    
    modules
    ---------------------------------------------------------------------------
    fshelp ext2 part_gpt biosdisk
    ---------------------------------------------------------------------------

sdf1: __________________________________________________________________________

    File system:       BIOS Boot partition
    Boot sector type:  Grub2's core.img
    Boot sector info: 

sdf2: __________________________________________________________________________

    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

sdf3: __________________________________________________________________________

    File system:       ext4
    Boot sector type:  -
    Boot sector info: 
    Operating System:  Ubuntu 22.04.5 LTS
    Boot files:        /boot/grub/grub.cfg /etc/fstab /etc/default/grub 
                       /boot/grub/i386-pc/core.img

sdf4: __________________________________________________________________________

    File system:       ext4
    Boot sector type:  -
    Boot sector info: 
    Operating System:  
    Boot files:        

sdf8: __________________________________________________________________________

    File system:       ext4
    Boot sector type:  -
    Boot sector info: 
    Operating System:  
    Boot files:        

sdf9: __________________________________________________________________________

    File system:       ext4
    Boot sector type:  -
    Boot sector info: 
    Operating System:  
    Boot files:        

sdf10: _________________________________________________________________________

    File system:       ext4
    Boot sector type:  -
    Boot sector info: 
    Operating System:  
    Boot files:        

sdf11: _________________________________________________________________________

    File system:       ext4
    Boot sector type:  -
    Boot sector info: 
    Operating System:  
    Boot files:        

sdf12: _________________________________________________________________________

    File system:       ext4
    Boot sector type:  -
    Boot sector info: 
    Operating System:  
    Boot files:        

sda: ___________________________________________________________________________

    File system:       iso9660
    Boot sector type:  Grub2 (v1.99-2.00)
    Boot sector info:  Grub2 (v1.99-2.00) is installed in the boot sector of 
                       sda and looks at sector 0 of the same hard drive for 
                       core.img, but core.img can not be found at this 
                       location.
    Mounting failed:   mount: /mnt/BootInfo/FD/sda: /dev/sda déjà monté ou point de montage actif.


================================ 1 OS detected =================================

OS#1 (linux):   Ubuntu 22.04.5 LTS on sdf3

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

CPU architecture: 64-bit
Video: GK208B [GeForce GT 710] from NVIDIA Corporation
Live-session OS is Ubuntu 64-bit (Ubuntu 22.04.5 LTS, jammy, x86_64)

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

BIOS/UEFI firmware: V2.7(8.15) from American Megatrends Inc.
This live-session is in Legacy/BIOS/CSM mode (not in EFI mode).


a9c517741ac31962d7feb152948ad1ee   sdf2/BOOT/fbx64.efi
a660182adef313615746a665966d2ccc   sdf2/BOOT/mmx64.efi
a1da253696a304dce6b4668b70151c0e   sdf2/ubuntu/grubx64.efi
a660182adef313615746a665966d2ccc   sdf2/ubuntu/mmx64.efi
64349b3622c65f495a99dbf6102496e3   sdf2/ubuntu/shimx64.efi
64349b3622c65f495a99dbf6102496e3   sdf2/BOOT/BOOTX64.efi

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

Disks info: ____________________________________________________________________

sdf	: is-GPT,	hasBIOSboot,	has---ESP, 	not-usb,	not-mmc, has-os,	no-wind,	2048 sectors * 512 bytes

Partitions info (1/3): _________________________________________________________

sdf2	: no-os,	64, nopakmgr,	no-docgrub,	nogrub,	nogrubinstall,	no-grubenv,	noupdategrub,	not-far
sdf3	: is-os,	64, apt-get,	signed grub-pc grub-efi ,	grub2,	grub-install,	grubenv-ok,	update-grub,	end-after-100GB
sdf4	: no-os,	64, nopakmgr,	no-docgrub,	nogrub,	nogrubinstall,	no-grubenv,	noupdategrub,	end-after-100GB
sdf8	: no-os,	64, nopakmgr,	no-docgrub,	nogrub,	nogrubinstall,	no-grubenv,	noupdategrub,	end-after-100GB
sdf9	: no-os,	64, nopakmgr,	no-docgrub,	nogrub,	nogrubinstall,	no-grubenv,	noupdategrub,	end-after-100GB
sdf10	: no-os,	64, nopakmgr,	no-docgrub,	nogrub,	nogrubinstall,	no-grubenv,	noupdategrub,	end-after-100GB
sdf11	: no-os,	64, nopakmgr,	no-docgrub,	nogrub,	nogrubinstall,	no-grubenv,	noupdategrub,	end-after-100GB
sdf12	: no-os,	64, nopakmgr,	no-docgrub,	nogrub,	nogrubinstall,	no-grubenv,	noupdategrub,	end-after-100GB

Partitions info (2/3): _________________________________________________________

sdf2	: is---ESP,	part-has-no-fstab,	no-nt,	no-winload,	no-recov-nor-hid,	no-bmgr,	notwinboot, vfat
sdf3	: isnotESP,	fstab-has-goodEFI,	no-nt,	no-winload,	no-recov-nor-hid,	no-bmgr,	notwinboot, ext4
sdf4	: isnotESP,	part-has-no-fstab,	no-nt,	no-winload,	no-recov-nor-hid,	no-bmgr,	notwinboot, ext4
sdf8	: isnotESP,	part-has-no-fstab,	no-nt,	no-winload,	no-recov-nor-hid,	no-bmgr,	notwinboot, ext4
sdf9	: isnotESP,	part-has-no-fstab,	no-nt,	no-winload,	no-recov-nor-hid,	no-bmgr,	notwinboot, ext4
sdf10	: isnotESP,	part-has-no-fstab,	no-nt,	no-winload,	no-recov-nor-hid,	no-bmgr,	notwinboot, ext4
sdf11	: isnotESP,	part-has-no-fstab,	no-nt,	no-winload,	no-recov-nor-hid,	no-bmgr,	notwinboot, ext4
sdf12	: isnotESP,	part-has-no-fstab,	no-nt,	no-winload,	no-recov-nor-hid,	no-bmgr,	notwinboot, ext4

Partitions info (3/3): _________________________________________________________

sdf2	: not--sepboot,	no---boot,	part-has-no-fstab,	not-sep-usr,	no---usr,	part-has-no-fstab,	no--grub.d,	sdf
sdf3	: not--sepboot,	with-boot,	fstab-without-boot,	not-sep-usr,	with--usr,	fstab-without-usr,	std-grub.d,	sdf
sdf4	: maybesepboot,	no---boot,	part-has-no-fstab,	not-sep-usr,	no---usr,	part-has-no-fstab,	no--grub.d,	sdf
sdf8	: maybesepboot,	no---boot,	part-has-no-fstab,	not-sep-usr,	no---usr,	part-has-no-fstab,	no--grub.d,	sdf
sdf9	: maybesepboot,	no---boot,	part-has-no-fstab,	not-sep-usr,	no---usr,	part-has-no-fstab,	no--grub.d,	sdf
sdf10	: maybesepboot,	no---boot,	part-has-no-fstab,	not-sep-usr,	no---usr,	part-has-no-fstab,	no--grub.d,	sdf
sdf11	: maybesepboot,	no---boot,	part-has-no-fstab,	not-sep-usr,	no---usr,	part-has-no-fstab,	no--grub.d,	sdf
sdf12	: maybesepboot,	no---boot,	part-has-no-fstab,	not-sep-usr,	no---usr,	part-has-no-fstab,	no--grub.d,	sdf

fdisk -l (filtered): ___________________________________________________________

Disk sda: 7.27 GiB, 7801405440 bytes, 15237120 sectors
Disk identifier: 389FBC94-38B6-4D1A-8964-87488DB3D5A5
       Start      End Sectors  Size Type
sda1       64  9291427 9291364  4.4G Microsoft basic data
sda2  9291428  9301499   10072  4.9M EFI System
sda3  9301500  9302099     600  300K Microsoft basic data
sda4  9306112 15237056 5930945  2.8G Linux filesystem
Disk sdf: 1.82 TiB, 2000398934016 bytes, 3907029168 sectors
Disk identifier: 03EC52EB-3906-45DF-A6E8-852D6DC15D68
         Start        End   Sectors   Size Type
sdf1       2048       4095      2048     1M BIOS boot
sdf2       4096    1054719   1050624   513M EFI System
sdf3    1054720  126306303 125251584  59.7G Linux filesystem
sdf4  967677952 1020925951  53248000  25.4G Linux filesystem
sdf8  861771776  912152575  50380800    24G Linux filesystem
sdf9  912152576  936957951  24805376  11.8G Linux filesystem
sdf10 678320128  861771775 183451648  87.5G Linux filesystem
sdf11 268816384  678320127 409503744 195.3G Linux filesystem
sdf12 936957952  967677951  30720000  14.6G Linux filesystem
Partition table entries are not in disk order.

parted -lm (filtered): _________________________________________________________

sda:7801MB:scsi:512:512:gpt:Generic Flash Disk:;
1:32.8kB:4757MB:4757MB::ISO9660:hidden, msftdata;
2:4757MB:4762MB:5157kB::Appended2:boot, esp;
3:4762MB:4763MB:307kB::Gap1:hidden, msftdata;
4:4765MB:7801MB:3037MB:ext4::;
sdf:2000GB:scsi:512:4096:gpt:ATA ST2000DM008-2UB1:;
1:1049kB:2097kB:1049kB:::bios_grub;
2:2097kB:540MB:538MB:fat32:FAT:boot, esp;
3:540MB:64.7GB:64.1GB:ext4:EXT4:;
11:138GB:347GB:210GB:ext4::;
10:347GB:441GB:93.9GB:ext4:Documentaires:;
8:441GB:467GB:25.8GB:ext4:Photos:;
9:467GB:480GB:12.7GB:ext4:Bibliotheque:;
12:480GB:495GB:15.7GB:ext4:Musique:;
4:495GB:523GB:27.3GB:ext4:Prive & archives:;

Free space >10MiB: ______________________________________________________________

sdf: 61673MiB:131258MiB:69585MiB
sdf: 498499MiB:1907729MiB:1409230MiB

blkid (filtered): ______________________________________________________________

NAME    FSTYPE   UUID                                 PARTUUID                             LABEL                    PARTLABEL
sda     iso9660  2024-09-11-14-37-52-00                                                    Ubuntu 22.04.5 LTS amd64 
├─sda1  iso9660  2024-09-11-14-37-52-00               389fbc94-38b6-4d1a-8965-87488db3d5a5 Ubuntu 22.04.5 LTS amd64 ISO9660
├─sda2                                                389fbc94-38b6-4d1a-8966-87488db3d5a5                          Appended2
├─sda3                                                389fbc94-38b6-4d1a-8967-87488db3d5a5                          Gap1
└─sda4  ext4     391b30b6-f4c9-4572-a721-e36ce9d81979 f01a68d9-1f85-e645-851b-b10a072ace5a writable                 
sdb                                                                                                                 
sdc                                                                                                                 
sdd                                                                                                                 
sde                                                                                                                 
sdf                                                                                                                 
├─sdf1                                                9002eb20-5bca-4795-a1ef-1559dbb4967a                          
├─sdf2  vfat     E10C-D7E1                            4e1a6de3-a00b-49ac-954c-89a5253b1166                          FAT
├─sdf3  ext4     821bc44a-f3d4-4cb8-8726-fc51710e03fa ba25b001-a553-4261-bccf-c79c07c8fe1b                          EXT4
├─sdf4  ext4     03ff30bd-00b4-4d02-babf-c93bc181767e 86e30fe1-795a-47fc-9095-0df05bbf804e Privé & Archive          Prive & archives
├─sdf8  ext4     abd3ee69-ed65-46d4-a93a-97740e4a3983 b2157c9a-89e7-4eb3-842d-96a7c6bf289f photos                   Photos
├─sdf9  ext4     37d6a302-a4b5-4881-9df3-2b6d15fef7b3 f8576e00-14dc-4dee-93f4-676f95637ffd bibliotheque             Bibliotheque
├─sdf10 ext4     66ffc7ac-2a97-43a9-a41f-abc701aa7cce fa5d78f0-c39b-4e2f-b167-b48040ef13fd Documentaires            Documentaires
├─sdf11 ext4     62d87207-0989-47df-9aa1-21a506d6599e 87df3c19-e8ef-4ae6-840e-669c78ebd6be cinématheque             cinématheque
└─sdf12 ext4     4f19aba2-21ca-4284-9726-516bf785c09d 6b24d714-facf-4558-9bfe-84aa41d4f0ca Musique                  Musique

Mount points (filtered): _______________________________________________________

                                                               Avail Use% Mounted on
/dev/sda1                                                          0 100% /cdrom
/dev/sdf10                                                     30.6G  59% /mnt/boot-sav/sdf10
/dev/sdf11                                                     49.1G  69% /mnt/boot-sav/sdf11
/dev/sdf12                                                      6.6G  47% /mnt/boot-sav/sdf12
/dev/sdf2                                                     505.9M   1% /mnt/boot-sav/sdf2
/dev/sdf3                                                      24.6G  52% /mnt/boot-sav/sdf3
/dev/sdf4                                                      17.8G  23% /media/ubuntu/Privxc3xa9 & Archive
/dev/sdf8                                                      10.6G  50% /mnt/boot-sav/sdf8
/dev/sdf9                                                       6.3G  40% /mnt/boot-sav/sdf9

Mount options (filtered): ______________________________________________________

/dev/sda1                                                     iso9660         ro,noatime,nojoliet,check=s,map=n,blocksize=2048,iocharset=utf8
/dev/sdf10                                                    ext4            rw,relatime
/dev/sdf11                                                    ext4            rw,relatime
/dev/sdf12                                                    ext4            rw,relatime
/dev/sdf2                                                     vfat            rw,relatime,fmask=0022,dmask=0022,codepage=437,iocharset=iso8859-1,shortname=mixed,errors=remount-ro
/dev/sdf3                                                     ext4            rw,relatime
/dev/sdf4                                                     ext4            rw,nosuid,nodev,relatime,errors=remount-ro
/dev/sdf8                                                     ext4            rw,relatime
/dev/sdf9                                                     ext4            rw,relatime

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

search.fs_uuid 821bc44a-f3d4-4cb8-8726-fc51710e03fa root hd0,gpt3 
set prefix=($root)'/boot/grub'
configfile $prefix/grub.cfg

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

Ubuntu   821bc44a-f3d4-4cb8-8726-fc51710e03fa
### END /etc/grub.d/30_os-prober ###
### END /etc/grub.d/30_uefi-firmware ###

========================== sdf3/etc/fstab (filtered) ===========================

# <file system> <mount point>   <type>  <options>       <dump>  <pass>
# / was on /dev/sda3 during installation
UUID=821bc44a-f3d4-4cb8-8726-fc51710e03fa /               ext4    errors=remount-ro 0       1
# /boot/efi was on /dev/sda2 during installation
UUID=E10C-D7E1  /boot/efi       vfat    umask=0077      0       1
/swapfile                                 none            swap    sw              0       0

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

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

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

           GiB - GB             File                                 Fragment(s)
  20,751438141 = 22,281687040   boot/grub/grub.cfg                             1
  16,087448120 = 17,273765888   boot/grub/i386-pc/core.img                     1
  11,798065186 = 12,668076032   boot/vmlinuz                                   2
  26,002925873 = 27,920429056   boot/vmlinuz-6.5.0-26-generic                  2
  20,094940186 = 21,576777728   boot/vmlinuz-6.8.0-45-generic                  1
  11,798065186 = 12,668076032   boot/vmlinuz-6.8.0-47-generic                  2
  20,094940186 = 21,576777728   boot/vmlinuz.old                               1
  23,502925873 = 25,236074496   boot/initrd.img                                6
  43,311241150 = 46,505091072   boot/initrd.img-6.5.0-26-generic               1
  17,245113373 = 18,516799488   boot/initrd.img-6.8.0-45-generic               6
  23,502925873 = 25,236074496   boot/initrd.img-6.8.0-47-generic               6
  17,245113373 = 18,516799488   boot/initrd.img.old                            6

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

-rwxr-xr-x 1 root root 18683 Apr 15  2022 10_linux
-rwxr-xr-x 1 root root 43031 Apr 15  2022 10_linux_zfs
-rwxr-xr-x 1 root root 14387 Dec 18  2022 20_linux_xen
-rwxr-xr-x 1 root root 13369 Apr 15  2022 30_os-prober
-rwxr-xr-x 1 root root  1372 Apr 15  2022 30_uefi-firmware
-rwxr-xr-x 1 root root   700 Feb 19  2022 35_fwupd
-rwxr-xr-x 1 root root   214 Apr 15  2022 40_custom
-rwxr-xr-x 1 root root   215 Apr 15  2022 41_custom



Suggested repair: ______________________________________________________________

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

Blockers in case of suggested repair: __________________________________________

 The current session is in BIOS-compatibility mode. Please disable BIOS-compatibility/CSM/Legacy mode in your UEFI firmware, and use this software from a live-CD (or live-USB) that is compatible with UEFI booting mode. For example, use a live-USB of Boot-Repair-Disk-64bit (www.sourceforge.net/p/boot-repair-cd), after making sure your BIOS is set up to boot USB in EFI mode. This will enable this feature.

Final advice in case of suggested repair: ______________________________________

Please do not forget to make your UEFI firmware boot on the Ubuntu 22.04.5 LTS entry (sdf2/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.

Conseils pour les nouveaux demandeurs et pas qu'eux
Important : Pensez à passer vos sujets en [Réso|u] lorsque ceux-ci le sont, au début du titre en cliquant sur Modifier sous le premier message, et un bref récapitulatif de la solution à la fin de celui-ci. Merci.                   Membre de Linux-Azur

En ligne

#3 Aujourd'hui à 19:17

geole

Re : Boot repair refuse de faire une analyse de disque

Bonjour.
Tu n'as pas de problème particulier.
Boot-info a très bien fonctionné.
Inutile de confectionner un ISO, il dira la même chose.

Il te dit que , si tu avais besoin de faire une  réinstallation du boot en automatique, il ferait une réinstallation EFI et que cela est impossible car il faut que tu bootes en EFI.

Il y a quelque temps, le choix par défaut était le LEGACY, Je ne sais pas quand il a passé EFI. Probablement quelques mois après que le constat que la 22.04 faisait systématiquement de l'EFI.

Si ton bios est uniquement legacy et si un jour, tu dois réinstaller le grub, il faudra que tu le fasses en methode guidée en choisissant toi-même le disque recevant le MBR.

Dernière modification par geole (Aujourd'hui à 19:23)


Les grilles de l'installateur https://doc.ubuntu-fr.org/tutoriel/inst … _subiquity
"gedit admin:///etc/fstab" est proscrit,  utilisez "pkexec env DISPLAY=$DISPLAY XAUTHORITY=$XAUTHORITY xdg-open /etc/fstab" Voir  https://doc.ubuntu-fr.org/gedit
Les partitions EXT4 des disques externes => https://forum.ubuntu-fr.org/viewtopic.p … #p22697248

Hors ligne

#4 Aujourd'hui à 19:49

fred-cavernedufond

Re : Boot repair refuse de faire une analyse de disque

Merci à vous deux. Okay pour le BIOS. Ce qui est un peu dommage c'est que Boot-repair n'affiche pas clairement qu'il a fait le job donc on reste sur sa faim en pensant à une erreur.
Je viens d'acheter un disque HDD 2To neuf. Au demarrage, juste avant la séquence BIOS, il y a un petit "craquement" d'une seconde, assez fort, qui ne me plait pas trop : j'ai l'impression que se sont les tetes qui s'alignent (?) ; je pensais aussi à un déplacement des tetes en fonction des partitions...mais tout ça est peut-etre normal.
Fred


Fred
Ubuntu 22.04 LTS

Hors ligne