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 07/02/2019, à 18:48

Tomi la Tomate

[Résolu] error: file /boot/grub/i386-pc/normal.mod not found

Bonjour,

J'ai un problème avec le PC du boulot, au démarrage, ce message d'erreur : "error: file /boot/grub/i386-pc/normal.mod not found"

Après quelques recherches, j'ai fait des tentatives.

- La première tentative, tirée de cette page ou encore de cette vidéo :

J'ai donc lancé la commande

grub rescue> ls

qui me donne comme résultat

(hd0) (hd0,gpt3) (hd0,gpt2) (hd0,gpt1) (hd1) (hd1,gpt1)

Après un "ls" sur chacune des partitions, trois d'entre elles me donnent comme réponse "Filesystem is ext2" : la (hd0,gtp1), la (hd0,gpt2) et la (hd1,gpt1), les autres me donnant "Filesystem is unknown".

J'ai tenté la solution proposée, à savoir

set boot=(hd0,gpt1)
set prefix=(hd0,gpt1)/boot/grub
insmod normal

Mais sur les trois partitions, la réponse est alors la même : "error: file /boot/grub/i386-pc/normal.mod not found"

Après, en recherchant un peu plus, j'ai l'impression que je n'ai pas de dossier grub, nulle part... (ici bientôt une capture d'écran, quand j'aurais trouvé une solution pour héberger l'image :-p)

- La deuxième tentative, après avoir lu cette page, j'ai essayé de réparer avec un boot-repair à partir d'une live USB.
Après avoir installé en suivant les instructions de cette page, j'ai lancé la réparation standard qui m'a donné ce rapport. Mais après redémarrage, toujours le même fichier manquant. Et retour à la case départ.

- La troisième tentative, on m'a conseillé de copier /boot de /dev/sda1 vers le disque /dev/sda2 , depuis le liveusb :

sudo -s
mkdir /mnt/boot
mkdir /mnt/root
mount /dev/sda1 /mnt/boot
mount /dev/sda2 /mnt/root
cp -rv /mnt/boot /mnt/root

Mais ça n'a pas fonctionné non plus

- Enfin quatrième tentative, j'ai tenté avec Super Grub Disk, que j'ai mis sur une clé USB via Unetbootin, mais quand je lance l'ordi avec la clé USB en 1ère option, ça me dit "missing operating system" ainsi que, toujours, ce fichier "normal.mod" pas trouvé en mode "grub rescue"...

Bref, je commence à sécher et j'aimerais ne pas avoir à ré-installer Ubuntu (16.04 pour info), d'autant que le problème est apparu après que j'ai dû éteindre "salement" l'ordinateur qui m'a fait disparaître le menu pour l'éteindre proprement et qui ne répondait pas aux commandes "ctrl+alt+F1" alors que j'essayais de supprimer la corbeille pour faire de la place sur un disque dur externe pour faire un backup (qui n'a donc pas été fait :-/)

Si un membre du forum avait d'autres pistes à me proposer d'essayer, ça m'arrangerait fort.

Merci !

Dernière modification par Tomi la Tomate (Le 08/02/2019, à 18:08)

Hors ligne

#2 Le 07/02/2019, à 19:35

malbo

Re : [Résolu] error: file /boot/grub/i386-pc/normal.mod not found

