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 15/01/2021, à 10:21

Pierrotdu27

[RESOLU] Problème GRUB 1ère installation

Bonjour à tous.

Je suis ravi de faire partie de cette communauté Linux.
J'ai eu l'occasion d'utiliser Ubuntu pendant quelques tps sur une machine et j'ai été convaincu.
J'ai aussi conscience de ce que ça implique, savoir mettre les mains dans le cambouis quand c'est nécessaire.
Et là, c'est nécessaire et j'espère que vous pourrez m'apporter de l'aide.

Sur un PC tout neuf installé en Win10, je me lance dans un dual boot.
J'ai téléchargé une version Voyager 20.10, mais j'ai eu le même soucis en essayant la version 20.04.

Tout fonctionne correctement, windows, Ubuntu, c'est cool.
Sauf que lorsque j'éteins, le démarrage d'après me donne un message d'erreur :

error: Command failled.
error: Command failled.
error: Command failled.
error: Command failled.
error: Command failled.
error: Command failled.
error: you need to load the kernel first

Press any key to continue...

à partir de là je peux revenir au menu Grub et choisir uniquement d'accéder au BIOS.
Je sors en sauvegardant et là c'est bon je peux démarrer Ubuntu ou Windows.

Voilà le Boot Info :
https://paste.ubuntu.com/p/xhn6dJrMyN/

J'ai trouvé des gens qui avaient le même message que moi sur les forums, mais la situation n'était pas vraiment la même.
Et je dois bien dire que si je pouvais avoir l'accompagnement d'un spécialiste GRUB ici, ce serait génial.
Merci de vos lumières, de votre patience et générosité.
Pierre

Dernière modification par Pierrotdu27 (Le 25/01/2021, à 13:10)

Hors ligne

#2 Le 15/01/2021, à 20:00

lucmars

Re : [RESOLU] Problème GRUB 1ère installation

Le boot-info

boot-repair-4ppa125                                              [20210115_1129]

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

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

nvme0n1p1: _____________________________________________________________________

    File system:       vfat
    Boot sector type:  Windows 8/2012: FAT32
    Boot sector info:  No errors found in the Boot Parameter Block.
    Operating System:  
    Boot files:        /efi/Boot/bkpbootx64.efi /efi/Boot/bootx64.efi 
                       /efi/Boot/fbx64.efi /efi/Boot/grubx64.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 
                       /efi/Microsoft/Boot/memtest.efi

nvme0n1p2: _____________________________________________________________________

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

nvme0n1p3: _____________________________________________________________________

    File system:       ntfs
    Boot sector type:  Windows 8/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

nvme0n1p4: _____________________________________________________________________

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

nvme0n1p5: _____________________________________________________________________

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


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

OS#1:   L'OS actuellement utilisé - Ubuntu 20.10 CurrentSession on nvme0n1p5
OS#2:   Windows 8 or 10 on nvme0n1p3

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

CPU architecture: 64-bit
BOOT_IMAGE of the installed session in use:
/boot/vmlinuz-5.8.0-36-generic root=UUID=d93e95fe-acd6-4fcd-adb9-454684b8bfab ro quiet splash


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

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

efibootmgr -v
BootCurrent: 0001
Timeout: 2 seconds
BootOrder: 0001,0000,0015,0016,0017,0019,0018,001A,001B,001C,001D
Boot0000* Windows Boot Manager	HD(1,GPT,54e4c499-f191-4039-868d-bf57a596044e,0x800,0xf9800)/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(1,GPT,54e4c499-f191-4039-868d-bf57a596044e,0x800,0xf9800)/File(\EFI\ubuntu\shimx64.efi)
Boot0010  Setup	FvFile(721c8b66-426c-4e86-8e99-3457c46ab0b9)
Boot0011  Boot Menu	FvFile(86488440-41bb-42c7-93ac-450fbf7766bf)
Boot0012  Regulatory Information	FvFile(e4a83242-deee-f12e-15ff-0102036cc3ce)
Boot0013  Diagnostic Splash	FvFile(a7d8d9a6-6ab0-4aeb-ad9d-163e59a7a380)
Boot0014  OilDiagApp	FvFile(f8397897-e203-4a62-b977-9e7e5d94d91b)
Boot0015* NVMe: WDC PC SN520 SDAPMUW-256G-1101         	PciRoot(0x0)/Pci(0x1d,0x4)/Pci(0x0,0x0)/NVMe(0x1,00-1B-44-8B-46-1E-BD-3D)....2.LN........
Boot0016* MSATA Hard Drive:	VenMsg(bc7838d2-0f82-4d60-8316-c068ee79d25b,91af625956449f41a7b91f4f892ab0f602)
Boot0017* ATA HDD:	VenMsg(bc7838d2-0f82-4d60-8316-c068ee79d25b,91af625956449f41a7b91f4f892ab0f601)
Boot0018* ATAPI CD:	VenMsg(bc7838d2-0f82-4d60-8316-c068ee79d25b,aea2090adfde214e8b3a5e471856a354)
Boot0019* USB Device:	VenMsg(bc7838d2-0f82-4d60-8316-c068ee79d25b,33e821aaaf33bc4789bd419f88c50803)
Boot001A* PXE Network Boot: EFI Network (IPv4)	PciRoot(0x0)/Pci(0x1d,0x0)/Pci(0x0,0x0)/MAC(b4a9fca86619,0)/IPv4(0.0.0.00.0.0.0,0,0)x.J.+*.N.....=8.
Boot001B* USB CD:	VenMsg(bc7838d2-0f82-4d60-8316-c068ee79d25b,86701296aa5a7848b66cd49dd3ba6a55)
Boot001C* USB LAN:	VenMsg(bc7838d2-0f82-4d60-8316-c068ee79d25b,e854bca4cae7704ca322b00da0376322)
Boot001D* PCI LAN: EFI Network (IPv6)	PciRoot(0x0)/Pci(0x1d,0x0)/Pci(0x0,0x0)/MAC(b4a9fca86619,0)/IPv6([::]:<->[::]:,0,0)x.J.+*.N.....=8.

