logo Debian Debian Debian-France Debian-Facile Debian-fr.org Forum-Debian.fr Debian ? Communautés logo inclusivité

Debian-facile

Bienvenue sur Debian-Facile, site d'aide pour les nouveaux utilisateurs de Debian.

Vous n'êtes pas identifié(e).

#1 28-07-2018 14:51:04

Caribou22
Br3izhG33k =)
Lieu : 22, Côtes d'Armor, Bretagne
Distrib. : Debian Stable
Noyau : Sans pépins
(G)UI : Xfce, Gnome
Inscription : 10-11-2014
Site Web

[Résolu] Problème de boot Grub sur Debian 9 - Latitude E5410

Bonjour à tous ! smile

J'ai un soucis sur l'ordi d'un ami (Dell Latitude E5410) sur lequel j'avais installé DFlinux Stretch qui ne boot plus pour une raison inconnue :

J'ai droit à ce message au démarrage :

error : file '/boot/grub/i386-pc/normal.mod' not found.
Enterine rescue mode...
grub rescue > _



J'ai tenté une réparation avec boot-repair qui n'a rien changé, et je n'ai rien trouvé en faisant mes recherches.
Voici un rapport boot-info :

 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 1 of
    the same hard drive for core.img. core.img is at this location and looks
    for (,msdos1)/boot/grub. It also embeds following components:
   
    modules
    ---------------------------------------------------------------------------
    fshelp ext2 part_msdos biosdisk
    ---------------------------------------------------------------------------
 => No known boot loader is installed in the MBR of /dev/sdb.

sda1: __________________________________________________________________________

    File system:       ext4
    Boot sector type:  -
    Boot sector info:
    Operating System:  Debian GNU/Linux 9 (stretch)
    Boot files:        /boot/grub/grub.cfg /etc/fstab
                       /boot/grub/i386-pc/core.img

sda2: __________________________________________________________________________

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

sda5: __________________________________________________________________________

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

sdb1: __________________________________________________________________________

    File system:       iso9660
    Boot sector type:  Unknown
    Boot sector info:
    Operating System:  
    Boot files:        /boot/grub/grub.cfg

sdb2: __________________________________________________________________________

    File system:       vfat
    Boot sector type:  FAT16
    Boot sector info:  According to the info in the boot sector, sdb2 starts
                       at sector 0. But according to the info from fdisk,
                       sdb2 starts at sector 5100. According to the info in
                       the boot sector, sdb2 has 0 sectors.
    Operating System:  
    Boot files:        /efi/boot/bootia32.efi /efi/boot/bootx64.efi
                       /efi/debian/grubx64.efi

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

Drive: sda _____________________________________________________________________
Disk /dev/sda: 223.6 GiB, 240057409536 bytes, 468862128 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/sda1    *          2,048   464,951,295   464,949,248  83 Linux
/dev/sda2         464,953,342   468,860,927     3,907,586   5 Extended
/dev/sda5         464,953,344   468,860,927     3,907,584  82 Linux swap / Solaris


Drive: sdb _____________________________________________________________________
Disk /dev/sdb: 7.6 GiB, 8178892800 bytes, 15974400 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/sdb1    *             64     7,496,543     7,496,480   0 Empty
/dev/sdb2               5,100         6,507         1,408  ef EFI (FAT-12/16/32)

/dev/sdb1 overlaps with /dev/sdb2

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

Partition  Attrs   Start Sector    End Sector  # of Sectors System
/dev/sdb1   +  R             64     7,496,487     7,496,424 Data partition (Windows/Linux)
/dev/sdb2   +  R          5,100         6,507         1,408 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        fc5beb97-4ceb-4bdf-aa8b-4898d38188c3   ext4      
/dev/sda5        d0e26ad5-5b7b-4b87-b4dc-1d4acaecdeb6   swap      
/dev/sdb1        2018-05-18-22-05-11-00                 iso9660    emmabuntus_de_2
/dev/sdb2        FBC9-6E7B                              vfat      

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

total 0
lrwxrwxrwx 1 root root  9 Jul 28 13:16 ata-Corsair_Force_LE200_SSD_1710793900012260037B -> ../../sda
lrwxrwxrwx 1 root root 10 Jul 28 13:16 ata-Corsair_Force_LE200_SSD_1710793900012260037B-part1 -> ../../sda1
lrwxrwxrwx 1 root root 10 Jul 28 13:16 ata-Corsair_Force_LE200_SSD_1710793900012260037B-part2 -> ../../sda2
lrwxrwxrwx 1 root root 10 Jul 28 13:16 ata-Corsair_Force_LE200_SSD_1710793900012260037B-part5 -> ../../sda5
lrwxrwxrwx 1 root root  9 Jul 28 13:15 ata-PLDS_DVD+_-RW_DS-8A4S_005080193174 -> ../../sr0
lrwxrwxrwx 1 root root  9 Jul 28 13:16 usb-Generic_Flash_Disk_YTAM1011080904065313-0:0 -> ../../sdb
lrwxrwxrwx 1 root root 10 Jul 28 13:16 usb-Generic_Flash_Disk_YTAM1011080904065313-0:0-part1 -> ../../sdb1
lrwxrwxrwx 1 root root 10 Jul 28 13:16 usb-Generic_Flash_Disk_YTAM1011080904065313-0:0-part2 -> ../../sdb2
lrwxrwxrwx 1 root root  9 Jul 28 13:16 wwn-0x5000000000000000 -> ../../sda
lrwxrwxrwx 1 root root 10 Jul 28 13:16 wwn-0x5000000000000000-part1 -> ../../sda1
lrwxrwxrwx 1 root root 10 Jul 28 13:16 wwn-0x5000000000000000-part2 -> ../../sda2
lrwxrwxrwx 1 root root 10 Jul 28 13:16 wwn-0x5000000000000000-part5 -> ../../sda5

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

Device           Mount_Point              Type       Options

/dev/loop0       /lib/live/mount/rootfs/filesystem.squashfs squashfs   (ro,noatime)
/dev/sdb1        /lib/live/mount/medium   iso9660    (ro,noatime)


=========================== sda1/boot/grub/grub.cfg: ===========================

--------------------------------------------------------------------------------
#
# DO NOT EDIT THIS FILE
#
# It is automatically generated by grub-mkconfig using templates
# from /etc/grub.d and settings from /etc/default/grub
#

### BEGIN /etc/grub.d/00_header ###
if [ -s $prefix/grubenv ]; then
  set have_grubenv=true
  load_env
fi
if [ "${next_entry}" ] ; then
   set default="${next_entry}"
   set next_entry=
   save_env next_entry
   set boot_once=true
else
   set default="0"
fi

if [ x"${feature_menuentry_id}" = xy ]; then
  menuentry_id_option="--id"
else
  menuentry_id_option=""
fi

export menuentry_id_option

if [ "${prev_saved_entry}" ]; then
  set saved_entry="${prev_saved_entry}"
  save_env saved_entry
  set prev_saved_entry=
  save_env prev_saved_entry
  set boot_once=true
fi

function savedefault {
  if [ -z "${boot_once}" ]; then
    saved_entry="${chosen}"
    save_env saved_entry
  fi
}
function load_video {
  if [ x$feature_all_video_module = xy ]; then
    insmod all_video
  else
    insmod efi_gop
    insmod efi_uga
    insmod ieee1275_fb
    insmod vbe
    insmod vga
    insmod video_bochs
    insmod video_cirrus
  fi
}

if [ x$feature_default_font_path = xy ] ; then
   font=unicode
