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 26/07/2021, à 11:18

Amical

Résolu

Bonjour.
J'ai installé Ubuntu 20.04 lts  sur mon hdd depuis ma clé usb. Une fois l'installation terminée il me faut redémarrer le pc. Si je retire la clé à ce moment le pc "plante". Si je le redémarre il reboote sur la clé et le cycle recommence. Quand par hasard j'arrive à rebooter sur le hdd j'ai ce message :
error: file '/boot/grub/i386-pc/normal.mod' not found.
Enterring rescue mode...
grub rescue>
Comment sortir de ce problème? Je précise que je suis novice et que je cherche à passer sous Linux Ubuntu depuis Windows 10 écrasé lors de l'installation.
Merci cordialement,

Dernière modification par Amical (Le 01/08/2021, à 19:40)

Hors ligne

#2 Le 26/07/2021, à 12:12

geole

Re : Résolu

Bonjour
Peux-tu faire un boot-info avec le support d'installation et fournir l'URL qui sera générée.
https://doc.ubuntu-fr.org/tutoriel/boot-info


Les grilles de l'installateur https://doc.ubuntu-fr.org/tutoriel/inst … _subiquity
"gedit admin:///etc/fstab" est proscrit,  utilisez "pkexec env DISPLAY=$DISPLAY XAUTHORITY=$XAUTHORITY xdg-open /etc/fstab" Voir  https://doc.ubuntu-fr.org/gedit
Les partitions EXT4 des disques externes => https://forum.ubuntu-fr.org/viewtopic.p … #p22697248

Hors ligne

#3 Le 26/07/2021, à 18:17

Amical

Re : Résolu

boot-info

Re: Excusez moi ma journée est compliquée.
Après avoir fait l'opération demandée j'ai récupéré l'adresse sur un papier et j'ai validé. Que se passe t'il maintenant?

Hors ligne

#4 Le 26/07/2021, à 18:28

Amical

Re : Résolu

J'ai récupéré le boot-info ça donne ça:

  1
  2
  3
  4
  5
  6
  7
  8
  9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
boot-info-4ppa130                                              [20210726_1709]

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

=> Grub2 (v2.00) is installed in the MBR of /dev/sda and looks at sector 1 of
    the same hard drive for core.img. core.img is at this location and looks
    for (,msdos5)/boot/grub. It also embeds following components:
   
    modules
    ---------------------------------------------------------------------------
    fshelp ext2 part_msdos biosdisk
    ---------------------------------------------------------------------------
=> Syslinux MBR (5.00 and higher) is installed in the MBR of /dev/sdb.

sda1: __________________________________________________________________________

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

sda2: __________________________________________________________________________

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

sda3: __________________________________________________________________________

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

sda5: __________________________________________________________________________

    File system:       ext4
    Boot sector type:  -
    Boot sector info:
    Operating System:  Ubuntu 20.04.2 LTS
    Boot files:        /boot/grub/grub.cfg /etc/fstab /etc/default/grub
                       /boot/grub/i386-pc/core.img

sdb1: __________________________________________________________________________

    File system:       vfat
    Boot sector type:  SYSLINUX 6.04
    Boot sector info:  Syslinux looks at sector 59310 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


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

OS#1:   Ubuntu 20.04.2 LTS on sda5

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

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


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

This live-session is not in EFI-mode.
This session has been detected as 'live' because df -Th / contains overlay



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

Disks info: ____________________________________________________________________

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

Partitions info (1/3): _________________________________________________________

sda1    : no-os,    32, nopakmgr,    no-docgrub,    nogrub,    nogrubinstall,    no-grubenv,    noupdategrub,    not-far
sda2    : no-os,    32, nopakmgr,    no-docgrub,    nogrub,    nogrubinstall,    no-grubenv,    noupdategrub,    not-far
sda5    : is-os,    64, apt-get,    grub-pc ,    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
sda2    : isnotESP,    part-has-no-fstab,    no-nt,    no-winload,    no-recov-nor-hid,    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
sda2    : 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: 465.78 GiB, 500107862016 bytes, 976773168 sectors
Disk identifier: 0x7ffbb4c8
      Boot   Start       End   Sectors   Size Id Type