78415fb8fb9b909f8029858113f1335f   nvme0n1p1/Boot/bkpbootx64.efi
78415fb8fb9b909f8029858113f1335f   nvme0n1p1/Boot/bootx64.efi
2895d47544fd587b26c7e29be1295c27   nvme0n1p1/Boot/fbx64.efi
8ed07d5ee4e5e1534bcf64037b7589ff   nvme0n1p1/Boot/grubx64.efi
dc3c47be2f78a78e5e57d097ae6c5c84   nvme0n1p1/Boot/mmx64.efi
951288adcc81d2d86508f3f18d9753e0   nvme0n1p1/ubuntu/grubx64.efi
dc3c47be2f78a78e5e57d097ae6c5c84   nvme0n1p1/ubuntu/mmx64.efi
78415fb8fb9b909f8029858113f1335f   nvme0n1p1/ubuntu/shimx64.efi
3c080490d0eb8fdb738f298c3e44b3e0   nvme0n1p1/Microsoft/Boot/bootmgfw.efi
da7c9088c9d0bff4ac469abdfc8f540e   nvme0n1p1/Microsoft/Boot/bootmgr.efi


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

Disks info: ____________________________________________________________________

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

Partitions info (1/3): _________________________________________________________

nvme0n1p5	: is-os,	64, apt-get,	signed grub-pc grub-efi ,	grub2,	grub-install,	grubenv-ok,	update-grub,	farbios
nvme0n1p1	: no-os,	32, nopakmgr,	no-docgrub,	nogrub,	nogrubinstall,	no-grubenv,	noupdategrub,	not-far
nvme0n1p3	: is-os,	32, nopakmgr,	no-docgrub,	nogrub,	nogrubinstall,	no-grubenv,	noupdategrub,	not-far
nvme0n1p4	: no-os,	32, nopakmgr,	no-docgrub,	nogrub,	nogrubinstall,	no-grubenv,	noupdategrub,	farbios

Partitions info (2/3): _________________________________________________________

nvme0n1p5	: isnotESP,	fstab-has-goodEFI,	no-nt,	no-winload,	no-recov-nor-hid,	no-bmgr,	notwinboot
nvme0n1p1	: is---ESP,	part-has-no-fstab,	no-nt,	no-winload,	no-recov-nor-hid,	no-bmgr,	notwinboot
nvme0n1p3	: isnotESP,	part-has-no-fstab,	no-nt,	haswinload,	no-recov-nor-hid,	no-bmgr,	notwinboot
nvme0n1p4	: isnotESP,	part-has-no-fstab,	no-nt,	no-winload,	recovery-or-hidden,	no-bmgr,	notwinboot

Partitions info (3/3): _________________________________________________________

nvme0n1p5	: not-sepboot,	with-boot,	fstab-without-boot,	not-sep-usr,	with--usr,	fstab-without-usr,	std-grub.d,	nvme0n1
nvme0n1p1	: not-sepboot,	no-boot,	part-has-no-fstab,	not-sep-usr,	no---usr,	part-has-no-fstab,	std-grub.d,	nvme0n1
nvme0n1p3	: not-sepboot,	no-kernel,	part-has-no-fstab,	not-sep-usr,	no---usr,	part-has-no-fstab,	std-grub.d,	nvme0n1
nvme0n1p4	: not-sepboot,	no-boot,	part-has-no-fstab,	not-sep-usr,	no---usr,	part-has-no-fstab,	std-grub.d,	nvme0n1