else
insmod part_msdos
insmod ext2
set root='hd0,msdos1'
if [ x$feature_platform_search_hint = xy ]; then
  search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos1 --hint-efi=hd0,msdos1 --hint-baremetal=ahci0,msdos1  fc5beb97-4ceb-4bdf-aa8b-4898d38188c3
else
  search --no-floppy --fs-uuid --set=root fc5beb97-4ceb-4bdf-aa8b-4898d38188c3
fi
    font="/usr/share/grub/unicode.pf2"
fi

if loadfont $font ; then
  set gfxmode=auto
  load_video
  insmod gfxterm
  set locale_dir=$prefix/locale
  set lang=fr_FR
  insmod gettext
fi
terminal_output gfxterm
if [ "${recordfail}" = 1 ] ; then
  set timeout=10
else
  if [ x$feature_timeout_style = xy ] ; then
    set timeout_style=menu
    set timeout=10
  # Fallback normal timeout code in case the timeout_style feature is
  # unavailable.
  else
    set timeout=10
  fi
fi
### END /etc/grub.d/00_header ###

### BEGIN /etc/grub.d/05_debian_theme ###
insmod part_msdos
insmod ext2
set root='hd0,msdos1'
if [ x$feature_platform_search_hint = xy ]; then
  search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos1 --hint-efi=hd0,msdos1 --hint-baremetal=ahci0,msdos1  fc5beb97-4ceb-4bdf-aa8b-4898d38188c3
else
  search --no-floppy --fs-uuid --set=root fc5beb97-4ceb-4bdf-aa8b-4898d38188c3
fi
insmod png
if background_image /usr/share/desktop-base/softwaves-theme/grub/grub-4x3.png; then
  set color_normal=white/black
  set color_highlight=black/white
else
  set menu_color_normal=cyan/blue
  set menu_color_highlight=white/blue
fi
### END /etc/grub.d/05_debian_theme ###

### BEGIN /etc/grub.d/10_linux ###
function gfxmode {
  set gfxpayload="${1}"
}
set linux_gfx_mode=
export linux_gfx_mode
menuentry 'Debian GNU/Linux' --class debian --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-simple-fc5beb97-4ceb-4bdf-aa8b-4898d38188c3' {
  load_video
  insmod gzio
  if [ x$grub_platform = xxen ]; then insmod xzio; insmod lzopio; fi
  insmod part_msdos
  insmod ext2
  set root='hd0,msdos1'
  if [ x$feature_platform_search_hint = xy ]; then
    search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos1 --hint-efi=hd0,msdos1 --hint-baremetal=ahci0,msdos1  fc5beb97-4ceb-4bdf-aa8b-4898d38188c3
  else
    search --no-floppy --fs-uuid --set=root fc5beb97-4ceb-4bdf-aa8b-4898d38188c3
  fi
  echo  'Loading Linux 4.9.0-5-amd64 ...'
  linux /boot/vmlinuz-4.9.0-5-amd64 root=UUID=fc5beb97-4ceb-4bdf-aa8b-4898d38188c3 ro  quiet
  echo  'Loading initial ramdisk ...'
  initrd  /boot/initrd.img-4.9.0-5-amd64
}
submenu 'Advanced options for Debian GNU/Linux' $menuentry_id_option 'gnulinux-advanced-fc5beb97-4ceb-4bdf-aa8b-4898d38188c3' {
  menuentry 'Debian GNU/Linux, with Linux 4.9.0-5-amd64' --class debian --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-4.9.0-5-amd64-advanced-fc5beb97-4ceb-4bdf-aa8b-4898d38188c3' {
    load_video
    insmod gzio
    if [ x$grub_platform = xxen ]; then insmod xzio; insmod lzopio; fi
    insmod part_msdos
    insmod ext2
    set root='hd0,msdos1'
    if [ x$feature_platform_search_hint = xy ]; then
      search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos1 --hint-efi=hd0,msdos1 --hint-baremetal=ahci0,msdos1  fc5beb97-4ceb-4bdf-aa8b-4898d38188c3
    else
      search --no-floppy --fs-uuid --set=root fc5beb97-4ceb-4bdf-aa8b-4898d38188c3
    fi
    echo  'Loading Linux 4.9.0-5-amd64 ...'
    linux /boot/vmlinuz-4.9.0-5-amd64 root=UUID=fc5beb97-4ceb-4bdf-aa8b-4898d38188c3 ro  quiet
    echo  'Loading initial ramdisk ...'
    initrd  /boot/initrd.img-4.9.0-5-amd64
  }
  menuentry 'Debian GNU/Linux, with Linux 4.9.0-5-amd64 (recovery mode)' --class debian --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-4.9.0-5-amd64-recovery-fc5beb97-4ceb-4bdf-aa8b-4898d38188c3' {
    load_video
    insmod gzio
    if [ x$grub_platform = xxen ]; then insmod xzio; insmod lzopio; fi
    insmod part_msdos
    insmod ext2
    set root='hd0,msdos1'
    if [ x$feature_platform_search_hint = xy ]; then
      search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos1 --hint-efi=hd0,msdos1 --hint-baremetal=ahci0,msdos1  fc5beb97-4ceb-4bdf-aa8b-4898d38188c3
    else
      search --no-floppy --fs-uuid --set=root fc5beb97-4ceb-4bdf-aa8b-4898d38188c3
    fi
    echo  'Loading Linux 4.9.0-5-amd64 ...'
    linux /boot/vmlinuz-4.9.0-5-amd64 root=UUID=fc5beb97-4ceb-4bdf-aa8b-4898d38188c3 ro single
    echo  'Loading initial ramdisk ...'
    initrd  /boot/initrd.img-4.9.0-5-amd64
  }
  menuentry 'Debian GNU/Linux, with Linux 4.9.0-3-amd64' --class debian --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-4.9.0-3-amd64-advanced-fc5beb97-4ceb-4bdf-aa8b-4898d38188c3' {
    load_video
    insmod gzio
    if [ x$grub_platform = xxen ]; then insmod xzio; insmod lzopio; fi
    insmod part_msdos
    insmod ext2
    set root='hd0,msdos1'
    if [ x$feature_platform_search_hint = xy ]; then
      search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos1 --hint-efi=hd0,msdos1 --hint-baremetal=ahci0,msdos1  fc5beb97-4ceb-4bdf-aa8b-4898d38188c3
    else
      search --no-floppy --fs-uuid --set=root fc5beb97-4ceb-4bdf-aa8b-4898d38188c3
    fi
    echo  'Loading Linux 4.9.0-3-amd64 ...'
    linux /boot/vmlinuz-4.9.0-3-amd64 root=UUID=fc5beb97-4ceb-4bdf-aa8b-4898d38188c3 ro  quiet
    echo  'Loading initial ramdisk ...'
    initrd  /boot/initrd.img-4.9.0-3-amd64
  }
  menuentry 'Debian GNU/Linux, with Linux 4.9.0-3-amd64 (recovery mode)' --class debian --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-4.9.0-3-amd64-recovery-fc5beb97-4ceb-4bdf-aa8b-4898d38188c3' {
    load_video
    insmod gzio
    if [ x$grub_platform = xxen ]; then insmod xzio; insmod lzopio; fi
    insmod part_msdos
    insmod ext2
    set root='hd0,msdos1'
    if [ x$feature_platform_search_hint = xy ]; then
      search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos1 --hint-efi=hd0,msdos1 --hint-baremetal=ahci0,msdos1  fc5beb97-4ceb-4bdf-aa8b-4898d38188c3
    else
      search --no-floppy --fs-uuid --set=root fc5beb97-4ceb-4bdf-aa8b-4898d38188c3
    fi
    echo  'Loading Linux 4.9.0-3-amd64 ...'
    linux /boot/vmlinuz-4.9.0-3-amd64 root=UUID=fc5beb97-4ceb-4bdf-aa8b-4898d38188c3 ro single
    echo  'Loading initial ramdisk ...'
    initrd  /boot/initrd.img-4.9.0-3-amd64
  }
}

