papilonaa a écrit 6 commentaires

  • [^] # Re: live cd

    Posté par  . En réponse au message impossible de booter apres un grub repair. Évalué à 1.

    Merci
    Mais comme ça boot sur le sda, si je mets le grub sur le sdb ne risque-t-il pas de ne plus booter du tout vu que le sdb n'est pas reconnu sinon "non alloué"?

  • [^] # Re: live cd

    Posté par  . En réponse au message impossible de booter apres un grub repair. Évalué à 1.

    Bonjour
    Le 1 disque dur ou se trouve sda boot normalement, c'est le 2 sdb qui s'est sans raison non reconnu après un boot repair, bizarre, comment faire pour le faire réapparaître, merci.

  • [^] # Re: live cd

    Posté par  . En réponse au message impossible de booter apres un grub repair. Évalué à 1.

    Disque /dev/sdb : 931,51 GiB, 1000204886016 octets, 1953525168 secteurs
    

    Disk model: WDC WD1001FAES-6
    Unités : secteur de 1 × 512 = 512 octets
    Taille de secteur (logique / physique) : 512 octets / 512 octets
    taille d'E/S (minimale / optimale) : 512 octets / 512 octets
    Type d'étiquette de disque : gpt
    Identifiant de disque : C184B8DD-2E3B-4187-8844-6BB65E7A04E4

    Périphérique Début Fin Secteurs Taille Type
    /dev/sdb1 2048 4095 2048 1M Système de fichiers Linux
    /dev/sdb2 4096 1054719 1050624 513M Données de base Microsoft
    /dev/sdb3 1054720 664753938 663699219 316,5G Système de fichiers Linux
    /dev/sdb4 1301065728 1324828671 23762944 11,3G Partition d'échange Linux
    /dev/sdb5 1324828672 1953523711 628695040 299,8G Système EFI
    /dev/sdb6 686389248 1301065727 614676480 293,1G Système de fichiers Linux
    /dev/sdb7 664754176 686389247 21635072 10,3G Amorçage BIOS

    Les entrées de la table de partitions ne sont pas dans l'ordre du disque.

    Disque /dev/sdc : 465,76 GiB, 500107862016 octets, 976773168 secteurs
    Disk model: WDC WD5000AAVS-9
    Unités : secteur de 1 × 512 = 512 octets
    Taille de secteur (logique / physique) : 512 octets / 512 octets
    taille d'E/S (minimale / optimale) : 512 octets / 512 octets
    Type d'étiquette de disque : dos
    Identifiant de disque : 0x4443900d

    Périphérique Amorçage Début Fin Secteurs Taille Id Type
    /dev/sdc1 4 976773167 976773164 465,8G 7 HPFS/NTFS/exFAT

  • [^] # Re: live cd

    Posté par  . En réponse au message impossible de booter apres un grub repair. Évalué à 1. Dernière modification le 29 juillet 2024 à 12:41.

  • [^] # Re: live cd

    Posté par  . En réponse au message impossible de booter apres un grub repair. Évalué à 1.

    do@do-HPE-325be:~$ sudo fdisk -l
    

    Disque /dev/sda : 931,51 GiB, 1000204886016 octets, 1953525168 secteurs
    Disk model: WDC WD1001FAES-6
    Unités : secteur de 1 × 512 = 512 octets
    Taille de secteur (logique / physique) : 512 octets / 512 octets
    taille d'E/S (minimale / optimale) : 512 octets / 512 octets
    Type d'étiquette de disque : dos
    Identifiant de disque : 0x947d0451

    Périphérique Amorçage Début Fin Secteurs Taille Id Type
    /dev/sda1 * 2048 987614742 987612695 470,9G 7 HPFS/NTFS/exFAT
    /dev/sda2 987615232 988665855 1050624 513M ef EFI (FAT-12/16/3
    /dev/sda3 988667902 1953523711 964855810 460,1G 5 Étendue
    /dev/sda5 988667904 1887913997 899246094 428,8G 83 Linux
    /dev/sda6 1887916032 1953523711 65607680 31,3G 82 partition d'écha
    La table de partitions GPT primaire est corrompue, mais la sauvegarde semble fonctionnelle, elle sera donc utilisée.

    Disque /dev/sdb : 931,51 GiB, 1000204886016 octets, 1953525168 secteurs
    Disk model: WDC WD1001FAES-6
    Unités : secteur de 1 × 512 = 512 octets
    Taille de secteur (logique / physique) : 512 octets / 512 octets
    taille d'E/S (minimale / optimale) : 512 octets / 512 octets
    Type d'étiquette de disque : gpt
    Identifiant de disque : C184B8DD-2E3B-4187-8844-6BB65E7A04E4

    Périphérique Début Fin Secteurs Taille Type
    /dev/sdb1 2048 4095 2048 1M Système de fichiers Linux
    /dev/sdb2 4096 1054719 1050624 513M Données de base Microsoft
    /dev/sdb3 1054720 664753938 663699219 316,5G Système de fichiers Linux
    /dev/sdb4 1301065728 1324828671 23762944 11,3G Partition d'échange Linux
    /dev/sdb5 1324828672 1953523711 628695040 299,8G Système EFI
    /dev/sdb6 686389248 1301065727 614676480 293,1G Système de fichiers Linux
    /dev/sdb7 664754176 686389247 21635072 10,3G Amorçage BIOS

  • [^] # Re: live cd

    Posté par  . En réponse au message impossible de booter apres un grub repair. Évalué à 0. Dernière modification le 27 juillet 2024 à 22:48.

    Sommaire

    Merci pour ta reponse, je voulais rajouter que le disque sdb a disparu des radar, en fait il n aparait dans gparted que avec "non aloué"
    je poste quelques textes`
    boot-info-4ppa2079 [20240727_1844]

    ============================== 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 (,msdos5)/boot/grub. It also embeds following components:

    modules
    ---------------------------------------------------------------------------
    fshelp ext2 part_msdos biosdisk
    ---------------------------------------------------------------------------
    

    => Grub2 (v2.00) is installed in the MBR of /dev/sdb and looks at sector
    664754176 of the same hard drive for core.img. core.img is at this
    location and looks for /boot/grub. It also embeds following components:

    modules
    ---------------------------------------------------------------------------
    fshelp ext2 part_gpt pci scsi ata pata search_fs_uuid
    ---------------------------------------------------------------------------
    
    config script
    ---------------------------------------------------------------------------
    search.fs_uuid 64b3e119-f038-4b0c-80eb-b0ae4b2c1ed1 root ahci1,gpt3 
    set prefix=($root)'/boot/grub'
    
    ---------------------------------------------------------------------------
    

    => Windows is installed in the MBR of /dev/sdc.
    => Windows is installed in the MBR of /dev/sdl.

    sda1: __________________________________________________________________________

    File system: ntfs
    Boot sector type: Windows 7/2008: NTFS
    Boot sector info: No errors found in the Boot Parameter Block.
    Operating System: Windows 7
    Boot files: /bootmgr /Boot/BCD /Windows/System32/winload.exe
    sda2: __________________________________________________________________________

    File system: 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
    sda3: __________________________________________________________________________

    File system: Extended Partition
    Boot sector type: Unknown
    Boot sector info:
    sda5: __________________________________________________________________________

    File system: ext4
    Boot sector type: -
    Boot sector info:
    Operating System: Linux Mint 22
    Boot files: /boot/grub/grub.cfg /etc/fstab /etc/default/grub
    /boot/grub/i386-pc/core.img
    sda6: __________________________________________________________________________

    File system: swap
    Boot sector type: -
    Boot sector info:
    sdb1: __________________________________________________________________________

    File system:
    Boot sector type: Unknown
    Boot sector info:
    sdc1: __________________________________________________________________________

    File system: ntfs
    Boot sector type: NTFS
    Boot sector info: No errors found in the Boot Parameter Block.
    Operating System: Windows 7
    Boot files: /bootmgr /Boot/BCD /Windows/System32/winload.exe

    ================================ 3 OS detected =================================

    OS#1: L'OS actuellement utilisé - Linux Mint 22 on sda5
    OS#2: Windows 7 on sda1
    OS#3: Windows 10 on sdc1

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

    CPU architecture: 64-bit
    Video: Redwood PRO [Radeon HD 5550/5570/5630/6510/6610/7570] from Advanced Micro Devices, Inc. [AMD/ATI]
    BOOT_IMAGE of the installed session in use:
    /boot/vmlinuz-6.8.0-38-generic root=UUID=e1bd2a8f-7fc5-4eaf-a0f6-4e8474bc7669 ro quiet splash
    df -Th / : /dev/sda5 ext4 421G 30G 371G 8% /

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

    BIOS/UEFI firmware: 6.13(0.0) from American Megatrends Inc.
    This installed-session is in Legacy/BIOS/CSM mode (not in EFI mode).

    c152ec201c37b6e97bbc2207e49d1271 sda2/BOOT/fbx64.efi
    fdafb5eece6caeccb788c946a28e6872 sda2/BOOT/mmx64.efi
    f62c28d9b477b6a1a7b1c991b2b6637d sda2/ubuntu/grubx64.efi
    fdafb5eece6caeccb788c946a28e6872 sda2/ubuntu/mmx64.efi
    728124f6ec8e22fbdbe7034812c81b95 sda2/ubuntu/shimx64.efi
    728124f6ec8e22fbdbe7034812c81b95 sda2/BOOT/BOOTX64.efi

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

    Disks info: ____________________________________________________________________

    sda : notGPT, no-BIOSboot, has---ESP, not-usb, not-mmc, has-os, has-win, 2048 sectors * 512 bytes
    sdc : notGPT, no-BIOSboot, has-noESP, not-usb, not-mmc, has-os, has-win, 4 sectors * 512 bytes
    sdl : notGPT, no-BIOSboot, has-noESP, usb-disk, not-mmc, no-os, no-wind, 2048 sectors * 512 bytes

    Partitions info (1/3): _________________________________________________________

    sda5 : is-os, 64, apt-get, grub-pc , grub2, grub-install, grubenv-ok, update-grub, end-after-100GB
    sdc1 : is-os, 64, nopakmgr, no-docgrub, nogrub, nogrubinstall, no-grubenv, noupdategrub, end-after-100GB
    sda2 : no-os, 64, nopakmgr, no-docgrub, nogrub, nogrubinstall, no-grubenv, noupdategrub, end-after-100GB
    sda1 : is-os, 64, nopakmgr, no-docgrub, nogrub, nogrubinstall, no-grubenv, noupdategrub, end-after-100GB
    sdl1 : no-os, 64, nopakmgr, no-docgrub, nogrub, nogrubinstall, no-grubenv, noupdategrub, end-after-100GB
    sdl2 : no-os, 64, nopakmgr, no-docgrub, nogrub, nogrubinstall, no-grubenv, noupdategrub, end-after-100GB
    sdb : no-os, 64, nopakmgr, no-docgrub, nogrub, nogrubinstall, no-grubenv, noupdategrub, not-far

    Partitions info (2/3): _________________________________________________________

    sda5 : isnotESP, fstab-without-efi, no-nt, no-winload, no-recov-nor-hid, no-bmgr, notwinboot
    sdc1 : isnotESP, part-has-no-fstab, no-nt, haswinload, no-recov-nor-hid, bootmgr, is-winboot
    sda2 : is---ESP, part-has-no-fstab, no-nt, no-winload, no-recov-nor-hid, no-bmgr, notwinboot
    sda1 : isnotESP, part-has-no-fstab, no-nt, haswinload, no-recov-nor-hid, bootmgr, is-winboot
    sdl1 : isnotESP, part-has-no-fstab, no-nt, no-winload, no-recov-nor-hid, no-bmgr, notwinboot
    sdl2 : isnotESP, part-has-no-fstab, no-nt, no-winload, no-recov-nor-hid, no-bmgr, notwinboot
    sdb : isnotESP, part-has-no-fstab, no-nt, no-winload, no-recov-nor-hid, no-bmgr, notwinboot

    Partitions info (3/3): _________________________________________________________

    sda5 : not--sepboot, with-boot, fstab-without-boot, not-sep-usr, with--usr, fstab-without-usr, std-grub.d, sda
    sdc1 : not--sepboot, no---boot, part-has-no-fstab, not-sep-usr, no---usr, part-has-no-fstab, no--grub.d, sdc
    sda2 : 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
    sdl1 : not--sepboot, no---boot, part-has-no-fstab, not-sep-usr, no---usr, part-has-no-fstab, no--grub.d, sdl
    sdl2 : not--sepboot, no---boot, part-has-no-fstab, not-sep-usr, no---usr, part-has-no-fstab, no--grub.d, sdl
    sdb : maybesepboot, 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: 0x947d0451
    Boot Start End Sectors Size Id Type
    sda1 * 2048 987614742 987612695 470.9G 7 HPFS/NTFS/exFAT
    sda2 987615232 988665855 1050624 513M ef EFI (FAT-12/16/32)
    sda3 988667902 1953523711 964855810 460.1G 5 Extended
    sda5 988667904 1887913997 899246094 428.8G 83 Linux
    sda6 1887916032 1953523711 65607680 31.3G 82 Linux swap / Solaris
    Disk sdb: 931.51 GiB, 1000204886016 bytes, 1953525168 sectors
    Disk identifier: C184B8DD-2E3B-4187-8844-6BB65E7A04E4
    Start End Sectors Size Type
    sdb1 2048 4095 2048 1M Linux filesystem
    sdb2 4096 1054719 1050624 513M Microsoft basic data
    sdb3 1054720 664753938 663699219 316.5G Linux filesystem
    sdb4 1301065728 1324828671 23762944 11.3G Linux swap
    sdb5 1324828672 1953523711 628695040 299.8G EFI System
    sdb6 686389248 1301065727 614676480 293.1G Linux filesystem
    sdb7 664754176 686389247 21635072 10.3G BIOS boot
    Partition table entries are not in disk order.
    Disk sdc: 465.76 GiB, 500107862016 bytes, 976773168 sectors
    Disk identifier: 0x4443900d
    Boot Start End Sectors Size Id Type
    sdc1 4 976773167 976773164 465.8G 7 HPFS/NTFS/exFAT
    Disk sdl: 931.51 GiB, 1000204886016 bytes, 1953525168 sectors
    Disk identifier: 0xfce6fce6
    Boot Start End Sectors Size Id Type
    sdl1 2048 664199167 664197120 316.7G b W95 FAT32
    sdl2 664199168 1953523711 1289324544 614.8G b W95 FAT32

    parted -lm (filtered): _________________________________________________________

    sda:1000GB:scsi:512:512:msdos:ATA WDC WD1001FAES-6:;
    1:1049kB:506GB:506GB:ntfs::boot;
    2:506GB:506GB:538MB:fat32::esp;
    3:506GB:1000GB:494GB:::;
    5:506GB:967GB:460GB:ext4::;
    6:967GB:1000GB:33.6GB:linux-swap(v1)::swap;
    sdb:1000GB:scsi:512:512:unknown:ATA WDC WD1001FAES-6:;
    sdc:500GB:scsi:512:512:msdos:ATA WDC WD5000AAVS-9:;
    1:2048B:500GB:500GB:ntfs::;
    sdl:1000GB:scsi:512:512:msdos:ASMT 2115:;
    1:1049kB:340GB:340GB:fat32::;
    2:340GB:1000GB:660GB:fat32::;

    blkid (filtered): ______________________________________________________________

    NAME FSTYPE UUID PARTUUID LABEL PARTLABEL
    sda

    ├─sda1 ntfs 7458B29C58B25D14 947d0451-01 windows

    ├─sda2 vfat 8825-ED13 947d0451-02

    ├─sda3 947d0451-03

    ├─sda5 ext4 e1bd2a8f-7fc5-4eaf-a0f6-4e8474bc7669 947d0451-05

    └─sda6 swap 47a84405-0c81-4dbd-b4d4-01cb4dead1a5 947d0451-06

    sdb

    sdc

    └─sdc1 ntfs 50BE6894BE68747E 4443900d-01 windows

    sdd

    sde

    sdf

    sdg

    sdh

    sdi

    sdj

    sdk

    sdl

    ├─sdl1 vfat D384-E07A fce6fce6-01 ISO

    └─sdl2 vfat CF7E-0712 fce6fce6-02

    Mount points (filtered): _______________________________________________________

             Avail Use% Mounted on
    

    /dev/sda1 386.8G 18% /mnt/boot-sav/sda1
    /dev/sda2 506.7M 1% /mnt/boot-sav/sda2
    /dev/sda5 370.1G 7% /
    /dev/sdc1 365.6G 22% /mnt/boot-sav/sdc1
    /dev/sdl1 185.6G 41% /media/do/ISO
    /dev/sdl2 214.5G 65% /media/do/CF7E-0712

    Mount options (filtered): ______________________________________________________

    /dev/sda1 fuseblk ro,relatime,user_id=0,group_id=0,allow_other,blksize=4096
    /dev/sda2 vfat rw,relatime,fmask=0022,dmask=0022,codepage=437,iocharset=iso8859-1,shortname=mixed,errors=remount-ro
    /dev/sda5 ext4 rw,relatime,errors=remount-ro
    /dev/sdc1 fuseblk ro,relatime,user_id=0,group_id=0,allow_other,blksize=4096
    /dev/sdl1 vfat rw,nosuid,nodev,relatime,uid=1000,gid=1000,fmask=0022,dmask=0022,codepage=437,iocharset=iso8859-1,shortname=mixed,showexec,utf8,flush,errors=remount-ro
    /dev/sdl2 vfat rw,nosuid,nodev,relatime,uid=1000,gid=1000,fmask=0022,dmask=0022,codepage=437,iocharset=iso8859-1,shortname=mixed,showexec,utf8,flush,errors=remount-ro

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

    search.fs_uuid 24016e18-f29e-49f1-86d2-246c913ff4c7 root hd1,msdos5
    set prefix=($root)'/boot/grub'
    configfile $prefix/grub.cfg

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

    Ubuntu e1bd2a8f-7fc5-4eaf-a0f6-4e8474bc7669
    Windows 7 (on sda1) 7458B29C58B25D14
    Windows 10 (on sdc1) 50BE6894BE68747E

    END /etc/grub.d/30_os-prober

    UEFI Firmware Settings uefi-firmware

    END /etc/grub.d/30_uefi-firmware

    ========================== sda5/etc/fstab (filtered) ===========================

    / was on /dev/sda5 during installation

    UUID=e1bd2a8f-7fc5-4eaf-a0f6-4e8474bc7669 / ext4 errors=remount-ro 0 1

    swap was on /dev/sda6 during installation

    UUID=47a84405-0c81-4dbd-b4d4-01cb4dead1a5 none swap sw 0 0

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

    GRUB_DEFAULT=0
    GRUB_TIMEOUT_STYLE=hidden
    GRUB_TIMEOUT=10
    GRUB_DISTRIBUTOR=( . /etc/os-release; echo ${NAME:-Ubuntu} ) 2>/dev/null || echo Ubuntu
    GRUB_CMDLINE_LINUX_DEFAULT="quiet splash"
    GRUB_CMDLINE_LINUX=""

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

           GiB - GB             File                                 Fragment(s)
    

    607,558609009 = 652,361089024 boot/grub/grub.cfg 1
    761,637950897 = 817,802522624 boot/grub/i386-pc/core.img 1
    672,010002136 = 721,565245440 boot/vmlinuz 1
    474,510009766 = 509,501243392 boot/vmlinuz-6.8.0-38-generic 1
    672,010002136 = 721,565245440 boot/vmlinuz-6.8.0-39-generic 1
    474,510009766 = 509,501243392 boot/vmlinuz.old 1
    672,298507690 = 721,875025920 boot/initrd.img 1
    474,853195190 = 509,869735936 boot/initrd.img-6.8.0-38-generic 2
    672,298507690 = 721,875025920 boot/initrd.img-6.8.0-39-generic 1
    474,853195190 = 509,869735936 boot/initrd.img.old 2

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

    -rwxr-xr-x 1 root root 18133 Apr 4 12:12 10_linux
    -rwxr-xr-x 1 root root 43202 Apr 4 12:12 10_linux_zfs
    -rwxr-xr-x 1 root root 14513 Apr 4 12:12 20_linux_xen
    -rwxr-xr-x 1 root root 786 Apr 4 12:12 25_bli
    -rwxr-xr-x 1 root root 13120 Apr 4 12:12 30_os-prober
    -rwxr-xr-x 1 root root 1174 Apr 4 12:12 30_uefi-firmware
    -rwxr-xr-x 1 root root 722 Apr 5 13:36 35_fwupd
    -rwxr-xr-x 1 root root 214 Apr 4 12:12 40_custom
    -rwxr-xr-x 1 root root 215 Apr 4 12:12 41_custom

    ======================== Unknown MBRs/Boot Sectors/etc =========================

    Unknown BootLoader on sdb1

    Suggested repair: ______________________________________________________________

    The default repair of the Boot-Repair utility would reinstall the grub2 of
    sda5 into the MBR of sda.
    Grub-efi would not be selected by default because legacy Windows detected.
    Additional repair would be performed: unhide-bootmenu-10s

    Final advice in case of suggested repair: ______________________________________

    Please do not forget to make your BIOS boot on sda (ATA WDC WD1001FAES-6) disk!`