problème de démarrage

Cet espace permet de solliciter aide et conseils concernant l'installation, la personnalisation et l'utilisation de Xubuntu.
Bienvenue à tous !
fwehrli2
Messages : 44
Enregistré le : 08 nov. 2018, 09:50
Localisation : Volstroff 57
Contact :

problème de démarrage

Message par fwehrli2 »

Bonjour,
Je viens d'installer xubuntu 20.04 64 bits sur un hp portable.
Il y avait windows7 / xubuntu 18.04 en 32 bits.
J'ai choisi en installant la 20.04 de supprimer Xubuntu 18 et de le remplacer par la 20.04.
La partition windows n'a pas été formatée.

L'installation a bien abouti.
Cependant lorsque je démarre mon pc, voici le message:
Error: unknown filesystem.
Entering rescue mode...
grub rescue>

En bidouillant dans le boot du bios j'ai réussi à démarrer sur Xubuntu 20.04 mais j'ai de nouveau au démarrage ce même message.
Est-il possible d'avoir de nouveau le menu grub avec windwos 7 et xubuntu svp?
Merci d'avance.
Florent
garibald
Messages : 122
Enregistré le : 15 déc. 2011, 11:17
Contact :

Re: problème de démarrage

Message par garibald »

Quand tu dis "L'installation a bien abouti", le système a redémarré ?
fwehrli2
Messages : 44
Enregistré le : 08 nov. 2018, 09:50
Localisation : Volstroff 57
Contact :

Re: problème de démarrage

Message par fwehrli2 »

Le message était que l'installation était terminée et que je pouvais éjecter le support ( DVD) puis redémarrer.
fwehrli2
Messages : 44
Enregistré le : 08 nov. 2018, 09:50
Localisation : Volstroff 57
Contact :

Re: problème de démarrage

Message par fwehrli2 »

Bonjour,
.

J'arrive à démarrer sur xubuntu 20.04 depuis un dvd grubrescue.

J'ai installé et lancé boot-repair.
J'ai le message suivant:
Legacy windows détecté. Veuillez activer le mode bios-compatibility/csm/legacy dans votre firmware uefi et utiliser ce logiciel depuis un live cd

J'ai également demander un fichier rapport.
Voici son contenu:
boot-repair-4ppa130 [20210524_1539]

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

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

sda1: __________________________________________________________________________

File system: ntfs
Boot sector type: Windows 7/2008: 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 7/2008: NTFS
Boot sector info: No errors found in the Boot Parameter Block.
Operating System: Windows 7
Boot files: /Windows/System32/winload.exe

sda3: __________________________________________________________________________

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

sda4: __________________________________________________________________________

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

sda5: __________________________________________________________________________

File system: ext4
Boot sector type: -
Boot sector info:
Operating System: Ubuntu 20.04 LTS
Boot files: /etc/fstab /etc/default/grub


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

OS#1: L'OS actuellement utilisé - Ubuntu 20.04 LTS CurrentSession on sda5
OS#2: Windows 7 on sda2

============================ Architecture/Host Info ============================

CPU architecture: 64-bit
BOOT_IMAGE of the installed session in use:
/boot/vmlinuz-5.4.0-26-generic root=UUID=5f721c7c-3432-4286-a7f9-f33b19fbda74 ro


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

BIOS is EFI-compatible, and is setup in EFI-mode for this installed-session.
SecureBoot disabled.