sda1  *       2048   1050623   1048576   512M  b W95 FAT32
sda2       1050624   2101247   1050624   513M  b W95 FAT32
sda3       2103294 976771071 974667778 464.8G  5 Extended
sda5       2103296 976771071 974667776 464.8G 83 Linux
Disk sdb: 115.44 GiB, 123942731776 bytes, 242075648 sectors
Disk identifier: 0x00c23095
      Boot Start       End   Sectors   Size Id Type
sdb1  *     2048 242075647 242073600 115.4G  c W95 FAT32 (LBA)

parted -lm (filtered): _________________________________________________________

sda:500GB:scsi:512:4096:msdos:ATA WDC WD5000LPLX-2:;
1:1049kB:538MB:537MB:fat32::boot;
2:538MB:1076MB:538MB:fat32::;
3:1077MB:500GB:499GB:::;
5:1077MB:500GB:499GB:ext4::;
sdb:124GB:scsi:512:512:msdos: USB DISK 3.0:;
1:1049kB:124GB:124GB:fat32::boot, lba;

blkid (filtered): ______________________________________________________________

NAME   FSTYPE   UUID                                 PARTUUID                             LABEL       PARTLABEL
sda                                                                                                   
├─sda1 vfat     3A96-77D9                            7ffbb4c8-01                                     
├─sda2 vfat     A812-D1D9                            7ffbb4c8-02                                     
├─sda3                                               7ffbb4c8-03                                     
└─sda5 ext4     8a26d939-f03a-4b2c-bb99-83584c545854 7ffbb4c8-05                                     
sdb                                                                                                   
└─sdb1 vfat     08E7-3767                            00c23095-01                          UBUNTU 20_0

df (filtered): _________________________________________________________________

                   Avail Use% Mounted on
sda1                511M   0% /mnt/boot-sav/sda1
sda2                512M   0% /mnt/boot-sav/sda2
sda5              424.8G   2% /mnt/boot-sav/sda5
sdb1              112.7G   2% /cdrom

Mount options: __________________________________________________________________

sda1              rw,relatime,fmask=0022,dmask=0022,codepage=437,iocharset=iso8859-1,shortname=mixed,errors=remount-ro
sda2              rw,relatime,fmask=0022,dmask=0022,codepage=437,iocharset=iso8859-1,shortname=mixed,errors=remount-ro
sda5              rw,relatime
sdb1              ro,noatime,fmask=0022,dmask=0022,codepage=437,iocharset=iso8859-1,shortname=mixed,errors=remount-ro

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

Ubuntu   8a26d939-f03a-4b2c-bb99-83584c545854
Ubuntu, avec Linux 5.8.0-63-generic   8a26d939-f03a-4b2c-bb99-83584c545854
Ubuntu, avec Linux 5.8.0-43-generic   8a26d939-f03a-4b2c-bb99-83584c545854
### END /etc/grub.d/30_os-prober ###
### END /etc/grub.d/30_uefi-firmware ###

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

# <file system> <mount point>   <type>  <options>       <dump>  <pass>
# / was on /dev/sda5 during installation
UUID=8a26d939-f03a-4b2c-bb99-83584c545854 /               ext4    errors=remount-ro 0       1
# /boot/efi was on /dev/sda2 during installation
UUID=A812-D1D9  /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)
277,134918213 = 297,571352576  boot/grub/grub.cfg                             2
161,141025543 = 173,023858688  boot/grub/i386-pc/core.img                     1
   7,527679443 = 8,082784256    boot/vmlinuz                                   1
   6,291988373 = 6,755971072    boot/vmlinuz-5.8.0-43-generic                  2
   7,527679443 = 8,082784256    boot/vmlinuz-5.8.0-63-generic                  1
   6,291988373 = 6,755971072    boot/vmlinuz.old                               2
   7,854957581 = 8,434196480    boot/initrd.img                                1
   7,338863373 = 7,880044544    boot/initrd.img-5.8.0-43-generic               4
   7,854957581 = 8,434196480    boot/initrd.img-5.8.0-63-generic               1
   7,338863373 = 7,880044544    boot/initrd.img.old                            4

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

-rwxr-xr-x 1 root root 17622 janv. 13  2021 10_linux
-rwxr-xr-x 1 root root 42359 janv. 13  2021 10_linux_zfs
-rwxr-xr-x 1 root root 12894 janv. 13  2021 20_linux_xen
-rwxr-xr-x 1 root root 12059 janv. 13  2021 30_os-prober
-rwxr-xr-x 1 root root  1424 janv. 13  2021 30_uefi-firmware
-rwxr-xr-x 1 root root   214 janv. 13  2021 40_custom
-rwxr-xr-x 1 root root   216 janv. 13  2021 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:[96048]) leaked on lvs invocation. Parent PID 36146: /bin/bash

