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 17/10/2020, à 16:57

Mentalink

Problème lors de l'installation : grub-install

Bonjour,

Je tente d'installer Ubuntu 20.04 LTS en dual-boot avec WIndows 10 sur un ordinateur portable Acer ayant 128Go de SSD. Je le fais, comme je l'ai déjà fait à plusieurs reprises sur d'autres ordinateurs, par une clé USB bootable.
J'ai comme vous le constatez peu d'espace. Mais mon utilisation principale de mon ordinateur restera sur WIndows pour le moment. C'est pourquoi j'aimerais installer Ubuntu sur seulement 9Go, avec l'installation minimale.
J'ai donc créé avec Gparted (depuis l'environnement fourni par la clé) une partition de 9Go. Lors de l'installation, je la sélectionne manuellement, je fais les réglages nécessaires : système de fichier ext4 et racine \.
La copie des fichiers sur la partition se fait sans problème, etc., mais arrivé à l'étape de l'installation du grub, "grub-install", une "erreur fatale" se produit.
J'ai recommencé l'installation : le même problème survient.

Que faire ? Merci d'avance pour vos réponses.


Antoine Vauchel.

Hors ligne

#2 Le 17/10/2020, à 18:05

lucmars

Re : Problème lors de l'installation : grub-install

Depuis ta clef buntu fais-nous un boot-info (voir la doc).

Cela dit 9go pour ubuntu, meme minimal, ça n'ira pas loin.


Gaulois Matter !

Hors ligne

#3 Le 18/10/2020, à 14:42

Mentalink

Re : Problème lors de l'installation : grub-install

Bonjour,
Merci beaucoup pour votre réponse.

J'ai essayé la commande suivante depuis la session live fournie par ma clé :

sudo add-apt-repository -y ppa:ubuntu/boot-repair && sudo apt update && sudo apt install -y boot-info && boot-info

Il me renvoyait l'erreur suivante :

Cannot add PPA: 'ppa:~ubuntu/ubuntu/boot-repair'.
ERROR: '~Computer' user or team does not exist.

J'ai donc vérifié le nom d'utilisateur, qui était bien "ubuntu", et je l'ai renommé "ubuntou".
Toujours la même erreur.

J'ai essayé de supprimer la première instruction, en tapant :

sudo apt update && sudo apt install -y boot-info && boot-info

Toujours des erreurs... :

ubuntu@ubuntu:~$ sudo apt update && sudo apt install -y boot-info && boot-info
Ign:1 cdrom://Ubuntu 20.04 LTS _Focal Fossa_ - Release amd64 (20200423) focal InRelease
Hit:2 cdrom://Ubuntu 20.04 LTS _Focal Fossa_ - Release amd64 (20200423) focal Release
Err:3 http://archive.ubuntu.com/ubuntu focal InRelease
  Temporary failure resolving 'archive.ubuntu.com'
Err:4 http://archive.ubuntu.com/ubuntu focal-updates InRelease
  Temporary failure resolving 'archive.ubuntu.com'
Err:5 http://security.ubuntu.com/ubuntu focal-security InRelease
  Temporary failure resolving 'security.ubuntu.com'
Reading package lists... Done
Building dependency tree       
Reading state information... Done
All packages are up to date.
W: Failed to fetch http://archive.ubuntu.com/ubuntu/dists/focal/InRelease  Temporary failure resolving 'archive.ubuntu.com'
W: Failed to fetch http://security.ubuntu.com/ubuntu/dists/focal-security/InRelease  Temporary failure resolving 'security.ubuntu.com'
W: Failed to fetch http://archive.ubuntu.com/ubuntu/dists/focal-updates/InRelease  Temporary failure resolving 'archive.ubuntu.com'
W: Some index files failed to download. They have been ignored, or old ones used instead.
Reading package lists... Done
Building dependency tree       
Reading state information... Done
E: Unable to locate package boot-info

Pourriez-vous m'aider s'il vous plaît ?

Cordialement.

Hors ligne

#4 Le 19/10/2020, à 17:38

lucmars

Re : Problème lors de l'installation : grub-install

Depuis la doc de boot-info copie/colle les commandes dans le terminal, c'est plus sur.


Gaulois Matter !

Hors ligne

#5 Le 23/10/2020, à 19:49

Mentalink

Re : Problème lors de l'installation : grub-install

