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 19/02/2020, à 10:24

LePoissard

Default Boot Device Missing redémarrage

Bonjour à tous,
Je suis nouveaux sur le forum et je viens vous voir car j'ai un problème au redémarrage de mon ordi.
J'ai installer Ubuntu 18.05 lts il y a environs 1 mois et tout ce passez bien.
Mais tout à l'heure mon ordi commencer à faire beaucoup de bruit, j'ai donc voulu le redémarrer mais maintenant impossible de le redémarrer.
Il m'affiche "default Boot Device missing or boot failed"
J'ai essayer les solution que ai trouver sur les forum mais rien ne marche.
J'ai d'abord essayer dans le bios de mettre boot mode en 'legacy support' mais cela m'affiche rapidement un message et redémarre en boucle idem en mode recovery.
J'ai peut être une piste mais je n'en suis pas sur, plutot j'ai installer kali Linux sur VirtualBox et lors de l'installation je devais choisir si je devais installer un grub et j'ai mis oui peut être est-ce lié ?
Parcontre je peut démarrer en live USB et l'orsque je vais dans Disks en mode live je vois une partition :
Size : 1.0 TB
Assessment : disk is OK
Device : /dev/sda2
Partition Type : Linux Filesystem
J'imagine donc que ce n'est pas mon disque dur qui est mort ?

Je possède un Lenovo légion y520.
Merci à ceux qui m'aideront et dites moi si je doit vous donner d'autre information.

Ps: Je ne suis pas sur d'être dans la bonne section mais elle me sembler la mieux adapter.

Dernière modification par LePoissard (Le 19/02/2020, à 10:25)

Hors ligne

#2 Le 19/02/2020, à 11:27

malbo

Re : Default Boot Device Missing redémarrage

Bonjour,
Fais un Boot-info depuis une session live et donne l'URL de ce Boot-info dans ta réponse.

Hors ligne

#3 Le 19/02/2020, à 11:56

LePoissard

Re : Default Boot Device Missing redémarrage

Mon live USB est sous kali Linux on ne peut pas faire boot-info dessus ?
Je vais télécharger Ubuntu sur une clé pour le lancer en live

Hors ligne

#4 Le 19/02/2020, à 13:16

LePoissard

Re : Default Boot Device Missing redémarrage

Voila mon lien Boot-info
http://paste.ubuntu.com/p/jvk34wNfQg/

Hors ligne

#5 Le 19/02/2020, à 15:34

malbo

Re : Default Boot Device Missing redémarrage

Ton Boot-info est là :

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


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

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

sda2: __________________________________________________________________________

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

sdb1: __________________________________________________________________________

    File system:       vfat
    Boot sector type:  SYSLINUX 6.03
    Boot sector info:  Syslinux looks at sector 32784 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 /ldlinux.sys

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

Drive: sda _____________________________________________________________________
Disk /dev/sda: 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/sda1                   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/sda2             1,050,624 1,953,523,711 1,952,473,088 Data partition (Linux)

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

Drive: sdb _____________________________________________________________________
Disk /dev/sdb: 15 GiB, 16106127360 bytes, 31457280 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    *          2,048    31,457,279    31,455,232   c W95 FAT32 (LBA)


"blkid" output: ________________________________________________________________

Device           UUID                                   TYPE       LABEL

/dev/loop0                                              squashfs   
/dev/loop1                                              squashfs   
/dev/loop2                                              squashfs   
/dev/loop3                                              squashfs   
/dev/loop4                                              squashfs   
/dev/loop5                                              squashfs   
/dev/loop6                                              squashfs   
/dev/loop7                                              squashfs   
/dev/loop8                                              squashfs   
/dev/sda2        c20d8f17-63cb-444f-a34d-0921e2636dfd   ext4       
/dev/sdb1        0AA7-2C84                              vfat       UBUNTU 18_0

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

