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 10/05/2022, à 10:53

geronimo2

[RÉSOLU] unknow filesystem Entering rescue mode... grub rescue >

RÉSOLU_UBUNTU 20.04.4 unknow filesystem Entering rescue mode... grub rescue >,
en changeant de disque dur .

Bonjour
PC HP Pavilion dv7
Normalement je m'en sors en lisant les forums, mais là ..., je viens déja de réinstaller UBUNTU version 20.04.4 LTS.

Je suis sous LIVE CD,  j'ai effectué un  BOOT-INFO comme mentionné ici:

https://doc.ubuntu-fr.org/tutoriel/boot-info

sudo add-apt-repository -y ppa:yannubuntu/boot-repair; sudo apt update; sudo apt install -y boot-info; boot-info

Je vous livre le résultat pour assistance , merci d'avance pour la résolution du problème.

boot-info-4ppa200                                              [20220510_0743]

============================== 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 (,msdos7)/boot/grub. It also embeds following components:
    
    modules
    ---------------------------------------------------------------------------
    fshelp ext2 part_msdos biosdisk
    ---------------------------------------------------------------------------

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:        /bootmgr /Boot/BCD

sda2: __________________________________________________________________________

    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

sda3: __________________________________________________________________________

    File system:       ntfs
    Boot sector type:  Windows XP: NTFS
    Boot sector info:  No errors found in the Boot Parameter Block.
    Operating System:  
    Boot files:        

sda4: __________________________________________________________________________

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

sda5: __________________________________________________________________________

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

sda6: __________________________________________________________________________

    File system:       vfat
    Boot sector type:  FAT32
    Boot sector info:  No errors found in the Boot Parameter Block.
    Operating System:  
    Boot files:        

sda7: __________________________________________________________________________

    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


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

OS#1:   Windows 10 (boot) on sda1
OS#2:   Ubuntu 20.04.4 LTS on sda7
OS#3:   Windows 8 or 10 on sda2

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

CPU architecture: 64-bit
Video: RV710/M92 [Mobility Radeon HD 4530/4570/545v] from Advanced Micro Devices, Inc. [AMD/ATI]
Live-session OS is Ubuntu 64-bit (Ubuntu 20.04.4 LTS, focal, x86_64)

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

BIOS/UEFI firmware: F.12(15.18) from Hewlett-Packard
This live-session is in Legacy/BIOS/CSM mode (not in EFI mode).



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

Disks info: ____________________________________________________________________

sda	: notGPT,	no-BIOSboot,	has-noESP, 	not-usb,	not-mmc, has-os,	has-win,	2048 sectors * 512 bytes

Partitions info (1/3): _________________________________________________________

sda1	: is-os,	32, nopakmgr,	no-docgrub,	nogrub,	nogrubinstall,	no-grubenv,	noupdategrub,	not-far
sda2	: is-os,	32, nopakmgr,	no-docgrub,	nogrub,	nogrubinstall,	no-grubenv,	noupdategrub,	farbios
sda3	: no-os,	32, nopakmgr,	no-docgrub,	nogrub,	nogrubinstall,	no-grubenv,	noupdategrub,	farbios
sda6	: no-os,	32, nopakmgr,	no-docgrub,	nogrub,	nogrubinstall,	no-grubenv,	noupdategrub,	farbios
sda7	: is-os,	64, apt-get,	grub-pc ,	grub2,	grub-install,	grubenv-ng,	update-grub,	farbios

Partitions info (2/3): _________________________________________________________

sda1	: isnotESP,	part-has-no-fstab,	no-nt,	no-winload,	no-recov-nor-hid,	bootmgr,	is-winboot
sda2	: isnotESP,	part-has-no-fstab,	no-nt,	haswinload,	no-recov-nor-hid,	no-bmgr,	notwinboot
sda3	: isnotESP,	part-has-no-fstab,	no-nt,	no-winload,	no-recov-nor-hid,	no-bmgr,	notwinboot
sda6	: isnotESP,	part-has-no-fstab,	no-nt,	no-winload,	no-recov-nor-hid,	no-bmgr,	notwinboot
sda7	: isnotESP,	fstab-has-goodEFI,	no-nt,	no-winload,	no-recov-nor-hid,	no-bmgr,	notwinboot

Partitions info (3/3): _________________________________________________________

sda1	: not--sepboot,	no---boot,	part-has-no-fstab,	not-sep-usr,	no---usr,	part-has-no-fstab,	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
sda3	: not--sepboot,	no---boot,	part-has-no-fstab,	not-sep-usr,	no---usr,	part-has-no-fstab,	no--grub.d,	sda
sda6	: not--sepboot,	no---boot,	part-has-no-fstab,	not-sep-usr,	no---usr,	part-has-no-fstab,	no--grub.d,	sda
sda7	: not--sepboot,	with-boot,	fstab-without-boot,	not-sep-usr,	with--usr,	fstab-without-usr,	std-grub.d,	sda