Bonjour,
Merci pour votre réponse.
Je n'avais pas copié/collé pour ne pas à avoir à me connecter à internet depuis la session live. Malheureusement, je ne sais pas recopier... Excusez-moi.
Voici le rapport obtenu :

boot-info-4ppa125                                              [20201023_1744]

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

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

sda1: __________________________________________________________________________

    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/bootx64.efi /efi/Boot/fbx64.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

sda2: __________________________________________________________________________

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

sda3: __________________________________________________________________________

    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

sda4: __________________________________________________________________________

    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:        

sda5: __________________________________________________________________________

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

sdb: ___________________________________________________________________________

    File system:       iso9660
    Boot sector type:  Unknown
    Boot sector info: 
    Mounting failed:   mount: /mnt/BootInfo/FD/sdb: /dev/sdb already mounted or mount point busy.


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

OS#1:   Windows 8 or 10 on sda3

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

CPU architecture: 64-bit
Live-session OS is Ubuntu 64-bit (Ubuntu 20.04 LTS, focal, x86_64)


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

BIOS is EFI-compatible, and is setup in EFI-mode for this live-session.
SecureBoot enabled.

efibootmgr -v
BootCurrent: 0002
Timeout: 2 seconds
BootOrder: 0002,0003,0004,2003,2001,2002
Boot0000* EFI Network 0 for IPv4 (18-60-24-4B-EC-92) 	PciRoot(0x0)/Pci(0x13,0x0)/Pci(0x0,0x0)/MAC(1860244bec92,0)/IPv4(0.0.0.00.0.0.0,0,0)RC
Boot0001* EFI Network 0 for IPv6 (18-60-24-4B-EC-92) 	PciRoot(0x0)/Pci(0x13,0x0)/Pci(0x0,0x0)/MAC(1860244bec92,0)/IPv6([::]:<->[::]:,0,0)RC
Boot0002* Linpus lite	HD(1,MBR,0x15f006ae,0x406eb0,0x1f00)/File(\EFI\Boot\grubx64.efi)RC
Boot0003* ubuntu	HD(1,GPT,76d5dcbe-f61d-4e09-b260-7ed4e41e4c71,0x800,0xf9800)/File(\EFI\ubuntu\shimx64.efi)RC
Boot0004* Windows Boot Manager	HD(1,GPT,76d5dcbe-f61d-4e09-b260-7ed4e41e4c71,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.}....................
Boot2001* EFI USB Device	RC
Boot2002* EFI DVD/CDROM	RC
Boot2003* EFI Network	RC

78415fb8fb9b909f8029858113f1335f   sda1/Boot/bootx64.efi
2895d47544fd587b26c7e29be1295c27   sda1/Boot/fbx64.efi
dc3c47be2f78a78e5e57d097ae6c5c84   sda1/Boot/mmx64.efi
114bd85eec32e3162958ea034020821d   sda1/ubuntu/grubx64.efi
dc3c47be2f78a78e5e57d097ae6c5c84   sda1/ubuntu/mmx64.efi
78415fb8fb9b909f8029858113f1335f   sda1/ubuntu/shimx64.efi
15ba29cdd4054fd936a6e6acbd791336   sda1/Microsoft/Boot/bootmgfw.efi
425b3cd6722f65838d3196ec7c39d9a4   sda1/Microsoft/Boot/bootmgr.efi


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

Disks info: ____________________________________________________________________

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

Partitions info (1/3): _________________________________________________________

sda1	: no-os,	32, nopakmgr,	no-docgrub,	nogrub,	nogrubinstall,	no-grubenv,	noupdategrub,	not-far
sda3	: is-os,	32, nopakmgr,	no-docgrub,	nogrub,	nogrubinstall,	no-grubenv,	noupdategrub,	farbios
sda4	: no-os,	32, nopakmgr,	no-docgrub,	nogrub,	nogrubinstall,	no-grubenv,	noupdategrub,	farbios
sda5	: no-os,	32, nopakmgr,	no-docgrub,	nogrub,	nogrubinstall,	no-grubenv,	noupdategrub,	farbios

Partitions info (2/3): _________________________________________________________

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

fdisk -l (filtered): ___________________________________________________________

Disk sda: 119.25 GiB, 128035676160 bytes, 250069680 sectors
Disk identifier: 2C89F1FA-E39B-4E9B-AFF2-9D284E94645B
          Start       End   Sectors   Size Type