total 0
lrwxrwxrwx 1 root root  9 Feb 19 12:11 ata-ST1000LM035-1RK172_WDEX8S0N -> ../../sda
lrwxrwxrwx 1 root root 10 Feb 19 12:11 ata-ST1000LM035-1RK172_WDEX8S0N-part2 -> ../../sda2
lrwxrwxrwx 1 root root  9 Feb 19 12:11 usb-VendorCo_ProductCode_92071060BF389926696-0:0 -> ../../sdb
lrwxrwxrwx 1 root root 10 Feb 19 12:11 usb-VendorCo_ProductCode_92071060BF389926696-0:0-part1 -> ../../sdb1
lrwxrwxrwx 1 root root  9 Feb 19 12:11 wwn-0x5000c500acef07ba -> ../../sda
lrwxrwxrwx 1 root root 10 Feb 19 12:11 wwn-0x5000c500acef07ba-part2 -> ../../sda2

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

Device           Mount_Point              Type       Options

/dev/loop0       /rofs                    squashfs   (ro,noatime)
/dev/sdb1        /cdrom                   vfat       (ro,noatime,fmask=0022,dmask=0022,codepage=437,iocharset=iso8859-1,shortname=mixed,errors=remount-ro)


=========================== sda2/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 recordfail {
  set recordfail=1
  if [ -n "${have_grubenv}" ]; then if [ -z "${boot_once}" ]; then save_env recordfail; fi; 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_gpt
insmod ext2
set root='hd0,gpt2'
if [ x$feature_platform_search_hint = xy ]; then
  search --no-floppy --fs-uuid --set=root --hint-bios=hd0,gpt2 --hint-efi=hd0,gpt2 --hint-baremetal=ahci0,gpt2  c20d8f17-63cb-444f-a34d-0921e2636dfd
else
  search --no-floppy --fs-uuid --set=root c20d8f17-63cb-444f-a34d-0921e2636dfd
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=30
else
  if [ x$feature_timeout_style = xy ] ; then
    set timeout_style=hidden
    set timeout=0
  # Fallback hidden-timeout code in case the timeout_style feature is
  # unavailable.
  elif sleep --interruptible 0 ; then
    set timeout=0
  fi
fi
### END /etc/grub.d/00_header ###

### BEGIN /etc/grub.d/05_debian_theme ###
set menu_color_normal=white/black
set menu_color_highlight=black/light-gray
if background_color 44,0,30,0; then
  clear
fi
### END /etc/grub.d/05_debian_theme ###

### BEGIN /etc/grub.d/10_linux ###
function gfxmode {
	set gfxpayload="${1}"
	if [ "${1}" = "keep" ]; then
		set vt_handoff=vt.handoff=1
	else
		set vt_handoff=
	fi
}
if [ "${recordfail}" != 1 ]; then
  if [ -e ${prefix}/gfxblacklist.txt ]; then
    if hwmatch ${prefix}/gfxblacklist.txt 3; then
      if [ ${match} = 0 ]; then
        set linux_gfx_mode=keep
      else
        set linux_gfx_mode=text
      fi
    else
      set linux_gfx_mode=text
    fi
  else
    set linux_gfx_mode=keep
  fi
else
  set linux_gfx_mode=text
fi
export linux_gfx_mode
menuentry 'Ubuntu' --class ubuntu --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-simple-c20d8f17-63cb-444f-a34d-0921e2636dfd' {
	recordfail
	load_video
	gfxmode $linux_gfx_mode
	insmod gzio
	if [ x$grub_platform = xxen ]; then insmod xzio; insmod lzopio; fi
	insmod part_gpt
	insmod ext2
	set root='hd0,gpt2'
	if [ x$feature_platform_search_hint = xy ]; then
	  search --no-floppy --fs-uuid --set=root --hint-bios=hd0,gpt2 --hint-efi=hd0,gpt2 --hint-baremetal=ahci0,gpt2  c20d8f17-63cb-444f-a34d-0921e2636dfd
	else
	  search --no-floppy --fs-uuid --set=root c20d8f17-63cb-444f-a34d-0921e2636dfd
	fi
        linux	/boot/vmlinuz-5.3.0-40-generic root=UUID=c20d8f17-63cb-444f-a34d-0921e2636dfd ro  quiet splash $vt_handoff
	initrd	/boot/initrd.img-5.3.0-40-generic
}
submenu 'Options avancées pour Ubuntu' $menuentry_id_option 'gnulinux-advanced-c20d8f17-63cb-444f-a34d-0921e2636dfd' {
	menuentry 'Ubuntu, avec Linux 5.3.0-40-generic' --class ubuntu --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-5.3.0-40-generic-advanced-c20d8f17-63cb-444f-a34d-0921e2636dfd' {
		recordfail
		load_video
		gfxmode $linux_gfx_mode
		insmod gzio
		if [ x$grub_platform = xxen ]; then insmod xzio; insmod lzopio; fi
		insmod part_gpt
		insmod ext2
		set root='hd0,gpt2'
		if [ x$feature_platform_search_hint = xy ]; then
		  search --no-floppy --fs-uuid --set=root --hint-bios=hd0,gpt2 --hint-efi=hd0,gpt2 --hint-baremetal=ahci0,gpt2  c20d8f17-63cb-444f-a34d-0921e2636dfd
		else
		  search --no-floppy --fs-uuid --set=root c20d8f17-63cb-444f-a34d-0921e2636dfd
		fi
		echo	'Chargement de Linux 5.3.0-40-generic…'
	        linux	/boot/vmlinuz-5.3.0-40-generic root=UUID=c20d8f17-63cb-444f-a34d-0921e2636dfd ro  quiet splash $vt_handoff
		echo	'Chargement du disque mémoire initial…'
		initrd	/boot/initrd.img-5.3.0-40-generic
	}
	menuentry 'Ubuntu, with Linux 5.3.0-40-generic (recovery mode)' --class ubuntu --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-5.3.0-40-generic-recovery-c20d8f17-63cb-444f-a34d-0921e2636dfd' {
		recordfail
		load_video
		insmod gzio
		if [ x$grub_platform = xxen ]; then insmod xzio; insmod lzopio; fi
		insmod part_gpt
		insmod ext2
		set root='hd0,gpt2'
		if [ x$feature_platform_search_hint = xy ]; then
		  search --no-floppy --fs-uuid --set=root --hint-bios=hd0,gpt2 --hint-efi=hd0,gpt2 --hint-baremetal=ahci0,gpt2  c20d8f17-63cb-444f-a34d-0921e2636dfd
		else
		  search --no-floppy --fs-uuid --set=root c20d8f17-63cb-444f-a34d-0921e2636dfd
		fi
		echo	'Chargement de Linux 5.3.0-40-generic…'
	        linux	/boot/vmlinuz-5.3.0-40-generic root=UUID=c20d8f17-63cb-444f-a34d-0921e2636dfd ro recovery nomodeset 
		echo	'Chargement du disque mémoire initial…'
		initrd	/boot/initrd.img-5.3.0-40-generic
	}
	menuentry 'Ubuntu, avec Linux 5.3.0-28-generic' --class ubuntu --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-5.3.0-28-generic-advanced-c20d8f17-63cb-444f-a34d-0921e2636dfd' {
		recordfail
		load_video
		gfxmode $linux_gfx_mode
		insmod gzio
		if [ x$grub_platform = xxen ]; then insmod xzio; insmod lzopio; fi
		insmod part_gpt
		insmod ext2
		set root='hd0,gpt2'
		if [ x$feature_platform_search_hint = xy ]; then
		  search --no-floppy --fs-uuid --set=root --hint-bios=hd0,gpt2 --hint-efi=hd0,gpt2 --hint-baremetal=ahci0,gpt2  c20d8f17-63cb-444f-a34d-0921e2636dfd
		else
		  search --no-floppy --fs-uuid --set=root c20d8f17-63cb-444f-a34d-0921e2636dfd
		fi
		echo	'Chargement de Linux 5.3.0-28-generic…'
	        linux	/boot/vmlinuz-5.3.0-28-generic root=UUID=c20d8f17-63cb-444f-a34d-0921e2636dfd ro  quiet splash $vt_handoff
		echo	'Chargement du disque mémoire initial…'
		initrd	/boot/initrd.img-5.3.0-28-generic
	}
	menuentry 'Ubuntu, with Linux 5.3.0-28-generic (recovery mode)' --class ubuntu --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-5.3.0-28-generic-recovery-c20d8f17-63cb-444f-a34d-0921e2636dfd' {
		recordfail
		load_video
		insmod gzio
		if [ x$grub_platform = xxen ]; then insmod xzio; insmod lzopio; fi
		insmod part_gpt
		insmod ext2
		set root='hd0,gpt2'
		if [ x$feature_platform_search_hint = xy ]; then
		  search --no-floppy --fs-uuid --set=root --hint-bios=hd0,gpt2 --hint-efi=hd0,gpt2 --hint-baremetal=ahci0,gpt2  c20d8f17-63cb-444f-a34d-0921e2636dfd
		else
		  search --no-floppy --fs-uuid --set=root c20d8f17-63cb-444f-a34d-0921e2636dfd
		fi
		echo	'Chargement de Linux 5.3.0-28-generic…'
	        linux	/boot/vmlinuz-5.3.0-28-generic root=UUID=c20d8f17-63cb-444f-a34d-0921e2636dfd ro recovery nomodeset 
		echo	'Chargement du disque mémoire initial…'
		initrd	/boot/initrd.img-5.3.0-28-generic
	}
}

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

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

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