Bonjour,
Je colle ci-dessous le Boot-Info dont tu as donné le lien ( http://paste.ubuntu.com/p/dDPsv69kcC/ ) dans ton post #1 :

 Boot Info Script 8f991e4 + Boot-Repair extra info      [Boot-Info 25oct2017]


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

 => Grub2 (v2.00) is installed in the MBR of /dev/sda and looks at sector 
    38081440 of the same hard drive for core.img. core.img is at this location 
    and looks for (,gpt1)/boot/grub. It also embeds following components:
    
    modules
    ---------------------------------------------------------------------------
    fshelp ext2 part_gpt biosdisk
    ---------------------------------------------------------------------------
 => 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:       ext4
    Boot sector type:  -
    Boot sector info: 
    Operating System:  Ubuntu 16.04.5 LTS 
    Boot files:        /etc/fstab

sda2: __________________________________________________________________________

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

sda3: __________________________________________________________________________

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

sdb1: __________________________________________________________________________

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

sdc1: __________________________________________________________________________

    File system:       iso9660
    Boot sector type:  Unknown
    Boot sector info: 
    Mounting failed:   mount: /dev/sdc1 is already mounted or /mnt/BootInfo/sdc1 busy

sdc2: __________________________________________________________________________

    File system:       vfat
    Boot sector type:  FAT16
    Boot sector info:  According to the info in the boot sector, sdc2 starts 
                       at sector 0. But according to the info from fdisk, 
                       sdc2 starts at sector 2888004. According to the info 
                       in the boot sector, sdc2 has 0 sectors.
    Mounting failed:   mount: /dev/sdc1 is already mounted or /mnt/BootInfo/sdc1 busy
mount: /dev/sdc2 is already mounted or /mnt/BootInfo/sdc2 busy

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

Drive: sda _____________________________________________________________________
Disk /dev/sda: 111.8 GiB, 120034123776 bytes, 234441648 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disklabel type: gpt

Partition  Boot  Start Sector    End Sector  # of Sectors  Id System

/dev/sda1                   1   234,441,647   234,441,647  ee GPT


GUID Partition Table detected.

Partition  Attrs   Start Sector    End Sector  # of Sectors System
/dev/sda1                 2,048    97,656,831    97,654,784 Data partition (Linux)
/dev/sda2            97,656,832   195,313,663    97,656,832 Data partition (Linux)
/dev/sda3           195,313,664   234,440,703    39,127,040 Swap partition (Linux)

Attributes: R=Required, N=No Block IO, B=Legacy BIOS Bootable, +=More bits set

Drive: sdb _____________________________________________________________________
Disk /dev/sdb: 931.5 GiB, 1000204886016 bytes, 1953525168 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 4096 bytes
I/O size (minimum/optimal): 4096 bytes / 4096 bytes
Disklabel type: gpt

Partition  Boot  Start Sector    End Sector  # of Sectors  Id System

/dev/sdb1                   1 1,953,525,167 1,953,525,167  ee GPT


GUID Partition Table detected.

Partition  Attrs   Start Sector    End Sector  # of Sectors System
/dev/sdb1                 2,048 1,953,523,711 1,953,521,664 Data partition (Linux)

Attributes: R=Required, N=No Block IO, B=Legacy BIOS Bootable, +=More bits set

Drive: sdc _____________________________________________________________________
Disk /dev/sdc: 57.9 GiB, 62159585280 bytes, 121405440 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disklabel type: dos

Partition  Boot  Start Sector    End Sector  # of Sectors  Id System

/dev/sdc1    *              0     2,902,111     2,902,112   0 Empty
/dev/sdc2           2,888,004     2,892,739         4,736  ef EFI (FAT-12/16/32)

/dev/sdc1 overlaps with /dev/sdc2

GUID Partition Table detected, but does not seem to be used.

Partition  Attrs   Start Sector    End Sector  # of Sectors System
/dev/sdc1   +  R              0     2,902,055     2,902,056 Data partition (Windows/Linux)
/dev/sdc2   +  R      2,888,004     2,892,739         4,736 Data partition (Windows/Linux)

Attributes: R=Required, N=No Block IO, B=Legacy BIOS Bootable, +=More bits set

"blkid" output: ________________________________________________________________

Device           UUID                                   TYPE       LABEL

/dev/loop0                                              squashfs   
/dev/sda1        76af48fc-35a6-462a-9d6b-9ff775c1a08a   ext4       
/dev/sda2        c9657d60-520a-4198-9d4c-571a21e5cf8c   ext4       
/dev/sda3        f296f3b5-130a-4ac1-a4e1-03d7f567290f   swap       
/dev/sdb1        dffb3368-7b5c-4787-af86-2760e3a13c9b   ext4       
/dev/sdc1        2016-04-20-22-29-52-00                 iso9660    Ubuntu 16.04 LTS amd64
/dev/sdc2        B1F5-0A13                              vfat       

========================= "ls -l /dev/disk/by-id" output: ======================

total 0
lrwxrwxrwx 1 root root  9 Feb  6 16:40 ata-WDC_WD10EZEX-08WN4A0_WD-WCC6Y2LTC29K -> ../../sdb
lrwxrwxrwx 1 root root 10 Feb  6 16:41 ata-WDC_WD10EZEX-08WN4A0_WD-WCC6Y2LTC29K-part1 -> ../../sdb1
lrwxrwxrwx 1 root root  9 Feb  6 16:40 ata-WDC_WDS120G1G0B-00RC30_171163802804 -> ../../sda
lrwxrwxrwx 1 root root 10 Feb  6 16:40 ata-WDC_WDS120G1G0B-00RC30_171163802804-part1 -> ../../sda1
lrwxrwxrwx 1 root root 10 Feb  6 16:40 ata-WDC_WDS120G1G0B-00RC30_171163802804-part2 -> ../../sda2
lrwxrwxrwx 1 root root 10 Feb  6 16:40 ata-WDC_WDS120G1G0B-00RC30_171163802804-part3 -> ../../sda3
lrwxrwxrwx 1 root root  9 Feb  6 16:40 usb-Sony_Storage_Media_5C071069192715C287-0:0 -> ../../sdc
lrwxrwxrwx 1 root root 10 Feb  6 16:40 usb-Sony_Storage_Media_5C071069192715C287-0:0-part1 -> ../../sdc1
lrwxrwxrwx 1 root root 10 Feb  6 16:40 usb-Sony_Storage_Media_5C071069192715C287-0:0-part2 -> ../../sdc2
lrwxrwxrwx 1 root root  9 Feb  6 16:40 wwn-0x50014ee2b8cd207c -> ../../sdb
lrwxrwxrwx 1 root root 10 Feb  6 16:41 wwn-0x50014ee2b8cd207c-part1 -> ../../sdb1
lrwxrwxrwx 1 root root  9 Feb  6 16:40 wwn-0x5001b448b4be3618 -> ../../sda
lrwxrwxrwx 1 root root 10 Feb  6 16:40 wwn-0x5001b448b4be3618-part1 -> ../../sda1
lrwxrwxrwx 1 root root 10 Feb  6 16:40 wwn-0x5001b448b4be3618-part2 -> ../../sda2
lrwxrwxrwx 1 root root 10 Feb  6 16:40 wwn-0x5001b448b4be3618-part3 -> ../../sda3

================================ Mount points: =================================

Device           Mount_Point              Type       Options

/dev/loop0       /rofs                    squashfs   (ro,noatime)
/dev/sdc         /cdrom                   iso9660    (ro,noatime)


=============================== sda1/etc/fstab: ================================

--------------------------------------------------------------------------------
# /etc/fstab: static file system information.
#
# Use 'blkid' to print the universally unique identifier for a
# device; this may be used with UUID= as a more robust way to name devices
# that works even if disks are added and removed. See fstab(5).
#
# <file system> <mount point>   <type>  <options>       <dump>  <pass>
# / was on /dev/sda1 during installation
UUID=76af48fc-35a6-462a-9d6b-9ff775c1a08a /               ext4    errors=remount-ro 0       1
# /home was on /dev/sdb1 during installation
UUID=dffb3368-7b5c-4787-af86-2760e3a13c9b /home           ext4    defaults        0       2
# swap was on /dev/sda3 during installation
UUID=f296f3b5-130a-4ac1-a4e1-03d7f567290f none            swap    sw              0       0
--------------------------------------------------------------------------------

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

Unknown MBR on /dev/sdc

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  f1 06 b4 42 eb 15 eb 00  |...t.f.....B....|
00000070  5a 51 b4 08 cd 13 83 e1  3f 5b 51 0f b6 c6 40 50  |ZQ......?[Q...@P|
00000080  f7 e1 53 52 50 bb 00 7c  b9 04 00 66 a1 b0 07 e8  |..SRP..|...f....|
00000090  44 00 0f 82 80 00 66 40  80 c7 02 e2 f2 66 81 3e  |D.....f@.....f.>|
000000a0  40 7c fb c0 78 70 75 09  fa bc ec 7b ea 44 7c 00  |@|..xpu....{.D|.|
000000b0  00 e8 83 00 69 73 6f 6c  69 6e 75 78 2e 62 69 6e  |....isolinux.bin|
000000c0  20 6d 69 73 73 69 6e 67  20 6f 72 20 63 6f 72 72  | missing or corr|
000000d0  75 70 74 2e 0d 0a 66 60  66 31 d2 66 03 06 f8 7b  |upt...f`f1.f...{|
000000e0  66 13 16 fc 7b 66 52 66  50 06 53 6a 01 6a 10 89  |f...{fRfP.Sj.j..|
000000f0  e6 66 f7 36 e8 7b c0 e4  06 88 e1 88 c5 92 f6 36  |.f.6.{.........6|
00000100  ee 7b 88 c6 08 e1 41 b8  01 02 8a 16 f2 7b cd 13  |.{....A......{..|
00000110  8d 64 10 66 61 c3 e8 1e  00 4f 70 65 72 61 74 69  |.d.fa....Operati|
00000120  6e 67 20 73 79 73 74 65  6d 20 6c 6f 61 64 20 65  |ng system load e|
00000130  72 72 6f 72 2e 0d 0a 5e  ac b4 0e 8a 3e 62 04 b3  |rror...^....>b..|
00000140  07 cd 10 3c 0a 75 f1 cd  18 f4 eb fd 00 00 00 00  |...<.u..........|
00000150  00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00  |................|
00000160  00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00  |................|
00000170  00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00  |................|
00000180  00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00  |................|
00000190  00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00  |................|
000001a0  00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00  |................|
000001b0  28 db 2b 00 00 00 00 00  70 8e 0e 0e 00 00 80 00  |(.+.....p.......|
000001c0  01 00 00 58 e0 fa 00 00  00 00 60 48 2c 00 00 fe  |...X......`H,...|
000001d0  ff ff ef fe ff ff 44 11  2c 00 80 12 00 00 00 00  |......D.,.......|
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/sdc1: unknown GPT attributes
1000000000000001

/dev/sdc2: unknown GPT attributes
1000000000000001
Unknown BootLoader on sdc1

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  f1 06 b4 42 eb 15 eb 00  |...t.f.....B....|
00000070  5a 51 b4 08 cd 13 83 e1  3f 5b 51 0f b6 c6 40 50  |ZQ......?[Q...@P|
00000080  f7 e1 53 52 50 bb 00 7c  b9 04 00 66 a1 b0 07 e8  |..SRP..|...f....|
00000090  44 00 0f 82 80 00 66 40  80 c7 02 e2 f2 66 81 3e  |D.....f@.....f.>|
000000a0  40 7c fb c0 78 70 75 09  fa bc ec 7b ea 44 7c 00  |@|..xpu....{.D|.|
000000b0  00 e8 83 00 69 73 6f 6c  69 6e 75 78 2e 62 69 6e  |....isolinux.bin|
000000c0  20 6d 69 73 73 69 6e 67  20 6f 72 20 63 6f 72 72  | missing or corr|
000000d0  75 70 74 2e 0d 0a 66 60  66 31 d2 66 03 06 f8 7b  |upt...f`f1.f...{|
000000e0  66 13 16 fc 7b 66 52 66  50 06 53 6a 01 6a 10 89  |f...{fRfP.Sj.j..|
000000f0  e6 66 f7 36 e8 7b c0 e4  06 88 e1 88 c5 92 f6 36  |.f.6.{.........6|
00000100  ee 7b 88 c6 08 e1 41 b8  01 02 8a 16 f2 7b cd 13  |.{....A......{..|
00000110  8d 64 10 66 61 c3 e8 1e  00 4f 70 65 72 61 74 69  |.d.fa....Operati|
00000120  6e 67 20 73 79 73 74 65  6d 20 6c 6f 61 64 20 65  |ng system load e|
00000130  72 72 6f 72 2e 0d 0a 5e  ac b4 0e 8a 3e 62 04 b3  |rror...^....>b..|
00000140  07 cd 10 3c 0a 75 f1 cd  18 f4 eb fd 00 00 00 00  |...<.u..........|
00000150  00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00  |................|
*
000001b0  28 db 2b 00 00 00 00 00  70 8e 0e 0e 00 00 80 00  |(.+.....p.......|
000001c0  01 00 00 58 e0 fa 00 00  00 00 60 48 2c 00 00 fe  |...X......`H,...|
000001d0  ff ff ef fe ff ff 44 11  2c 00 80 12 00 00 00 00  |......D.,.......|
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


=============================== StdErr Messages: ===============================

File descriptor 9 (/proc/16685/mounts) leaked on lvs invocation. Parent PID 23372: bash
File descriptor 63 (pipe:[83408]) leaked on lvs invocation. Parent PID 23372: bash

ADDITIONAL INFORMATION :
=================== log of boot-repair 20190206_1640 ===================
boot-repair version : 4ppa65
boot-sav version : 4ppa65
boot-sav-extra version : 4ppa65
glade2script version : 3.2.3~ppa4
grub-probe: error: cannot find a GRUB drive for /dev/sdc1.  Check your device.map.
Warning: The driver descriptor says the physical block size is 2048 bytes, but Linux says it is 512 bytes.
boot-repair is executed in live-session (Ubuntu 16.04 LTS, xenial, Ubuntu, x86_64)
CPU op-mode(s):        32-bit, 64-bit
BOOT_IMAGE=/casper/vmlinuz.efi file=/cdrom/preseed/ubuntu.seed boot=casper quiet splash ---
ls: cannot access '/home/usr/.config': No such file or directory

=================== os-prober:
/dev/sda1:Ubuntu 16.04.5 LTS (16.04):Ubuntu:linux

=================== blkid:
/dev/sda1: UUID="76af48fc-35a6-462a-9d6b-9ff775c1a08a" TYPE="ext4" PARTUUID="ca83e915-d688-489d-b12d-65221c645179"
/dev/sda2: UUID="c9657d60-520a-4198-9d4c-571a21e5cf8c" TYPE="ext4" PARTUUID="15e0e9f3-7250-4359-8d45-46f637d71534"
/dev/sdb1: UUID="dffb3368-7b5c-4787-af86-2760e3a13c9b" TYPE="ext4" PARTUUID="ce1a75b4-a0ed-4af2-b215-6fdca348ed19"
/dev/loop0: TYPE="squashfs"
/dev/sda3: UUID="f296f3b5-130a-4ac1-a4e1-03d7f567290f" TYPE="swap" PARTUUID="87990681-a6c7-4f9a-b625-23842d6a6b22"
/dev/sdc1: UUID="2016-04-20-22-29-52-00" LABEL="Ubuntu 16.04 LTS amd64" TYPE="iso9660" PTUUID="0e0e8e70" PTTYPE="dos" PARTUUID="0e0e8e70-01"
/dev/sdc2: SEC_TYPE="msdos" UUID="B1F5-0A13" TYPE="vfat" PARTUUID="0e0e8e70-02"


1 disks with OS, 1 OS : 1 Linux, 0 MacOS, 0 Windows, 0 unknown type OS.


=================== sda1/etc/grub.d/ :
drwxr-xr-x  2 root root     4096 Dec 21 13:13 grub.d
total 80
-rwxr-xr-x 1 root root  9791 Jan 13  2017 00_header
-rwxr-xr-x 1 root root  6258 Mar 15  2016 05_debian_theme
-rwxr-xr-x 1 root root 12512 Mar 24  2017 10_linux
-rwxr-xr-x 1 root root 11082 Jan 13  2017 20_linux_xen
-rwxr-xr-x 1 root root  1992 Jan 28  2016 20_memtest86+
-rwxr-xr-x 1 root root 11692 Jan 13  2017 30_os-prober
-rwxr-xr-x 1 root root  1418 Jan 13  2017 30_uefi-firmware
-rwxr-xr-x 1 root root   214 Jan 13  2017 40_custom
-rwxr-xr-x 1 root root   216 Jan 13  2017 41_custom
-rw-r--r-- 1 root root   483 Jan 13  2017 README




=================== sda1/etc/default/grub :

# If you change this file, run 'update-grub' afterwards to update
# /boot/grub/grub.cfg.
# For full documentation of the options in this file, see:
#   info -f grub -n 'Simple configuration'

GRUB_DEFAULT=0
GRUB_HIDDEN_TIMEOUT=0
GRUB_HIDDEN_TIMEOUT_QUIET=true
GRUB_TIMEOUT=10
GRUB_DISTRIBUTOR=`lsb_release -i -s 2> /dev/null || echo Debian`
GRUB_CMDLINE_LINUX_DEFAULT="quiet splash"
GRUB_CMDLINE_LINUX=""

# Uncomment to enable BadRAM filtering, modify to suit your needs
# This works with Linux (no patch required) and with any kernel that obtains
# the memory map information from GRUB (GNU Mach, kernel of FreeBSD ...)
#GRUB_BADRAM="0x01234567,0xfefefefe,0x89abcdef,0xefefefef"

# Uncomment to disable graphical terminal (grub-pc only)
#GRUB_TERMINAL=console

# The resolution used on graphical terminal
# note that you can use only modes which your graphic card supports via VBE
# you can see them in real GRUB with the command `vbeinfo'
#GRUB_GFXMODE=640x480

# Uncomment if you don't want GRUB to pass "root=UUID=xxx" parameter to Linux
#GRUB_DISABLE_LINUX_UUID=true

# Uncomment to disable generation of recovery mode menu entries
#GRUB_DISABLE_RECOVERY="true"

# Uncomment to get a beep at grub start
#GRUB_INIT_TUNE="480 440 1"




=================== efibootmgr -v
BootCurrent: 0003
Timeout: 1 seconds
BootOrder: 0003,0001,0004,0002
Boot0001* Hard Drive	BBS(HD,,0x0)/VenHw(5ce8128b-2cec-40f0-8372-80640e3dc858,0200)..GO..NO..........W.D.C. .W.D.S.1.2.0.G.1.G.0.B.-.0.0.R.C.3.0....................,.@.r.d.=.X..........A...........................>..Gd-.;.A..MQ..L.7.1.1.1.3.6.0.8.8.2.4.0. . . . . . . . ........BO..NO..........W.D.C. .W.D.1.0.E.Z.E.X.-.0.8.W.N.4.A.0....................,.@.r.d.=.X..........A...........................>..Gd-.;.A..MQ..L. . . . .W. .-.D.C.W.6.C.2.Y.T.L.2.C.K.9........BO
Boot0002* USB HDD	BBS(HD,,0x0)/VenHw(5ce8128b-2cec-40f0-8372-80640e3dc858,0900)..GO..NO........}.S.o.n.y. .S.t.o.r.a.g.e. .M.e.d.i.a. .P.M.A.P....................,.@.r.d.=.X..........A.......................:..Gd-.;.A..MQ..L.5.C.0.7.1.0.6.9.1.9.2.7.1.5.C.2.8.7........BO
Boot0003* UEFI: Sony Storage Media PMAP	PciRoot(0x0)/Pci(0x14,0x0)/USB(16,0)/CDROM(1,0x2c1144,0x4a00)..BO
Boot0004* UEFI: Sony Storage Media PMAP, Partition 1	PciRoot(0x0)/Pci(0x14,0x0)/USB(16,0)/HD(1,MBR,0x112,0x2c1144,0x1280)..BO

=================== UEFI/Legacy mode:
BIOS is EFI-compatible, and is setup in EFI-mode for this live-session.
SecureBoot disabled. (maybe sec-boot, Please report this message to boot.repair@gmail.com)


=================== PARTITIONS & DISKS:
sda1	: sda,	not-sepboot,	no-grubenv	nogrub,	no-docgrub,	no-update-grub,	64,	no-boot,	is-os,	not--efi--part,	fstab-without-boot,	fstab-without-efi,	no-nt,	no-winload,	no-recov-nor-hid,	no-bmgr,	notwinboot,	nopakmgr,	nogrubinstall,	no---usr,	fstab-without-usr,	not-sep-usr,	standard,	not-far,	notbiosboot, /mnt/boot-sav/sda1.
sda2	: sda,	maybesepboot,	no-grubenv	nogrub,	no-docgrub,	no-update-grub,	32,	no-boot,	no-os,	not--efi--part,	part-has-no-fstab,	part-has-no-fstab,	no-nt,	no-winload,	no-recov-nor-hid,	no-bmgr,	notwinboot,	nopakmgr,	nogrubinstall,	no---usr,	part-has-no-fstab,	not-sep-usr,	standard,	farbios,	notbiosboot, /mnt/boot-sav/sda2.
sdb1	: sdb,	maybesepboot,	no-grubenv	nogrub,	no-docgrub,	no-update-grub,	32,	no-boot,	no-os,	not--efi--part,	part-has-no-fstab,	part-has-no-fstab,	no-nt,	no-winload,	no-recov-nor-hid,	no-bmgr,	notwinboot,	nopakmgr,	nogrubinstall,	no---usr,	part-has-no-fstab,	not-sep-usr,	standard,	farbios,	notbiosboot, /media/ubuntu/dffb3368-7b5c-4787-af86-2760e3a13c9b.

sda	: GPT,	no-BIOS_boot,	has-no-EFIpart, 	not-usb,	not-mmc, has-os,	2048 sectors * 512 bytes
sdb	: GPT,	no-BIOS_boot,	has-no-EFIpart, 	not-usb,	not-mmc, no-os,	2048 sectors * 512 bytes


=================== parted -lm:

BYT;
/dev/sda:120GB:scsi:512:512:gpt:ATA WDC WDS120G1G0B-:;
1:1049kB:50.0GB:50.0GB:ext4::;
2:50.0GB:100GB:50.0GB:ext4::;
3:100GB:120GB:20.0GB:linux-swap(v1)::;

BYT;
/dev/sdb:1000GB:scsi:512:4096:gpt:ATA WDC WD10EZEX-08W:;
1:1049kB:1000GB:1000GB:ext4::;

BYT;
/dev/sdc:62.2GB:scsi:512:512:unknown:Sony Storage Media:;

=================== lsblk:
KNAME TYPE FSTYPE     SIZE LABEL
sda   disk          111.8G
sda1  part ext4      46.6G
sda2  part ext4      46.6G
sda3  part swap      18.7G
sdb   disk          931.5G
sdb1  part ext4     931.5G
sdc   disk iso9660   57.9G Ubuntu 16.04 LTS amd64
sdc1  part iso9660    1.4G Ubuntu 16.04 LTS amd64
sdc2  part vfat       2.3M Ubuntu 16.04 LTS amd64
loop0 loop squashfs   1.3G

KNAME ROTA RO RM STATE   MOUNTPOINT
sda      0  0  0 running
sda1     0  0  0         /mnt/boot-sav/sda1
sda2     0  0  0         /mnt/boot-sav/sda2
sda3     0  0  0         [SWAP]
sdb      1  0  0 running
sdb1     1  0  0         /media/ubuntu/dffb3368-7b5c-4787-af86-2760e3a13c9b
sdc      1  0  1 running /cdrom
sdc1     1  0  1
sdc2     1  0  1
loop0    1  1  0         /rofs


=================== mount:
sysfs on /sys type sysfs (rw,nosuid,nodev,noexec,relatime)
proc on /proc type proc (rw,nosuid,nodev,noexec,relatime)
udev on /dev type devtmpfs (rw,nosuid,relatime,size=4017616k,nr_inodes=1004404,mode=755)
devpts on /dev/pts type devpts (rw,nosuid,noexec,relatime,gid=5,mode=620,ptmxmode=000)
tmpfs on /run type tmpfs (rw,nosuid,noexec,relatime,size=806456k,mode=755)
/dev/sdc on /cdrom type iso9660 (ro,noatime)
/dev/loop0 on /rofs type squashfs (ro,noatime)
/cow on / type overlay (rw,relatime,lowerdir=//filesystem.squashfs,upperdir=/cow/upper,workdir=/cow/work)
securityfs on /sys/kernel/security type securityfs (rw,nosuid,nodev,noexec,relatime)
tmpfs on /dev/shm type tmpfs (rw,nosuid,nodev)
tmpfs on /run/lock type tmpfs (rw,nosuid,nodev,noexec,relatime,size=5120k)
tmpfs on /sys/fs/cgroup type tmpfs (ro,nosuid,nodev,noexec,mode=755)
cgroup on /sys/fs/cgroup/systemd type cgroup (rw,nosuid,nodev,noexec,relatime,xattr,release_agent=/lib/systemd/systemd-cgroups-agent,name=systemd,nsroot=/)
pstore on /sys/fs/pstore type pstore (rw,nosuid,nodev,noexec,relatime)
efivarfs on /sys/firmware/efi/efivars type efivarfs (rw,nosuid,nodev,noexec,relatime)
cgroup on /sys/fs/cgroup/memory type cgroup (rw,nosuid,nodev,noexec,relatime,memory,nsroot=/)
cgroup on /sys/fs/cgroup/cpu,cpuacct type cgroup (rw,nosuid,nodev,noexec,relatime,cpu,cpuacct,nsroot=/)
cgroup on /sys/fs/cgroup/freezer type cgroup (rw,nosuid,nodev,noexec,relatime,freezer,nsroot=/)
cgroup on /sys/fs/cgroup/perf_event type cgroup (rw,nosuid,nodev,noexec,relatime,perf_event,nsroot=/)
cgroup on /sys/fs/cgroup/blkio type cgroup (rw,nosuid,nodev,noexec,relatime,blkio,nsroot=/)
cgroup on /sys/fs/cgroup/net_cls,net_prio type cgroup (rw,nosuid,nodev,noexec,relatime,net_cls,net_prio,nsroot=/)
cgroup on /sys/fs/cgroup/devices type cgroup (rw,nosuid,nodev,noexec,relatime,devices,nsroot=/)
cgroup on /sys/fs/cgroup/pids type cgroup (rw,nosuid,nodev,noexec,relatime,pids,nsroot=/)
cgroup on /sys/fs/cgroup/hugetlb type cgroup (rw,nosuid,nodev,noexec,relatime,hugetlb,nsroot=/)
cgroup on /sys/fs/cgroup/cpuset type cgroup (rw,nosuid,nodev,noexec,relatime,cpuset,nsroot=/)
mqueue on /dev/mqueue type mqueue (rw,relatime)
hugetlbfs on /dev/hugepages type hugetlbfs (rw,relatime)
systemd-1 on /proc/sys/fs/binfmt_misc type autofs (rw,relatime,fd=31,pgrp=1,timeout=0,minproto=5,maxproto=5,direct)
debugfs on /sys/kernel/debug type debugfs (rw,relatime)
tracefs on /sys/kernel/debug/tracing type tracefs (rw,relatime)
fusectl on /sys/fs/fuse/connections type fusectl (rw,relatime)
tmpfs on /tmp type tmpfs (rw,nosuid,nodev,relatime)
tmpfs on /run/user/999 type tmpfs (rw,nosuid,nodev,relatime,size=806456k,mode=700,uid=999,gid=999)
gvfsd-fuse on /run/user/999/gvfs type fuse.gvfsd-fuse (rw,nosuid,nodev,relatime,user_id=999,group_id=999)
/dev/sdb1 on /media/ubuntu/dffb3368-7b5c-4787-af86-2760e3a13c9b type ext4 (rw,nosuid,nodev,relatime,data=ordered,uhelper=udisks2)
/dev/sda1 on /mnt/boot-sav/sda1 type ext4 (rw,relatime,data=ordered)
/dev/sda2 on /mnt/boot-sav/sda2 type ext4 (rw,relatime,data=ordered)


=================== ls:
/sys/block/sda (filtered):  alignment_offset bdi capability dev device discard_alignment events events_async events_poll_msecs ext_range holders inflight integrity power queue range removable ro sda1 sda2 sda3 size slaves stat subsystem trace uevent
/sys/block/sdb (filtered):  alignment_offset bdi capability dev device discard_alignment events events_async events_poll_msecs ext_range holders inflight integrity power queue range removable ro sdb1 size slaves stat subsystem trace uevent
/sys/block/sdc (filtered):  alignment_offset bdi capability dev device discard_alignment events events_async events_poll_msecs ext_range holders inflight integrity power queue range removable ro sdc1 sdc2 size slaves stat subsystem trace uevent
/dev (filtered):  autofs block bsg btrfs-control bus char console core cpu cpu_dma_latency cuse disk ecryptfs fb0 fd full fuse hidraw0 hpet hugepages hwrng initctl input kmsg kvm lightnvm log lp0 mapper mcelog mem memory_bandwidth mqueue net network_latency network_throughput null parport0 port ppp psaux ptmx pts random rfkill rtc rtc0 sda sda1 sda2 sda3 sdb sdb1 sdc sdc1 sdc2 sg0 sg1 sg2 shm snapshot snd stderr stdin stdout uhid uinput urandom userio vfio vga_arbiter vhci vhost-net zero
ls /dev/mapper:  control

=================== df -Th:

Filesystem     Type      Size  Used Avail Use% Mounted on
udev           devtmpfs  3.9G     0  3.9G   0% /dev
tmpfs          tmpfs     788M  9.5M  779M   2% /run
/dev/sdc       iso9660   1.4G  1.4G     0 100% /cdrom
/dev/loop0     squashfs  1.4G  1.4G     0 100% /rofs
/cow           overlay   3.9G  115M  3.8G   3% /
tmpfs          tmpfs     3.9G  236K  3.9G   1% /dev/shm
tmpfs          tmpfs     5.0M  4.0K  5.0M   1% /run/lock
tmpfs          tmpfs     3.9G     0  3.9G   0% /sys/fs/cgroup
tmpfs          tmpfs     3.9G  248K  3.9G   1% /tmp
tmpfs          tmpfs     788M   92K  788M   1% /run/user/999
/dev/sdb1      ext4      917G  130G  741G  15% /media/ubuntu/dffb3368-7b5c-4787-af86-2760e3a13c9b
/dev/sda1      ext4       46G  1.7G   42G   4% /mnt/boot-sav/sda1
/dev/sda2      ext4       46G   52M   44G   1% /mnt/boot-sav/sda2

=================== fdisk -l:
Disk /dev/ram0: 64 MiB, 67108864 bytes, 131072 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 4096 bytes
I/O size (minimum/optimal): 4096 bytes / 4096 bytes


Disk /dev/ram1: 64 MiB, 67108864 bytes, 131072 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 4096 bytes
I/O size (minimum/optimal): 4096 bytes / 4096 bytes


Disk /dev/ram2: 64 MiB, 67108864 bytes, 131072 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 4096 bytes
I/O size (minimum/optimal): 4096 bytes / 4096 bytes


Disk /dev/ram3: 64 MiB, 67108864 bytes, 131072 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 4096 bytes
I/O size (minimum/optimal): 4096 bytes / 4096 bytes


Disk /dev/ram4: 64 MiB, 67108864 bytes, 131072 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 4096 bytes
I/O size (minimum/optimal): 4096 bytes / 4096 bytes


Disk /dev/ram5: 64 MiB, 67108864 bytes, 131072 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 4096 bytes
I/O size (minimum/optimal): 4096 bytes / 4096 bytes


Disk /dev/ram6: 64 MiB, 67108864 bytes, 131072 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 4096 bytes
I/O size (minimum/optimal): 4096 bytes / 4096 bytes


Disk /dev/ram7: 64 MiB, 67108864 bytes, 131072 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 4096 bytes
I/O size (minimum/optimal): 4096 bytes / 4096 bytes


Disk /dev/ram8: 64 MiB, 67108864 bytes, 131072 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 4096 bytes
I/O size (minimum/optimal): 4096 bytes / 4096 bytes


Disk /dev/ram9: 64 MiB, 67108864 bytes, 131072 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 4096 bytes
I/O size (minimum/optimal): 4096 bytes / 4096 bytes


Disk /dev/ram10: 64 MiB, 67108864 bytes, 131072 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 4096 bytes
I/O size (minimum/optimal): 4096 bytes / 4096 bytes


Disk /dev/ram11: 64 MiB, 67108864 bytes, 131072 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 4096 bytes
I/O size (minimum/optimal): 4096 bytes / 4096 bytes


Disk /dev/ram12: 64 MiB, 67108864 bytes, 131072 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 4096 bytes
I/O size (minimum/optimal): 4096 bytes / 4096 bytes


Disk /dev/ram13: 64 MiB, 67108864 bytes, 131072 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 4096 bytes
I/O size (minimum/optimal): 4096 bytes / 4096 bytes


Disk /dev/ram14: 64 MiB, 67108864 bytes, 131072 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 4096 bytes
I/O size (minimum/optimal): 4096 bytes / 4096 bytes


Disk /dev/ram15: 64 MiB, 67108864 bytes, 131072 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 4096 bytes
I/O size (minimum/optimal): 4096 bytes / 4096 bytes


Disk /dev/loop0: 1.3 GiB, 1433468928 bytes, 2799744 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes


Disk /dev/sda: 111.8 GiB, 120034123776 bytes, 234441648 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disklabel type: gpt
Disk identifier: F282275F-1E3B-4DAE-B00B-ED6D42E545C5

Device         Start       End  Sectors  Size Type
/dev/sda1       2048  97656831 97654784 46.6G Linux filesystem
/dev/sda2   97656832 195313663 97656832 46.6G Linux filesystem
/dev/sda3  195313664 234440703 39127040 18.7G Linux swap


Disk /dev/sdb: 931.5 GiB, 1000204886016 bytes, 1953525168 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 4096 bytes
I/O size (minimum/optimal): 4096 bytes / 4096 bytes
Disklabel type: gpt
Disk identifier: 0426FB16-A0AD-41AD-84FE-65B29937A027

Device     Start        End    Sectors   Size Type
/dev/sdb1   2048 1953523711 1953521664 931.5G Linux filesystem


Disk /dev/sdc: 57.9 GiB, 62159585280 bytes, 121405440 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disklabel type: dos
Disk identifier: 0x0e0e8e70

Device     Boot   Start     End Sectors  Size Id Type
/dev/sdc1  *          0 2902111 2902112  1.4G  0 Empty
/dev/sdc2       2888004 2892739    4736  2.3M ef EFI (FAT-12/16/32)


No OS or WinEFI system
Gtk-Message: GtkDialog mapped without a transient parent. This is discouraged.

=================== Recommended repair
The default repair of the Boot-Repair utility will not act on the MBR.
Additional repair will be performed:  repair-filesystems


Gtk-Message: GtkDialog mapped without a transient parent. This is discouraged.
Force Unmount all blkid partitions (for fsck) except / /boot /cdrom /dev /etc /home /opt /pas /proc /rofs /sys /tmp /usr /var

fsck -fyM /dev/sda1
fsck from util-linux 2.27.1

fsck -fyM /dev/sda2
fsck from util-linux 2.27.1

fsck -fyM /dev/sdb1
fsck from util-linux 2.27.1
e2fsck 1.42.13 (17-May-2015)
Pass 1: Checking inodes, blocks, and sizes
Pass 2: Checking directory structure
Pass 3: Checking directory connectivity
Pass 4: Checking reference counts
Pass 5: Checking group summary information
/dev/sdb1: 62991/61054976 files (4.7% non-contiguous), 37826775/244190208 blocks

Boot successfully repaired.

You can now reboot your computer.

Dans cet extrait :

=================== df -Th:

Filesystem     Type      Size  Used Avail Use% Mounted on
udev           devtmpfs  3.9G     0  3.9G   0% /dev
tmpfs          tmpfs     788M  9.5M  779M   2% /run
/dev/sdc       iso9660   1.4G  1.4G     0 100% /cdrom
/dev/loop0     squashfs  1.4G  1.4G     0 100% /rofs
/cow           overlay   3.9G  115M  3.8G   3% /
tmpfs          tmpfs     3.9G  236K  3.9G   1% /dev/shm
tmpfs          tmpfs     5.0M  4.0K  5.0M   1% /run/lock
tmpfs          tmpfs     3.9G     0  3.9G   0% /sys/fs/cgroup
tmpfs          tmpfs     3.9G  248K  3.9G   1% /tmp
tmpfs          tmpfs     788M   92K  788M   1% /run/user/999
/dev/sdb1      ext4      917G  130G  741G  15% /media/ubuntu/dffb3368-7b5c-4787-af86-2760e3a13c9b
/dev/sda1      ext4       46G  1.7G   42G   4% /mnt/boot-sav/sda1
/dev/sda2      ext4       46G   52M   44G   1% /mnt/boot-sav/sda2

On peut voir que la partition racine de ton Ubuntu 16.04.5 LTS (/dev/sda1) est occupée par 1,7 Go. Ce n'est pas une taille normale et je pense qu'il est nécessaire de faire une réinstallation de Ubuntu 16.04.5 suivant la doc Comment réinstaller Ubuntu ?. Comme tu as une partition /home (/dev/sdb1), c'est la Méthode 2 – Réinstallation avec un «/home» sur une partition séparée qui convient à ton cas.

Dernière modification par malbo (Le 07/02/2019, à 19:40)

Hors ligne

#3 Le 08/02/2019, à 18:09

Tomi la Tomate

Re : [Résolu] error: file /boot/grub/i386-pc/normal.mod not found

Salut,

Merci Malbo pour le diagnostic.

J'ai donc ré-installé Ubuntu qui a l'air de fonctionner et d'avoir bien retrouvé son home.

Je passe donc le sujet en [Résolu]

Hors ligne