sda1       2048   1023999   1021952   499M EFI System
sda2    1024000   1286143    262144   128M Microsoft reserved
sda3    1286144 230594559 229308416 109.4G Microsoft basic data
sda4  248399872 250069646   1669775 815.3M Windows recovery environment
sda5  230594560 248399247  17804688   8.5G Linux filesystem
Partition table entries are not in disk order.
Disk sdb: 3.77 GiB, 4026531840 bytes, 7864320 sectors
Disk identifier: 0x15f006ae
      Boot   Start     End Sectors  Size Id Type
sdb1  *          0 5303231 5303232  2.5G  0 Empty
sdb2       4222640 4230575    7936  3.9M ef EFI (FAT-12/16/32)
sdb3       5304320 7864319 2560000  1.2G 83 Linux

parted -lm (filtered): _________________________________________________________

sda:128GB:scsi:512:4096:gpt:ATA SanDisk SD8SN8U-:;
1:1049kB:524MB:523MB:fat32:EFI system partition:boot, esp;
2:524MB:659MB:134MB::Microsoft reserved partition:msftres;
3:659MB:118GB:117GB:ntfs:Basic data partition:msftdata;
5:118GB:127GB:9116MB:ext4::;
4:127GB:128GB:855MB:ntfs::hidden, diag;
sdb:4027MB:scsi:512:512:unknown:Generic Flash Disk:;

blkid (filtered): ______________________________________________________________

NAME   FSTYPE   UUID                                 PARTUUID                             LABEL                  PARTLABEL
sda                                                                                                              
├─sda1 vfat     9CF0-C65C                            76d5dcbe-f61d-4e09-b260-7ed4e41e4c71 BOOT                   EFI system partition
├─sda2                                               499992e3-c2d2-4efd-9163-8fdbf99f4af6                        Microsoft reserved partition
├─sda3 ntfs     DC22F35722F334DC                     0547de4c-52e4-414d-9b62-b7deb2341b82 Windows                Basic data partition
├─sda4 ntfs     5E18ACFA18ACD277                     98c47eb2-fde7-4c5a-a653-11a52ac53520                        
└─sda5 ext4     3d00b99e-db8a-4892-9e99-b667de807eb3 97f3be30-e283-4503-9eb5-7fecdd1d4c91                        
sdb    iso9660  2020-04-23-07-51-42-00                                                    Ubuntu 20.04 LTS amd64 
├─sdb1 iso9660  2020-04-23-07-51-42-00               15f006ae-01                          Ubuntu 20.04 LTS amd64 
├─sdb2 vfat     1AC3-20ED                            15f006ae-02                                                 
└─sdb3 ext4     8841886a-2a21-4419-b751-0b8b497815ab 15f006ae-03                          writable               

df (filtered): _________________________________________________________________

                                                          Avail Use% Mounted on
disk/by-label/writable[/install-logs-2020-10-23.0/crash]   1.1G   1% /var/crash
disk/by-label/writable[/install-logs-2020-10-23.0/log]     1.1G   1% /var/log
sda1                                                     462.1M   7% /mnt/boot-sav/sda1
sda3                                                      13.1G  88% /mnt/boot-sav/sda3
sda4                                                     311.7M  62% /mnt/boot-sav/sda4
sda5                                                       7.9G   0% /mnt/boot-sav/sda5
sdb1                                                          0 100% /cdrom

Mount options: __________________________________________________________________

disk/by-label/writable[/install-logs-2020-10-23.0/crash] rw,relatime
disk/by-label/writable[/install-logs-2020-10-23.0/log]   rw,relatime
sda1                                                     rw,relatime,fmask=0022,dmask=0022,codepage=437,iocharset=iso8859-1,shortname=mixed,errors=remount-ro
sda3                                                     rw,relatime,user_id=0,group_id=0,allow_other,blksize=4096
sda4                                                     rw,relatime,user_id=0,group_id=0,allow_other,blksize=4096
sda5                                                     rw,relatime
sdb1                                                     ro,noatime,nojoliet,check=s,map=n,blocksize=2048

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

search.fs_uuid bfb7d718-f9f3-4f1e-909a-cb6dcff83bb5 root hd0,gpt5 
set prefix=($root)'/boot/grub'
configfile $prefix/grub.cfg


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