### BEGIN /etc/grub.d/20_memtest86+ ###
### END /etc/grub.d/20_memtest86+ ###

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

### BEGIN /etc/grub.d/30_uefi-firmware ###
menuentry 'System setup' $menuentry_id_option 'uefi-firmware' {
	fwsetup
}
### 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 ###
--------------------------------------------------------------------------------

=============================== sda2/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/sda2 during installation
UUID=c20d8f17-63cb-444f-a34d-0921e2636dfd /               ext4    errors=remount-ro 0       1
# /boot/efi was on /dev/sda1 during installation
UUID=09CC-B4F2  /boot/efi       vfat    umask=0077      0       1
/swapfile                                 none            swap    sw              0       0
--------------------------------------------------------------------------------

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

           GiB - GB             File                                 Fragment(s)

 724.709953308 = 778.151387136  boot/grub/grub.cfg                             3
   5.517307281 = 5.924163584    boot/vmlinuz-5.3.0-28-generic                  1
 627.806362152 = 674.101948416  boot/vmlinuz-5.3.0-40-generic                  2
 627.806362152 = 674.101948416  vmlinuz                                        2
   5.517307281 = 5.924163584    vmlinuz.old                                    1
 600.039520264 = 644.287528960  boot/initrd.img-5.3.0-28-generic               3
 637.518772125 = 684.530569216  boot/initrd.img-5.3.0-40-generic               6
 637.518772125 = 684.530569216  initrd.img                                     6
 600.039520264 = 644.287528960  initrd.img.old                                 3

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

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