### END /etc/grub.d/10_linux ###

### BEGIN /etc/grub.d/20_linux_xen ###

### END /etc/grub.d/20_linux_xen ###

### BEGIN /etc/grub.d/30_os-prober ###
### END /etc/grub.d/30_os-prober ###

### BEGIN /etc/grub.d/30_uefi-firmware ###
### END /etc/grub.d/30_uefi-firmware ###

### BEGIN /etc/grub.d/40_custom ###
# This file provides an easy way to add custom menu entries.  Simply type the
# menu entries you want to add after this comment.  Be careful not to change
# the 'exec tail' line above.
### END /etc/grub.d/40_custom ###

### BEGIN /etc/grub.d/41_custom ###
if [ -f  ${config_directory}/custom.cfg ]; then
  source ${config_directory}/custom.cfg
elif [ -z "${config_directory}" -a -f  $prefix/custom.cfg ]; then
  source $prefix/custom.cfg;
fi
### END /etc/grub.d/41_custom ###
--------------------------------------------------------------------------------

=============================== 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=fc5beb97-4ceb-4bdf-aa8b-4898d38188c3 /               ext4    errors=remount-ro 0       1
# swap was on /dev/sda5 during installation
UUID=d0e26ad5-5b7b-4b87-b4dc-1d4acaecdeb6 none            swap    sw              0       0
/dev/sr0        /media/cdrom0   udf,iso9660 user,noauto     0       0
#UUID=FBC9-6E7B /boot/efi vfat  defaults  0 1
--------------------------------------------------------------------------------

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

           GiB - GB             File                                 Fragment(s)

 130.475757599 = 140.097277952  boot/grub/grub.cfg                             1
 130.474147797 = 140.095549440  boot/grub/i386-pc/core.img                     1
   4.223640442 = 4.535099392    boot/vmlinuz-4.9.0-3-amd64                     1
  10.887714386 = 11.690594304   boot/vmlinuz-4.9.0-5-amd64                     2
  10.887714386 = 11.690594304   vmlinuz                                        2
   4.223640442 = 4.535099392    vmlinuz.old                                    1
  46.147075653 = 49.550045184   boot/initrd.img-4.9.0-3-amd64                  4
  46.145275116 = 49.548111872   boot/initrd.img-4.9.0-5-amd64                  2
  46.145275116 = 49.548111872   initrd.img                                     2
  46.147075653 = 49.550045184   initrd.img.old                                 4

=========================== sdb1/boot/grub/grub.cfg: ===========================

--------------------------------------------------------------------------------
if loadfont $prefix/font.pf2 ; then
  set gfxmode=800x600
  insmod efi_gop
  insmod efi_uga
  insmod video_bochs
  insmod video_cirrus
  insmod gfxterm
  insmod png
  terminal_output gfxterm
fi


insmod play
play 480 440 1
set theme=/boot/grub/theme/1

menuentry --hotkey=n "English" {
configfile /boot/grub/grub-en.cfg
}
menuentry --hotkey=f "Francais" {
configfile /boot/grub/grub-fr.cfg
}
menuentry --hotkey=s "Espagnol" {
configfile /boot/grub/grub-es.cfg
}
menuentry --hotkey=i "Italiano" {
configfile /boot/grub/grub-it.cfg
}
menuentry --hotkey=d "Deutsch" {
configfile /boot/grub/grub-de.cfg
}
menuentry --hotkey=p "Portugues" {
configfile /boot/grub/grub-pt.cfg
}

--------------------------------------------------------------------------------

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

           GiB - GB             File                                 Fragment(s)

            ?? = ??             boot/grub/grub.cfg                             1

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

Unknown MBR on /dev/sdb

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

/dev/sdb2: unknown GPT attributes
1000000000000001
Unknown BootLoader on sdb1

00000000  01 43 44 30 30 31 01 00  20 20 20 20 20 20 20 20  |.CD001..        |
00000010  20 20 20 20 20 20 20 20  20 20 20 20 20 20 20 20  |                |
00000020  20 20 20 20 20 20 20 20  65 6d 6d 61 62 75 6e 74  |        emmabunt|
00000030  75 73 5f 64 65 5f 32 20  20 20 20 20 20 20 20 20  |us_de_2         |
00000040  20 20 20 20 20 20 20 20  00 00 00 00 00 00 00 00  |        ........|
00000050  d8 98 1c 00 00 1c 98 d8  00 00 00 00 00 00 00 00  |................|
00000060  00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00  |................|
00000070  00 00 00 00 00 00 00 00  01 00 00 01 01 00 00 01  |................|
00000080  00 08 08 00 e2 11 00 00  00 00 11 e2 67 01 00 00  |............g...|
00000090  00 00 00 00 00 00 01 6a  00 00 00 00 22 00 23 00  |.......j....".#.|
000000a0  00 00 00 00 00 23 00 10  00 00 00 00 10 00 76 05  |.....#........v.|
000000b0  12 16 0d 05 00 02 00 00  01 00 00 01 01 00 20 20  |..............  |
000000c0  20 20 20 20 20 20 20 20  20 20 20 20 20 20 20 20  |                |
*
00000130  20 20 20 20 20 20 20 20  20 20 20 20 20 20 45 4d  |              EM|
00000140  4d 41 42 55 4e 54 5f 5f  53 20 50 52 4f 4a 45 43  |MABUNT__S PROJEC|
00000150  54 3b 20 48 54 54 50 3a  2f 2f 57 57 57 2e 45 4d  |T; HTTP://WWW.EM|
00000160  4d 41 42 55 4e 54 55 53  2e 4f 52 47 3b 20 43 4f  |MABUNTUS.ORG; CO|
00000170  4e 54 41 43 54 5f 45 4d  4d 41 42 55 4e 54 55 53  |NTACT_EMMABUNTUS|
00000180  2e 4f 52 47 20 20 20 20  20 20 20 20 20 20 20 20  |.ORG            |
00000190  20 20 20 20 20 20 20 20  20 20 20 20 20 20 20 20  |                |
*
000001b0  20 20 20 20 20 20 20 20  20 20 20 20 20 20 4c 49  |              LI|
000001c0  56 45 2d 42 55 49 4c 44  20 31 3a 32 30 31 37 30  |VE-BUILD 1:20170|
000001d0  32 31 33 3b 20 48 54 54  50 3a 2f 2f 4c 49 56 45  |213; HTTP://LIVE|
000001e0  2d 53 59 53 54 45 4d 53  2e 4f 52 47 2f 44 45 56  |-SYSTEMS.ORG/DEV|
000001f0  45 4c 2f 4c 49 56 45 2d  42 55 49 4c 44 20 20 20  |EL/LIVE-BUILD   |
00000200



ADDITIONAL INFORMATION :
=================== log of boot-repair 20180728_1316 ===================
boot-repair version : 4ppa65
boot-sav version : 4ppa65
boot-sav-extra version : 4ppa65
glade2script version : 3.2.3~ppa4
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 (Debian GNU/Linux 9.4 (stretch), stretch, Debian, x86_64)
CPU op-mode(s):        32-bit, 64-bit
BOOT_IMAGE=/live/vmlinuz boot=live components quiet splash username=emmabuntus hostname=emmabuntus user-fullname=EmmaDE2 locales=fr_FR.UTF-8 keyboard-layouts=fr keyboard-variants=oss initrd=/live/initrd.img
ls: impossible d'accéder à '/home/usr/.config': Aucun fichier ou dossier de ce type