Unknown BootLoader on sdb

00000000  45 52 08 00 00 00 90 90  00 00 00 00 00 00 00 00  |ER..............|
00000010  00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00  |................|
00000020  33 ed fa 8e d5 bc 00 7c  fb fc 66 31 db 66 31 c9  |3......|..f1.f1.|
00000030  66 53 66 51 06 57 8e dd  8e c5 52 be 00 7c bf 00  |fSfQ.W....R..|..|
00000040  06 b9 00 01 f3 a5 ea 4b  06 00 00 52 b4 41 bb aa  |.......K...R.A..|
00000050  55 31 c9 30 f6 f9 cd 13  72 16 81 fb 55 aa 75 10  |U1.0....r...U.u.|
00000060  83 e1 01 74 0b 66 c7 06  f3 06 b4 42 eb 15 eb 02  |...t.f.....B....|
00000070  31 c9 5a 51 b4 08 cd 13  5b 0f b6 c6 40 50 83 e1  |1.ZQ....[...@P..|
00000080  3f 51 f7 e1 53 52 50 bb  00 7c b9 04 00 66 a1 b0  |?Q..SRP..|...f..|
00000090  07 e8 44 00 0f 82 80 00  66 40 80 c7 02 e2 f2 66  |..D.....f@.....f|
000000a0  81 3e 40 7c fb c0 78 70  75 09 fa bc ec 7b ea 44  |.>@|..xpu....{.D|
000000b0  7c 00 00 e8 83 00 69 73  6f 6c 69 6e 75 78 2e 62  ||.....isolinux.b|
000000c0  69 6e 20 6d 69 73 73 69  6e 67 20 6f 72 20 63 6f  |in missing or co|
000000d0  72 72 75 70 74 2e 0d 0a  66 60 66 31 d2 66 03 06  |rrupt...f`f1.f..|
000000e0  f8 7b 66 13 16 fc 7b 66  52 66 50 06 53 6a 01 6a  |.{f...{fRfP.Sj.j|
000000f0  10 89 e6 66 f7 36 e8 7b  c0 e4 06 88 e1 88 c5 92  |...f.6.{........|
00000100  f6 36 ee 7b 88 c6 08 e1  41 b8 01 02 8a 16 f2 7b  |.6.{....A......{|
00000110  cd 13 8d 64 10 66 61 c3  e8 1e 00 4f 70 65 72 61  |...d.fa....Opera|
00000120  74 69 6e 67 20 73 79 73  74 65 6d 20 6c 6f 61 64  |ting system load|
00000130  20 65 72 72 6f 72 2e 0d  0a 5e ac b4 0e 8a 3e 62  | error...^....>b|
00000140  04 b3 07 cd 10 3c 0a 75  f1 cd 18 f4 eb fd 00 00  |.....<.u........|
00000150  00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00  |................|
*
000001b0  c4 20 40 00 00 00 00 00  ae 06 f0 15 00 00 80 00  |. @.............|
000001c0  01 00 00 a1 e0 fe 00 00  00 00 c0 eb 50 00 00 fe  |............P...|
000001d0  ff ff ef fe ff ff b0 6e  40 00 00 1f 00 00 00 2d  |.......n@......-|
000001e0  64 4a 83 87 5e e9 00 f0  50 00 00 10 27 00 00 00  |dJ..^...P...'...|
000001f0  00 00 00 00 00 00 00 00  00 00 00 00 00 00 55 aa  |..............U.|
00000200


=============================== StdErr Messages ================================

File descriptor 63 (pipe:[101167]) leaked on lvs invocation. Parent PID 8056: /bin/bash

Suggested repair: ______________________________________________________________

The default repair of the Boot-Repair utility would not act on the MBR.
Additional repair would be performed:  win-legacy-basic-fix     

A noter que depuis la tentative d'installation, lorsque j'allume l'ordinateur, s'affiche une invite de commande grise foncée et je suis obligé dès le démarage d'aller dans les options de boot et de sélectionner WIndows Manager manuellement...
J'ai formaté la petite partition (de 9Go) où se trouvait le morceau d'Ubuntu qui ne fonctionnait pas.

Hors ligne

#6 Le 24/10/2020, à 16:29

lucmars

Re : Problème lors de l'installation : grub-install

Déjà ton dual-boot est fait dans les règles de l'art.

D'après le rapport windows se trouve aprés ubuntu dans l'ordre de boot.

Bon, possible que 9go soit insuffisant; possible également que ta clef fut mal faite.


Gaulois Matter !

Hors ligne

#7 Le 25/10/2020, à 09:03

ikewdu

Re : Problème lors de l'installation : grub-install

Salut,

sda5                                                       7.9G   0% /mnt/boot-sav/sda5

Pas d'Ubuntu sur ton PC. Si tu bootes en priorité sur l'entrée "ubuntu" dans ton menu de démarrage, tu as forcément une message grub> . Et c'est le cas.

BootOrder: 0002,0003,0004,2003,2001,2002

Réinstalle déjà ton ubuntu dans un espace de 20 Go au minimum, et on verra après.

Dernière modification par ikewdu (Le 25/10/2020, à 09:29)

Hors ligne

#8 Le 27/10/2020, à 15:05

Mentalink

Re : Problème lors de l'installation : grub-install

Bonjour,
Merci pour vos réponses.

J'ai fait de la place sur ma partition principale et je l'ai réduite pour avoir 20Go de libre pour Ubuntu.
L'installation se passait bien : j'ai choisi "Autre chose" pour partitionner le disque. Je ne sais pas si c'est l'idéal, mais comme je me fiche de séparer le système d'exploitation et les fichiers personnels (parce que de toute façon quand je le fais, je le fais mal : mes fichiers s'enregistrent là où il ne faut pas), j'ai simplement créé une partition (sda5) de type ext4 avec pour point de montage /. Et j'ai lancé l'installation là-dessus !
Je choisis le fuseau horaire, le nom d'utilisateur, mot de passe etc. et hop : l'application rencontre une erreur et l'installation n'aboutit pas.

Je vais essayer d'ici votre prochaine réponse (j'espère en avoir) de refaire ma clé bootable.
Tous vos conseils sont les bienvenus. Merci.

Hors ligne

#9 Le 27/10/2020, à 16:46

Mentalink

Re : Problème lors de l'installation : grub-install

Rebonjour,

J'ai comme annoncé refait une clé bootable d'Ubuntu (j'ai retéléchargé le .iso). J'ai recommencé l'installation (minimale) avec l'option qui supprime l'ancienne version et installe Ubuntu sur la partition.
C'est mieux que la dernière fois mais je rencontre le même problème qu'au début : à 3/4 de la 2e étape, une fenêtre s'ouvre :
"L'exécution de 'grub-install /dev /sda' a échoué. Cette erreur est fatale."

J'ai fait un boot-info si ça peut être utile :

boot-info-4ppa125                                              [20201027_1538]

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

 => No boot loader is installed in the MBR of /dev/sda.
 => Syslinux MBR (5.00 and higher) is installed in the MBR of /dev/sdb.

sda1: __________________________________________________________________________

    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:        

sda2: __________________________________________________________________________

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

sda3: __________________________________________________________________________

    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

sda4: __________________________________________________________________________

    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:        

sda5: __________________________________________________________________________

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

sdb1: __________________________________________________________________________

    File system:       vfat
    Boot sector type:  SYSLINUX 6.04
    Boot sector info:  Syslinux looks at sector 16400 of /dev/sdb1 for its 
                       second stage. The integrity check of Syslinux failed. 
                       No errors found in the Boot Parameter Block.
    Operating System:  
    Boot files:        /boot/grub/grub.cfg /syslinux.cfg 
                       /efi/BOOT/grubx64.efi /efi/BOOT/mmx64.efi /ldlinux.sys


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

OS#1:   Windows 8 or 10 on sda3
OS#2:   Ubuntu 20.04.1 LTS on sda5

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

CPU architecture: 64-bit
Live-session OS is Ubuntu 64-bit (Ubuntu 20.04.1 LTS, focal, x86_64)


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

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

efibootmgr -v
Skipping unreadable variable "Boot0000": Interrupted system call
Skipping unreadable variable "Boot0001": Interrupted system call
Skipping unreadable variable "Boot0002": Interrupted system call
Skipping unreadable variable "Boot0003": Interrupted system call
Skipping unreadable variable "Boot0004": Interrupted system call
Skipping unreadable variable "Boot2001": Interrupted system call
Skipping unreadable variable "Boot2002": Interrupted system call
Skipping unreadable variable "Boot2003": Interrupted system call

f7a57b08bc7c1c85417ae4cea582d1d4   sda1/Boot/bootx64.efi
bed45d1c9554cea09924d3814cb7c446   sda1/Boot/fbx64.efi
4487628005555bfd4a4c0a47211e0700   sda1/Boot/mmx64.efi
1476c8ed1ce8271aab2fbe89d534cfa4   sda1/ubuntu/grubx64.efi
4487628005555bfd4a4c0a47211e0700   sda1/ubuntu/mmx64.efi
f7a57b08bc7c1c85417ae4cea582d1d4   sda1/ubuntu/shimx64.efi
15ba29cdd4054fd936a6e6acbd791336   sda1/Microsoft/Boot/bootmgfw.efi
425b3cd6722f65838d3196ec7c39d9a4   sda1/Microsoft/Boot/bootmgr.efi


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

Disks info: ____________________________________________________________________

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

Partitions info (1/3): _________________________________________________________

sda1	: no-os,	32, nopakmgr,	no-docgrub,	nogrub,	nogrubinstall,	no-grubenv,	noupdategrub,	not-far
sda3	: is-os,	32, nopakmgr,	no-docgrub,	nogrub,	nogrubinstall,	no-grubenv,	noupdategrub,	farbios
sda4	: no-os,	32, nopakmgr,	no-docgrub,	nogrub,	nogrubinstall,	no-grubenv,	noupdategrub,	farbios
sda5	: is-os,	64, apt-get,	signed grub-pc grub-efi ,	grub2,	grub-install,	grubenv-ok,	update-grub,	farbios

Partitions info (2/3): _________________________________________________________

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

fdisk -l (filtered): ___________________________________________________________

Disk sda: 119.25 GiB, 128035676160 bytes, 250069680 sectors
Disk identifier: 2C89F1FA-E39B-4E9B-AFF2-9D284E94645B
          Start       End   Sectors   Size Type
sda1       2048   1023999   1021952   499M EFI System
sda2    1024000   1286143    262144   128M Microsoft reserved
sda3    1286144 207439871 206153728  98.3G Microsoft basic data
sda4  248399872 250069646   1669775 815.3M Windows recovery environment
sda5  207439872 248399871  40960000  19.5G Linux filesystem
Partition table entries are not in disk order.
Disk sdb: 3.77 GiB, 4026531840 bytes, 7864320 sectors
Disk identifier: 0x0039658a
      Boot Start     End Sectors  Size Id Type
sdb1  *     2048 7864319 7862272  3.8G  c W95 FAT32 (LBA)

parted -lm (filtered): _________________________________________________________

sda:128GB:scsi:512:4096:gpt:ATA SanDisk SD8SN8U-:;
1:1049kB:524MB:523MB:fat32:EFI system partition:boot, esp;
2:524MB:659MB:134MB::Microsoft reserved partition:msftres;
3:659MB:106GB:106GB:ntfs:Basic data partition:msftdata;
5:106GB:127GB:21.0GB:ext4::;
4:127GB:128GB:855MB:ntfs::hidden, diag;
sdb:4027MB:scsi:512:512:msdos:Generic Flash Disk:;
1:1049kB:4027MB:4025MB:fat32::boot, lba;

blkid (filtered): ______________________________________________________________

NAME   FSTYPE   UUID                                 PARTUUID                             LABEL       PARTLABEL
sda                                                                                                   
├─sda1 vfat     9CF0-C65C                            76d5dcbe-f61d-4e09-b260-7ed4e41e4c71 BOOT        EFI system partition
├─sda2                                               499992e3-c2d2-4efd-9163-8fdbf99f4af6             Microsoft reserved partition
├─sda3 ntfs     DC22F35722F334DC                     0547de4c-52e4-414d-9b62-b7deb2341b82 Windows     Basic data partition
├─sda4 ntfs     5E18ACFA18ACD277                     98c47eb2-fde7-4c5a-a653-11a52ac53520             
└─sda5 ext4     33bb80f7-9715-42c8-8ed3-9fb4873ddb5f 708b1c5c-368e-4364-bbc1-05b2427b96b9             
sdb                                                                                                   
└─sdb1 vfat     C2F4-10E4                            0039658a-01                          UBUNTU 20_0 

df (filtered): _________________________________________________________________

       Avail Use% Mounted on
sda1   462.1M   7% /target/boot/efi
sda3    25.1G  74% /mnt/boot-sav/sda3
sda4   311.7M  62% /mnt/boot-sav/sda4
sda5    12.4G  30% /target
sdb1     1.2G  69% /cdrom

Mount options: __________________________________________________________________

sda1   rw,relatime,fmask=0077,dmask=0077,codepage=437,iocharset=iso8859-1,shortname=mixed,errors=remount-ro
sda3   rw,relatime,user_id=0,group_id=0,allow_other,blksize=4096
sda4   rw,relatime,user_id=0,group_id=0,allow_other,blksize=4096
sda5   rw,relatime,errors=remount-ro
sdb1   ro,noatime,fmask=0022,dmask=0022,codepage=437,iocharset=iso8859-1,shortname=mixed,errors=remount-ro

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

# <file system> <mount point>   <type>  <options>       <dump>  <pass>
# / was on /dev/sda5 during installation
UUID=33bb80f7-9715-42c8-8ed3-9fb4873ddb5f /               ext4    errors=remount-ro 0       1
# /boot/efi was on /dev/sda1 during installation
UUID=9CF0-C65C  /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)
 101.980587006 = 109.500821504  boot/vmlinuz                                   1
 101.980587006 = 109.500821504  boot/vmlinuz-5.4.0-42-generic                  1
 102.133022308 = 109.664497664  boot/initrd.img                                2
 102.133022308 = 109.664497664  boot/initrd.img-5.4.0-42-generic               2
 102.133022308 = 109.664497664  boot/initrd.img.old                            2

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

-rwxr-xr-x 1 root root 17123 Jul 31 02:34 10_linux
-rwxr-xr-x 1 root root 42128 Jul 31 02:34 10_linux_zfs
-rwxr-xr-x 1 root root 12894 Jul 31 02:34 20_linux_xen
-rwxr-xr-x 1 root root 12059 Jul 31 02:34 30_os-prober
-rwxr-xr-x 1 root root  1424 Jul 31 02:34 30_uefi-firmware
-rwxr-xr-x 1 root root   214 Jul 31 02:34 40_custom
-rwxr-xr-x 1 root root   216 Jul 31 02:34 41_custom

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

Ubuntu
Ubuntu (safe graphics)
OEM install (for manufacturers)
Boot from next volume
UEFI Firmware Settings

========================= sdb1/syslinux.cfg (filtered) =========================

DEFAULT loadconfig

LABEL loadconfig
  CONFIG /isolinux/isolinux.cfg
  APPEND /isolinux/

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

           GiB - GB             File                                 Fragment(s)
            ?? = ??             boot/grub/grub.cfg                             1

================== sdb1: Location of files loaded by Syslinux ==================

           GiB - GB             File                                 Fragment(s)
            ?? = ??             syslinux.cfg                                   1
            ?? = ??             ldlinux.sys                                    1


=============================== StdErr Messages ================================

File descriptor 63 (pipe:[172937]) leaked on lvs invocation. Parent PID 28384: /bin/bash

Suggested repair: ______________________________________________________________

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

Blockers in case of suggested repair: __________________________________________

/target detected. Please close the Ubuntu installer, then retry. 

Final advice in case of suggested repair: ______________________________________


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

Lorsque je démarre mon pc, comme depuis la première tentative d'installation d'Ubuntu, je tombe sur un grub/terminal de commandes, avec en titre : "GNU GRUB version 2.04" et pour description : "Minimal BASH-like line editing is supported. For the first word, TAB lists possible command completions. Anywhere else TAB lists possible device or file completions.". Je peux entrer des commandes (avec devant "grub> _"...). Je ne connas pas du tout mais j'aurais voulu essayer de faire "load_env" suivi du nom associé à Ubuntu (avec tab) mais malheureusement lorsque je veux taper un underscore _, il s'affiche un 8.

Comment réussir l'installation du grub (le vrai, celui dont j'ai l'habitude) ?
Merci d'avance pour votre aide.

Dernière modification par Mentalink (Le 27/10/2020, à 16:59)

Hors ligne

#10 Le 30/10/2020, à 13:57

Mentalink

Re : Problème lors de l'installation : grub-install

Problème résolu. J'ai purgé le grub et l'ai réinstallé.

Hors ligne