if loadfont /boot/grub/font.pf2 ; then
	set gfxmode=auto
	insmod efi_gop
	insmod efi_uga
	insmod gfxterm
	terminal_output gfxterm
fi

set menu_color_normal=white/black
set menu_color_highlight=black/light-gray

set timeout=5
menuentry "Try Ubuntu without installing" {
	set gfxpayload=keep
	linux	/casper/vmlinuz  file=/cdrom/preseed/ubuntu.seed boot=casper quiet splash ---
	initrd	/casper/initrd
}
menuentry "Install Ubuntu" {
	set gfxpayload=keep
	linux	/casper/vmlinuz  file=/cdrom/preseed/ubuntu.seed boot=casper only-ubiquity quiet splash ---
	initrd	/casper/initrd
}
menuentry "OEM install (for manufacturers)" {
	set gfxpayload=keep
	linux	/casper/vmlinuz  file=/cdrom/preseed/ubuntu.seed boot=casper only-ubiquity quiet splash oem-config/enable=true ---
	initrd	/casper/initrd
}
menuentry "Check disc for defects" {
	set gfxpayload=keep
	linux	/casper/vmlinuz  boot=casper integrity-check quiet splash ---
	initrd	/casper/initrd
}
--------------------------------------------------------------------------------

============================== sdb1/syslinux.cfg: ==============================