Suggested repair: ______________________________________________________________

The default repair of the Boot-Repair utility would purge (in order to fix packages) and reinstall the grub-efi-amd64-signed of
sda5,
using the following options:        sda1/boot/efi,
Additional repair would be performed: unhide-bootmenu-10s  use-standard-efi-file   

Blockers in case of suggested repair: __________________________________________

The current session is in BIOS-compatibility mode. Please disable BIOS-compatibility/CSM/Legacy mode in your UEFI firmware, and use this software from a live-CD (or live-USB) that is compatible with UEFI booting mode. For example, use a live-USB of Boot-Repair-Disk-64bit (www.sourceforge.net/p/boot-repair-cd), after making sure your BIOS is set up to boot USB in EFI mode. This will enable this feature.

Confirmation request before suggested repair: __________________________________

The boot of your PC is in BIOS-compatibility/CSM/Legacy mode. You may want to retry after changing it to EFI mode.
Alternatively, you may want to retry after deactivating the [Separate /usr partition:] option.
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 Ubuntu 20.04.2 LTS entry (sda1/efi/****/shim****.efi (**** will be updated in the final message) file) !
The boot of your PC is in BIOS-compatibility/CSM/Legacy mode. You may want to retry after changing it to UEFI mode.
Download as text

A l'adresse récupérée: https://paste.ubuntu.com/p/DifZTYpWfS/
Voilà merci.

Hors ligne

#5 Le 26/07/2021, à 18:31

xubu1957

Re : Résolu

Pour ajouter toi-même les balises code à ton message #5 :

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

  • Sélectionner le texte

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

moko138 a écrit :

1) Les balises-code sont les < > (crochets bleus) de la barre de mise en forme.

1578811399.jpg

Comme demandé dans le premier message du tutoriel Retour utilisable de commande

Dernière modification par xubu1957 (Le 26/07/2021, à 18:33)


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

#6 Le 26/07/2021, à 18:31

geole

Re : Résolu

Mise en forme

boot-info-4ppa130                                              [20210726_1709]

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

=> Grub2 (v2.00) is installed in the MBR of /dev/sda and looks at sector 1 of
    the same hard drive for core.img. core.img is at this location and looks
    for (,msdos5)/boot/grub. It also embeds following components:
   
    modules
    ---------------------------------------------------------------------------
    fshelp ext2 part_msdos biosdisk
    ---------------------------------------------------------------------------
=> Syslinux MBR (5.00 and higher) is installed in the MBR of /dev/sdb.

sda1: __________________________________________________________________________

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

sda2: __________________________________________________________________________

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

sda3: __________________________________________________________________________

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

sda5: __________________________________________________________________________

    File system:       ext4
    Boot sector type:  -
    Boot sector info:
    Operating System:  Ubuntu 20.04.2 LTS
    Boot files:        /boot/grub/grub.cfg /etc/fstab /etc/default/grub
                       /boot/grub/i386-pc/core.img

sdb1: __________________________________________________________________________

    File system:       vfat
    Boot sector type:  SYSLINUX 6.04
    Boot sector info:  Syslinux looks at sector 59310 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

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

OS#1:   Ubuntu 20.04.2 LTS on sda5

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

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

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

This live-session is not in EFI-mode.
This session has been detected as 'live' because df -Th / contains overlay


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

Disks info: ____________________________________________________________________

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

Partitions info (1/3): _________________________________________________________

sda1    : no-os,    32, nopakmgr,    no-docgrub,    nogrub,    nogrubinstall,    no-grubenv,    noupdategrub,    not-far
sda2    : no-os,    32, nopakmgr,    no-docgrub,    nogrub,    nogrubinstall,    no-grubenv,    noupdategrub,    not-far
sda5    : is-os,    64, apt-get,    grub-pc ,    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
sda2    : isnotESP,    part-has-no-fstab,    no-nt,    no-winload,    no-recov-nor-hid,    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
sda2    : 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: 465.78 GiB, 500107862016 bytes, 976773168 sectors
Disk identifier: 0x7ffbb4c8
      Boot   Start       End   Sectors   Size Id Type