=================== os-prober:
/dev/sda1:Debian GNU/Linux 9 (stretch):Debian:linux

=================== blkid:
/dev/sdb1: UUID="2018-05-18-22-05-11-00" LABEL="emmabuntus_de_2" TYPE="iso9660" PARTUUID="63c58d0e-01"
/dev/sda1: UUID="fc5beb97-4ceb-4bdf-aa8b-4898d38188c3" TYPE="ext4" PARTUUID="ade4b92c-01"
/dev/sda5: UUID="d0e26ad5-5b7b-4b87-b4dc-1d4acaecdeb6" TYPE="swap" PARTUUID="ade4b92c-05"
/dev/sdb2: SEC_TYPE="msdos" UUID="FBC9-6E7B" TYPE="vfat" PARTUUID="63c58d0e-02"
/dev/loop0: TYPE="squashfs"


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 juil. 28 13:09 grub.d
drwxr-xr-x  2 root root     4096 juil. 28 12:52 grub.d.bak
total 76
-rwxr-xr-x 1 root root  9783 févr. 11  2017 00_header
-rwxr-xr-x 1 root root  6258 févr. 11  2017 05_debian_theme
-rwxr-xr-x 1 root root 12425 févr. 11  2017 10_linux
-rwxr-xr-x 1 root root 11281 févr. 11  2017 20_linux_xen
-rwxr-xr-x 1 root root 12059 févr. 11  2017 30_os-prober
-rwxr-xr-x 1 root root  1418 févr. 11  2017 30_uefi-firmware
-rwxr-xr-x 1 root root   214 févr. 11  2017 40_custom
-rwxr-xr-x 1 root root   216 févr. 11  2017 41_custom
-rw-r--r-- 1 root root   483 févr. 11  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_TIMEOUT=10
GRUB_DISTRIBUTOR=`lsb_release -i -s 2> /dev/null || echo Debian`
GRUB_CMDLINE_LINUX_DEFAULT="quiet"
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"



Presence of EFI/Boot file detected: /mnt/boot-sav/sdb2/EFI/Boot/bootia32.efi
Presence of EFI/Boot file detected: /mnt/boot-sav/sdb2/EFI/Boot/bootx64.efi

=================== UEFI/Legacy mode:
BIOS is EFI-compatible, but it is not setup in EFI-mode for this live-session.
SecureBoot maybe enabled.


=================== PARTITIONS & DISKS:
sda1  : sda,  not-sepboot,  grubenv-ok  grub2,  grub-pc , update-grub,  64, with-boot,  is-os,  not--efi--part, fstab-without-boot, fstab-without-efi,  no-nt,  no-winload, no-recov-nor-hid, no-bmgr,  notwinboot, apt-get,  grub-install, with--usr,  fstab-without-usr,  not-sep-usr,  standard, farbios,  notbiosboot, /mnt/boot-sav/sda1.
sdb2  : sdb,  not-sepboot,  no-grubenv  nogrub, no-docgrub, no-update-grub, 32, no-boot,  no-os,  is-correct-EFI, 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, not-far,  notbiosboot, /mnt/boot-sav/sdb2.

sda : not-GPT,  BIOSboot-not-needed,  has-no-EFIpart,   not-usb,  not-mmc, has-os,  2048 sectors * 512 bytes
sdb : not-GPT,  BIOSboot-not-needed,  has-correctEFI,   usb-disk, not-mmc, no-os, 64 sectors * 512 bytes


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

BYT;
/dev/sda:240GB:scsi:512:512:msdos:ATA Corsair Force LE:;
1:1049kB:238GB:238GB:ext4::boot;
2:238GB:240GB:2001MB:::;
5:238GB:240GB:2001MB:linux-swap(v1)::;

BYT;
/dev/sdb:8179MB:scsi:512:512:unknown:Generic Flash Disk:;

=================== lsblk:
KNAME TYPE FSTYPE     SIZE LABEL
loop0 loop squashfs   3,4G
sda   disk          223,6G
sda1  part ext4     221,7G
sda2  part              1K
sda5  part swap       1,9G
sdb   disk iso9660    7,6G emmabuntus_de_2
sdb1  part iso9660    3,6G emmabuntus_de_2
sdb2  part vfat       704K emmabuntus_de_2
sr0   rom            1024M

KNAME ROTA RO RM STATE   MOUNTPOINT
loop0    1  1  0         /lib/live/mount/rootfs/filesystem.squashfs
sda      0  0  0 running
sda1     0  0  0         /mnt/boot-sav/sda1
sda2     0  0  0
sda5     0  0  0
sdb      1  0  1 running
sdb1     1  0  1         /lib/live/mount/medium
sdb2     1  0  1         /mnt/boot-sav/sdb2
sr0      1  0  1 running