fdisk -l (filtered): ___________________________________________________________

Disk nvme0n1: 238.47 GiB, 256060514304 bytes, 500118192 sectors
Disk identifier: D246FFF7-A3BB-44D0-B292-46E53D4417BB
              Start       End   Sectors   Size Type
nvme0n1p1      2048   1023999   1021952   499M EFI System
nvme0n1p2   1024000   1286143    262144   128M Microsoft reserved
nvme0n1p3   1286144 187914239 186628096    89G Microsoft basic data
nvme0n1p4 495116288 500117503   5001216   2.4G Windows recovery environment
nvme0n1p5 187914240 495116287 307202048 146.5G Linux filesystem
Partition table entries are not in disk order.

parted -lm (filtered): _________________________________________________________

nvme0n1:256GB:nvme:512:512:gpt:WDC PC SN520 SDAPMUW-256G-1101:;
1:1049kB:524MB:523MB:fat32:EFI system partition:boot, esp;
2:524MB:659MB:134MB::Microsoft reserved partition:msftres;
3:659MB:96.2GB:95.6GB:ntfs:Basic data partition:msftdata;
5:96.2GB:253GB:157GB:ext4::;
4:253GB:256GB:2561MB:ntfs:Basic data partition:diag;

blkid (filtered): ______________________________________________________________

NAME        FSTYPE   UUID                                 PARTUUID                             LABEL    PARTLABEL
nvme0n1                                                                                                 
├─nvme0n1p1 vfat     58C5-68D7                            54e4c499-f191-4039-868d-bf57a596044e BOOT     EFI system partition
├─nvme0n1p2                                               27667af0-468f-47c5-92db-38fb04430b57          Microsoft reserved partition
├─nvme0n1p3 ntfs     D234C67A34C66159                     23816279-48de-461b-a2d2-652fdadf42dd Windows  Basic data partition
├─nvme0n1p4 ntfs     C0E2C6C3E2C6BCC2                     0757a62b-6173-4bba-bb49-3441b9fae828 Recovery Basic data partition
└─nvme0n1p5 ext4     d93e95fe-acd6-4fcd-adb9-454684b8bfab 81790459-4164-4dc3-b876-2e5ef3470e3d          

df (filtered): _________________________________________________________________

                   Avail Use% Mounted on
nvme0n1p3          51.3G  42% /mnt/boot-sav/nvme0n1p3
nvme0n1p4           1.9G  20% /mnt/boot-sav/nvme0n1p4
nvme0n1p5         123.2G   9% /

Mount options: __________________________________________________________________

nvme0n1p3         rw,relatime,user_id=0,group_id=0,allow_other,blksize=4096
nvme0n1p4         rw,relatime,user_id=0,group_id=0,allow_other,blksize=4096
nvme0n1p5         rw,relatime,errors=remount-ro

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

search.fs_uuid d93e95fe-acd6-4fcd-adb9-454684b8bfab root 
set prefix=($root)'/boot/grub'
configfile $prefix/grub.cfg

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

Ubuntu   d93e95fe-acd6-4fcd-adb9-454684b8bfab
Ubuntu, with Linux 5.8.0-36-generic   d93e95fe-acd6-4fcd-adb9-454684b8bfab
Ubuntu, with Linux 5.8.0-25-generic   d93e95fe-acd6-4fcd-adb9-454684b8bfab
Windows Boot Manager (on nvme0n1p1)   osprober-efi-58C5-68D7
### END /etc/grub.d/30_os-prober ###
UEFI Firmware Settings   uefi-firmware
### END /etc/grub.d/30_uefi-firmware ###

======================== nvme0n1p5/etc/fstab (filtered) ========================

# <file system> <mount point>   <type>  <options>       <dump>  <pass>
# / was on /dev/nvme0n1p5 during installation
UUID=d93e95fe-acd6-4fcd-adb9-454684b8bfab /               ext4    errors=remount-ro 0       1
# /boot/efi was on /dev/nvme0n1p1 during installation
/swapfile                                 none            swap    sw              0       0
UUID=58C5-68D7  /boot/efi       vfat    defaults      0       1

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

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

           GiB - GB             File                                 Fragment(s)
 167,856750488 = 180,234813440  boot/grub/grub.cfg                             1
 164,054763794 = 176,152461312  boot/vmlinuz                                   1
  95,109447479 = 102,122991616  boot/vmlinuz-5.8.0-25-generic                  2
 164,054763794 = 176,152461312  boot/vmlinuz-5.8.0-36-generic                  1
  95,109447479 = 102,122991616  boot/vmlinuz.old                               2
 100,356128693 = 107,756572672  boot/initrd.img                                3
 100,287754059 = 107,683155968  boot/initrd.img-5.8.0-25-generic               1
 100,356128693 = 107,756572672  boot/initrd.img-5.8.0-36-generic               3
 100,287754059 = 107,683155968  boot/initrd.img.old                            1

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