sda1  *       2048   1050623   1048576   512M  b W95 FAT32
sda2       1050624   2101247   1050624   513M  b W95 FAT32
sda3       2103294 976771071 974667778 464.8G  5 Extended
sda5       2103296 976771071 974667776 464.8G 83 Linux
Disk sdb: 115.44 GiB, 123942731776 bytes, 242075648 sectors
Disk identifier: 0x00c23095
      Boot Start       End   Sectors   Size Id Type
sdb1  *     2048 242075647 242073600 115.4G  c W95 FAT32 (LBA)

parted -lm (filtered): _________________________________________________________

sda:500GB:scsi:512:4096:msdos:ATA WDC WD5000LPLX-2:;
1:1049kB:538MB:537MB:fat32::boot;
2:538MB:1076MB:538MB:fat32::;
3:1077MB:500GB:499GB:::;
5:1077MB:500GB:499GB:ext4::;
sdb:124GB:scsi:512:512:msdos: USB DISK 3.0:;
1:1049kB:124GB:124GB:fat32::boot, lba;

blkid (filtered): ______________________________________________________________

NAME   FSTYPE   UUID                                 PARTUUID                             LABEL       PARTLABEL
sda                                                                                                   
├─sda1 vfat     3A96-77D9                            7ffbb4c8-01                                     
├─sda2 vfat     A812-D1D9                            7ffbb4c8-02                                     
├─sda3                                               7ffbb4c8-03                                     
└─sda5 ext4     8a26d939-f03a-4b2c-bb99-83584c545854 7ffbb4c8-05                                     
sdb                                                                                                   
└─sdb1 vfat     08E7-3767                            00c23095-01                          UBUNTU 20_0

df (filtered): _________________________________________________________________

                   Avail Use% Mounted on
sda1                511M   0% /mnt/boot-sav/sda1
sda2                512M   0% /mnt/boot-sav/sda2
sda5              424.8G   2% /mnt/boot-sav/sda5
sdb1              112.7G   2% /cdrom

Mount options: __________________________________________________________________

sda1              rw,relatime,fmask=0022,dmask=0022,codepage=437,iocharset=iso8859-1,shortname=mixed,errors=remount-ro
sda2              rw,relatime,fmask=0022,dmask=0022,codepage=437,iocharset=iso8859-1,shortname=mixed,errors=remount-ro
sda5              rw,relatime
sdb1              ro,noatime,fmask=0022,dmask=0022,codepage=437,iocharset=iso8859-1,shortname=mixed,errors=remount-ro

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

Ubuntu   8a26d939-f03a-4b2c-bb99-83584c545854
Ubuntu, avec Linux 5.8.0-63-generic   8a26d939-f03a-4b2c-bb99-83584c545854
Ubuntu, avec Linux 5.8.0-43-generic   8a26d939-f03a-4b2c-bb99-83584c545854
### END /etc/grub.d/30_os-prober ###
### END /etc/grub.d/30_uefi-firmware ###

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

# <file system> <mount point>   <type>  <options>       <dump>  <pass>
# / was on /dev/sda5 during installation
UUID=8a26d939-f03a-4b2c-bb99-83584c545854 /               ext4    errors=remount-ro 0       1
# /boot/efi was on /dev/sda2 during installation
UUID=A812-D1D9  /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)
277,134918213 = 297,571352576  boot/grub/grub.cfg                             2
161,141025543 = 173,023858688  boot/grub/i386-pc/core.img                     1
   7,527679443 = 8,082784256    boot/vmlinuz                                   1
   6,291988373 = 6,755971072    boot/vmlinuz-5.8.0-43-generic                  2
   7,527679443 = 8,082784256    boot/vmlinuz-5.8.0-63-generic                  1
   6,291988373 = 6,755971072    boot/vmlinuz.old                               2
   7,854957581 = 8,434196480    boot/initrd.img                                1
   7,338863373 = 7,880044544    boot/initrd.img-5.8.0-43-generic               4
   7,854957581 = 8,434196480    boot/initrd.img-5.8.0-63-generic               1
   7,338863373 = 7,880044544    boot/initrd.img.old                            4

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

