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 21/09/2020, à 15:24

francjacb

Install sur pc neuf impossible (erreur grub) Résolu

]Bonjour, j'ai monté un nouveau pc : proc : Intel I3; carte mère : Asus B360 tuf pro gaming(wi-fi) ; ssd crucil 256mo; version bios  : 1801.

La version que j'essayé d'installer est la LTS 2004 64Bit, le ssd n'est pas neuf et windows 10 64Bit  y était installé.

J'ai mis le secure boot sur SE (autre système).

L'installation se déroule normalement et sans soucis, sauf qu'en fin d'installation, j'obtiens une erreur de grub: falied ... ? cette erreur est irrécupérable ??

Le bios est mis à jour (Ver. 2301), mais je n'ai toujours pas tenté une nouvelle installation d'Ubuntu.

Une idée.

D'avance merci

Dernière modification par francjacb (Le 26/09/2020, à 13:52)

Hors ligne

#2 Le 21/09/2020, à 16:06

malbo

Re : Install sur pc neuf impossible (erreur grub) Résolu

Bonjour,
Je te prie de faire un Boot-info depuis une session live et de donner l'URL de ce Boot-info dans ta réponse.

Hors ligne

#3 Le 21/09/2020, à 16:23

francjacb

Re : Install sur pc neuf impossible (erreur grub) Résolu

Merci pour la réponse, mais comment faire un Boot-info, alors qu'Ubuntu n'a pu s'installer.?
Falied, l'installation à crashé, j'ai du installer windows.

Est-il possible de faire un boot-info en testant Ubuntu ?

Hors ligne

#4 Le 21/09/2020, à 19:11

lucmars

Re : Install sur pc neuf impossible (erreur grub) Résolu

francjacb a écrit :

Merci pour la réponse, mais comment faire un Boot-info, alors qu'Ubuntu n'a pu s'installer.?
Falied, l'installation à crashé, j'ai du installer windows.

Est-il possible de faire un boot-info en testant Ubuntu ?

Ben oui, c'est fait aussi pour ça.


Gaulois Matter !

Hors ligne

#5 Le 21/09/2020, à 19:25

malbo

Re : Install sur pc neuf impossible (erreur grub) Résolu

francjacb a écrit :

Est-il possible de faire un boot-info en testant Ubuntu ?

Oui, c'est expliqué au paragraphe 1.1.2 Cas où aucun Ubuntu installé sur disque n'est opérationnel. de la doc "Créer un rapport Boot-Info" dont je t'ai donné le lien dans le post #2

Hors ligne

#6 Le 22/09/2020, à 12:25

francjacb

Re : Install sur pc neuf impossible (erreur grub) Résolu

Bonjour,
Voici le lien communiqué par boot-info (paste.ubuntu.com/var/log/boot-repair/2 … _1205.txt)

J'espère que c'est correct ?

Dernière modification par francjacb (Le 22/09/2020, à 12:28)

Hors ligne

#7 Le 22/09/2020, à 13:58

francjacb

Re : Install sur pc neuf impossible (erreur grub) Résolu

Le lien ne fonctionne pas.
Je vous remercie pour votre aide, pour le moment je n'ai pas trop le temps pour m'en occuper.

Je reviendrai vers vous plus tard.

Hors ligne

#8 Le 23/09/2020, à 18:12

francjacb

Re : Install sur pc neuf impossible (erreur grub) Résolu

Voici le boot-info

boot-info-4ppa125                                              [20200923_1557]

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

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

sda1: __________________________________________________________________________

    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:        

sdb1: __________________________________________________________________________

    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/Microsoft/Boot/bootmgfw.efi 
                       /efi/Microsoft/Boot/bootmgr.efi 
                       /efi/Microsoft/Boot/memtest.efi

sdb2: __________________________________________________________________________

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

sdb3: __________________________________________________________________________

    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

sdb4: __________________________________________________________________________

    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:        

sdc1: __________________________________________________________________________

    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:        /boot/grub/grub.cfg /syslinux.cfg 
                       /efi/BOOT/grubx64.efi /efi/BOOT/mmx64.efi


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

OS#1:   Windows 8 or 10 on sdb3

============================ 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 enabled.

efibootmgr -v
BootCurrent: 0001
Timeout: 1 seconds
BootOrder: 0001,0004,0000,0002,0003
Boot0000* Windows Boot Manager	HD(1,GPT,a8e34817-06e8-429d-bbb7-e13de0957510,0x800,0x32000)/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* UEFI: PEAK II Flash Drive 1100, Partition 1	PciRoot(0x0)/Pci(0x14,0x0)/USB(4,0)/HD(1,GPT,28ca6a6c-de0b-42dc-8a4a-ba1debeed572,0x800,0x1ddf7df)..BO
Boot0002* Hard Drive	BBS(HD,,0x0)..GO..NO........o.W.D.C. .W.D.1.0.E.Z.R.X.-.0.0.D.8.P.B.0....................A...........................>..Gd-.;.A..MQ..L. . . . .W. .-.D.C.W.4.C.5.M.L.S.X.0.C.Z........BO..NO........o.M.4.-.C.T.2.5.6.M.4.S.S.D.2....................A...........................>..Gd-.;.A..MQ..L.0.0.0.0.0.0.0.0.2.1.1.2.9.0.A.0.C.E.1.C........BO
Boot0003* CD/DVD Drive	BBS(CDROM,,0x0)..GO..NO........o.A.S.U.S. . . . . .D.R.W.-.2.4.F.1.S.T. . . .a....................A...........................>..Gd-.;.A..MQ..L.1.S.L.0.8.6.D.B.0.B.T.0.Z.X. . . . . . ........BO
Boot0004* USB	BBS(HD,,0x0)..GO..NO........c.P.E.A.K. .I.I. .F.l.a.s.h. .D.r.i.v.e. .1.1.0.0....................A.......................6..Gd-.;.A..MQ..L.A.A.2.0.0.0.0.0.0.0.0.0.0.1.4.5........BO