=================== 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=933512k,nr_inodes=233378,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=191280k,mode=755)
/dev/sdb1 on /lib/live/mount/medium type iso9660 (ro,noatime)
/dev/loop0 on /lib/live/mount/rootfs/filesystem.squashfs type squashfs (ro,noatime)
tmpfs on /lib/live/mount/overlay type tmpfs (rw,relatime)
overlay on / type overlay (rw,noatime,lowerdir=//filesystem.squashfs/,upperdir=/live/overlay//rw,workdir=/live/overlay//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)
pstore on /sys/fs/pstore type pstore (rw,nosuid,nodev,noexec,relatime)
cgroup on /sys/fs/cgroup/devices type cgroup (rw,nosuid,nodev,noexec,relatime,devices)
cgroup on /sys/fs/cgroup/net_cls,net_prio type cgroup (rw,nosuid,nodev,noexec,relatime,net_cls,net_prio)
cgroup on /sys/fs/cgroup/freezer type cgroup (rw,nosuid,nodev,noexec,relatime,freezer)
cgroup on /sys/fs/cgroup/cpu,cpuacct type cgroup (rw,nosuid,nodev,noexec,relatime,cpu,cpuacct)
cgroup on /sys/fs/cgroup/blkio type cgroup (rw,nosuid,nodev,noexec,relatime,blkio)
cgroup on /sys/fs/cgroup/cpuset type cgroup (rw,nosuid,nodev,noexec,relatime,cpuset)
cgroup on /sys/fs/cgroup/perf_event type cgroup (rw,nosuid,nodev,noexec,relatime,perf_event)
cgroup on /sys/fs/cgroup/pids type cgroup (rw,nosuid,nodev,noexec,relatime,pids)
cgroup on /sys/fs/cgroup/memory type cgroup (rw,nosuid,nodev,noexec,relatime,memory)
systemd-1 on /proc/sys/fs/binfmt_misc type autofs (rw,relatime,fd=32,pgrp=1,timeout=0,minproto=5,maxproto=5,direct,pipe_ino=2600)
mqueue on /dev/mqueue type mqueue (rw,relatime)
hugetlbfs on /dev/hugepages type hugetlbfs (rw,relatime)
debugfs on /sys/kernel/debug type debugfs (rw,relatime)
tmpfs on /tmp type tmpfs (rw,nosuid,nodev,relatime)
tmpfs on /run/user/1000 type tmpfs (rw,nosuid,nodev,relatime,size=191276k,mode=700,uid=1000,gid=1000)
gvfsd-fuse on /run/user/1000/gvfs type fuse.gvfsd-fuse (rw,nosuid,nodev,relatime,user_id=1000,group_id=1000)
fusectl on /sys/fs/fuse/connections type fusectl (rw,relatime)
/dev/sda1 on /mnt/boot-sav/sda1 type ext4 (rw,relatime,data=ordered)
/dev/sdb2 on /mnt/boot-sav/sdb2 type vfat (rw,relatime,fmask=0022,dmask=0022,codepage=437,iocharset=ascii,shortname=mixed,utf8,errors=remount-ro)


=================== ls:
/sys/block/sda (filtered):  alignment_offset badblocks bdi capability dev device discard_alignment events events_async events_poll_msecs ext_range holders inflight integrity power queue range removable ro sda1 sda2 sda5 size slaves stat subsystem trace uevent
/sys/block/sdb (filtered):  alignment_offset badblocks bdi capability dev device discard_alignment events events_async events_poll_msecs ext_range holders inflight integrity power queue range removable ro sdb1 sdb2 size slaves stat subsystem trace uevent
/sys/block/sr0 (filtered):  alignment_offset badblocks bdi capability dev device discard_alignment events events_async events_poll_msecs ext_range holders inflight integrity power queue range removable ro size slaves stat subsystem trace uevent
/dev (filtered):  autofs block bsg btrfs-control bus cdrom cdrw char console core cpu cpu_dma_latency cuse disk dri dvd dvdrw fb0 fd freefall full fuse fw0 hpet hugepages initctl input kmsg kvm log mapper mcelog media0 mei0 mem memory_bandwidth mqueue net network_latency network_throughput null port ppp psaux ptmx pts random rfkill rtc rtc0 sda sda1 sda2 sda5 sdb sdb1 sdb2 sg0 sg1 sg2 shm snapshot snd sr0 stderr stdin stdout uhid uinput urandom v4l vfio vga_arbiter vhci vhost-net video0 watchdog watchdog0 zero
ls /dev/mapper:  control

=================== hexdump -n512 -C /dev/sdb2
00000000  eb 3c 90 6d 6b 66 73 2e  66 61 74 00 02 04 01 00  |.<.mkfs.fat.....|
00000010  02 00 02 80 05 f8 02 00  20 00 40 00 00 00 00 00  |........ .@.....|
00000020  00 00 00 00 80 01 29 7b  6e c9 fb 4e 4f 20 4e 41  |......){n..NO NA|
00000030  4d 45 20 20 20 20 46 41  54 31 32 20 20 20 0e 1f  |ME    FAT12   ..|
00000040  be 5b 7c ac 22 c0 74 0b  56 b4 0e bb 07 00 cd 10  |.[|.".t.V.......|
00000050  5e eb f0 32 e4 cd 16 cd  19 eb fe 54 68 69 73 20  |^..2.......This |
00000060  69 73 20 6e 6f 74 20 61  20 62 6f 6f 74 61 62 6c  |is not a bootabl|
00000070  65 20 64 69 73 6b 2e 20  20 50 6c 65 61 73 65 20  |e disk.  Please |
00000080  69 6e 73 65 72 74 20 61  20 62 6f 6f 74 61 62 6c  |insert a bootabl|
00000090  65 20 66 6c 6f 70 70 79  20 61 6e 64 0d 0a 70 72  |e floppy and..pr|
000000a0  65 73 73 20 61 6e 79 20  6b 65 79 20 74 6f 20 74  |ess any key to t|
000000b0  72 79 20 61 67 61 69 6e  20 2e 2e 2e 20 0d 0a 00  |ry again ... ...|
000000c0  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
ls: impossible d'accéder à '/usr/lib/syslinux': Aucun fichier ou dossier de ce type
ls: impossible d'accéder à '/usr/lib/syslinux': Aucun fichier ou dossier de ce type

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

Filesystem     Type      Size  Used Avail Use% Mounted on
udev           devtmpfs  912M     0  912M   0% /dev
tmpfs          tmpfs     187M  6.2M  181M   4% /run
/dev/sdb1      iso9660   3.6G  3.6G     0 100% /lib/live/mount/medium
/dev/loop0     squashfs  3.4G  3.4G     0 100% /lib/live/mount/rootfs/filesystem.squashfs
tmpfs          tmpfs     934M     0  934M   0% /lib/live/mount/overlay
overlay        overlay   934M  184M  751M  20% /
tmpfs          tmpfs     934M     0  934M   0% /dev/shm
tmpfs          tmpfs     5.0M  4.0K  5.0M   1% /run/lock
tmpfs          tmpfs     934M     0  934M   0% /sys/fs/cgroup
tmpfs          tmpfs     934M  8.0K  934M   1% /tmp
tmpfs          tmpfs     187M   28K  187M   1% /run/user/1000
/dev/sda1      ext4      218G   66G  141G  32% /mnt/boot-sav/sda1
/dev/sdb2      vfat      684K  684K     0 100% /mnt/boot-sav/sdb2

=================== fdisk -l:
Disk /dev/sda: 223.6 GiB, 240057409536 bytes, 468862128 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: 0xade4b92c

Device     Boot     Start       End   Sectors   Size Id Type
/dev/sda1  *         2048 464951295 464949248 221.7G 83 Linux
/dev/sda2       464953342 468860927   3907586   1.9G  5 Extended
/dev/sda5       464953344 468860927   3907584   1.9G 82 Linux swap / Solaris




Disk /dev/sdb: 7.6 GiB, 8178892800 bytes, 15974400 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: 0x63c58d0e

Device     Boot Start     End Sectors  Size Id Type
/dev/sdb1  *       64 7496543 7496480  3.6G  0 Empty
/dev/sdb2        5100    6507    1408  704K ef EFI (FAT-12/16/32)


Disk /dev/loop0: 3.4 GiB, 3627065344 bytes, 7084112 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




=================== 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 sda1, using the following options:        sdb2/boot/efi,
Additional repair would be performed: unhide-bootmenu-10s    use-standard-efi-file


=================== Blockers in case of suggested repair
La session actuelle est en mode Legacy. Veuillez redémarrer l'ordinateur, et utiliser ce logiciel dans une session EFI. Cela vous permettra d'utiliser cette fonctionnalité. Par exemple, utilisez un live-USB de Boot-Repair-Disk-64bit (www.sourceforge.net/p/boot-repair-cd), après avoir vérifié que votre BIOS est réglé pour démarrer l'USB en mode EFI.


=================== Advice in case of suggested repair
Le démarrage de votre ordinateur est en mode Legacy. Vous voudrez peut-être ré-essayer après l'avoir changé en mode EFI.
Alternativement, vous souhaiterez peut-être ré-essayer après avoir désactivé l'option [Partition /boot/efi séparée :].
Voulez-vous continuer ?


=================== Final advice in case of suggested repair
N'oubliez pas de régler votre BIOS pour qu'il amorce sur le fichier sdb2/efi/.../grub*.efi !

Le démarrage de votre ordinateur est en mode Legacy. Vous voudrez peut-être ré-essayer après l'avoir changé en mode EFI.


=================== User settings
The settings chosen by the user will not act on the boot.




pastebinit  packages needed
Gtk-Message: GtkDialog mapped without a transient parent. This is discouraged.
User refused to install pastebinit
Gtk-Message: GtkDialog mapped without a transient parent. This is discouraged.



La seule piste qui me reste est de tout ré-installer, mais j'espère trouver une solution avec votre aide afin de savoir au moins le pourquoi du comment smile

Un grand merci d'avance ! big_smile

Dernière modification par Caribou22 (20-08-2018 18:15:31)

Hors ligne

#2 28-07-2018 15:39:13

raleur
Membre
Inscription : 03-10-2014

Re : [Résolu] Problème de boot Grub sur Debian 9 - Latitude E5410

Avec le système live, vérifie le contenu du répertoire /boot/grub/i386-pc/ de la partition sda1, notamment la présence du fichier normal.mod.
S'il n'est plus là, tu peux le recopier depuis /usr/lib/grub/i386-pc/. S'il y est, compare les deux fichiers. S'il est identique, redémarre sur le disque et à l'invite grub rescue, relève les valeurs de cmdpath, prefix et root affichées par la commande "set".
Vérifie que la commande suivante affiche le contenu du répertoire /boot/grub/i386-pc/ que tu avais examiné avec le système live :

ls $prefix/


Il vaut mieux montrer que raconter.

Hors ligne

#3 29-07-2018 12:24:21

Caribou22
Br3izhG33k =)
Lieu : 22, Côtes d'Armor, Bretagne
Distrib. : Debian Stable
Noyau : Sans pépins
(G)UI : Xfce, Gnome
Inscription : 10-11-2014
Site Web

Re : [Résolu] Problème de boot Grub sur Debian 9 - Latitude E5410

Bonjour et merci smile

Le fichier est là et il semble identique. Mais comment vraiment vérifier ça ? Car si je le lis avec la commande cat, j'ai un immense charabia dont voici un court extrait :

                  Pm!nѡsP{AVѡ@3WA@Vс@3WABa@3WE!!!O!!!A0a!07!@!BAa%!Pa!!!a (-!05Ea.P P^WLICENSE=GPLv3+bootextcmdcryptoterminalgettextbufionormal
                                wN

:aM}%aPuVW



Un éditeur de texte comme mousepad ne peut carrément pas l'ouvrir.

En grub rescue, les commandes

set cmdpath


set root


set prefix


donnent :

error: not an assignment.



Et enfin :

ls $prefix/


ne donne littérallement aucun retour hmm (Ligne vide)

Dernière modification par Caribou22 (29-07-2018 12:34:08)

Hors ligne

#4 29-07-2018 14:50:16

raleur
Membre
Inscription : 03-10-2014

Re : [Résolu] Problème de boot Grub sur Debian 9 - Latitude E5410

C'est "set" tout court qui affiche toutes les variables définies. Sinon "echo $variable", mais c'est moins pratique à taper.
Pour comparer deux fichier binaires sous GNU/Linux, commande "cmp".
Quand tu auras la valeur de $prefix, affiche le contenu de la racine puis remonte. Exemple :

ls (hd0,msdos1)/
ls (hd0,msdos1)/boot/
ls (hd0,msdos1)/boot/grub/
ls (hd0,msdos1)/boot/grub/i386-pc/
 


PS : hors ligne jusqu'à ce soir.


Il vaut mieux montrer que raconter.

Hors ligne

#5 29-07-2018 15:47:43

Caribou22
Br3izhG33k =)
Lieu : 22, Côtes d'Armor, Bretagne
Distrib. : Debian Stable
Noyau : Sans pépins
(G)UI : Xfce, Gnome
Inscription : 10-11-2014
Site Web

Re : [Résolu] Problème de boot Grub sur Debian 9 - Latitude E5410

Ah d'accord ! smile
Alors :

set


cmdpath=(hd0)
prefix=(hd0,msdos1)/boot/grub
root=hd0,msdos1



Pour l'affichage des dossiers :

 ls (hd0,msdos1)/boot/


Ne m'affiche rien. (Dossier vide)

Et :

 ls (hd0,msdos1)/boot/grub/


donne

error: file '/boot/grub/i386-pc/' not found.



Précision : Il me semble que c'était une installation 64 bits.

A ce soir si je suis là smile

Dernière modification par Caribou22 (30-07-2018 19:36:56)

Hors ligne

#6 30-07-2018 08:36:27

raleur
Membre
Inscription : 03-10-2014

Re : [Résolu] Problème de boot Grub sur Debian 9 - Latitude E5410

La même commande ls donne deux résultats différents ? ou bien erreur de copier/coller ?

Apparemment GRUB ne voit pas la même chose que Linux dans /boot/grub, pourtant il s'agit bien de la même partition /dev/sda1 / (hd0,msdos1)... Et dans /boot ?
Peut-être faire un fsck sur /dev/sda1.

L'architecture de GRUB BIOS est i386 même sur un PC 64 bits car le BIOS n'est pas 64 bits. Ce n'est qu'en UEFI qu'il y a des architectures de firmware 32 bits et 64 bits.

Il vaut mieux montrer que raconter.

Hors ligne

#7 31-07-2018 18:45:48

Caribou22
Br3izhG33k =)
Lieu : 22, Côtes d'Armor, Bretagne
Distrib. : Debian Stable
Noyau : Sans pépins
(G)UI : Xfce, Gnome
Inscription : 10-11-2014
Site Web