-rwxr-xr-x 1 root root 17622 janv. 13  2021 10_linux
-rwxr-xr-x 1 root root 42359 janv. 13  2021 10_linux_zfs
-rwxr-xr-x 1 root root 12894 janv. 13  2021 20_linux_xen
-rwxr-xr-x 1 root root 12059 janv. 13  2021 30_os-prober
-rwxr-xr-x 1 root root  1424 janv. 13  2021 30_uefi-firmware
-rwxr-xr-x 1 root root   214 janv. 13  2021 40_custom
-rwxr-xr-x 1 root root   216 janv. 13  2021 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:[96048]) leaked on lvs invocation. Parent PID 36146: /bin/bash

Suggested repair: ______________________________________________________________

The default repair of the Boot-Repair utility would purge (in order to fix packages) and reinstall the grub-efi-amd64-signed of
sda5,
using the following options:        sda1/boot/efi,
Additional repair would be performed: unhide-bootmenu-10s  use-standard-efi-file   

Blockers in case of suggested repair: __________________________________________

The current session is in BIOS-compatibility mode. Please disable BIOS-compatibility/CSM/Legacy mode in your UEFI firmware, and use this software from a live-CD (or live-USB) that is compatible with UEFI booting mode. For example, use a live-USB of Boot-Repair-Disk-64bit (www.sourceforge.net/p/boot-repair-cd), after making sure your BIOS is set up to boot USB in EFI mode. This will enable this feature.

Confirmation request before suggested repair: __________________________________

The boot of your PC is in BIOS-compatibility/CSM/Legacy mode. You may want to retry after changing it to EFI mode.
Alternatively, you may want to retry after deactivating the [Separate /usr partition:] option.
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 Ubuntu 20.04.2 LTS entry (sda1/efi/****/shim****.efi (**** will be updated in the final message) file) !
The boot of your PC is in BIOS-compatibility/CSM/Legacy mode. You may want to retry after changing it to UEFI mode.

Les grilles de l'installateur https://doc.ubuntu-fr.org/tutoriel/inst … _subiquity
"gedit admin:///etc/fstab" est proscrit,  utilisez "pkexec env DISPLAY=$DISPLAY XAUTHORITY=$XAUTHORITY xdg-open /etc/fstab" Voir  https://doc.ubuntu-fr.org/gedit
Les partitions EXT4 des disques externes => https://forum.ubuntu-fr.org/viewtopic.p … #p22697248

Hors ligne

#7 Le 26/07/2021, à 18:48

geole

Re : Résolu

La cause du message d'erreur que tu as signalé
Quand par hasard j'arrive à rebooter sur le hdd j'ai ce message :
error: file '/boot/grub/i386-pc/normal.mod' not found.
Enterring rescue mode...

m'échappe car ton ubuntu me semble correctement installé en mode legacy

sda5: __________________________________________________________________________
    File system:       ext4
    Boot sector type:  -
    Boot sector info:
    Operating System:  Ubuntu 20.04.2 LTS
    Boot files:        /boot/grub/grub.cfg /etc/fstab /etc/default/grub
                       /boot/grub/i386-pc/core.img

Pourrais-tu indiquer la référence de ton ordinateur si c'est un portable afin de savoir s'il supporte le bios EFI?

Dernière modification par geole (Le 26/07/2021, à 18:52)


Les grilles de l'installateur https://doc.ubuntu-fr.org/tutoriel/inst … _subiquity
"gedit admin:///etc/fstab" est proscrit,  utilisez "pkexec env DISPLAY=$DISPLAY XAUTHORITY=$XAUTHORITY xdg-open /etc/fstab" Voir  https://doc.ubuntu-fr.org/gedit
Les partitions EXT4 des disques externes => https://forum.ubuntu-fr.org/viewtopic.p … #p22697248

Hors ligne

#8 Le 26/07/2021, à 22:58

Amical

Re : Résolu

Mon pc est un DELL Latitude E6410 mais le disque a été entièrement écrasé. J'ai essayé de le reformater et de créer une seule partition avec AOMEI. Avec un autre pc j'ai chargé une image iso de ubuntu 20.04 lts que j'ai mis sur une clé USB avec Rufus. Je reboote bien sur la clé. je peux utilisé le pc avec la clé mais si j'implante sur le disque dur et que j'arrive à ne pas repartir sur la clé j'ai l'erreur GRUB....

Hors ligne

#9 Le 27/07/2021, à 09:57

geole

Re : Résolu

Bonjour
Bonne nouvelle, cet ordinateur dispose de l'EFI  voir  https://forum.ubuntu-fr.org/viewtopic.p … #p21586371

Voici ce que je te propose