--------------------------------------------------------------------------------
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 9 (/proc/5018/mountinfo) leaked on lvs invocation. Parent PID 12065: bash
File descriptor 63 (pipe:[81255]) leaked on lvs invocation. Parent PID 12065: bash

ADDITIONAL INFORMATION :
=================== log of boot-info 20200219_1211 ===================
boot-info version : 4ppa66
boot-sav version : 4ppa66
boot-sav-extra version : 4ppa66
glade2script version : 3.2.3~ppa4
boot-info is executed in live-session (Ubuntu 18.04.4 LTS, bionic, Ubuntu, x86_64)
CPU op-mode(s):      32-bit, 64-bit
BOOT_IMAGE=/casper/vmlinuz file=/cdrom/preseed/ubuntu.seed boot=casper quiet splash ---
ls: cannot access '/home/usr/.config': No such file or directory

=================== os-prober:
/dev/sda2:Ubuntu 18.04.4 LTS (18.04):Ubuntu:linux

=================== blkid:
/dev/sda2: UUID="c20d8f17-63cb-444f-a34d-0921e2636dfd" TYPE="ext4" PARTUUID="b5647f7d-3204-44e2-8eca-0a406ed80ab3"
/dev/sdb1: LABEL="UBUNTU 18_0" UUID="0AA7-2C84" TYPE="vfat" PARTUUID="0babce24-01"
/dev/loop0: TYPE="squashfs"
/dev/loop1: TYPE="squashfs"
/dev/loop2: TYPE="squashfs"
/dev/loop3: TYPE="squashfs"
/dev/loop4: TYPE="squashfs"
/dev/loop5: TYPE="squashfs"
/dev/loop6: TYPE="squashfs"
/dev/loop7: TYPE="squashfs"
/dev/loop8: TYPE="squashfs"


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


=================== sda2/etc/grub.d/ :
drwxr-xr-x  2 root root    4096 Jan 28 15:37 grub.d
total 80
-rwxr-xr-x 1 root root 10046 Mar 18  2019 00_header
-rwxr-xr-x 1 root root  6258 Mar 18  2019 05_debian_theme
-rwxr-xr-x 1 root root 12693 Mar 18  2019 10_linux
-rwxr-xr-x 1 root root 11298 Mar 18  2019 20_linux_xen
-rwxr-xr-x 1 root root  1992 Jan 28  2016 20_memtest86+
-rwxr-xr-x 1 root root 12059 Mar 18  2019 30_os-prober
-rwxr-xr-x 1 root root  1418 Mar 18  2019 30_uefi-firmware
-rwxr-xr-x 1 root root   214 Mar 18  2019 40_custom
-rwxr-xr-x 1 root root   216 Mar 18  2019 41_custom
-rw-r--r-- 1 root root   483 Mar 18  2019 README




=================== sda2/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_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=""

# 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"



/boot/efi detected in the fstab of sda2: UUID=09CC-B4F2   ()
/usr/share/boot-sav/bs-cmd_terminal.sh: line 179: warning: command substitution: ignored null byte in input