efibootmgr -v
BootCurrent: 0004
Timeout: 0 seconds
BootOrder: 0000
Boot0000* ubuntu HD(3,MBR,0x2bd2c32a,0x21ce6000,0x100000)/File(\EFI\ubuntu\shimx64.efi)RC
Boot0001* Adaptateur réseau (IPv4 Legacy) BBS(128,Adaptateur r�seau (IPv4 Legacy),0x0).......................................................................
Boot0002* Disque dur portable - ST500LT012-1DG142 BBS(HD,Disque dur portable - ST500LT012-1DG142,0x500)................-.Y.......Y.A.Y.............................................A.........................
Boot0003* Lecteur de CD/DVD-ROM interne BBS(CDROM,Lecteur de CD/DVD-ROM interne,0x500)................-.`.......`.A.`.............................................A.........................
Boot0004* Lecteur de CD/DVD-ROM interne (UEFI) PciRoot(0x0)/Pci(0x1f,0x2)/Sata(1,0,0)/CDROM(1,0x5a,0x1680)/HD(1,MBR,0x0,0x0,0x1680)RC
Boot2001* EFI USB Device RC
Boot2002* EFI DVD/CDROM RC
Boot3000* Internal Hard Disk or Solid State Disk RC

bed45d1c9554cea09924d3814cb7c446 sda3/BOOT/fbx64.efi
4487628005555bfd4a4c0a47211e0700 sda3/BOOT/mmx64.efi
98bea152fadd26c4e9136916f6cc32a8 sda3/ubuntu/grubx64.efi
4487628005555bfd4a4c0a47211e0700 sda3/ubuntu/mmx64.efi
f7a57b08bc7c1c85417ae4cea582d1d4 sda3/ubuntu/shimx64.efi
f7a57b08bc7c1c85417ae4cea582d1d4 sda3/BOOT/BOOTX64.efi


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

Disks info: ____________________________________________________________________

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

Partitions info (1/3): _________________________________________________________

sda5 : is-os, 64, apt-get, grub-pc , grub2, grub-install, grubenv-ok, update-grub, farbios
sda1 : no-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

Partitions info (2/3): _________________________________________________________

sda5 : isnotESP, fstab-has-goodEFI, no-nt, no-winload, no-recov-nor-hid, no-bmgr, notwinboot
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 : is---ESP, 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
sda1 : not-sepboot, no-boot, part-has-no-fstab, not-sep-usr, no---usr, part-has-no-fstab, std-grub.d, sda
sda2 : not-sepboot, no-boot, part-has-no-fstab, not-sep-usr, no---usr, part-has-no-fstab, std-grub.d, sda
sda3 : not-sepboot, no-boot, part-has-no-fstab, not-sep-usr, no---usr, part-has-no-fstab, std-grub.d, sda

fdisk -l (filtered): ___________________________________________________________

Disk sda: 465.78 GiB, 500107862016 bytes, 976773168 sectors
Disk identifier: 0x2bd2c32a
Boot Start End Sectors Size Id Type
sda1 2048 206847 204800 100M 7 HPFS/NTFS/exFAT
sda2 206848 567171119 566964272 270.4G 7 HPFS/NTFS/exFAT
sda3 * 567173120 568221695 1048576 512M ef EFI (FAT-12/16/32)
sda4 568223742 976771071 408547330 194.8G 5 Extended
sda5 568223744 976771071 408547328 194.8G 83 Linux

parted -lm (filtered): _________________________________________________________

sda:500GB:scsi:512:4096:msdos:ATA ST500LT012-1DG14:;
1:1049kB:106MB:105MB:ntfs::;
2:106MB:290GB:290GB:ntfs::;
3:290GB:291GB:537MB:fat32::boot, esp;
4:291GB:500GB:209GB:::;
5:291GB:500GB:209GB:ext4::;
sr0:20.4MB:scsi:2048:2048:unknown:hp DVDRW DU8A6SH:;

blkid (filtered): ______________________________________________________________

NAME FSTYPE UUID PARTUUID LABEL PARTLABEL
sda
├─sda1 ntfs B032FFB932FF8320 2bd2c32a-01 Réservé au système
├─sda2 ntfs 0670022B70022253 2bd2c32a-02
├─sda3 vfat 1093-1A20 2bd2c32a-03
├─sda4 2bd2c32a-04
└─sda5 ext4 5f721c7c-3432-4286-a7f9-f33b19fbda74 2bd2c32a-05

df (filtered): _________________________________________________________________

Avail Use% Mounted on
sda1 75M 25% /mnt/boot-sav/sda1
sda2 228.5G 16% /mnt/boot-sav/sda2
sda5 173.9G 4% /

Mount options: __________________________________________________________________

sda1 rw,relatime,user_id=0,group_id=0,allow_other,blksize=4096
sda2 rw,relatime,user_id=0,group_id=0,allow_other,blksize=4096
sda5 rw,relatime,errors=remount-ro

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

search.fs_uuid 5f721c7c-3432-4286-a7f9-f33b19fbda74 root hd0,msdos5
set prefix=($root)'/boot/grub'
configfile $prefix/grub.cfg

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

# <file system> <mount point> <type> <options> <dump> <pass>
# / was on /dev/sda5 during installation
UUID=5f721c7c-3432-4286-a7f9-f33b19fbda74 / ext4 errors=remount-ro 0 1
# /boot/efi was on /dev/sda3 during installation
UUID=1093-1A20 /boot/efi vfat umask=0077 0 1
/swapfile none swap sw 0 0

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

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

GiB - GB File Fragment(s)
274,671989441 = 294,926802944 boot/vmlinuz 1
274,671989441 = 294,926802944 boot/vmlinuz-5.4.0-26-generic 1
275,457187653 = 295,769903104 boot/initrd.img 5
275,457187653 = 295,769903104 boot/initrd.img-5.4.0-26-generic 5
275,457187653 = 295,769903104 boot/initrd.img.old 5

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

-rwxr-xr-x 1 root root 17622 févr. 24 20:33 10_linux
-rwxr-xr-x 1 root root 42359 févr. 24 20:33 10_linux_zfs
-rwxr-xr-x 1 root root 12894 févr. 24 20:33 20_linux_xen
-rwxr-xr-x 1 root root 12059 févr. 24 20:33 30_os-prober
-rwxr-xr-x 1 root root 1424 févr. 24 20:33 30_uefi-firmware
-rwxr-xr-x 1 root root 214 févr. 24 20:33 40_custom
-rwxr-xr-x 1 root root 216 févr. 24 20:33 41_custom


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

Unknown BootLoader on sda4

00000000 f4 42 f4 b6 bc 4f f4 b6 38 42 f4 b6 38 65 f4 b6 |.B...O..8B..8e..|
00000010 ac 71 f4 b6 8c 49 f4 b6 fc 6c f4 b6 5c 63 f4 b6 |.q...I...l..\c..|
00000020 e4 48 f4 b6 04 5e f4 b6 68 5c f4 b6 0c 44 f4 b6 |.H...^..h\...D..|
00000030 88 54 f4 b6 00 49 f4 b6 d0 51 f4 b6 e8 4e f4 b6 |.T...I...Q...N..|
00000040 60 48 f4 b6 a4 4e f4 b6 b8 4f f4 b6 04 44 f4 b6 |`H...N...O...D..|
00000050 b4 6a f4 b6 34 62 f4 b6 2c 65 f4 b6 e0 40 f4 b6 |.j..4b..,e...@..|
00000060 80 54 f4 b6 bc 40 f4 b6 a0 66 f4 b6 54 48 f4 b6 |.T...@...f..TH..|
00000070 f0 4e f4 b6 e0 4e f4 b6 0c 74 f4 b6 c8 40 f4 b6 |.N...N...t...@..|
00000080 bc 6d f4 b6 d8 5b f4 b6 70 5f f4 b6 50 4e f4 b6 |.m...[..p_..PN..|
00000090 f8 5c f4 b6 8c 5b f4 b6 d0 43 f4 b6 b8 74 f4 b6 |.\...[...C...t..|
000000a0 b0 70 f4 b6 d4 49 f4 b6 8c 42 f4 b6 54 41 f4 b6 |.p...I...B..TA..|
000000b0 78 57 f4 b6 64 4c f4 b6 18 61 f4 b6 6c 50 f4 b6 |xW..dL...a..lP..|
000000c0 8c 59 f4 b6 44 4a f4 b6 f8 56 f4 b6 ec 46 f4 b6 |.Y..DJ...V...F..|
000000d0 fc 4e f4 b6 c4 66 f4 b6 44 4f f4 b6 e4 4f f4 b6 |.N...f..DO...O..|
000000e0 80 68 f4 b6 94 54 f4 b6 f0 6d f4 b6 88 5b f4 b6 |.h...T...m...[..|
000000f0 90 59 f4 b6 a4 5d f4 b6 e4 46 f4 b6 e4 4c f4 b6 |.Y...]...F...L..|
00000100 c8 68 f4 b6 8c 66 f4 b6 54 55 f4 b6 b8 6a f4 b6 |.h...f..TU...j..|
00000110 44 64 f4 b6 00 4c f4 b6 40 5c f4 b6 98 45 f4 b6 |Dd...L..@\...E..|
00000120 d0 61 f4 b6 54 47 f4 b6 1c 4f f4 b6 c8 42 f4 b6 |.a..TG...O...B..|
00000130 50 57 f4 b6 4c 43 f4 b6 90 56 f4 b6 18 5f f4 b6 |PW..LC...V..._..|
00000140 5c 46 f4 b6 6c 51 f4 b6 d4 55 f4 b6 60 59 f4 b6 |\F..lQ...U..`Y..|
00000150 74 55 f4 b6 64 74 f4 b6 2c 68 f4 b6 d8 63 f4 b6 |tU..dt..,h...c..|
00000160 f4 4f f4 b6 e4 4b f4 b6 10 73 f4 b6 54 60 f4 b6 |.O...K...s..T`..|
00000170 3c 51 f4 b6 50 45 f4 b6 bc 47 f4 b6 0c 5f f4 b6 |<Q..PE...G..._..|
00000180 08 43 f4 b6 dc 6c f4 b6 14 48 f4 b6 38 75 f4 b6 |.C...l...H..8u..|
00000190 98 69 f4 b6 f4 4c f4 b6 94 5a f4 b6 74 6b f4 b6 |.i...L...Z..tk..|
000001a0 88 59 f4 b6 04 43 f4 b6 e8 57 f4 b6 d0 75 f4 b6 |.Y...C...W...u..|
000001b0 b4 58 f4 b6 70 47 f4 b6 58 74 f4 b6 6c 44 00 fe |.X..pG..Xt..lD..|
000001c0 ff ff 83 fe ff ff 02 00 00 00 00 f0 59 18 00 00 |............Y...|
000001d0 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 reinstall the grub2 of
sda5 into the MBR of sda.
Grub-efi would not be selected by default because: legacy-win no-win-efi
Additional repair would be performed: unhide-bootmenu-10s win-legacy-basic-fix

Blockers in case of suggested repair: __________________________________________

LegacyWindows detected. Please enable BIOS-compatibility/CSM/Legacy mode in your UEFI firmware, and use this software from a live-CD (or live-USB).

Final advice in case of suggested repair: ______________________________________


The boot of your PC is in UEFI mode. You may want to retry after changing it to BIOS-compatibility/CSM/Legacy mode.
paste.ubuntu.com ko ()
paste.debian.net ko ()




Je dois avouer que ça me dépasse.
Merci d'avance.
Florent
VieuxMachin
Messages : 34
Enregistré le : 11 mai 2021, 17:51
Contact :

Re: problème de démarrage

Message par VieuxMachin »

Bonsoir,

Semblerait que l'installation de grub a bugué
Grub c'est ce logiciel qui te permet au démarrage de choisir ton OS (windows, linux etc..) sur lequel tu veux travailler.

En faisant cela tu risques de perdre l’accès a tes OS (windows et ou ubuntu, pense a faire tes SAUVEGARDES

Voici deux liens qui t'aideront à refaire le "Grub": le premier pour te permettre de booter sur ton linux, puis ensuite en suivant le deuxième pour refaire l'installation complète de ton "GRUB".
https://www.supergrubdisk.org/super-grub2-disk/
https://doc.ubuntu-fr.org/tutoriel/comm ... aurer_grub

dans le deuxième lien les commandes du début sont à faire dans le terminal :
sudo os-prober / sudo update-grub et sudo grub-install /dev/sda a faire les unes après les autres, après les avoir validées chacune avec entré et ton mot de passe. (sudo te permet d’exécuter la commande en mode root , l'équivalent de l'administrateur windows en plus puissant)


Voili Voila , bon courage :)
fwehrli2
Messages : 44
Enregistré le : 08 nov. 2018, 09:50
Localisation : Volstroff 57
Contact :

Re: problème de démarrage

Message par fwehrli2 »

Bonjour,
Merci.
J'ai une erreur à la deuxième commande: sudo update-grub

Impossible d'obtenir le chemin canonique de "/cow"
fwehrli2
Messages : 44
Enregistré le : 08 nov. 2018, 09:50
Localisation : Volstroff 57
Contact :

Re: problème de démarrage

Message par fwehrli2 »

OK le grub apparait à nouveau.
J'ai trouvé la solution sur cette page:
https://doc.ubuntu-fr.org/grub-pc

Puis faire ceci:
sudo -s
mkdir -p /tmp/newroot
mount -t ext4 /dev/sda3 /tmp/newroot
mount --bind /proc /tmp/newroot/proc
mount --bind /dev /tmp/newroot/dev
mount --bind /sys /tmp/newroot/sys
chroot /tmp/newroot/
/usr/sbin/update-grub
/usr/sbin/grub-install /dev/sda
exit

*remplacer sda3 par la réponse que vous donne sudo os-prober

Merci à tous pour votre aide.
Répondre