1) Booter avec le support d'installation en choisissant le fichier de boot EFI.
   ( Au besoin allez dans le bios pour déactiver le boot en mode LEGACY).
2) Vérifier que le boot en EFI a bien été fait voir paragraphe 2.3 de https://doc.ubuntu-fr.org/uefi
avec la commande:

   [ -d /sys/firmware/efi ] && echo "Session EFI" || echo "Session non-EFI"

2) Lancer gparted  https://doc.ubuntu-fr.org/gparted pour:
   a) Supprimer les partitions  SDA5 puis SDA1 SDA2 SDA3.
   b) Créer une table de partition GPT avec l'onglet "périphériques".
   c) Créer une partition de 36 Mo en fat32.
   d) Mettre au drapeau boot-EFI  cette partition.
3) Quitter gparted et relancer l'installation.
     Tu pourras choisir installer sur tout le disque.

Dernière modification par geole (Le 27/07/2021, à 09:59)


Les grilles de l'installateur https://doc.ubuntu-fr.org/tutoriel/inst … _subiquity
"gedit admin:///etc/fstab" est proscrit,  utilisez "pkexec env DISPLAY=$DISPLAY XAUTHORITY=$XAUTHORITY xdg-open /etc/fstab" Voir  https://doc.ubuntu-fr.org/gedit
Les partitions EXT4 des disques externes => https://forum.ubuntu-fr.org/viewtopic.p … #p22697248

Hors ligne

#10 Le 27/07/2021, à 15:26

Amical

Re : Résolu

Bonjour.

Merci pour votre aide.
En mode UEFI le pc a bien redémarré sur la clé usb.. la difficulté sera: A quel moment retirer la clé et le pc va t'il rebooter en mode UEFI.
Je vous tiens au courant. Merci.

Hors ligne

#11 Le 27/07/2021, à 16:15

tuxmarc

Re : Résolu

Bonjour Amical.

Il faut attendre le message qui te dit que tu peux retirer le média d'installation, ta clé.
Si le PC a été reconfiguré pour être en UEFI, il va redémarrer en UEFI.


Vive Richard Stalmann, Linus Torvalds, et tous les fondus de Linux.
De l'Ordinosaure fait à 90% de récup, à deux portables LDLC,  neufs sans système et une carte mère sans boitier, tous libres !!
Parrain Linux sur www.parrain-linux.com et www.parrains.linux.free.fr

Hors ligne

#12 Le 27/07/2021, à 17:40

Amical

Re : Résolu

Merci pour votre aide précieuse.

Le pc ne m'a jamais demandé de retirer la clé. A un moment j'ai pu arrêter le pc. J'ai retiré la clé je suis rentré dans le bios j'ai mis en EFI et vogue la galère.
Merci geole tes conseils m'ont aidé à comprendre (un peu) gparted n'a pas voulu exécuter mes demandes et je n'ai pas trouvé SDA5 ni SDA1 et SDA2 et 3 représentaient l'ensemble du disque.
Enfin tout va bien ça marche et c'est l'essentiel. Merci encore.

Cordialement, Amical.

Hors ligne

#13 Le 27/07/2021, à 18:22

geole

Re : Résolu

Pourais-tu de nouveau faire un boot-info depuis ta session installée?
Je mettrais à jour la documentation disant que la version 20.04 n'est plus installable en légacy sur cet ordinateur. https://doc.ubuntu-fr.org/liste_portables_dell#latitude


Les grilles de l'installateur https://doc.ubuntu-fr.org/tutoriel/inst … _subiquity
"gedit admin:///etc/fstab" est proscrit,  utilisez "pkexec env DISPLAY=$DISPLAY XAUTHORITY=$XAUTHORITY xdg-open /etc/fstab" Voir  https://doc.ubuntu-fr.org/gedit
Les partitions EXT4 des disques externes => https://forum.ubuntu-fr.org/viewtopic.p … #p22697248

Hors ligne

#14 Le 28/07/2021, à 15:28

Amical

Re : Résolu

Bonjour geole.
Désolé de t'avoir fait attendre.
J'ai essayé de me connecter à mon compte ubuntu avec mon pc sous ubuntu il n'a pas voulu de mon mot de passe.
Voilà l'URL du rapport: https//paste.ubuntu.com/p/Ph6kpsttHs/
Encore merci.
Cordialement,

Hors ligne

#15 Le 28/07/2021, à 15:51

xubu1957

Re : Résolu