=================== efibootmgr -v
BootCurrent: 0003
Timeout: 0 seconds
BootOrder: 0003,2003,0001,0002,0000,2001,2002
Boot0000* Realtek PXE B04 D00	BBS(128,Realtek PXE B04 D00,0x0).......................................................................
Boot0001* ST1000LM035-1RK172              	BBS(HD,ST1000LM035-1RK172              ,0x500)................-...........A......"..............................yZk..
Boot0002* VendorCoProductCode	BBS(HD,VendorCoProductCode,0x500)..................].......[..._....................................&k..
Boot0003* Linpus lite	HD(1,MBR,0xbabce24,0x800,0x1dff800)/File(EFIBootgrubx64.efi)RC
Boot0004* EFI Network 0 for IPv4 (8C-16-45-49-AA-A5) 	PciRoot(0x0)/Pci(0x1c,0x3)/Pci(0x0,0x0)/MAC(8c164549aaa5,0)/IPv4(0.0.0.00.0.0.0,0,0)RC
Boot0005* EFI Network 0 for IPv6 (8C-16-45-49-AA-A5) 	PciRoot(0x0)/Pci(0x1c,0x3)/Pci(0x0,0x0)/MAC(8c164549aaa5,0)/IPv6([::]:<->[::]:,0,0)RC
Boot0006* EFI Network 0 for IPv6 (8C-16-45-49-AA-A5) 	PciRoot(0x0)/Pci(0x1c,0x3)/Pci(0x0,0x0)/MAC(8c164549aaa5,0)/IPv6([::]:<->[::]:,0,0)RC
Boot2001* EFI USB Device	RC
Boot2002* EFI DVD/CDROM	RC
Boot2003* EFI Network	RC

=================== 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:
sda2	: sda,	not-sepboot,	grubenv-ok	grub2,	signed grub-pc grub-efi ,	update-grub,	64,	with-boot,	is-os,	not--efi--part,	fstab-without-boot,	fstab-has-bad-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/sda2.

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


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

BYT;
/dev/sda:1000GB:scsi:512:4096:gpt:ATA ST1000LM035-1RK1:;
2:538MB:1000GB:1000GB:ext4::;

BYT;
/dev/sdb:16.1GB:scsi:512:512:msdos:VendorCo ProductCode:;
1:1049kB:16.1GB:16.1GB:fat32::boot, lba;

=================== lsblk:
KNAME TYPE FSTYPE     SIZE LABEL
loop0 loop squashfs   1.9G
loop1 loop squashfs  89.1M
loop2 loop squashfs  54.7M
loop3 loop squashfs  44.9M
loop4 loop squashfs 160.2M
loop5 loop squashfs   4.2M
loop6 loop squashfs  14.8M
loop7 loop squashfs   956K
loop8 loop squashfs   3.7M
sda   disk          931.5G
sda2  part ext4       931G
sdb   disk             15G
sdb1  part vfat        15G UBUNTU 18_0

KNAME ROTA RO RM STATE   MOUNTPOINT
loop0    1  1  0         /rofs
loop1    0  1  0         /snap/core/8268
loop2    0  1  0         /snap/core18/1668
loop3    0  1  0         /snap/gtk-common-themes/1440
loop4    0  1  0         /snap/gnome-3-28-1804/116
loop5    0  1  0         /snap/gnome-calculator/544
loop6    0  1  0         /snap/gnome-characters/399
loop7    0  1  0         /snap/gnome-logs/81
loop8    0  1  0         /snap/gnome-system-monitor/127
sda      1  0  0 running
sda2     1  0  0         /mnt/boot-sav/sda2
sdb      1  0  1 running
sdb1     1  0  1         /cdrom


=================== 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=3995360k,nr_inodes=998840,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=804188k,mode=755)
/dev/sdb1 on /cdrom type vfat (ro,noatime,fmask=0022,dmask=0022,codepage=437,iocharset=iso8859-1,shortname=mixed,errors=remount-ro)
/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/unified type cgroup2 (rw,nosuid,nodev,noexec,relatime,nsdelegate)
cgroup on /sys/fs/cgroup/systemd type cgroup (rw,nosuid,nodev,noexec,relatime,xattr,name=systemd)
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/cpuset type cgroup (rw,nosuid,nodev,noexec,relatime,cpuset)
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/pids type cgroup (rw,nosuid,nodev,noexec,relatime,pids)
cgroup on /sys/fs/cgroup/rdma type cgroup (rw,nosuid,nodev,noexec,relatime,rdma)
cgroup on /sys/fs/cgroup/hugetlb type cgroup (rw,nosuid,nodev,noexec,relatime,hugetlb)
cgroup on /sys/fs/cgroup/cpu,cpuacct type cgroup (rw,nosuid,nodev,noexec,relatime,cpu,cpuacct)
cgroup on /sys/fs/cgroup/freezer type cgroup (rw,nosuid,nodev,noexec,relatime,freezer)
cgroup on /sys/fs/cgroup/memory type cgroup (rw,nosuid,nodev,noexec,relatime,memory)
cgroup on /sys/fs/cgroup/blkio type cgroup (rw,nosuid,nodev,noexec,relatime,blkio)
cgroup on /sys/fs/cgroup/perf_event type cgroup (rw,nosuid,nodev,noexec,relatime,perf_event)
cgroup on /sys/fs/cgroup/devices type cgroup (rw,nosuid,nodev,noexec,relatime,devices)
systemd-1 on /proc/sys/fs/binfmt_misc type autofs (rw,relatime,fd=25,pgrp=1,timeout=0,minproto=5,maxproto=5,direct,pipe_ino=18439)
mqueue on /dev/mqueue type mqueue (rw,relatime)
debugfs on /sys/kernel/debug type debugfs (rw,relatime)
hugetlbfs on /dev/hugepages type hugetlbfs (rw,relatime,pagesize=2M)
tracefs on /sys/kernel/debug/tracing type tracefs (rw,relatime)
configfs on /sys/kernel/config type configfs (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=804184k,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)
/var/lib/snapd/snaps/core_8268.snap on /snap/core/8268 type squashfs (ro,nodev,relatime,x-gdu.hide)
/var/lib/snapd/snaps/core18_1668.snap on /snap/core18/1668 type squashfs (ro,nodev,relatime,x-gdu.hide)
/var/lib/snapd/snaps/gtk-common-themes_1440.snap on /snap/gtk-common-themes/1440 type squashfs (ro,nodev,relatime,x-gdu.hide)
/var/lib/snapd/snaps/gnome-3-28-1804_116.snap on /snap/gnome-3-28-1804/116 type squashfs (ro,nodev,relatime,x-gdu.hide)
/var/lib/snapd/snaps/gnome-calculator_544.snap on /snap/gnome-calculator/544 type squashfs (ro,nodev,relatime,x-gdu.hide)
/var/lib/snapd/snaps/gnome-characters_399.snap on /snap/gnome-characters/399 type squashfs (ro,nodev,relatime,x-gdu.hide)
/var/lib/snapd/snaps/gnome-logs_81.snap on /snap/gnome-logs/81 type squashfs (ro,nodev,relatime,x-gdu.hide)
/var/lib/snapd/snaps/gnome-system-monitor_127.snap on /snap/gnome-system-monitor/127 type squashfs (ro,nodev,relatime,x-gdu.hide)
/dev/sda2 on /mnt/boot-sav/sda2 type ext4 (rw,relatime)