fdisk -l (filtered): ___________________________________________________________

Disk sda: 465.78 GiB, 500107862016 bytes, 976773168 sectors
Disk identifier: 0xa2c285cd
      Boot     Start       End   Sectors   Size Id Type
sda1  *         2048   1026047   1024000   500M  7 HPFS/NTFS/exFAT
sda2         1026048 206079999 205053952  97.8G  7 HPFS/NTFS/exFAT
sda3       206081820 497757959 291676140 139.1G  7 HPFS/NTFS/exFAT
sda4       497758206 976771071 479012866 228.4G  5 Extended
sda5       968390656 976771071   8380416     4G 82 Linux swap / Solaris
sda6       497758208 498808831   1050624   513M  b W95 FAT32
sda7       498810880 968382463 469571584 223.9G 83 Linux
Partition table entries are not in disk order.

parted -lm (filtered): _________________________________________________________

sda:500GB:scsi:512:512:msdos:ATA TOSHIBA MK5055GS:;
1:1049kB:525MB:524MB:ntfs::boot;
2:525MB:106GB:105GB:ntfs::;
3:106GB:255GB:149GB:ntfs::;
4:255GB:500GB:245GB:::;
6:255GB:255GB:538MB:fat32::;
7:255GB:496GB:240GB:ext4::;
5:496GB:500GB:4291MB:linux-swap(v1)::;

blkid (filtered): ______________________________________________________________

NAME   FSTYPE   UUID                                 PARTUUID                             LABEL                    PARTLABEL
sda                                                                                                                
├─sda1 ntfs     C84E7CE94E7CD224                     a2c285cd-01                          Réservé au système       
├─sda2 ntfs     163E83DD3E83B471                     a2c285cd-02                                                   
├─sda3 ntfs     433964C50471240F                     a2c285cd-03                                                   
├─sda4                                               a2c285cd-04                                                   
├─sda5 swap     c18fd2de-ff14-4541-a918-d08d56f4309e a2c285cd-05                                                   
├─sda6 vfat     1198-E51D                            a2c285cd-06                                                   
└─sda7 ext4     f690c50a-9eb5-446a-8ae3-3bb239196471 a2c285cd-07                                                   

Mount points (filtered): _______________________________________________________

                        Avail Use% Mounted on
/dev/sda1                468M   6% /mnt/boot-sav/sda1
/dev/sda2               22.1G  77% /mnt/boot-sav/sda2
/dev/sda3              133.2G   4% /mnt/boot-sav/sda3
/dev/sda6                512M   0% /mnt/boot-sav/sda6
/dev/sda7              183.5G  11% /mnt/boot-sav/sda7

Mount options (filtered): ______________________________________________________

/dev/sda1              fuseblk         rw,relatime,user_id=0,group_id=0,allow_other,blksize=4096
/dev/sda2              fuseblk         ro,relatime,user_id=0,group_id=0,allow_other,blksize=4096
/dev/sda3              fuseblk         rw,relatime,user_id=0,group_id=0,allow_other,blksize=4096
/dev/sda6              vfat            rw,relatime,fmask=0022,dmask=0022,codepage=437,iocharset=iso8859-1,shortname=mixed,errors=remount-ro
/dev/sda7              ext4            rw,relatime

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

Ubuntu   f690c50a-9eb5-446a-8ae3-3bb239196471
Ubuntu, avec Linux 5.13.0-40-generic   f690c50a-9eb5-446a-8ae3-3bb239196471
Ubuntu, avec Linux 5.13.0-30-generic   f690c50a-9eb5-446a-8ae3-3bb239196471
Windows 10 (sur sda1)   C84E7CE94E7CD224
### END /etc/grub.d/30_os-prober ###
### END /etc/grub.d/30_uefi-firmware ###

========================== sda7/etc/fstab (filtered) ===========================

# <file system> <mount point>   <type>  <options>       <dump>  <pass>
# / was on /dev/sda7 during installation
UUID=f690c50a-9eb5-446a-8ae3-3bb239196471 /               ext4    errors=remount-ro 0       1
# /boot/efi was on /dev/sda6 during installation
UUID=1198-E51D  /boot/efi       vfat    umask=0077      0       1
/swapfile                                 none            swap    sw              0       0

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

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

           GiB - GB             File                                 Fragment(s)
 321,986324310 = 345,730183168  boot/grub/grub.cfg                             2
 306,184932709 = 328,763568128  boot/grub/i386-pc/core.img                     1
 263,236038208 = 282,647543808  boot/vmlinuz                                   1
 243,578121185 = 261,540016128  boot/vmlinuz-5.13.0-30-generic                 2
 263,236038208 = 282,647543808  boot/vmlinuz-5.13.0-40-generic                 1
 243,578121185 = 261,540016128  boot/vmlinuz.old                               2
 266,394752502 = 286,039187456  boot/initrd.img                                2
 266,269725800 = 285,904941056  boot/initrd.img-5.13.0-30-generic              1
 266,394752502 = 286,039187456  boot/initrd.img-5.13.0-40-generic              2
 266,269725800 = 285,904941056  boot/initrd.img.old                            1