Re : [Résolu] Problème de boot Grub sur Debian 9 - Latitude E5410

Faute de copier coller oui, c'est corrigé.

Voici le fsck.... sad (Depuis un live Ubuntu 18.04)

fsck /des/sda1


fsck de util-linux 2.31.1
e2fsck 1.44.1 (24-Mar-2018)
fsck.ext2: Aucun fichier ou dossier de ce type lors de la tentative d'ouverture de /des/sda1
Périphérique peut-être inexistant ?
 



Il s'agit d'un SSD presque neuf. J'espère qu'il n'est pas HS hmm

Sur le même live :

fdisk -l


Disque /dev/loop0 : 1,8 GiB, 1864450048 octets, 3641504 secteurs
Unités : secteur de 1 × 512 = 512 octets
Taille de secteur (logique / physique) : 512 octets / 512 octets
taille d'E/S (minimale / optimale) : 512 octets / 512 octets


Disque /dev/loop1 : 86,9 MiB, 91099136 octets, 177928 secteurs
Unités : secteur de 1 × 512 = 512 octets
Taille de secteur (logique / physique) : 512 octets / 512 octets
taille d'E/S (minimale / optimale) : 512 octets / 512 octets


Disque /dev/loop2 : 34,7 MiB, 36323328 octets, 70944 secteurs
Unités : secteur de 1 × 512 = 512 octets
Taille de secteur (logique / physique) : 512 octets / 512 octets
taille d'E/S (minimale / optimale) : 512 octets / 512 octets


Disque /dev/loop3 : 140,9 MiB, 147722240 octets, 288520 secteurs
Unités : secteur de 1 × 512 = 512 octets
Taille de secteur (logique / physique) : 512 octets / 512 octets
taille d'E/S (minimale / optimale) : 512 octets / 512 octets


Disque /dev/loop4 : 2,3 MiB, 2433024 octets, 4752 secteurs
Unités : secteur de 1 × 512 = 512 octets
Taille de secteur (logique / physique) : 512 octets / 512 octets
taille d'E/S (minimale / optimale) : 512 octets / 512 octets


Disque /dev/loop5 : 13 MiB, 13619200 octets, 26600 secteurs
Unités : secteur de 1 × 512 = 512 octets
Taille de secteur (logique / physique) : 512 octets / 512 octets
taille d'E/S (minimale / optimale) : 512 octets / 512 octets


Disque /dev/loop6 : 14,5 MiB, 15196160 octets, 29680 secteurs
Unités : secteur de 1 × 512 = 512 octets
Taille de secteur (logique / physique) : 512 octets / 512 octets
taille d'E/S (minimale / optimale) : 512 octets / 512 octets