=================== ls:
/sys/block/sda (filtered):  alignment_offset bdi capability dev device discard_alignment events events_async events_poll_msecs ext_range hidden holders inflight integrity mq power queue range removable ro sda2 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 hidden holders inflight integrity mq power queue range removable ro sdb1 size slaves stat subsystem trace uevent
/dev (filtered):  autofs block bsg btrfs-control bus char console core cpu cpu_dma_latency cuse disk dri drm_dp_aux0 drm_dp_aux1 ecryptfs fb0 fd full fuse gpiochip0 hidraw0 hpet hugepages hwrng i2c-0 i2c-1 i2c-10 i2c-11 i2c-12 i2c-13 i2c-14 i2c-15 i2c-16 i2c-17 i2c-18 i2c-2 i2c-3 i2c-4 i2c-5 i2c-6 i2c-7 i2c-8 i2c-9 initctl input kmsg kvm lightnvm 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 sda2 sdb sdb1 sg0 sg1 shm snapshot snd stderr stdin stdout tpm0 tpmrm0 udmabuf uhid uinput urandom usb userio v4l vfio vga_arbiter vhci vhost-net vhost-vsock video0 video1 zero zfs
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     786M  1.7M  784M   1% /run
/dev/sdb1      vfat       15G  2.0G   14G  14% /cdrom
/dev/loop0     squashfs  1.9G  1.9G     0 100% /rofs
/cow           overlay   3.9G  496M  3.4G  13% /
tmpfs          tmpfs     3.9G   49M  3.8G   2% /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  4.0K  3.9G   1% /tmp
tmpfs          tmpfs     786M   60K  786M   1% /run/user/999
/dev/loop1     squashfs   90M   90M     0 100% /snap/core/8268
/dev/loop2     squashfs   55M   55M     0 100% /snap/core18/1668
/dev/loop3     squashfs   45M   45M     0 100% /snap/gtk-common-themes/1440
/dev/loop4     squashfs  161M  161M     0 100% /snap/gnome-3-28-1804/116
/dev/loop5     squashfs  4.3M  4.3M     0 100% /snap/gnome-calculator/544
/dev/loop6     squashfs   15M   15M     0 100% /snap/gnome-characters/399
/dev/loop7     squashfs  1.0M  1.0M     0 100% /snap/gnome-logs/81
/dev/loop8     squashfs  3.8M  3.8M     0 100% /snap/gnome-system-monitor/127
/dev/sda2      ext4      916G  110G  760G  13% /mnt/boot-sav/sda2