Bonjour,

Pour http://paste.ubuntu.com/p/Ph6kpsttHs/

Collage du boot-info :

boot-info-4ppa130                                              [20210728_1612]

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

 => Grub2 (v2.00) is installed in the MBR of /dev/sda and looks at sector 1 of 
    the same hard drive for core.img. core.img is at this location and looks 
    for (,msdos5)/boot/grub. It also embeds following components:
    
    modules
    ---------------------------------------------------------------------------
    fshelp ext2 part_msdos biosdisk
    ---------------------------------------------------------------------------

sda1: __________________________________________________________________________

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

sda2: __________________________________________________________________________

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

sda5: __________________________________________________________________________

    File system:       ext4
    Boot sector type:  -
    Boot sector info: 
    Operating System:  Ubuntu 20.04.2 LTS
    Boot files:        /boot/grub/grub.cfg /etc/fstab /etc/default/grub 
                       /boot/grub/i386-pc/core.img


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

OS#1:   L'OS actuellement utilisé - Ubuntu 20.04.2 LTS CurrentSession on sda5

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

CPU architecture: 64-bit
BOOT_IMAGE of the installed session in use:
/boot/vmlinuz-5.8.0-63-generic root=UUID=81c9527b-5d11-48d7-943d-1f3ed141415f ro quiet splash vt.handoff=7


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

This installed-session is not in EFI-mode.



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

Disks info: ____________________________________________________________________

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

Partitions info (1/3): _________________________________________________________

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

Partitions info (2/3): _________________________________________________________

sda5	: isnotESP,	fstab-has-goodEFI,	no-nt,	no-winload,	no-recov-nor-hid,	no-bmgr,	notwinboot
sda1	: is---ESP,	part-has-no-fstab,	no-nt,	no-winload,	no-recov-nor-hid,	no-bmgr,	notwinboot

Partitions info (3/3): _________________________________________________________

sda5	: not-sepboot,	with-boot,	fstab-without-boot,	not-sep-usr,	with--usr,	fstab-without-usr,	std-grub.d,	sda
sda1	: not-sepboot,	no-boot,	part-has-no-fstab,	not-sep-usr,	no---usr,	part-has-no-fstab,	std-grub.d,	sda

fdisk -l (filtered): ___________________________________________________________

Disk sda: 465.78 GiB, 500107862016 bytes, 976773168 sectors
Disk identifier: 0x672a8575
      Boot   Start       End   Sectors   Size Id Type
sda1  *       2048   1050623   1048576   512M  b W95 FAT32
sda2       1052670 976771071 975718402 465.3G  5 Extended
sda5       1052672 976771071 975718400 465.3G 83 Linux

parted -lm (filtered): _________________________________________________________

sda:500GB:scsi:512:4096:msdos:ATA WDC WD5000LPLX-2:;
1:1049kB:538MB:537MB:fat32::boot;
2:539MB:500GB:500GB:::;
5:539MB:500GB:500GB:ext4::;

blkid (filtered): ______________________________________________________________

NAME   FSTYPE   UUID                                 PARTUUID                             LABEL PARTLABEL
sda                                                                                             
├─sda1 vfat     3FC9-A56F                            672a8575-01                                
├─sda2                                               672a8575-02                                
└─sda5 ext4     81c9527b-5d11-48d7-943d-1f3ed141415f 672a8575-05                                

df (filtered): _________________________________________________________________

                   Avail Use% Mounted on
sda5              424.1G   2% /

Mount options: __________________________________________________________________

sda5              rw,relatime,errors=remount-ro

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

Ubuntu   81c9527b-5d11-48d7-943d-1f3ed141415f
Ubuntu, avec Linux 5.8.0-63-generic   81c9527b-5d11-48d7-943d-1f3ed141415f
Ubuntu, avec Linux 5.8.0-43-generic   81c9527b-5d11-48d7-943d-1f3ed141415f
### END /etc/grub.d/30_os-prober ###
### END /etc/grub.d/30_uefi-firmware ###

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