-rwxr-xr-x 1 root root 17622 oct.   1 16:59 10_linux
-rwxr-xr-x 1 root root 42359 oct.   1 16:59 10_linux_zfs
-rwxr-xr-x 1 root root 12894 oct.   1 16:59 20_linux_xen
-rwxr-xr-x 1 root root 12059 oct.   1 16:59 30_os-prober
-rwxr-xr-x 1 root root  1424 oct.   1 16:59 30_uefi-firmware
-rwxr-xr-x 1 root root   214 oct.   1 16:59 40_custom
-rwxr-xr-x 1 root root   216 oct.   1 16:59 41_custom


Suggested repair: ______________________________________________________________

The default repair of the Boot-Repair utility would reinstall the grub-efi-amd64-signed of
nvme0n1p5,
using the following options:        nvme0n1p1/boot/efi,
Additional repair would be performed: unhide-bootmenu-10s win-legacy-basic-fix use-standard-efi-file  restore-efi-backups  

Final advice in case of suggested repair: ______________________________________


Please do not forget to make your UEFI firmware boot on the L'OS actuellement utilisé - Ubuntu 20.10 CurrentSession entry (nvme0n1p1/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)

Gaulois Matter !

Hors ligne

#3 Le 15/01/2021, à 20:04

lucmars

Re : [RESOLU] Problème GRUB 1ère installation

M'est avis que t'as un bios à la con ; donnes-nous la référence exacte de ton PC, stp.


Gaulois Matter !

Hors ligne

#4 Le 15/01/2021, à 21:16

Pierrotdu27

Re : [RESOLU] Problème GRUB 1ère installation

Hello lucmars et merci de t'intéresser un peu à mon pb.
Le PC est un Lenovo-ThinkBook-14-IIL tout neuf.

Hors ligne

#5 Le 16/01/2021, à 17:54

Pierrotdu27

Re : [RESOLU] Problème GRUB 1ère installation

Une bonne âme pour se pencher sur mon problème ???

Je désespère et j'ai peur de devoir retourner sur windows et retrouver tous ces pb de virus, etc.

Merci de votre aide.
Pierre

Hors ligne

#6 Le 16/01/2021, à 20:37

lucmars

Re : [RESOLU] Problème GRUB 1ère installation

Sois patient, car tu peux mettre win en priorité de boot !

Vois dans la doc si ton pc est répertorié (qui sait ?)

In fine, tu tenteras la réparation de boot-repair depuis ta clef/dvd buntu


Gaulois Matter !

Hors ligne

#7 Le 25/01/2021, à 13:06

Pierrotdu27

Re : [RESOLU] Problème GRUB 1ère installation

J'ai résolu mon problème.
C'était lié à un mauvais réglage dans le BIOS.

Il y avait une ligne " OS Optimized Defaults " qui était sur ENABLE.
J'ai mis sur DISABLE et tout fonctionne.

Une histoire de pure UEFI mode ou legacy support mode.
Je passe en résolu.

Hors ligne

#8 Le 25/01/2021, à 14:23

malbo

Re : [RESOLU] Problème GRUB 1ère installation

Bonjour,
Je souhaiterais ajouter ton modèle d'ordi dans la Liste des portables « Lenovo » mais il y a plusieurs modèles qui répondent à la désignation "Lenovo-ThinkBook-14-IIL" que tu as mentionnée dans le post #4. Pour préciser ce point, je te prie de noter ce qu'il y a dans le champ "MTM" si tu vas dans l'onglet "Information" du Bios (voir un exemple sur cette photo pour un autre modèle de chez Lenovo). Cet identifiant MTM signifie "Machine-Type-Model "

Dernière modification par malbo (Le 25/01/2021, à 14:25)

Hors ligne

#9 Le 27/01/2021, à 20:24

Pierrotdu27

Re : [RESOLU] Problème GRUB 1ère installation

Bonjour malbo,

malheureusement c'est le laptop de la fille de ma collègue.
Je ne l'ai plus en ma possession.
Je vais lui demander une photo de la 1ère page du BIOS, mais je ne suis pas certain qu'elle se débrouille assez pour faire ça.
Je te tiens au courant.
A+
Pierre

Hors ligne

#10 Le 27/01/2021, à 20:38

malbo

Re : [RESOLU] Problème GRUB 1ère installation

Bonsoir,
Oublie ma demande du post #8

Hors ligne