===================== sda7: 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

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

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

Unknown BootLoader on sda4

00000000  0e 06 0c 00 00 00 00 00  00 00 9c 05 00 00 00 00  |................|
00000010  f0 10 9b 05 00 00 00 00  48 11 9b 05 00 00 00 00  |........H.......|
00000020  00 00 04 02 00 00 00 00  00 00 9c 05 00 00 00 00  |................|
00000030  f0 10 9b 05 00 00 00 00  f0 10 9b 05 00 00 00 00  |................|
00000040  00 00 04 02 00 00 00 00  89 9b 28 1f 00 00 00 00  |..........(.....|
00000050  76 9b 28 1f 00 00 00 00  76 9b 28 1f 00 00 00 00  |v.(.....v.(.....|
00000060  80 00 00 00 00 00 00 00  01 00 00 00 18 00 00 00  |................|
00000070  00 00 00 00 00 00 00 00  08 00 00 00 28 00 58 00  |............(.X.|
00000080  80 00 00 00 44 00 01 00  f0 00 00 00 00 00 00 00  |....D...........|
00000090  b1 59 00 00 00 00 00 00  e9 80 90 03 00 00 00 00  |.Y..............|
000000a0  58 00 00 00 02 00 00 00  90 9c 01 00 00 00 09 00  |X...............|
000000b0  4e 18 00 00 00 00 02 00  f0 10 9b 05 00 00 00 00  |N...............|
000000c0  d9 cf 40 4c a6 12 d3 01  00 20 00 00 00 00 00 00  |..@L..... ......|
000000d0  00 00 00 00 20 00 00 00  18 00 3c 00 65 00 64 00  |.... .....<.e.d.|
000000e0  62 00 30 00 30 00 34 00  44 00 46 00 2e 00 6c 00  |b.0.0.4.D.F...l.|
000000f0  6f 00 67 00 00 00 00 00  9f 9b 28 1f 00 00 00 00  |o.g.......(.....|
00000100  89 9b 28 1f 00 00 00 00  89 9b 28 1f 00 00 00 00  |..(.......(.....|
00000110  68 00 00 00 00 00 00 00  01 00 00 00 18 00 00 00  |h...............|
00000120  00 00 00 00 00 00 00 00  0b 00 0b 00 28 00 20 00  |............(. .|
00000130  48 00 20 00 18 00 01 00  08 01 00 00 00 00 02 00  |H. .............|
00000140  0e 06 00 00 00 00 00 00  0e 06 0c 00 00 00 00 00  |................|
00000150  00 00 9c 05 00 00 00 00  48 11 9b 05 00 00 00 00  |........H.......|
00000160  48 11 9b 05 00 00 00 00  00 00 04 02 00 00 00 00  |H...............|
00000170  00 00 9c 05 00 00 00 00  f0 10 9b 05 00 00 00 00  |................|
00000180  48 11 9b 05 00 00 00 00  00 00 04 02 00 00 00 00  |H...............|
00000190  b2 9b 28 1f 00 00 00 00  9f 9b 28 1f 00 00 00 00  |..(.......(.....|
000001a0  00 00 00 00 00 00 00 00  28 00 00 00 00 00 00 00  |........(.......|
000001b0  01 00 00 00 18 00 00 00  00 00 00 00 00 00 00 fe  |................|
000001c0  ff ff 82 fe ff ff 02 48  0d 1c 00 e0 7f 00 00 fe  |.......H........|
000001d0  ff ff 05 fe ff ff 01 00  00 00 01 08 10 00 00 00  |................|
000001e0  00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00  |................|
000001f0  00 00 00 00 00 00 00 00  00 00 00 00 00 00 55 aa  |..............U.|
00000200




Suggested repair: ______________________________________________________________

The default repair of the Boot-Repair utility would purge (in order to reset grubenv) and reinstall the grub2 of
sda7 into the MBR of sda.
Grub-efi would not be selected by default because no ESP detected.
Additional repair would be performed: unhide-bootmenu-10s win-legacy-basic-fix

Dernière modification par geronimo2 (Le 26/10/2023, à 12:16)

Hors ligne

#2 Le 10/05/2022, à 23:10

armand jamot

Re : [RÉSOLU] unknow filesystem Entering rescue mode... grub rescue >

Bonsoir,
Et pourquoi tu ne dis pas le pb que tu as et ce que tu voulais  faire?
A moins que tout le monde connaisse tes pb et ta vie informatique!

Dernière modification par armand jamot (Le 10/05/2022, à 23:10)

Hors ligne

#3 Le 11/05/2022, à 00:10

geole

Re : [RÉSOLU] unknow filesystem Entering rescue mode... grub rescue >

Bonsoir.
Je suis désolé de ne pas savoir expliquer pouquoi tu as le message "unknown filesystem". Peux-tu en dire plus?

Dernière modification par geole (Le 11/05/2022, à 00:13)


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 Le 11/05/2022, à 06:40

Qid

Re : [RÉSOLU] unknow filesystem Entering rescue mode... grub rescue >

geole a écrit :

Je suis désolé de ne pas savoir expliquer pouquoi tu as le message "unknown filesystem".

Je ne voulais pas intervenir le premier de peur de me planter mais pour moi tout semble installé en mode bios alors qu'il existe bien une partition efi du coup je soupçonne l'ordi de chercher à démarrer dans ce mode...

Je serais bien curieux de savoir ce que donnerait un rapport bootinfo fait à partir d'une session efi et une tentative de démarrage forcé assisté de supergrubdisc


"GNU/Linux c'est que du bon mais M$ Windows ce n'est pas si mal"
Référent technique Ubuntu d'un Groupe d'Utilisateur du Libre
plus d'info sur mon profil

Hors ligne

#5 Le 11/05/2022, à 08:54

iznobe

Re : [RÉSOLU] unknow filesystem Entering rescue mode... grub rescue >

Bonjour , generalement , on peut obtenir ce message lorsque le BIOS ne demarre pas sur le bon peripherique ( celui contenant le GRUB ) .

Evidemment il peut y avoir d' autres raisons , mais c ' est celui qu ' on voit souvent arriver quand on vient d' installer et que l' ordi tente de demarrer sur un autre peripherique et donc qu ' il ne trouve pas de GRUB .

Pour resoudre le probleme , il faut aller dans le BIOS de l' ordi et mettre le bon disque ou partition en haut de la liste des peripheriques de demarrage ( boot order ) .

Dernière modification par iznobe (Le 11/05/2022, à 09:19)


retour utilisable de commande
MSI Z490A-pro , i7 10700 , 32 GB RAM .

Hors ligne

#6 Le 11/05/2022, à 10:36

Qid

Re : [RÉSOLU] unknow filesystem Entering rescue mode... grub rescue >

@ iznobe : oui aussi... Mais justement ma théorie peut être bonne : Juste un problème de ciblage


"GNU/Linux c'est que du bon mais M$ Windows ce n'est pas si mal"
Référent technique Ubuntu d'un Groupe d'Utilisateur du Libre
plus d'info sur mon profil

Hors ligne

#7 Le 11/05/2022, à 10:49

iznobe

Re : [RÉSOLU] unknow filesystem Entering rescue mode... grub rescue >

@Qid , on dit la meme chose tongue

Cela peut aussi etre , parceque ubuntu ne reconnait pas le systeme de fichiers ( probablement un NTFS ) et donc on en revient au meme " remede " , selectionner la bonne partition dans l' ordre de demarrage via le BIOS .


retour utilisable de commande
MSI Z490A-pro , i7 10700 , 32 GB RAM .

Hors ligne

#8 Le 11/05/2022, à 10:51

geole

Re : [RÉSOLU] unknow filesystem Entering rescue mode... grub rescue >

Bonjour.
Il ne faut pas faire une réparation EFI si on souhaite un dual boot avec windows qui est installé en LEGACY.

sda1:__________________________________________________________________________
    File system:       ntfs
    Boot sector type:  Windows 8/10/11/2012: NTFS
    Operating System:  
    Boot files:        /bootmgr /Boot/BCD
sda2: __________________________________________________________________________
    File system:       ntfs
    Boot sector type:  Windows 8/10/11/2012: NTFS
    Operating System:  Windows 8 or 10
    Boot files:        /Windows/System32/winload.exe

En revanche, il est possible que la suppression de la partition FAT32 (SDA6) qui ne contient aucun fichier permette d'avancer. J'ai vu cela dans une discussion récente. https://forum.ubuntu-fr.org/viewtopic.p … #p22561028

Dernière modification par geole (Le 11/05/2022, à 10:58)


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

#9 Le 11/05/2022, à 10:55

Qid

Re : [RÉSOLU] unknow filesystem Entering rescue mode... grub rescue >

Ouais mais justement...
Il faut vérifier la séquence de boot du bios...
Attendons que notre demandeur revienne...


"GNU/Linux c'est que du bon mais M$ Windows ce n'est pas si mal"
Référent technique Ubuntu d'un Groupe d'Utilisateur du Libre
plus d'info sur mon profil

Hors ligne