eb1e5c6f5b514aff66e5e51cf2e8d30f   sdb1/Boot/bootx64.efi
eb1e5c6f5b514aff66e5e51cf2e8d30f   sdb1/Microsoft/Boot/bootmgfw.efi
bcedad825bda073ca3d05e057d8899c3   sdb1/Microsoft/Boot/bootmgr.efi


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

Disks info: ____________________________________________________________________

sda	: is-GPT,	no-BIOSboot,	has-noESP, 	not-usb,	not-mmc, no-os,	2048 sectors * 512 bytes
sdb	: 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,	farbios
sdb1	: no-os,	32, nopakmgr,	no-docgrub,	nogrub,	nogrubinstall,	no-grubenv,	noupdategrub,	not-far
sdb3	: is-os,	32, nopakmgr,	no-docgrub,	nogrub,	nogrubinstall,	no-grubenv,	noupdategrub,	farbios
sdb4	: no-os,	32, nopakmgr,	no-docgrub,	nogrub,	nogrubinstall,	no-grubenv,	noupdategrub,	farbios

Partitions info (2/3): _________________________________________________________

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

fdisk -l (filtered): ___________________________________________________________

Disk sdb: 238.49 GiB, 256060514304 bytes, 500118192 sectors
Disk identifier: 3075E28B-FD3F-4A7D-A0CA-8B7730F5E7C9
          Start       End   Sectors   Size Type
sdb1       2048    206847    204800   100M EFI System
sdb2     206848    239615     32768    16M Microsoft reserved
sdb3     239616 499051470 498811855 237.9G Microsoft basic data
sdb4  499052544 500115455   1062912   519M Windows recovery environment
Disk sda: 931.53 GiB, 1000204886016 bytes, 1953525168 sectors
Disk identifier: 5AA6F8EF-E517-4DAF-B579-AB636BA209C6
      Start        End    Sectors   Size Type
sda1   2048 1953523711 1953521664 931.5G Microsoft basic data
Disk sdc: 14.96 GiB, 16039018496 bytes, 31326208 sectors
Disk identifier: 6CC84D95-407E-48FC-A611-AAB310922A7B
      Start      End  Sectors Size Type
sdc1   2048 31326174 31324127  15G Microsoft basic data

parted -lm (filtered): _________________________________________________________

sda:1000GB:scsi:512:4096:gpt:ATA WDC WD10EZRX-00D:;
1:1049kB:1000GB:1000GB:ntfs:Basic data partition:msftdata;
sdb:256GB:scsi:512:512:gpt:ATA M4-CT256M4SSD2:;
1:1049kB:106MB:105MB:fat32:EFI system partition:boot, esp;
2:106MB:123MB:16.8MB::Microsoft reserved partition:msftres;
3:123MB:256GB:255GB:ntfs:Basic data partition:msftdata;
4:256GB:256GB:544MB:ntfs::hidden, diag;
sdc:16.0GB:scsi:512:512:gpt:PEAK II Flash Drive:;
1:1049kB:16.0GB:16.0GB:fat32:Main Data Partition:msftdata;

blkid (filtered): ______________________________________________________________

NAME   FSTYPE   UUID                                 PARTUUID                             LABEL       PARTLABEL
sda                                                                                                   
└─sda1 ntfs     C6BCF513BCF4FEAD                     1c0789bc-4522-4d9a-8609-03c6285c413b Data        Basic data partition
sdb                                                                                                   
├─sdb1 vfat     7AAB-A38F                            a8e34817-06e8-429d-bbb7-e13de0957510             EFI system partition
├─sdb2                                               ca2d522a-3f9d-442b-979f-342ee28ab772             Microsoft reserved partition
├─sdb3 ntfs     DC04B31204B2EEA0                     f6f252ff-40e7-4b6c-97e8-e3cd9e55a26e Windows 10  Basic data partition
└─sdb4 ntfs     D632E53132E516F1                     ac7d8267-b83f-490b-a1ea-cccf52ee8c6b             
sdc                                                                                                   
└─sdc1 vfat     7ED6-3D81                            28ca6a6c-de0b-42dc-8a4a-ba1debeed572 UBUNTU 20_0 Main Data Partition

df (filtered): _________________________________________________________________

       Avail Use% Mounted on