Disque /dev/loop7 : 3,7 MiB, 3887104 octets, 7592 secteurs
Unités : secteur de 1 × 512 = 512 octets
Taille de secteur (logique / physique) : 512 octets / 512 octets
taille d'E/S (minimale / optimale) : 512 octets / 512 octets


Disque /dev/sda : 223,6 GiB, 240057409536 octets, 468862128 secteurs
Unités : secteur de 1 × 512 = 512 octets
Taille de secteur (logique / physique) : 512 octets / 512 octets
taille d'E/S (minimale / optimale) : 512 octets / 512 octets
Type d'étiquette de disque : dos
Identifiant de disque : 0xade4b92c

Périphérique Amorçage     Début       Fin  Secteurs Taille Id Type
/dev/sda1    *             2048 464951295 464949248 221,7G 83 Linux
/dev/sda2             464953342 468860927   3907586   1,9G  5 Étendue
/dev/sda5             464953344 468860927   3907584   1,9G 82 partition d'échang




Disque /dev/sdb : 7,6 GiB, 8178892800 octets, 15974400 secteurs
Unités : secteur de 1 × 512 = 512 octets
Taille de secteur (logique / physique) : 512 octets / 512 octets
taille d'E/S (minimale / optimale) : 512 octets / 512 octets
Type d'étiquette de disque : dos
Identifiant de disque : 0x663eb4c4

Périphérique Amorçage   Début     Fin Secteurs Taille Id Type
/dev/sdb1    *              0 3815135  3815136   1,8G  0 Vide
/dev/sdb2             3737268 3741939     4672   2,3M ef EFI (FAT-12/16/32)
 

Dernière modification par Caribou22 (31-07-2018 18:47:08)

Hors ligne

#8 31-07-2018 18:56:27

raleur
Membre
Inscription : 03-10-2014

Re : [Résolu] Problème de boot Grub sur Debian 9 - Latitude E5410

Avec /dev/sda1, ça marcherait mieux.

Dernière modification par raleur (31-07-2018 19:01:49)


Il vaut mieux montrer que raconter.

Hors ligne

#9 31-07-2018 18:58:03

Debian Alain
Membre
Lieu : Bretagne
Distrib. : sid (unstable) / bullseye (stable)
Noyau : Linux sid 6.4.0-3-amd64
(G)UI : Gnome X.org (X11) / GDM3
Inscription : 11-03-2017
Site Web

Re : [Résolu] Problème de boot Grub sur Debian 9 - Latitude E5410

bonsoir caribou22  big_smile

donc apparemment , sda , SSD de 256 GB , ça me semble normal

et sdb disque de  8GB ??? je suis surpris . soit le disque est très vieux ,  soit ...  sad

Hors ligne

#10 31-07-2018 18:59:24

Caribou22
Br3izhG33k =)
Lieu : 22, Côtes d'Armor, Bretagne
Distrib. : Debian Stable
Noyau : Sans pépins
(G)UI : Xfce, Gnome
Inscription : 10-11-2014
Site Web

Re : [Résolu] Problème de boot Grub sur Debian 9 - Latitude E5410

@raleur : Mais quel boulet out.gif
Voilà :

fsck /dev/sda1



fsck de util-linux 2.31.1
e2fsck 1.44.1 (24-Mar-2018)
/dev/sda1 : propre, 223171/14532608 fichiers, 18368783/58118656 blocs



@Debian Alain
Le disque de 8 Go, c'est la clé USB live smile

Dernière modification par Caribou22 (31-07-2018 18:59:56)

Hors ligne

#11 31-07-2018 19:02:13

raleur
Membre
Inscription : 03-10-2014

Re : [Résolu] Problème de boot Grub sur Debian 9 - Latitude E5410

Refais avec -f pour forcer une vérification complète.

Caribou22 a écrit :

Faute de copier coller oui, c'est corrigé.


Tu es en train de dire qu'un ls sur /boot n'affiche rien et qu'un ls sur /boot/grub/ affiche un message d'erreur au sujet de /boot/grub/i386-pc inexistant ?
J'ai du mal à y croire, surtout à la deuxième partie.

Dernière modification par raleur (31-07-2018 19:03:43)


Il vaut mieux montrer que raconter.

Hors ligne

#12 31-07-2018 19:02:52

Debian Alain
Membre
Lieu : Bretagne
Distrib. : sid (unstable) / bullseye (stable)
Noyau : Linux sid 6.4.0-3-amd64
(G)UI : Gnome X.org (X11) / GDM3
Inscription : 11-03-2017
Site Web

Re : [Résolu] Problème de boot Grub sur Debian 9 - Latitude E5410

pardon caribou22 ,  j'avais pas réfléchi .  tongue

Hors ligne

#13 31-07-2018 19:29:35

Caribou22
Br3izhG33k =)
Lieu : 22, Côtes d'Armor, Bretagne
Distrib. : Debian Stable
Noyau : Sans pépins
(G)UI : Xfce, Gnome
Inscription : 10-11-2014
Site Web

Re : [Résolu] Problème de boot Grub sur Debian 9 - Latitude E5410

fsck -f /dev/sda1


fsck de util-linux 2.31.1
e2fsck 1.44.1 (24-Mar-2018)
Passe 1 : vérification des i-noeuds, des blocs et des tailles
Passe 2 : vérification de la structure des répertoires
Passe 3 : vérification de la connectivité des répertoires
Passe 4 : vérification des compteurs de référence
Passe 5 : vérification de l'information du sommaire de groupe
/dev/sda1 : 223171/14532608 fichiers (0.2% non contigus), 18368783/58118656 blocs
 


Et les commandes de grub-rescue en photo comme ça pas d'ambiguïté : https://framapic.org/AwdaSKdHx4Fn/dTujgUNiZ8VV.jpg

Hors ligne

#14 31-07-2018 19:35:56

Debian Alain
Membre
Lieu : Bretagne
Distrib. : sid (unstable) / bullseye (stable)
Noyau : Linux sid 6.4.0-3-amd64
(G)UI : Gnome X.org (X11) / GDM3
Inscription : 11-03-2017
Site Web

Re : [Résolu] Problème de boot Grub sur Debian 9 - Latitude E5410

j'vais p'têt dir' une connerie mais :

as tu essayé avec un disque de boot comme  supergrubdisk et ensuite  réinstaller grub ?

Hors ligne

#15 31-07-2018 19:51:14

Caribou22
Br3izhG33k =)
Lieu : 22, Côtes d'Armor, Bretagne
Distrib. : Debian Stable
Noyau : Sans pépins
(G)UI : Xfce, Gnome
Inscription : 10-11-2014
Site Web

Re : [Résolu] Problème de boot Grub sur Debian 9 - Latitude E5410

@Debian-Alain : SuperGrubDisk non, mais j'ai essayé la réparation recommandée de boot-repair, qui fait la même chose il me semble. Et malheureusement ça n'a pas marché sad

Hors ligne

#16 31-07-2018 20:06:55

melissa6969
Banni(e)
Inscription : 30-11-2016

Re : [Résolu] Problème de boot Grub sur Debian 9 - Latitude E5410

Sers toi du live netinstall de Debian, tu as dans les options avancées, un mode de récupération qui te permet de réinstaller le grub.
t'as juste à renseigner la partition où installer le grub, et debian fait tout seul le job, et quand tu redémarres tu retrouves ton grub (en théorie)  wink

chez moi ça a fonctionné après avoir explosé le grub à vouloir modifier le thème et le grub.cfg, j'ai découvert par le pur des hasard que les options avancées de l'iso ,netinstall proposé un mode de récuparation, bien pratique je trouve