# <file system> <mount point>   <type>  <options>       <dump>  <pass>
# / was on /dev/sda5 during installation
UUID=81c9527b-5d11-48d7-943d-1f3ed141415f /               ext4    errors=remount-ro 0       1
# /boot/efi was on /dev/sda1 during installation
UUID=3FC9-A56F  /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)
 258,809051514 = 277,894103040  boot/grub/grub.cfg                             1
  54,837711334 = 58,881544192   boot/grub/i386-pc/core.img                     1
   7,026702881 = 7,544864768    boot/vmlinuz                                   1
   5,798824310 = 6,226440192    boot/vmlinuz-5.8.0-43-generic                  2
   7,026702881 = 7,544864768    boot/vmlinuz-5.8.0-63-generic                  1
   5,798824310 = 6,226440192    boot/vmlinuz.old                               2
   9,880439758 = 10,609041408   boot/initrd.img                                3
   9,673824310 = 10,387189760   boot/initrd.img-5.8.0-43-generic               3
   9,880439758 = 10,609041408   boot/initrd.img-5.8.0-63-generic               3
   9,673824310 = 10,387189760   boot/initrd.img.old                            3

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

-rwxr-xr-x 1 root root 17622 janv. 13  2021 10_linux
-rwxr-xr-x 1 root root 42359 janv. 13  2021 10_linux_zfs
-rwxr-xr-x 1 root root 12894 janv. 13  2021 20_linux_xen
-rwxr-xr-x 1 root root 12059 janv. 13  2021 30_os-prober
-rwxr-xr-x 1 root root  1424 janv. 13  2021 30_uefi-firmware
-rwxr-xr-x 1 root root   214 janv. 13  2021 40_custom
-rwxr-xr-x 1 root root   216 janv. 13  2021 41_custom


Suggested repair: ______________________________________________________________

The default repair of the Boot-Repair utility would purge (in order to fix packages) and reinstall the grub-efi-amd64-signed of
sda5,
using the following options:        sda1/boot/efi,
Additional repair would be performed: unhide-bootmenu-10s  use-standard-efi-file    

Blockers in case of suggested repair: __________________________________________

 The current session is in BIOS-compatibility mode. Please disable BIOS-compatibility/CSM/Legacy mode in your UEFI firmware, and use this software from a live-CD (or live-USB) that is compatible with UEFI booting mode. For example, use a live-USB of Boot-Repair-Disk-64bit (www.sourceforge.net/p/boot-repair-cd), after making sure your BIOS is set up to boot USB in EFI mode. This will enable this feature.

Confirmation request before suggested repair: __________________________________

The boot of your PC is in BIOS-compatibility/CSM/Legacy mode. You may want to retry after changing it to EFI mode.
Alternatively, you may want to retry after deactivating the [Separate /usr partition:] option.
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.2 LTS CurrentSession entry (sda1/efi/****/shim****.efi (**** will be updated in the final message) file) !
The boot of your PC is in BIOS-compatibility/CSM/Legacy mode. You may want to retry after changing it to UEFI mode.

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

#16 Le 28/07/2021, à 16:12

malbo

Re : Résolu

On a toujours des surprises avec les novices. geole t'a donné le détail de la procédure (dans le post #9) pour faire une installation en mode EFI et finalement, on constate que tu as fait une install en mode Bios dans cet extrait du dernier Boot-info :

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

This installed-session is not in EFI-mode.

L'important, c'est que ça marche hein ?
Et puis ça évitera à geole de mettre à jour la documentation disant que la version 20.04 n'est plus installable en Legacy sur cet ordinateur :

geole a écrit :

Je mettrais à jour la documentation disant que la version 20.04 n'est plus installable en légacy sur cet ordinateur.

Dernière modification par malbo (Le 28/07/2021, à 16:17)

Hors ligne

#17 Le 01/08/2021, à 17:50

Amical

Re : Résolu

Bonjour. comment fait on pour fermer un post résolu? Merci.

Hors ligne

#18 Le 01/08/2021, à 17:54

geole

Re : Résolu

Bonjour
Il faut que tu te positionnes sur le premier message, que tu cliques sur modifier,  que tu te positionnes sur le titre et que tu frappes [Résolu]

Dernière modification par geole (Le 01/08/2021, à 17:55)


Les grilles de l'installateur https://doc.ubuntu-fr.org/tutoriel/inst … _subiquity
"gedit admin:///etc/fstab" est proscrit,  utilisez "pkexec env DISPLAY=$DISPLAY XAUTHORITY=$XAUTHORITY xdg-open /etc/fstab" Voir  https://doc.ubuntu-fr.org/gedit
Les partitions EXT4 des disques externes => https://forum.ubuntu-fr.org/viewtopic.p … #p22697248

Hors ligne