=================== fdisk -l:
Disk /dev/loop0: 1.9 GiB, 2029981696 bytes, 3964808 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/loop1: 89.1 MiB, 93417472 bytes, 182456 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/loop2: 54.7 MiB, 57294848 bytes, 111904 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/loop3: 44.9 MiB, 47063040 bytes, 91920 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/loop4: 160.2 MiB, 167931904 bytes, 327992 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/loop5: 4.2 MiB, 4403200 bytes, 8600 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/loop6: 14.8 MiB, 15462400 bytes, 30200 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/loop7: 956 KiB, 978944 bytes, 1912 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: 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: 2986FD2C-B3DC-4756-81C2-49D9A3275985

Device       Start        End    Sectors  Size Type
/dev/sda2  1050624 1953523711 1952473088  931G Linux filesystem


Disk /dev/sdb: 15 GiB, 16106127360 bytes, 31457280 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: 0x0babce24

Device     Boot Start      End  Sectors Size Id Type
/dev/sdb1  *     2048 31457279 31455232  15G  c W95 FAT32 (LBA)


Disk /dev/loop8: 3.7 MiB, 3825664 bytes, 7472 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


(debug) reinstall grub2 place-in-MBR no-BIOS_boot (sda2)


=================== Suggested repair
The default repair of the Boot-Repair utility would purge (in order to unsign) and reinstall the grub2 of sda2 into the MBR of sda.
Additional repair would be performed: unhide-bootmenu-10s


=================== Blockers in case of suggested repair
GPT detected. Please create a BIOS-Boot partition (>1MB, unformatted filesystem, bios_grub flag). This can be performed via tools such as Gparted. Then try again.


=================== Advice in case of suggested repair
The boot of your PC is in EFI mode, but no EFI partition was detected. You may want to retry after creating a EFI partition (FAT32, 100MB~250MB, start of the disk, boot flag).
Do you want to continue?


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

Extrait de la partie "sda2/etc/fstab" du Boot-info :

# /boot/efi was on /dev/sda1 during installation
UUID=09CC-B4F2  /boot/efi       vfat    umask=0077      0       1

La partition sda1 dont l'UUID est 09CC-B4F2 n'existe plus. C'est pour ça que ton Ubuntu ne peut pas démarrer.

Dernière modification par malbo (Le 19/02/2020, à 15:43)

Hors ligne

#6 Le 19/02/2020, à 16:21

LePoissard

Re : Default Boot Device Missing redémarrage

Je crois comprendre comment j'ai fait cela... je doit réinstaller ubuntu ou il y a des moyens de récupérer cela ? si oui pourrait tu m'aiguillez pour mes recherche car je suis novice et j'avoue être un peu dépassé, peut être CGSecurity pour restaurer ma partition ?

Dernière modification par LePoissard (Le 19/02/2020, à 16:26)

Hors ligne

#7 Le 19/02/2020, à 17:26

LePoissard

Re : Default Boot Device Missing redémarrage

J'ai utilisé test disk pour récupérer ma partition malgré tout je n'ai pas pu récupérer Ubuntu je suis donc en train de le réinstaller.
Merci beaucoup de ton aide malbo smile
Au moins je ne referai plus la même erreur.

Dernière modification par LePoissard (Le 19/02/2020, à 17:28)

Hors ligne