Dernière modification par melissa6969 (31-07-2018 20:08:11)


Quamdiu est spes est, Est vitae.
Fiet in posterum melius

Hors ligne

#17 31-07-2018 20:12:42

Debian Alain
Membre
Lieu : Bretagne
Distrib. : sid (unstable) / bullseye (stable)
Noyau : Linux sid 6.4.0-3-amd64
(G)UI : Gnome X.org (X11) / GDM3
Inscription : 11-03-2017
Site Web

Re : [Résolu] Problème de boot Grub sur Debian 9 - Latitude E5410

@caribou22  big_smile

supergrubdisk  ne fait que remplacer le grub du disque quand celui ci est défaillant .

c'est juste un grub  de remplacement sur disque (ou clé usb , là j'ai pas testé)

qui te permet de démarrer le(s)  syteme(s) présent(s) sur ton(tes) disque(s) .

mais je crois que melissa a eu une meilleure idée que moi .

Hors ligne

#18 31-07-2018 20:42:34

Caribou22
Br3izhG33k =)
Lieu : 22, Côtes d'Armor, Bretagne
Distrib. : Debian Stable
Noyau : Sans pépins
(G)UI : Xfce, Gnome
Inscription : 10-11-2014
Site Web

Re : [Résolu] Problème de boot Grub sur Debian 9 - Latitude E5410

@melissa6969 : J'ai testé, j'ai exactement le même problème qu'avant au redémarrage hmm

@Alain : Avec Super Grub Disk je peux booter ! big_smile
Mais j'ai oublié le mot de passe, il faudra que je le ré-initialise une fois Grub réparé tongue Edit : Trouvé.

Dernière modification par Caribou22 (31-07-2018 20:43:45)

Hors ligne

#19 31-07-2018 20:53:52

Debian Alain
Membre
Lieu : Bretagne
Distrib. : sid (unstable) / bullseye (stable)
Noyau : Linux sid 6.4.0-3-amd64
(G)UI : Gnome X.org (X11) / GDM3
Inscription : 11-03-2017
Site Web

Re : [Résolu] Problème de boot Grub sur Debian 9 - Latitude E5410

bon , ben , tu n'as plus qu'à réinstaller grub .

tiens nous au jus .

Hors ligne

#20 31-07-2018 20:54:42

Beta-Pictoris
Membre
Lieu : Angers
Distrib. : Buster
Inscription : 11-08-2015

Re : [Résolu] Problème de boot Grub sur Debian 9 - Latitude E5410

Tu dois démarrer sur ton cdrom debian en mode rescue, puis passer en chroot.

Là, tu peux vérifier les paquets grub installés et même les réinstaller si nécessaire.

Pour information, ton fichier manquant fait partie du paquet grub-pc-bin

Tu peux ensuite installer grub proprement (grub-install).

Hors ligne

#21 31-07-2018 21:10:51

Caribou22
Br3izhG33k =)
Lieu : 22, Côtes d'Armor, Bretagne
Distrib. : Debian Stable
Noyau : Sans pépins
(G)UI : Xfce, Gnome
Inscription : 10-11-2014
Site Web

Re : [Résolu] Problème de boot Grub sur Debian 9 - Latitude E5410

Debian Alain a écrit :

bon , ben , tu n'as plus qu'à réinstaller grub .

tiens nous au jus .



Quelle procédure exacte je dois utiliser ? big_smile (J'ai juste fait update-grub et ça n'a rien changé. Je suppose que ce n'est pas suffisant.)

Edit : Posts croisés tongue

Dernière modification par Caribou22 (31-07-2018 21:11:25)

Hors ligne

#22 31-07-2018 21:10:51

Debian Alain
Membre
Lieu : Bretagne
Distrib. : sid (unstable) / bullseye (stable)
Noyau : Linux sid 6.4.0-3-amd64
(G)UI : Gnome X.org (X11) / GDM3
Inscription : 11-03-2017
Site Web

Re : [Résolu] Problème de boot Grub sur Debian 9 - Latitude E5410

@caribou22  big_smile

une fois que tu as accédé à ton systeme avec super grub disk ,

inspire toi de cette page :  https://doc.ubuntu-fr.org/tutoriel/comm … aurer_grub

et tapes :

grub-install /dev/sdX


si ton disque est sda , remplace sdX par sda... bien sûr .

update-grub



y a pas plus simple .  lol

après , tu peux redémarrer , et , sauf erreur , tu retrouves ton systeme .

si ça ce complique , faudra demander à plus calé que moi .

Dernière modification par Debian Alain (31-07-2018 21:14:21)

Hors ligne

#23 31-07-2018 21:16:30

Caribou22
Br3izhG33k =)
Lieu : 22, Côtes d'Armor, Bretagne
Distrib. : Debian Stable
Noyau : Sans pépins
(G)UI : Xfce, Gnome
Inscription : 10-11-2014
Site Web

Re : [Résolu] Problème de boot Grub sur Debian 9 - Latitude E5410

Fait depuis ma Debian démarrée avec super grub disk :

grub-install /dev/sda


Installation pour la plate-forme i386-pc.
Installation terminée, sans erreur.



update-grub


Création du fichier de configuration GRUB…
Found background image: /usr/share/images/desktop-base/desktop-grub.png
Image Linux trouvée : /boot/vmlinuz-4.9.0-7-amd64
Image mémoire initiale trouvée : /boot/initrd.img-4.9.0-7-amd64
Image Linux trouvée : /boot/vmlinuz-4.9.0-5-amd64
Image mémoire initiale trouvée : /boot/initrd.img-4.9.0-5-amd64
Image Linux trouvée : /boot/vmlinuz-4.9.0-3-amd64
Image mémoire initiale trouvée : /boot/initrd.img-4.9.0-3-amd64
Mac OS X trouvé sur /dev/sdb3
fait
 



Je redémarre, suspense ! AUCUN CHANGEMENT sos.gifzen.gifcrash.gif

Dernière modification par Caribou22 (31-07-2018 21:18:01)

Hors ligne

#24 31-07-2018 21:26:34

Debian Alain
Membre
Lieu : Bretagne
Distrib. : sid (unstable) / bullseye (stable)
Noyau : Linux sid 6.4.0-3-amd64
(G)UI : Gnome X.org (X11) / GDM3
Inscription : 11-03-2017
Site Web

Re : [Résolu] Problème de boot Grub sur Debian 9 - Latitude E5410

?  t'aurais pas une D-F linux , des fois , caribou22 ?

si c'est le cas , je peux pas t'aider , je viens de  la mettre en VM , je la connais encore très très mal .

comme je suis bête ! tu l'avais dit dans ton premier post , en gros et en clair : DF Linux  .

Dernière modification par Debian Alain (31-07-2018 21:30:51)

Hors ligne

#25 31-07-2018 21:28:00

Caribou22
Br3izhG33k =)
Lieu : 22, Côtes d'Armor, Bretagne
Distrib. : Debian Stable
Noyau : Sans pépins
(G)UI : Xfce, Gnome
Inscription : 10-11-2014
Site Web

Re : [Résolu] Problème de boot Grub sur Debian 9 - Latitude E5410

Si c'est bien ça. Mais DFlinux n'est qu'une Debian en principe ? hmm

J'ai installé des logiciels avec Wine non sans difficultés donc j'espère qu'il ne faudra pas ré-installer une Stretch Xfce tongue

Dernière modification par Caribou22 (31-07-2018 21:31:58)

Hors ligne

Pied de page des forums