sda1   823.6G  12% /mnt/boot-sav/sda1
sdb1    69.6M  28% /mnt/boot-sav/sdb1
sdb3     198G  17% /mnt/boot-sav/sdb3
sdb4    88.5M  83% /mnt/boot-sav/sdb4
sdc1    12.3G  17% /cdrom

Mount options: __________________________________________________________________

sda1   rw,relatime,user_id=0,group_id=0,allow_other,blksize=4096
sdb1   rw,relatime,fmask=0022,dmask=0022,codepage=437,iocharset=iso8859-1,shortname=mixed,errors=remount-ro
sdb3   ro,relatime,user_id=0,group_id=0,allow_other,blksize=4096
sdb4   rw,relatime,user_id=0,group_id=0,allow_other,blksize=4096
sdc1   ro,noatime,fmask=0022,dmask=0022,codepage=437,iocharset=iso8859-1,shortname=mixed,errors=remount-ro

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

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

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

DEFAULT loadconfig

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

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

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

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

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


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

Unknown MBR on /dev/sdc

00000000  41 4b 45 4f fc 31 c0 fa  8e d0 bc 00 7c fb 8e d8  |AKEO.1......|...|
00000010  bb 13 04 8b 07 83 e8 04  89 07 c1 e0 06 8e c0 b7  |................|
00000020  07 b8 7f 00 cd 10 31 db  31 c9 ba 4f 18 b8 00 06  |......1.1..O....|
00000030  cd 10 31 d2 b4 02 cd 10  b4 41 bb aa 55 cd 13 72  |..1......A..U..r|
00000040  27 81 fb 55 aa 75 21 f7  c1 01 00 74 1b 66 31 c0  |'..U.u!....t.f1.|
00000050  66 50 6a 22 06 66 50 6a  08 6a 10 89 e6 b4 42 cd  |fPj".fPj.j....B.|
00000060  13 9f 83 c4 10 9e eb 0d  b8 08 02 b9 23 00 ba 80  |............#...|
00000070  00 31 db cd 13 bb 07 00  72 0b 31 f6 8c c0 8e d8  |.1......r.1.....|
00000080  e8 3f 00 eb 06 be 17 7d  e8 37 00 31 c0 8e d8 be  |.?.....}.7.1....|
00000090  63 7d e8 2d 00 e8 1d 00  b4 01 cd 16 75 08 b4 02  |c}.-........u...|
000000a0  cd 16 24 04 74 f2 31 c0  8e d8 b8 34 12 a3 73 04  |..$.t.1....4..s.|
000000b0  ea 00 00 ff ff b4 01 cd  16 74 06 b4 00 cd 16 e2  |.........t......|
000000c0  f4 c3 ac 3c 00 74 4f 3c  0d 74 f7 3c 0a 75 10 53  |...<.tO<.t.<.u.S|
000000d0  b4 03 cd 10 fe c6 b2 00  b4 02 cd 10 5b eb e3 3c  |............[..<|
000000e0  5c 75 1c b1 02 ac 3c 46  7f d8 2c 30 3c 09 7e 02  |\u....<F..,0<.~.|
000000f0  2c 07 c0 e3 04 24 0f 08  c3 fe c9 75 e8 eb c3 b9  |,....$.....u....|
00000100  01 00 b4 09 cd 10 53 31  db b4 03 cd 10 fe c2 b4  |......S1........|
00000110  02 cd 10 5b eb ac c3 0d  0a 20 20 20 20 20 20 20  |...[.....       |
00000120  20 20 20 20 20 20 5c 30  34 2a 2a 2a 20 45 52 52  |      \04*** ERR|
00000130  4f 52 3a 20 54 48 49 53  20 4d 45 44 49 41 20 43  |OR: THIS MEDIA C|
00000140  41 4e 4e 4f 54 20 42 4f  4f 54 20 49 4e 20 4c 45  |ANNOT BOOT IN LE|
00000150  47 41 43 59 20 4d 4f 44  45 20 2a 2a 2a 5c 30 37  |GACY MODE ***\07|
00000160  0d 0a 00 0d 0a 0d 0a 20  20 20 20 20 20 20 20 20  |.......         |
00000170  20 20 20 20 5c 37 30 50  6c 65 61 73 65 20 72 65  |    \70Please re|
00000180  6d 6f 76 65 20 74 68 69  73 20 6d 65 64 69 61 20  |move this media |
00000190  61 6e 64 20 70 72 65 73  73 20 61 6e 79 20 6b 65  |and press any ke|
000001a0  79 20 74 6f 20 72 65 62  6f 6f 74 5c 30 37 00 00  |y to reboot\07..|
000001b0  00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00  |................|
000001c0  02 00 ee fe ff 9c 01 00  00 00 ff ff ff ff 00 00  |................|
000001d0  00 00 00 00 00 00 00 00  00 00 00 00 00 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


/dev/sdb1: unknown GPT attributes
8000000000000000

/dev/sdb2: unknown GPT attributes
8000000000000000

/dev/sdb4: unknown GPT attributes
8000000000000001

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

File descriptor 63 (pipe:[125291]) leaked on lvs invocation. Parent PID 8024: /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     

Désolé, mais j'ai du le faire de cette façon.

Dernière modification par francjacb (Le 23/09/2020, à 22:26)

Hors ligne

#9 Le 23/09/2020, à 18:14

xubu1957

Re : Install sur pc neuf impossible (erreur grub) Résolu

Bonjour,

Pour ajouter toi-même les balises code à ton précédent message #8 :                  Merci            wink
     

  • Cliquer sur  le lien « Modifier » en bas à droite du message

  • Sélectionner le texte

  • Cliquer sur le <> de l'éditeur de message

1578079461.png

comme indiqué dans le premier message du tutoriel Retour utilisable de commande

Dernière modification par xubu1957 (Le 23/09/2020, à 22:35)


Conseils pour les nouveaux demandeurs et pas qu'eux
Important : Pensez à passer vos sujets en [Résolu] lorsque ceux-ci le sont, au début du titre en cliquant sur Modifier sous le premier message, et un bref récapitulatif de la solution à la fin de celui-ci. Merci.                   Membre de Linux-Azur

En ligne

#10 Le 23/09/2020, à 18:23

malbo

Re : Install sur pc neuf impossible (erreur grub) Résolu

Bonjour,
Pour installer Ubuntu, il convient de faire de la place sur le SSD. Il faut faire maigrir le disque C: de Windows et ça se fait depuis Windows 10 lui-même avec la fonction Gestion des disques (voir paragraphe 3.1 Pour Windows 7, Windows 8, Windows 10 de la doc "Repartitionner un disque déjà équipé d'un système d'exploitation". Si tu parviens à faire maigrir de 50 Go le disque C: de Windows, ce sera suffisant pour installer Ubuntu dans cette place libérée.

EDIT : d'après ce que je vois dans le Boot-info, je pense que ça devrait se faire sans souci cette réduction de la taille de C: mais en cas de problème, tu peux appliquer les conseils de ce tuto : "Optimiser espace disponible pour réduction de partition Windows"

Dernière modification par malbo (Le 23/09/2020, à 18:33)

Hors ligne

#11 Le 23/09/2020, à 18:44

lucmars

Re : Install sur pc neuf impossible (erreur grub) Résolu

Procès de l'installateur (sauf nouvelle donne) :
- 1) installe du buntu
- 2) installe du Grub

Mais là pas de trace de buntu ! As-tu au moins crée, depuis win, un espace non-alloué sur le ssd et/ou le hdd pour recevoir le buntu ?


Gaulois Matter !

Hors ligne

#12 Le 23/09/2020, à 22:25

francjacb

Re : Install sur pc neuf impossible (erreur grub) Résolu

L'installation d'Ubuntu a été effectuée via : autre chose.
L'instal de win 10 à été effectuée après l'échec de l'installation d'Ubuntu,
Le but était d'installer Ubuntu sans windows.

Lors de la création de la clé usb (via rufus) j'avais laissé le schéma de partition en MBR, or le ssd était partitionné en GPT.

Le problème d'installation viens peut-être de là ?

Hors ligne

#13 Le 24/09/2020, à 07:44

malbo

Re : Install sur pc neuf impossible (erreur grub) Résolu

francjacb a écrit :

Lors de la création de la clé usb (via rufus) j'avais laissé le schéma de partition en MBR, or le ssd était partitionné en GPT.

Le type de partition MBR pour la LiveUSB, ça convient parfaitement. C'est ce que j'utilise tout le temps. A mon avis, ça n'a rien à voir avec ton problème.
Est-ce que tu veux mettre en pratique ce que j'ai proposé dans le post #10 pour installer Ubuntu en cohabitation avec Windows 10 ou bien ?

Hors ligne

#14 Le 24/09/2020, à 11:47

francjacb

Re : Install sur pc neuf impossible (erreur grub) Résolu

Le but c'est d'installer Ubuntu sans Windows.
J'ai un petit ssd de 120 go, je vais essayer d'y installer Ubuntu.
Si j'ai la possibilité de noter l'erreur de grub en fin d'installation, je vous la communiquerais.

Hors ligne

#15 Le 24/09/2020, à 14:51

francjacb

Re : Install sur pc neuf impossible (erreur grub) Résolu

L'installation n'a pas fonctionnée.

Le message d'erreur est : L'exécution de grub-install/dev/sda à échoué. L'erreur est fatale.

N'y aurait-il pas une incompatibilité avec la carte-mère ?

Hors ligne

#16 Le 24/09/2020, à 17:12

francjacb

Re : Install sur pc neuf impossible (erreur grub) Résolu

Bon, après avoir déconnecter mes DD, j'ai refait une tentative d'isntall d'Ubuntu...
L'installation a de nouveau planté...?

Marre et ras le bol .
j'ai reconnecté mes DD, redémarrer et Ubuntu s"est ouvert ?

J'y perd mon latin ___

Hors ligne

#17 Le 24/09/2020, à 19:28

malbo

Re : Install sur pc neuf impossible (erreur grub) Résolu

francjacb a écrit :

j'ai reconnecté mes DD, redémarrer et Ubuntu s"est ouvert ?

Tu veux dire que finalement Ubuntu a été installé et que tu peux démarrer dessus ?

Hors ligne

#18 Le 24/09/2020, à 19:30

lucmars

Re : Install sur pc neuf impossible (erreur grub) Résolu

Fais-nous un boot-info depuis ton buntu installé pour qu'on soit fixé.

T'as viré win ou fais un dual-boot ?


Gaulois Matter !

Hors ligne

#19 Le 24/09/2020, à 22:18

francjacb

Re : Install sur pc neuf impossible (erreur grub) Résolu

@malbo, oui Ubuntu est installé/

@lucmars un ssd avec win 10 et un ssd avec ubuntu.

voici le lien du boot-info boot-info

boot-info-4ppa125                                              [20200924_2226]

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

 => No boot loader is installed in the MBR of /dev/sda.
 => Windows 7/8/2012 is installed in the MBR of /dev/sdb.
 => No boot loader is installed in the MBR of /dev/sdc.

sda1: __________________________________________________________________________

    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:        

sdb1: __________________________________________________________________________

    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

sdb2: __________________________________________________________________________

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

sdb5: __________________________________________________________________________

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

sdb6: __________________________________________________________________________

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

sdb7: __________________________________________________________________________

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

sdc1: __________________________________________________________________________

    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/Microsoft/Boot/bootmgfw.efi 
                       /efi/Microsoft/Boot/bootmgr.efi 
                       /efi/Microsoft/Boot/memtest.efi

sdc2: __________________________________________________________________________

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

sdc3: __________________________________________________________________________

    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

sdc4: __________________________________________________________________________

    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:        


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

OS#1:   L'OS actuellement utilisé - Ubuntu 20.04.1 LTS CurrentSession on sdb5
OS#2:   Windows 8 or 10 on sdc3

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

CPU architecture: 64-bit
BOOT_IMAGE of the installed session in use:
/boot/vmlinuz-5.4.0-48-generic root=UUID=7bce479e-7a5e-424f-b16d-496ee6fd52e3 ro quiet splash vt.handoff=7


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

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

efibootmgr -v
BootCurrent: 0000
Timeout: 1 seconds
BootOrder: 0000,0004,0003,0002
Boot0000* ubuntu	HD(1,MBR,0x2030ffda,0x800,0x224000)/File(\EFI\UBUNTU\SHIMX64.EFI)
Boot0002  Hard Drive	BBS(HD,,0x0)..GO..NO........o.S.a.m.s.u.n.g. .S.S.D. .8.4.0. .E.V.O. .1.2.0.G.B....................A...........................>..Gd-.;.A..MQ..L.1.S.5.D.S.N.F.A.1.2.7.8.5.3. .J. . . . ........BO..NO........o.W.D.C. .W.D.1.0.E.Z.R.X.-.0.0.D.8.P.B.0....................A...........................>..Gd-.;.A..MQ..L. . . . .W. .-.D.C.W.4.C.5.M.L.S.X.0.C.Z........BO..NO........o.M.4.-.C.T.2.5.6.M.4.S.S.D.2....................A...........................>..Gd-.;.A..MQ..L.0.0.0.0.0.0.0.0.2.1.1.2.9.0.A.0.C.E.1.C........BO
Boot0003  CD/DVD Drive	BBS(CDROM,,0x0)..GO..NO........o.A.S.U.S. . . . . .D.R.W.-.2.4.F.1.S.T. . . .a....................A...........................>..Gd-.;.A..MQ..L.1.S.L.0.8.6.D.B.0.B.T.0.Z.X. . . . . . ........BO
Boot0004* Windows Boot Manager	HD(1,GPT,a8e34817-06e8-429d-bbb7-e13de0957510,0x800,0x32000)/File(\EFI\MICROSOFT\BOOT\BOOTMGFW.EFI)..BO

eb1e5c6f5b514aff66e5e51cf2e8d30f   sdc1/Boot/bootx64.efi
eb1e5c6f5b514aff66e5e51cf2e8d30f   sdc1/Microsoft/Boot/bootmgfw.efi
bcedad825bda073ca3d05e057d8899c3   sdc1/Microsoft/Boot/bootmgr.efi
bed45d1c9554cea09924d3814cb7c446   sdb1/BOOT/fbx64.efi
4487628005555bfd4a4c0a47211e0700   sdb1/BOOT/mmx64.efi
114bd85eec32e3162958ea034020821d   sdb1/ubuntu/grubx64.efi
4487628005555bfd4a4c0a47211e0700   sdb1/ubuntu/mmx64.efi
f7a57b08bc7c1c85417ae4cea582d1d4   sdb1/ubuntu/shimx64.efi
f7a57b08bc7c1c85417ae4cea582d1d4   sdb1/BOOT/BOOTX64.efi


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

Disks info: ____________________________________________________________________

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

Partitions info (1/3): _________________________________________________________

sdb5	: is-os,	64, apt-get,	signed grub-pc grub-efi ,	grub2,	grub-install,	grubenv-ok,	update-grub,	not-far
sdc1	: no-os,	32, nopakmgr,	no-docgrub,	nogrub,	nogrubinstall,	no-grubenv,	noupdategrub,	not-far
sdc3	: is-os,	32, nopakmgr,	no-docgrub,	nogrub,	nogrubinstall,	no-grubenv,	noupdategrub,	farbios
sdc4	: no-os,	32, nopakmgr,	no-docgrub,	nogrub,	nogrubinstall,	no-grubenv,	noupdategrub,	farbios
sdb1	: no-os,	32, nopakmgr,	no-docgrub,	nogrub,	nogrubinstall,	no-grubenv,	noupdategrub,	not-far
sdb6	: no-os,	32, nopakmgr,	no-docgrub,	nogrub,	nogrubinstall,	no-grubenv,	noupdategrub,	farbios
sda1	: no-os,	32, nopakmgr,	no-docgrub,	nogrub,	nogrubinstall,	no-grubenv,	noupdategrub,	farbios

Partitions info (2/3): _________________________________________________________

sdb5	: isnotESP,	fstab-has-goodEFI,	no-nt,	no-winload,	no-recov-nor-hid,	no-bmgr,	notwinboot
sdc1	: is---ESP,	part-has-no-fstab,	no-nt,	no-winload,	no-recov-nor-hid,	no-bmgr,	notwinboot
sdc3	: isnotESP,	part-has-no-fstab,	no-nt,	haswinload,	no-recov-nor-hid,	no-bmgr,	notwinboot
sdc4	: isnotESP,	part-has-no-fstab,	no-nt,	no-winload,	recovery-or-hidden,	no-bmgr,	notwinboot
sdb1	: is---ESP,	part-has-no-fstab,	no-nt,	no-winload,	no-recov-nor-hid,	no-bmgr,	notwinboot
sdb6	: isnotESP,	part-has-no-fstab,	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,	no-bmgr,	notwinboot

Partitions info (3/3): _________________________________________________________

sdb5	: not-sepboot,	with-boot,	fstab-without-boot,	not-sep-usr,	with--usr,	fstab-without-usr,	std-grub.d,	sdb
sdc1	: not-sepboot,	no-boot,	part-has-no-fstab,	not-sep-usr,	no---usr,	part-has-no-fstab,	std-grub.d,	sdc
sdc3	: not-sepboot,	no-boot,	part-has-no-fstab,	not-sep-usr,	no---usr,	part-has-no-fstab,	std-grub.d,	sdc
sdc4	: not-sepboot,	no-boot,	part-has-no-fstab,	not-sep-usr,	no---usr,	part-has-no-fstab,	std-grub.d,	sdc
sdb1	: not-sepboot,	no-boot,	part-has-no-fstab,	not-sep-usr,	no---usr,	part-has-no-fstab,	std-grub.d,	sdb
sdb6	: maybesepboot,	no-boot,	part-has-no-fstab,	not-sep-usr,	no---usr,	part-has-no-fstab,	std-grub.d,	sdb
sda1	: 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 sdc: 238.49 GiB, 256060514304 bytes, 500118192 sectors
Disk identifier: 3075E28B-FD3F-4A7D-A0CA-8B7730F5E7C9
          Start       End   Sectors   Size Type
sdc1       2048    206847    204800   100M EFI System
sdc2     206848    239615     32768    16M Microsoft reserved
sdc3     239616 499051470 498811855 237.9G Microsoft basic data
sdc4  499052544 500115455   1062912   519M Windows recovery environment
Disk sdb: 111.81 GiB, 120034123776 bytes, 234441648 sectors
Disk identifier: 0x2030ffda
      Boot     Start       End   Sectors   Size Id Type
sdb1  *         2048   2246655   2244608   1.1G ef EFI (FAT-12/16/32)
sdb2         2248702 234440703 232192002 110.7G  5 Extended
sdb5         2248704  92090367  89841664  42.9G 83 Linux
sdb6        92092416 228808703 136716288  65.2G 83 Linux
sdb7       228810752 234440703   5629952   2.7G 82 Linux swap / Solaris
Disk sda: 931.53 GiB, 1000204886016 bytes, 1953525168 sectors
Disk identifier: 5AA6F8EF-E517-4DAF-B579-AB636BA209C6
      Start        End    Sectors   Size Type
sda1   2048 1953523711 1953521664 931.5G Microsoft basic data

parted -lm (filtered): _________________________________________________________

sda:1000GB:scsi:512:4096:gpt:ATA WDC WD10EZRX-00D:;
1:1049kB:1000GB:1000GB:ntfs:Basic data partition:msftdata;
sdb:120GB:scsi:512:512:msdos:ATA Samsung SSD 840:;
1:1049kB:1150MB:1149MB:fat32::boot, esp;
2:1151MB:120GB:119GB:::;
5:1151MB:47.2GB:46.0GB:ext4::;
6:47.2GB:117GB:70.0GB:ext4::;
7:117GB:120GB:2883MB:linux-swap(v1)::;
sdc:256GB:scsi:512:512:gpt:ATA M4-CT256M4SSD2:;
1:1049kB:106MB:105MB:fat32:EFI system partition:boot, esp;
2:106MB:123MB:16.8MB::Microsoft reserved partition:msftres;
3:123MB:256GB:255GB:ntfs:Basic data partition:msftdata;
4:256GB:256GB:544MB:ntfs::hidden, diag;

blkid (filtered): ______________________________________________________________

NAME   FSTYPE   UUID                                 PARTUUID                             LABEL      PARTLABEL
sda                                                                                                  
└─sda1 ntfs     C6BCF513BCF4FEAD                     1c0789bc-4522-4d9a-8609-03c6285c413b Data       Basic data partition
sdb                                                                                                  
├─sdb1 vfat     2459-35A9                            2030ffda-01                                     
├─sdb2                                               2030ffda-02                                     
├─sdb5 ext4     7bce479e-7a5e-424f-b16d-496ee6fd52e3 2030ffda-05                                     
├─sdb6 ext4     a5da8ef4-bcb8-47a7-8142-2254e8e0399b 2030ffda-06                                     
└─sdb7 swap     77d52b6c-fe39-4009-a5c4-2b873252d288 2030ffda-07                                     
sdc                                                                                                  
├─sdc1 vfat     7AAB-A38F                            a8e34817-06e8-429d-bbb7-e13de0957510            EFI system partition
├─sdc2                                               ca2d522a-3f9d-442b-979f-342ee28ab772            Microsoft reserved partition
├─sdc3 ntfs     DC04B31204B2EEA0                     f6f252ff-40e7-4b6c-97e8-e3cd9e55a26e Windows 10 Basic data partition
└─sdc4 ntfs     D632E53132E516F1                     ac7d8267-b83f-490b-a1ea-cccf52ee8c6b            

df (filtered): _________________________________________________________________

                   Avail Use% Mounted on
sda1              823.7G  12% /mnt/boot-sav/sda1
sdb1                1.1G   1% /mnt/boot-sav/sdb1
sdb5               32.5G  17% /
sdb6               59.6G   1% /home
sdc1               69.6M  28% /mnt/boot-sav/sdc1
sdc3              184.5G  22% /mnt/boot-sav/sdc3
sdc4               88.5M  83% /mnt/boot-sav/sdc4

Mount options: __________________________________________________________________

sda1              ro,relatime,user_id=0,group_id=0,allow_other,blksize=4096
sdb1              rw,relatime,fmask=0022,dmask=0022,codepage=437,iocharset=iso8859-1,shortname=mixed,errors=remount-ro
sdb5              rw,relatime,errors=remount-ro
sdb6              rw,relatime
sdc1              rw,relatime,fmask=0022,dmask=0022,codepage=437,iocharset=iso8859-1,shortname=mixed,errors=remount-ro
sdc3              ro,relatime,user_id=0,group_id=0,allow_other,blksize=4096
sdc4              ro,relatime,user_id=0,group_id=0,allow_other,blksize=4096

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

search.fs_uuid 7bce479e-7a5e-424f-b16d-496ee6fd52e3 root hd0,msdos5 
set prefix=($root)'/boot/grub'
configfile $prefix/grub.cfg

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

Ubuntu   7bce479e-7a5e-424f-b16d-496ee6fd52e3
Ubuntu, avec Linux 5.4.0-48-generic   7bce479e-7a5e-424f-b16d-496ee6fd52e3
Ubuntu, avec Linux 5.4.0-42-generic   7bce479e-7a5e-424f-b16d-496ee6fd52e3
Windows Boot Manager (sur sdc1)   osprober-efi-7AAB-A38F
### END /etc/grub.d/30_os-prober ###
UEFI Firmware Settings   uefi-firmware
### END /etc/grub.d/30_uefi-firmware ###

========================== sdb5/etc/fstab (filtered) ===========================

# <file system> <mount point>   <type>  <options>       <dump>  <pass>
# / was on /dev/sda5 during installation
UUID=7bce479e-7a5e-424f-b16d-496ee6fd52e3 /               ext4    errors=remount-ro 0       1
# /boot/efi was on /dev/sda1 during installation
UUID=2459-35A9  /boot/efi       vfat    umask=0077      0       1
# /home was on /dev/sda6 during installation
UUID=a5da8ef4-bcb8-47a7-8142-2254e8e0399b /home           ext4    defaults        0       2
# swap was on /dev/sda7 during installation
UUID=77d52b6c-fe39-4009-a5c4-2b873252d288 none            swap    sw              0       0

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

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

           GiB - GB             File                                 Fragment(s)
  41,547065735 = 44,610822144   boot/grub/grub.cfg                             2
  40,989391327 = 44,012023808   boot/vmlinuz                                   1
   3,387813568 = 3,637637120    boot/vmlinuz-5.4.0-42-generic                  1
  40,989391327 = 44,012023808   boot/vmlinuz-5.4.0-48-generic                  1
   3,387813568 = 3,637637120    boot/vmlinuz.old                               1
  41,735595703 = 44,813254656   boot/initrd.img                                2
  41,594955444 = 44,662243328   boot/initrd.img-5.4.0-42-generic               1
  41,735595703 = 44,813254656   boot/initrd.img-5.4.0-48-generic               2
  41,594955444 = 44,662243328   boot/initrd.img.old                            1

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

-rwxr-xr-x 1 root root 17622 sep  8 12:24 10_linux
-rwxr-xr-x 1 root root 42359 sep  8 12:24 10_linux_zfs
-rwxr-xr-x 1 root root 12894 jui 31 02:34 20_linux_xen
-rwxr-xr-x 1 root root 12059 jui 31 02:34 30_os-prober
-rwxr-xr-x 1 root root  1424 jui 31 02:34 30_uefi-firmware
-rwxr-xr-x 1 root root   214 jui 31 02:34 40_custom
-rwxr-xr-x 1 root root   216 jui 31 02:34 41_custom


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


/dev/sdc1: unknown GPT attributes
8000000000000000

/dev/sdc2: unknown GPT attributes
8000000000000000

/dev/sdc4: unknown GPT attributes
8000000000000001

========= Devices which don't seem to have a corresponding hard drive ==========

sdd 

Suggested repair: ______________________________________________________________

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

Confirmation request before suggested repair: __________________________________

The boot of your PC is in Secure mode. You may want to retry after changing it to non-Secure mode.
Are you sure you want to continue anyway?

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.04.1 LTS CurrentSession entry (sdb1/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)

Dernière modification par francjacb (Le 24/09/2020, à 22:29)

Hors ligne

#20 Le 25/09/2020, à 06:46

malbo

Re : Install sur pc neuf impossible (erreur grub) Résolu

Bonjour,
j'ai analysé ton dernier Boot-info. On voit que l'install de Ubuntu a été faite sur un SSD "Samsung SSD 840" qui n'existait pas dans le Boot-info du post #8. Ce qui est inhabituel, c'est que Ubuntu est installé en mode EFI sur ce SSD alors que sa table de partition est du type MSDOS. On peut voir ça dans cette ligne extraite de la partie "parted -lm (filtered)" du Boot-info (mention "msdos") :

sdb:120GB:scsi:512:512:msdos:ATA Samsung SSD 840:;

En principe, il faut une table de partition du type GPT pour installer Ubuntu en mode EFI.
Cela dit, il n'est pas indispensable de refaire cette installation à mon avis. Tu peux rester en l'état et je ne crois pas que tu auras des ennuis à cause de ça.

Dernière modification par malbo (Le 25/09/2020, à 07:16)

Hors ligne

#21 Le 25/09/2020, à 16:27

francjacb

Re : Install sur pc neuf impossible (erreur grub) Résolu

Ce ssd n'existait pas car il n'était pas installé dans le pc.
Je l'ai installé; déconnecté mes deux DD et ensuite j'ai fait l'installation de linux sur ce ssd.

Pourtant ce ssd était patronné en GPT, puisque qu'il y avait un vieux win 10 installé.
De plus, pour installer Ubuntu, j'ai crée une partition efi, une racine, une home et une partition swap.

Je laisse tout dans l'état actuel, wait and see.

Hors ligne

#22 Le 25/09/2020, à 19:39

malbo

Re : Install sur pc neuf impossible (erreur grub) Résolu

J'ai pu recréer ton installation non-conventionnelle : voir ce fil : (test) installation EFI sur un disque MSDOS de Ubuntu 20.04.1

Hors ligne

#23 Le 26/09/2020, à 11:18

francjacb

Re : Install sur pc neuf impossible (erreur grub) Résolu

Ton fil est très intéressant.
Ce que je ne comprend pas trop, c'est que le ssd était partitionné en GPT (win 10 y était installé) et ce même ssd ce retrouve en msdos ?

La première install n'avait pas fonctionné erreur :  grub-install/dev/sda, en déconnectant mes autres DD , une reinstall et en fin d'install à nouveau une erreur 'Nous sommes désolé ...." et après redémarrage, qui est apparu... Ubuntu.

Bizarre, vous avez dit bizarre, comme c'est bizarre !

Hors ligne

#24 Le 26/09/2020, à 11:35

malbo

Re : Install sur pc neuf impossible (erreur grub) Résolu

francjacb a écrit :

le ssd était partitionné en GPT (win 10 y était installé) et ce même ssd ce retrouve en msdos

Si Win10 était préinstallé d'origine dans ce SSD, c'est quasiment sûr que le type de partitionnement était GPT (*). Si ce n'est pas le cas (install faite par toi ou un autre), Win10 peut s'installer dans un disque préalablement partitionné en MSDOS donc j'ai un gros doute.

(*) je n'ai jamais rencontré sur ce forum un Win10 préinstallé par le fabricant de l'ordi qui le soit sur un disque MSDOS : c'est tout le temps sur un disque GPT.

Dernière modification par malbo (Le 26/09/2020, à 11:37)

Hors ligne

#25 Le 26/09/2020, à 13:58

francjacb

Re : Install sur pc neuf impossible (erreur grub) Résolu

Le ssd à été installé par mes soins, ainsi que win 10.

En premier lieu win 7, suivit de la mise à jour de win 7 vers win 10 (mise à jour gratuite), ensuite une clean install afin d'y installer win 10 1904.

Mystère de chez mystère... ?

Hors ligne