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.

#26 Le 18/09/2019, à 09:38

malbo

Re : [Résolu] Bug démarrage : busybox, initframfs

Bonjour,
Je colle ci-dessous le rapport dont tu as donné le lien dans le post #20 (je fais ça parce que le rapport disparaitra  du site qui l'hégerge dans un mois, ce qui rendrait cette discussion difficile à comprendre)   :

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.

sda1: __________________________________________________________________________

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

sda2: __________________________________________________________________________

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

sda3: __________________________________________________________________________

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

sda4: __________________________________________________________________________

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

sda5: __________________________________________________________________________

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

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

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

Partition  Boot  Start Sector    End Sector  # of Sectors  Id System

/dev/sda1                   1   500,118,191   500,118,191  ee GPT


GUID Partition Table detected.

Partition  Attrs   Start Sector    End Sector  # of Sectors System
/dev/sda1                 2,048     1,026,047     1,024,000 EFI System partition
/dev/sda2      R      1,026,048     1,107,967        81,920 -
/dev/sda3             1,107,968     7,399,423     6,291,456 Data partition (Windows/Linux)
/dev/sda4             7,399,424   466,952,191   459,552,768 Data partition (Linux)
/dev/sda5           466,952,192   500,117,503    33,165,312 Swap partition (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/loop1                                              squashfs   
/dev/loop2                                              squashfs   
/dev/loop3                                              squashfs   
/dev/loop4                                              squashfs   
/dev/loop5                                              squashfs   
/dev/loop6                                              squashfs   
/dev/loop7                                              squashfs   
/dev/sda1        F77D-A901                              vfat       
/dev/sda2        4C74-1FB1                              vfat       DIAGS
/dev/sda3        4474-C0EA                              vfat       OS
/dev/sda4        0657d689-4708-4e4a-bf84-79ddd49036ff   ext4       
/dev/sda5        3bba6e65-eb8e-45c1-9214-b45cdb3d2a44   swap       
/dev/sr0         2019-02-10-00-27-34-00                 iso9660    Ubuntu 18.04.2 LTS amd64

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

total 0
lrwxrwxrwx 1 root root  9 Sep 16 21:17 ata-SAMSUNG_SSD_PM851_M.2_2280_256GB_S1D3NSAG615768 -> ../../sda
lrwxrwxrwx 1 root root 10 Sep 16 21:17 ata-SAMSUNG_SSD_PM851_M.2_2280_256GB_S1D3NSAG615768-part1 -> ../../sda1
lrwxrwxrwx 1 root root 10 Sep 16 21:17 ata-SAMSUNG_SSD_PM851_M.2_2280_256GB_S1D3NSAG615768-part2 -> ../../sda2
lrwxrwxrwx 1 root root 10 Sep 16 21:17 ata-SAMSUNG_SSD_PM851_M.2_2280_256GB_S1D3NSAG615768-part3 -> ../../sda3
lrwxrwxrwx 1 root root 10 Sep 16 21:17 ata-SAMSUNG_SSD_PM851_M.2_2280_256GB_S1D3NSAG615768-part4 -> ../../sda4
lrwxrwxrwx 1 root root 10 Sep 16 21:17 ata-SAMSUNG_SSD_PM851_M.2_2280_256GB_S1D3NSAG615768-part5 -> ../../sda5
lrwxrwxrwx 1 root root  9 Sep 16 19:00 usb-Toshiba_SuperMultiPA3761_SATASLIM00002039b8d-0:0 -> ../../sr0
lrwxrwxrwx 1 root root  9 Sep 16 21:17 wwn-0x5002538844584d30 -> ../../sda
lrwxrwxrwx 1 root root 10 Sep 16 21:17 wwn-0x5002538844584d30-part1 -> ../../sda1
lrwxrwxrwx 1 root root 10 Sep 16 21:17 wwn-0x5002538844584d30-part2 -> ../../sda2
lrwxrwxrwx 1 root root 10 Sep 16 21:17 wwn-0x5002538844584d30-part3 -> ../../sda3
lrwxrwxrwx 1 root root 10 Sep 16 21:17 wwn-0x5002538844584d30-part4 -> ../../sda4
lrwxrwxrwx 1 root root 10 Sep 16 21:17 wwn-0x5002538844584d30-part5 -> ../../sda5

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

Device           Mount_Point              Type       Options

/dev/loop0       /rofs                    squashfs   (ro,noatime)
/dev/sda4        /mnt                     ext4       (rw,relatime)
/dev/sr0         /cdrom                   iso9660    (ro,noatime,nojoliet,check=s,map=n,blocksize=2048)


=========================== sda4/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,gpt4'
if [ x$feature_platform_search_hint = xy ]; then
  search --no-floppy --fs-uuid --set=root --hint-bios=hd0,gpt4 --hint-efi=hd0,gpt4 --hint-baremetal=ahci0,gpt4  0657d689-4708-4e4a-bf84-79ddd49036ff
else
  search --no-floppy --fs-uuid --set=root 0657d689-4708-4e4a-bf84-79ddd49036ff
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=C
  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 ###
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-0657d689-4708-4e4a-bf84-79ddd49036ff' {
	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,gpt4'
	if [ x$feature_platform_search_hint = xy ]; then
	  search --no-floppy --fs-uuid --set=root --hint-bios=hd0,gpt4 --hint-efi=hd0,gpt4 --hint-baremetal=ahci0,gpt4  0657d689-4708-4e4a-bf84-79ddd49036ff
	else
	  search --no-floppy --fs-uuid --set=root 0657d689-4708-4e4a-bf84-79ddd49036ff
	fi
        linux	/boot/vmlinuz-4.15.0-58-generic root=UUID=0657d689-4708-4e4a-bf84-79ddd49036ff ro  quiet splash acpi_osi="Windows 2013" $vt_handoff
	initrd	/boot/initrd.img-4.15.0-58-generic
}
submenu 'Advanced options for Ubuntu' $menuentry_id_option 'gnulinux-advanced-0657d689-4708-4e4a-bf84-79ddd49036ff' {
	menuentry 'Ubuntu, with Linux 4.15.0-58-generic' --class ubuntu --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-4.15.0-58-generic-advanced-0657d689-4708-4e4a-bf84-79ddd49036ff' {
		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,gpt4'
		if [ x$feature_platform_search_hint = xy ]; then
		  search --no-floppy --fs-uuid --set=root --hint-bios=hd0,gpt4 --hint-efi=hd0,gpt4 --hint-baremetal=ahci0,gpt4  0657d689-4708-4e4a-bf84-79ddd49036ff
		else
		  search --no-floppy --fs-uuid --set=root 0657d689-4708-4e4a-bf84-79ddd49036ff
		fi
		echo	'Loading Linux 4.15.0-58-generic ...'
	        linux	/boot/vmlinuz-4.15.0-58-generic root=UUID=0657d689-4708-4e4a-bf84-79ddd49036ff ro  quiet splash acpi_osi="Windows 2013" $vt_handoff
		echo	'Loading initial ramdisk ...'
		initrd	/boot/initrd.img-4.15.0-58-generic
	}
	menuentry 'Ubuntu, with Linux 4.15.0-58-generic (safe mode)' --class ubuntu --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-4.15.0-58-generic-recovery-0657d689-4708-4e4a-bf84-79ddd49036ff' {
		recordfail
		load_video
		insmod gzio
		if [ x$grub_platform = xxen ]; then insmod xzio; insmod lzopio; fi
		insmod part_gpt
		insmod ext2
		set root='hd0,gpt4'
		if [ x$feature_platform_search_hint = xy ]; then
		  search --no-floppy --fs-uuid --set=root --hint-bios=hd0,gpt4 --hint-efi=hd0,gpt4 --hint-baremetal=ahci0,gpt4  0657d689-4708-4e4a-bf84-79ddd49036ff
		else
		  search --no-floppy --fs-uuid --set=root 0657d689-4708-4e4a-bf84-79ddd49036ff
		fi
		echo	'Loading Linux 4.15.0-58-generic ...'
	        linux	/boot/vmlinuz-4.15.0-58-generic root=UUID=0657d689-4708-4e4a-bf84-79ddd49036ff ro recovery nomodeset 
		echo	'Loading initial ramdisk ...'
		initrd	/boot/initrd.img-4.15.0-58-generic
	}
	menuentry 'Ubuntu, with Linux 4.15.0-54-generic' --class ubuntu --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-4.15.0-54-generic-advanced-0657d689-4708-4e4a-bf84-79ddd49036ff' {
		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,gpt4'
		if [ x$feature_platform_search_hint = xy ]; then
		  search --no-floppy --fs-uuid --set=root --hint-bios=hd0,gpt4 --hint-efi=hd0,gpt4 --hint-baremetal=ahci0,gpt4  0657d689-4708-4e4a-bf84-79ddd49036ff
		else
		  search --no-floppy --fs-uuid --set=root 0657d689-4708-4e4a-bf84-79ddd49036ff
		fi
		echo	'Loading Linux 4.15.0-54-generic ...'
	        linux	/boot/vmlinuz-4.15.0-54-generic root=UUID=0657d689-4708-4e4a-bf84-79ddd49036ff ro  quiet splash acpi_osi="Windows 2013" $vt_handoff
		echo	'Loading initial ramdisk ...'
		initrd	/boot/initrd.img-4.15.0-54-generic
	}
	menuentry 'Ubuntu, with Linux 4.15.0-54-generic (safe mode)' --class ubuntu --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-4.15.0-54-generic-recovery-0657d689-4708-4e4a-bf84-79ddd49036ff' {
		recordfail
		load_video
		insmod gzio
		if [ x$grub_platform = xxen ]; then insmod xzio; insmod lzopio; fi
		insmod part_gpt
		insmod ext2
		set root='hd0,gpt4'
		if [ x$feature_platform_search_hint = xy ]; then
		  search --no-floppy --fs-uuid --set=root --hint-bios=hd0,gpt4 --hint-efi=hd0,gpt4 --hint-baremetal=ahci0,gpt4  0657d689-4708-4e4a-bf84-79ddd49036ff
		else
		  search --no-floppy --fs-uuid --set=root 0657d689-4708-4e4a-bf84-79ddd49036ff
		fi
		echo	'Loading Linux 4.15.0-54-generic ...'
	        linux	/boot/vmlinuz-4.15.0-54-generic root=UUID=0657d689-4708-4e4a-bf84-79ddd49036ff ro recovery nomodeset 
		echo	'Loading initial ramdisk ...'
		initrd	/boot/initrd.img-4.15.0-54-generic
	}
	menuentry 'Ubuntu, with Linux 4.15.0-52-generic' --class ubuntu --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-4.15.0-52-generic-advanced-0657d689-4708-4e4a-bf84-79ddd49036ff' {
		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,gpt4'
		if [ x$feature_platform_search_hint = xy ]; then
		  search --no-floppy --fs-uuid --set=root --hint-bios=hd0,gpt4 --hint-efi=hd0,gpt4 --hint-baremetal=ahci0,gpt4  0657d689-4708-4e4a-bf84-79ddd49036ff
		else
		  search --no-floppy --fs-uuid --set=root 0657d689-4708-4e4a-bf84-79ddd49036ff
		fi
		echo	'Loading Linux 4.15.0-52-generic ...'
	        linux	/boot/vmlinuz-4.15.0-52-generic root=UUID=0657d689-4708-4e4a-bf84-79ddd49036ff ro  quiet splash acpi_osi="Windows 2013" $vt_handoff
		echo	'Loading initial ramdisk ...'
		initrd	/boot/initrd.img-4.15.0-52-generic
	}
	menuentry 'Ubuntu, with Linux 4.15.0-52-generic (safe mode)' --class ubuntu --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-4.15.0-52-generic-recovery-0657d689-4708-4e4a-bf84-79ddd49036ff' {
		recordfail
		load_video
		insmod gzio
		if [ x$grub_platform = xxen ]; then insmod xzio; insmod lzopio; fi
		insmod part_gpt
		insmod ext2
		set root='hd0,gpt4'
		if [ x$feature_platform_search_hint = xy ]; then
		  search --no-floppy --fs-uuid --set=root --hint-bios=hd0,gpt4 --hint-efi=hd0,gpt4 --hint-baremetal=ahci0,gpt4  0657d689-4708-4e4a-bf84-79ddd49036ff
		else
		  search --no-floppy --fs-uuid --set=root 0657d689-4708-4e4a-bf84-79ddd49036ff
		fi
		echo	'Loading Linux 4.15.0-52-generic ...'
	        linux	/boot/vmlinuz-4.15.0-52-generic root=UUID=0657d689-4708-4e4a-bf84-79ddd49036ff ro recovery nomodeset 
		echo	'Loading initial ramdisk ...'
		initrd	/boot/initrd.img-4.15.0-52-generic
	}
	menuentry 'Ubuntu, with Linux 4.4.0-135-generic' --class ubuntu --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-4.4.0-135-generic-advanced-0657d689-4708-4e4a-bf84-79ddd49036ff' {
		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,gpt4'
		if [ x$feature_platform_search_hint = xy ]; then
		  search --no-floppy --fs-uuid --set=root --hint-bios=hd0,gpt4 --hint-efi=hd0,gpt4 --hint-baremetal=ahci0,gpt4  0657d689-4708-4e4a-bf84-79ddd49036ff
		else
		  search --no-floppy --fs-uuid --set=root 0657d689-4708-4e4a-bf84-79ddd49036ff
		fi
		echo	'Loading Linux 4.4.0-135-generic ...'
	        linux	/boot/vmlinuz-4.4.0-135-generic root=UUID=0657d689-4708-4e4a-bf84-79ddd49036ff ro  quiet splash acpi_osi="Windows 2013" $vt_handoff
		echo	'Loading initial ramdisk ...'
		initrd	/boot/initrd.img-4.4.0-135-generic
	}
	menuentry 'Ubuntu, with Linux 4.4.0-135-generic (safe mode)' --class ubuntu --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-4.4.0-135-generic-recovery-0657d689-4708-4e4a-bf84-79ddd49036ff' {
		recordfail
		load_video
		insmod gzio
		if [ x$grub_platform = xxen ]; then insmod xzio; insmod lzopio; fi
		insmod part_gpt
		insmod ext2
		set root='hd0,gpt4'
		if [ x$feature_platform_search_hint = xy ]; then
		  search --no-floppy --fs-uuid --set=root --hint-bios=hd0,gpt4 --hint-efi=hd0,gpt4 --hint-baremetal=ahci0,gpt4  0657d689-4708-4e4a-bf84-79ddd49036ff
		else
		  search --no-floppy --fs-uuid --set=root 0657d689-4708-4e4a-bf84-79ddd49036ff
		fi
		echo	'Loading Linux 4.4.0-135-generic ...'
	        linux	/boot/vmlinuz-4.4.0-135-generic root=UUID=0657d689-4708-4e4a-bf84-79ddd49036ff ro recovery nomodeset 
		echo	'Loading initial ramdisk ...'
		initrd	/boot/initrd.img-4.4.0-135-generic
	}
	menuentry 'Ubuntu, with Linux 3.13.0-92-generic' --class ubuntu --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-3.13.0-92-generic-advanced-0657d689-4708-4e4a-bf84-79ddd49036ff' {
		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,gpt4'
		if [ x$feature_platform_search_hint = xy ]; then
		  search --no-floppy --fs-uuid --set=root --hint-bios=hd0,gpt4 --hint-efi=hd0,gpt4 --hint-baremetal=ahci0,gpt4  0657d689-4708-4e4a-bf84-79ddd49036ff
		else
		  search --no-floppy --fs-uuid --set=root 0657d689-4708-4e4a-bf84-79ddd49036ff
		fi
		echo	'Loading Linux 3.13.0-92-generic ...'
	        linux	/boot/vmlinuz-3.13.0-92-generic root=UUID=0657d689-4708-4e4a-bf84-79ddd49036ff ro  quiet splash acpi_osi="Windows 2013" $vt_handoff
		echo	'Loading initial ramdisk ...'
		initrd	/boot/initrd.img-3.13.0-92-generic
	}
	menuentry 'Ubuntu, with Linux 3.13.0-92-generic (safe mode)' --class ubuntu --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-3.13.0-92-generic-recovery-0657d689-4708-4e4a-bf84-79ddd49036ff' {
		recordfail
		load_video
		insmod gzio
		if [ x$grub_platform = xxen ]; then insmod xzio; insmod lzopio; fi
		insmod part_gpt
		insmod ext2
		set root='hd0,gpt4'
		if [ x$feature_platform_search_hint = xy ]; then
		  search --no-floppy --fs-uuid --set=root --hint-bios=hd0,gpt4 --hint-efi=hd0,gpt4 --hint-baremetal=ahci0,gpt4  0657d689-4708-4e4a-bf84-79ddd49036ff
		else
		  search --no-floppy --fs-uuid --set=root 0657d689-4708-4e4a-bf84-79ddd49036ff
		fi
		echo	'Loading Linux 3.13.0-92-generic ...'
	        linux	/boot/vmlinuz-3.13.0-92-generic root=UUID=0657d689-4708-4e4a-bf84-79ddd49036ff ro recovery nomodeset 
		echo	'Loading initial ramdisk ...'
		initrd	/boot/initrd.img-3.13.0-92-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/25_custom ###

menuentry "EFI/BOOT/bkpbootx64.efi" {
search --fs-uuid --no-floppy --set=root F77D-A901
chainloader (${root})/EFI/BOOT/bkpbootx64.efi
}

menuentry "EFI/BOOT/fbx64.efi" {
search --fs-uuid --no-floppy --set=root F77D-A901
chainloader (${root})/EFI/BOOT/fbx64.efi
}

menuentry "EFI/ubuntu/mmx64.efi" {
search --fs-uuid --no-floppy --set=root F77D-A901
chainloader (${root})/EFI/ubuntu/mmx64.efi
}

menuentry "efi/boot/bkpbootx64.efi" {
search --fs-uuid --no-floppy --set=root 4474-C0EA
chainloader (${root})/efi/boot/bkpbootx64.efi
}
### END /etc/grub.d/25_custom ###

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

### BEGIN /etc/grub.d/99_dell_recovery ###
menuentry "Restore Ubuntu 14.04 to factory state" {
        search --no-floppy --hint '(hd0,msdos3)' --set --fs-uuid 4474-C0EA
        set uuid_options="uuid=4474-C0EA"
        if [ -s /factory/common.cfg ]; then
            source /factory/common.cfg
        else
            set options="boot=casper automatic-ubiquity noprompt quiet splash"
        fi
        #Support starting from a loopback mount (Only support ubuntu.iso for filename)
        if [ -f /ubuntu.iso ]; then
            loopback loop /ubuntu.iso
            set root=(loop)
            set options="$options iso-scan/filename=/ubuntu.iso"
        fi
        if [ -n "${lang}" ]; then
            set options="$options locale=$lang"
        fi

        linux   /casper/vmlinuz.efi dell-recovery/recovery_type=hdd $uuid_options $options 
	initrd	/casper/initrd.lz
}
### END /etc/grub.d/99_dell_recovery ###
--------------------------------------------------------------------------------

=============================== sda4/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/sda4 during installation
UUID=0657d689-4708-4e4a-bf84-79ddd49036ff /               ext4    errors=remount-ro 0       1
# /boot/efi was on /dev/sda1 during installation
#UUID=E24C-6AD2  /boot/efi       vfat    defaults        0       1
# swap was on /dev/sda5 during installation
UUID=3bba6e65-eb8e-45c1-9214-b45cdb3d2a44 none            swap    sw              0       0
UUID=F77D-A901	/boot/efi	vfat	defaults	0	1
--------------------------------------------------------------------------------

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

           GiB - GB             File                                 Fragment(s)

   3.528331757 = 3.788517376    boot/grub/grub.cfg                             1
  97.830627441 = 105.044836352  boot/vmlinuz-3.13.0-92-generic                 2
 156.133697510 = 167.647281152  boot/vmlinuz-4.15.0-52-generic                 2
 160.106353760 = 171.912888320  boot/vmlinuz-4.15.0-54-generic                 2
  18.067298889 = 19.399614464   boot/vmlinuz-4.15.0-58-generic                 1
  95.307266235 = 102.335397888  boot/vmlinuz-4.4.0-135-generic                 1
  18.067298889 = 19.399614464   vmlinuz                                        1
 160.106353760 = 171.912888320  vmlinuz.old                                    2
 197.316894531 = 211.867402240  boot/initrd.img-3.13.0-92-generic              3
 196.884418488 = 211.403034624  boot/initrd.img-4.15.0-52-generic              1
  18.977729797 = 20.377182208   boot/initrd.img-4.15.0-54-generic              2
  19.034851074 = 20.438515712   boot/initrd.img-4.15.0-58-generic              2
 197.283714294 = 211.831775232  boot/initrd.img-4.4.0-135-generic              2
  19.034851074 = 20.438515712   initrd.img                                     2
  18.977729797 = 20.377182208   initrd.img.old                                 2

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

Unknown GPT Partiton Type
d3ad6b79bf6b9f4db631466eb71a4965

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

File descriptor 9 (/proc/30531/mountinfo) leaked on lvs invocation. Parent PID 10595: bash
File descriptor 63 (pipe:[113786]) leaked on lvs invocation. Parent PID 10595: bash

ADDITIONAL INFORMATION :
=================== log of boot-repair 20190916_2117 ===================
boot-repair version : 4ppa66
boot-sav version : 4ppa66
boot-sav-extra version : 4ppa66
glade2script version : 3.2.3~ppa4
Warning: failed to translate partition name
Warning: Unable to open /dev/sr0 read-write (Read-only file system).  /dev/sr0 has been opened read-only.
boot-repair is executed in live-session (Ubuntu 18.04.2 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/sda4:Ubuntu 18.04.3 LTS (18.04):Ubuntu:linux

=================== blkid:
/dev/sda1: UUID="F77D-A901" TYPE="vfat" PARTLABEL="EFI system partition" PARTUUID="e180ea37-2cef-4ce3-850e-bde79bc4887b"
/dev/sda2: LABEL="DIAGS" UUID="4C74-1FB1" TYPE="vfat" PARTLABEL="Basic data partition" PARTUUID="55345d03-e7e5-4c67-a0a3-3c58f6fe9016"
/dev/sda3: LABEL="OS" UUID="4474-C0EA" TYPE="vfat" PARTLABEL="Basic data partition" PARTUUID="9e910714-4b97-4628-b544-a5a08ded746a"
/dev/sda4: UUID="0657d689-4708-4e4a-bf84-79ddd49036ff" TYPE="ext4" PARTUUID="e4a28b61-d69b-4c62-85de-e2e801f2ad4a"
/dev/sr0: UUID="2019-02-10-00-27-34-00" LABEL="Ubuntu 18.04.2 LTS amd64" TYPE="iso9660" PTUUID="40993ab6" PTTYPE="dos"
/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/sda5: UUID="3bba6e65-eb8e-45c1-9214-b45cdb3d2a44" TYPE="swap" PARTUUID="bbc7337d-005f-46c2-b9c8-95b517be70da"


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

Presence of EFI/Boot file detected: /mnt/boot/efi/EFI/Boot/fbx64.efi
=================== No kernel in /mnt/boot-sav/sda3/boot:
efi.img
grub


Presence of EFI/Boot file detected: /mnt/boot-sav/sda3/EFI/Boot/bootx64.efi
Presence of EFI/Boot file detected: /mnt/boot-sav/sda3/EFI/Boot/grubx64.efi

=================== /mnt/etc/grub.d/ :
drwxr-xr-x  2 root root        4096 Apr 17 07:17 grub.d
total 84
-rwxr-xr-x 1 root root 10046 Feb  7  2019 00_header
-rwxr-xr-x 1 root root  6258 Mar 15  2016 05_debian_theme
-rwxr-xr-x 1 root root 12693 Aug 23  2018 10_linux
-rwxr-xr-x 1 root root 11298 Aug 23  2018 20_linux_xen
-rwxr-xr-x 1 root root  1992 Mar 12  2014 20_memtest86+
-rwxr-xr-x 1 root root 12059 Aug 23  2018 30_os-prober
-rwxr-xr-x 1 root root  1418 Jun 17  2016 30_uefi-firmware
-rwxr-xr-x 1 root root   214 Apr 11  2014 40_custom
-rwxr-xr-x 1 root root   216 Apr 11  2014 41_custom
-rwxr-xr-x 1 root root   912 Jul 29  2015 99_dell_recovery
-rw-r--r-- 1 root root   483 Apr 11  2014 README




=================== /mnt/etc/default/grub :

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

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

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

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

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

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

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

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



/boot/efi detected in the fstab of sda4: UUID=E24C-6AD2   ()

=================== sda4recordfail=1/grub/grubenv :
recordfail=1



/usr/share/boot-sav/bs-cmd_terminal.sh: line 179: warning: command substitution: ignored null byte in input

=================== efibootmgr -v
BootCurrent: 0009
Timeout: 1 seconds
BootOrder: 0000,0009,0006,0007
Boot0006* UEFI: SAMSUNG SSD PM851 M.2 2280 256GB	PciRoot(0x0)/Pci(0x1f,0x2)/Sata(3,65535,0)/HD(1,GPT,e180ea37-2cef-4ce3-850e-bde79bc4887b,0x800,0xfa000)..BO
Boot0007* UEFI: SAMSUNG SSD PM851 M.2 2280 256GB	PciRoot(0x0)/Pci(0x1f,0x2)/Sata(3,65535,0)/HD(3,GPT,9e910714-4b97-4628-b544-a5a08ded746a,0x10e800,0x600000)..BO
Boot0009* UEFI: Toshiba SuperMultiPA3761TO01	PciRoot(0x0)/Pci(0x1d,0x0)/USB(0,0)/USB(1,0)/CDROM(1,0xe9d2b,0x1340)..BO
Boot0010* CD/DVD/CD-RW Drive	BBS(CDROM,Toshiba SuperMultiPA3761TO01,0x0)..BO

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


=================== PARTITIONS & DISKS:
sda1	: sda,	not-sepboot,	no-grubenv	nogrub,	no-docgrub,	no-update-grub,	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/efi.
sda2	: sda,	not-sepboot,	no-grubenv	nogrub,	no-docgrub,	no-update-grub,	32,	no-boot,	no-os,	not--efi--part,	part-has-no-fstab,	part-has-no-fstab,	no-nt,	no-winload,	recovery-or-hidden,	no-bmgr,	notwinboot,	nopakmgr,	nogrubinstall,	no---usr,	part-has-no-fstab,	not-sep-usr,	standard,	not-far,	notbiosboot, /mnt/boot-sav/sda2.
sda3	: sda,	not-sepboot,	no-grubenv	nogrub,	no-docgrub,	no-update-grub,	32,	no-kernel,	no-os,	is-maybe-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/sda3.
sda4	: sda,	not-sepboot,	grubenv-ng	grub2,	signed 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.

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


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

BYT;
/dev/sda:256GB:scsi:512:512:gpt:ATA SAMSUNG SSD PM85:;
1:1049kB:525MB:524MB:fat32:EFI system partition:boot, esp;
2:525MB:567MB:41.9MB:fat32::hidden;
3:567MB:3789MB:3221MB:fat32:Basic data partition:msftdata;
4:3789MB:239GB:235GB:ext4::;
5:239GB:256GB:17.0GB:linux-swap(v1)::;

BYT;
/dev/sr0:1996MB:scsi:2048:2048:mac:Toshiba SuperMultiPA3761:;
1:2048B:6143B:4096B::Apple:;
2:1961MB:1964MB:2523kB::EFI:;

=================== lsblk:
KNAME TYPE FSTYPE     SIZE LABEL
loop0 loop squashfs   1.8G
loop1 loop squashfs    91M
loop2 loop squashfs  34.6M
loop3 loop squashfs 140.7M
loop4 loop squashfs   2.3M
loop5 loop squashfs    13M
loop6 loop squashfs  14.5M
loop7 loop squashfs   3.7M
sda   disk          238.5G
sda1  part vfat       500M
sda2  part vfat        40M DIAGS
sda3  part vfat         3G OS
sda4  part ext4     219.1G
sda5  part swap      15.8G
sr0   rom  iso9660    1.9G Ubuntu 18.04.2 LTS amd64

KNAME ROTA RO RM STATE   MOUNTPOINT
loop0    1  1  0         /rofs
loop1    1  1  0         /snap/core/6350
loop2    1  1  0         /snap/gtk-common-themes/818
loop3    1  1  0         /snap/gnome-3-26-1604/74
loop4    1  1  0         /snap/gnome-calculator/260
loop5    1  1  0         /snap/gnome-characters/139
loop6    1  1  0         /snap/gnome-logs/45
loop7    1  1  0         /snap/gnome-system-monitor/57
sda      0  0  0 running
sda1     0  0  0         /mnt/boot/efi
sda2     0  0  0         /mnt/boot-sav/sda2
sda3     0  0  0         /mnt/boot-sav/sda3
sda4     0  0  0         /mnt
sda5     0  0  0         [SWAP]
sr0      1  0  1 running /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=4012880k,nr_inodes=1003220,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=807068k,mode=755)
/dev/sr0 on /cdrom type iso9660 (ro,noatime,nojoliet,check=s,map=n,blocksize=2048)
/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/cpu,cpuacct type cgroup (rw,nosuid,nodev,noexec,relatime,cpu,cpuacct)
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/perf_event type cgroup (rw,nosuid,nodev,noexec,relatime,perf_event)
cgroup on /sys/fs/cgroup/cpuset type cgroup (rw,nosuid,nodev,noexec,relatime,cpuset)
cgroup on /sys/fs/cgroup/blkio type cgroup (rw,nosuid,nodev,noexec,relatime,blkio)
cgroup on /sys/fs/cgroup/freezer type cgroup (rw,nosuid,nodev,noexec,relatime,freezer)
cgroup on /sys/fs/cgroup/hugetlb type cgroup (rw,nosuid,nodev,noexec,relatime,hugetlb)
cgroup on /sys/fs/cgroup/memory type cgroup (rw,nosuid,nodev,noexec,relatime,memory)
cgroup on /sys/fs/cgroup/rdma type cgroup (rw,nosuid,nodev,noexec,relatime,rdma)
cgroup on /sys/fs/cgroup/pids type cgroup (rw,nosuid,nodev,noexec,relatime,pids)
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=15007)
debugfs on /sys/kernel/debug type debugfs (rw,relatime)
mqueue on /dev/mqueue type mqueue (rw,relatime)
hugetlbfs on /dev/hugepages type hugetlbfs (rw,relatime,pagesize=2M)
tracefs on /sys/kernel/debug/tracing type tracefs (rw,relatime)
fusectl on /sys/fs/fuse/connections type fusectl (rw,relatime)
configfs on /sys/kernel/config type configfs (rw,relatime)
tmpfs on /tmp type tmpfs (rw,nosuid,nodev,relatime)
tmpfs on /run/user/999 type tmpfs (rw,nosuid,nodev,relatime,size=807064k,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_6350.snap on /snap/core/6350 type squashfs (ro,nodev,relatime,x-gdu.hide)
/var/lib/snapd/snaps/gtk-common-themes_818.snap on /snap/gtk-common-themes/818 type squashfs (ro,nodev,relatime,x-gdu.hide)
/var/lib/snapd/snaps/gnome-3-26-1604_74.snap on /snap/gnome-3-26-1604/74 type squashfs (ro,nodev,relatime,x-gdu.hide)
/var/lib/snapd/snaps/gnome-calculator_260.snap on /snap/gnome-calculator/260 type squashfs (ro,nodev,relatime,x-gdu.hide)
/var/lib/snapd/snaps/gnome-characters_139.snap on /snap/gnome-characters/139 type squashfs (ro,nodev,relatime,x-gdu.hide)
/var/lib/snapd/snaps/gnome-logs_45.snap on /snap/gnome-logs/45 type squashfs (ro,nodev,relatime,x-gdu.hide)
/var/lib/snapd/snaps/gnome-system-monitor_57.snap on /snap/gnome-system-monitor/57 type squashfs (ro,nodev,relatime,x-gdu.hide)
/dev/sda4 on /mnt type ext4 (rw,relatime)
/dev/sda1 on /mnt/boot/efi type vfat (rw,relatime,fmask=0022,dmask=0022,codepage=437,iocharset=iso8859-1,shortname=mixed,errors=remount-ro)
udev on /mnt/dev type devtmpfs (rw,nosuid,relatime,size=4012880k,nr_inodes=1003220,mode=755)
devpts on /mnt/dev/pts type devpts (rw,nosuid,noexec,relatime,gid=5,mode=620,ptmxmode=000)
devpts on /dev/pts type devpts (rw,nosuid,noexec,relatime,gid=5,mode=620,ptmxmode=000)
proc on /mnt/proc type proc (rw,nosuid,nodev,noexec,relatime)
sysfs on /mnt/sys type sysfs (rw,nosuid,nodev,noexec,relatime)
tmpfs on /mnt/run type tmpfs (rw,nosuid,noexec,relatime,size=807068k,mode=755)
/dev/sda2 on /mnt/boot-sav/sda2 type vfat (rw,relatime,fmask=0022,dmask=0022,codepage=437,iocharset=iso8859-1,shortname=mixed,errors=remount-ro)
/dev/sda3 on /mnt/boot-sav/sda3 type vfat (rw,relatime,fmask=0022,dmask=0022,codepage=437,iocharset=iso8859-1,shortname=mixed,errors=remount-ro)


=================== 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 power queue range removable ro sda1 sda2 sda3 sda4 sda5 size slaves stat subsystem trace uevent
/sys/block/sr0 (filtered):  alignment_offset bdi capability dev device discard_alignment events events_async events_poll_msecs ext_range hidden holders inflight integrity power queue range removable ro size slaves stat subsystem trace uevent
/dev (filtered):  acpi_thermal_rel autofs block bsg btrfs-control bus cdrom cdrw char console core cpu cpu_dma_latency cuse disk dri drm_dp_aux0 drm_dp_aux1 dvd dvdrw ecryptfs fb0 fd full fuse gpiochip0 hidraw0 hidraw1 hidraw2 hidraw3 hidraw4 hidraw5 hpet hugepages hwrng i2c-0 i2c-1 i2c-2 i2c-3 i2c-4 i2c-5 i2c-6 i2c-7 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 sda1 sda2 sda3 sda4 sda5 sg0 sg1 shm snapshot snd sr0 stderr stdin stdout uhid uinput urandom usb userio v4l vfio vga_arbiter vhci vhost-net vhost-vsock video0 video1 zero
ls /dev/mapper:  control

=================== hexdump -n512 -C /dev/sda1
00000000  eb 58 90 6d 6b 66 73 2e  66 61 74 00 02 08 20 00  |.X.mkfs.fat... .|
00000010  02 00 00 00 00 f8 00 00  3f 00 ff 00 00 08 00 00  |........?.......|
00000020  00 a0 0f 00 e8 03 00 00  00 00 00 00 02 00 00 00  |................|
00000030  01 00 06 00 00 00 00 00  00 00 00 00 00 00 00 00  |................|
00000040  80 01 29 01 a9 7d f7 4e  4f 20 4e 41 4d 45 20 20  |..)..}.NO NAME  |
00000050  20 20 46 41 54 33 32 20  20 20 0e 1f be 77 7c ac  |  FAT32   ...w|.|
00000060  22 c0 74 0b 56 b4 0e bb  07 00 cd 10 5e eb f0 32  |".t.V.......^..2|
00000070  e4 cd 16 cd 19 eb fe 54  68 69 73 20 69 73 20 6e  |.......This is n|
00000080  6f 74 20 61 20 62 6f 6f  74 61 62 6c 65 20 64 69  |ot a bootable di|
00000090  73 6b 2e 20 20 50 6c 65  61 73 65 20 69 6e 73 65  |sk.  Please inse|
000000a0  72 74 20 61 20 62 6f 6f  74 61 62 6c 65 20 66 6c  |rt a bootable fl|
000000b0  6f 70 70 79 20 61 6e 64  0d 0a 70 72 65 73 73 20  |oppy and..press |
000000c0  61 6e 79 20 6b 65 79 20  74 6f 20 74 72 79 20 61  |any key to try a|
000000d0  67 61 69 6e 20 2e 2e 2e  20 0d 0a 00 00 00 00 00  |gain ... .......|
000000e0  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

=================== hexdump -n512 -C /dev/sda2
00000000  eb 58 90 4d 53 44 4f 53  35 2e 30 00 02 01 7e 1b  |.X.MSDOS5.0...~.|
00000010  02 00 00 00 00 f8 00 00  3f 00 ff 00 00 a8 0f 00  |........?.......|
00000020  00 40 01 00 41 02 00 00  00 00 00 00 02 00 00 00  |.@..A...........|
00000030  01 00 06 00 00 00 00 00  00 00 00 00 00 00 00 00  |................|
00000040  80 01 29 b1 1f 74 4c 4e  4f 20 4e 41 4d 45 20 20  |..)..tLNO NAME  |
00000050  20 20 46 41 54 33 32 20  20 20 33 c9 8e d1 bc f4  |  FAT32   3.....|
00000060  7b 8e c1 8e d9 bd 00 7c  88 56 40 88 4e 02 8a 56  |{......|.V@.N..V|
00000070  40 b4 41 bb aa 55 cd 13  72 10 81 fb 55 aa 75 0a  |@.A..U..r...U.u.|
00000080  f6 c1 01 74 05 fe 46 02  eb 2d 8a 56 40 b4 08 cd  |...t..F..-.V@...|
00000090  13 73 05 b9 ff ff 8a f1  66 0f b6 c6 40 66 0f b6  |.s......f...@f..|
000000a0  d1 80 e2 3f f7 e2 86 cd  c0 ed 06 41 66 0f b7 c9  |...?.......Af...|
000000b0  66 f7 e1 66 89 46 f8 83  7e 16 00 75 39 83 7e 2a  |f..f.F..~..u9.~*|
000000c0  00 77 33 66 8b 46 1c 66  83 c0 0c bb 00 80 b9 01  |.w3f.F.f........|
000000d0  00 e8 2c 00 e9 a8 03 a1  f8 7d 80 c4 7c 8b f0 ac  |..,......}..|...|
000000e0  84 c0 74 17 3c ff 74 09  b4 0e bb 07 00 cd 10 eb  |..t.<.t.........|
000000f0  ee a1 fa 7d eb e4 a1 7d  80 eb df 98 cd 16 cd 19  |...}...}........|
00000100  66 60 80 7e 02 00 0f 84  20 00 66 6a 00 66 50 06  |f`.~.... .fj.fP.|
00000110  53 66 68 10 00 01 00 b4  42 8a 56 40 8b f4 cd 13  |Sfh.....B.V@....|
00000120  66 58 66 58 66 58 66 58  eb 33 66 3b 46 f8 72 03  |fXfXfXfX.3f;F.r.|
00000130  f9 eb 2a 66 33 d2 66 0f  b7 4e 18 66 f7 f1 fe c2  |..*f3.f..N.f....|
00000140  8a ca 66 8b d0 66 c1 ea  10 f7 76 1a 86 d6 8a 56  |..f..f....v....V|
00000150  40 8a e8 c0 e4 06 0a cc  b8 01 02 cd 13 66 61 0f  |@............fa.|
00000160  82 74 ff 81 c3 00 02 66  40 49 75 94 c3 42 4f 4f  |.t.....f@Iu..BOO|
00000170  54 4d 47 52 20 20 20 20  00 00 00 00 00 00 00 00  |TMGR    ........|
00000180  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 0d 0a 44 69  |..............Di|
000001b0  73 6b 20 65 72 72 6f 72  ff 0d 0a 50 72 65 73 73  |sk error...Press|
000001c0  20 61 6e 79 20 6b 65 79  20 74 6f 20 72 65 73 74  | any key to rest|
000001d0  61 72 74 0d 0a 00 00 00  00 00 00 00 00 00 00 00  |art.............|
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  ac 01 b9 01 00 00 55 aa  |..............U.|
00000200

=================== hexdump -n512 -C /dev/sda3
00000000  eb 58 90 4d 53 44 4f 53  35 2e 30 00 02 08 1e 10  |.X.MSDOS5.0.....|
00000010  02 00 00 00 00 f8 00 00  3f 00 ff 00 00 e8 10 00  |........?.......|
00000020  00 00 60 00 f1 17 00 00  00 00 00 00 02 00 00 00  |..`.............|
00000030  01 00 06 00 00 00 00 00  00 00 00 00 00 00 00 00  |................|
00000040  80 01 29 ea c0 74 44 4e  4f 20 4e 41 4d 45 20 20  |..)..tDNO NAME  |
00000050  20 20 46 41 54 33 32 20  20 20 33 c9 8e d1 bc f4  |  FAT32   3.....|
00000060  7b 8e c1 8e d9 bd 00 7c  88 56 40 88 4e 02 8a 56  |{......|.V@.N..V|
00000070  40 b4 41 bb aa 55 cd 13  72 10 81 fb 55 aa 75 0a  |@.A..U..r...U.u.|
00000080  f6 c1 01 74 05 fe 46 02  eb 2d 8a 56 40 b4 08 cd  |...t..F..-.V@...|
00000090  13 73 05 b9 ff ff 8a f1  66 0f b6 c6 40 66 0f b6  |.s......f...@f..|
000000a0  d1 80 e2 3f f7 e2 86 cd  c0 ed 06 41 66 0f b7 c9  |...?.......Af...|
000000b0  66 f7 e1 66 89 46 f8 83  7e 16 00 75 39 83 7e 2a  |f..f.F..~..u9.~*|
000000c0  00 77 33 66 8b 46 1c 66  83 c0 0c bb 00 80 b9 01  |.w3f.F.f........|
000000d0  00 e8 2c 00 e9 a8 03 a1  f8 7d 80 c4 7c 8b f0 ac  |..,......}..|...|
000000e0  84 c0 74 17 3c ff 74 09  b4 0e bb 07 00 cd 10 eb  |..t.<.t.........|
000000f0  ee a1 fa 7d eb e4 a1 7d  80 eb df 98 cd 16 cd 19  |...}...}........|
00000100  66 60 80 7e 02 00 0f 84  20 00 66 6a 00 66 50 06  |f`.~.... .fj.fP.|
00000110  53 66 68 10 00 01 00 b4  42 8a 56 40 8b f4 cd 13  |Sfh.....B.V@....|
00000120  66 58 66 58 66 58 66 58  eb 33 66 3b 46 f8 72 03  |fXfXfXfX.3f;F.r.|
00000130  f9 eb 2a 66 33 d2 66 0f  b7 4e 18 66 f7 f1 fe c2  |..*f3.f..N.f....|
00000140  8a ca 66 8b d0 66 c1 ea  10 f7 76 1a 86 d6 8a 56  |..f..f....v....V|
00000150  40 8a e8 c0 e4 06 0a cc  b8 01 02 cd 13 66 61 0f  |@............fa.|
00000160  82 74 ff 81 c3 00 02 66  40 49 75 94 c3 42 4f 4f  |.t.....f@Iu..BOO|
00000170  54 4d 47 52 20 20 20 20  00 00 00 00 00 00 00 00  |TMGR    ........|
00000180  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 0d 0a 44 69  |..............Di|
000001b0  73 6b 20 65 72 72 6f 72  ff 0d 0a 50 72 65 73 73  |sk error...Press|
000001c0  20 61 6e 79 20 6b 65 79  20 74 6f 20 72 65 73 74  | any key to rest|
000001d0  61 72 74 0d 0a 00 00 00  00 00 00 00 00 00 00 00  |art.............|
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  ac 01 b9 01 00 00 55 aa  |..............U.|
00000200

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

Filesystem     Type      Size  Used Avail Use% Mounted on
udev           devtmpfs  3.9G     0  3.9G   0% /dev
tmpfs          tmpfs     789M  1.9M  787M   1% /run
/dev/sr0       iso9660   1.9G  1.9G     0 100% /cdrom
/dev/loop0     squashfs  1.8G  1.8G     0 100% /rofs
/cow           overlay   3.9G  425M  3.5G  11% /
tmpfs          tmpfs     3.9G   42M  3.9G   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  456K  3.9G   1% /tmp
tmpfs          tmpfs     789M   44K  789M   1% /run/user/999
/dev/loop1     squashfs   91M   91M     0 100% /snap/core/6350
/dev/loop2     squashfs   35M   35M     0 100% /snap/gtk-common-themes/818
/dev/loop3     squashfs  141M  141M     0 100% /snap/gnome-3-26-1604/74
/dev/loop4     squashfs  2.3M  2.3M     0 100% /snap/gnome-calculator/260
/dev/loop5     squashfs   13M   13M     0 100% /snap/gnome-characters/139
/dev/loop6     squashfs   15M   15M     0 100% /snap/gnome-logs/45
/dev/loop7     squashfs  3.8M  3.8M     0 100% /snap/gnome-system-monitor/57
/dev/sda4      ext4      216G  158G   48G  77% /mnt
/dev/sda1      vfat      500M  6.1M  493M   2% /mnt/boot/efi
/dev/sda2      vfat       36M   512   36M   1% /mnt/boot-sav/sda2
/dev/sda3      vfat      3.0G  2.1G  936M  70% /mnt/boot-sav/sda3

=================== fdisk -l:
Disk /dev/loop0: 1.8 GiB, 1905045504 bytes, 3720792 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: 91 MiB, 95408128 bytes, 186344 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: 34.6 MiB, 36216832 bytes, 70736 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: 140.7 MiB, 147496960 bytes, 288080 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: 2.3 MiB, 2355200 bytes, 4600 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: 13 MiB, 13619200 bytes, 26600 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.5 MiB, 15208448 bytes, 29704 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: 3.7 MiB, 3878912 bytes, 7576 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: 238.5 GiB, 256060514304 bytes, 500118192 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disklabel type: gpt
Disk identifier: AB67824B-9B4A-416B-85D3-25A7DD36E089

Device         Start       End   Sectors   Size Type
/dev/sda1       2048   1026047   1024000   500M EFI System
/dev/sda2    1026048   1107967     81920    40M unknown
/dev/sda3    1107968   7399423   6291456     3G Microsoft basic data
/dev/sda4    7399424 466952191 459552768 219.1G Linux filesystem
/dev/sda5  466952192 500117503  33165312  15.8G Linux swap



=================== Recommended repair
The default repair of the Boot-Repair utility will reinstall the grub-efi-amd64-signed of sda4, using the following options:        sda1/boot/efi,
Additional repair will be performed: unhide-bootmenu-10s    use-standard-efi-file


/boot/efi added in sda4/fstab
sda4/boot/efi not empty
Mount sda1 on /mnt/boot/efi
efi files in sda1/efi: /ubuntu/shimx64.efi /ubuntu/mmx64.efi /ubuntu/grubx64.efi /BOOT/fbx64.efi
Unhide GRUB boot menu in sda4/etc/default/grub
lspci: Unable to load libkmod resources: error -12

*******lspci -nnk | grep -iA3 vga
00:02.0 VGA compatible controller [0300]: Intel Corporation HD Graphics 5500 [8086:1616] (rev 09)
Subsystem: Dell HD Graphics 5500 [1028:0665]
Kernel driver in use: i915
00:03.0 Audio device [0403]: Intel Corporation Broadwell-U Audio Controller [8086:160c] (rev 09)
*******

grub-install --version
grub-install (GRUB) 2.02-2ubuntu8.13,grub-install (GRUB) 2.

chroot /mnt efibootmgr -v
BootCurrent: 0009
Timeout: 1 seconds
BootOrder: 0000,0009,0006,0007
Boot0000* ubuntu	HD(1,GPT,e180ea37-2cef-4ce3-850e-bde79bc4887b,0x800,0xfa000)/File(EFIubuntushimx64.efi)
Boot0006* UEFI: SAMSUNG SSD PM851 M.2 2280 256GB	PciRoot(0x0)/Pci(0x1f,0x2)/Sata(3,65535,0)/HD(1,GPT,e180ea37-2cef-4ce3-850e-bde79bc4887b,0x800,0xfa000)..BO
Boot0007* UEFI: SAMSUNG SSD PM851 M.2 2280 256GB	PciRoot(0x0)/Pci(0x1f,0x2)/Sata(3,65535,0)/HD(3,GPT,9e910714-4b97-4628-b544-a5a08ded746a,0x10e800,0x600000)..BO
Boot0009* UEFI: Toshiba SuperMultiPA3761TO01	PciRoot(0x0)/Pci(0x1d,0x0)/USB(0,0)/USB(1,0)/CDROM(1,0xe9d2b,0x1340)..BO
Boot0010* CD/DVD/CD-RW Drive	BBS(CDROM,Toshiba SuperMultiPA3761TO01,0x0)..BO

chroot /mnt uname -r
Kernel: 4.18.0-15-generic

Reinstall the grub-efi-amd64-signed of sda4
Installing for x86_64-efi platform.
Installation finished. No error reported.
grub-install --efi-directory=/boot/efi --target=x86_64-efi --uefi-secure-boot : exit code of grub-install :0
efi files in sda1/efi: /ubuntu/shimx64.efi /ubuntu/mmx64.efi /ubuntu/grubx64.efi /BOOT/fbx64.efi
efi files in sda3/efi: /boot/grubx64.efi /boot/bootx64.efi
cp /mnt/boot/efi/EFI/ubuntu/shimx64.efi /mnt/boot-sav/sda3/efi/ubuntu/shimx64.efi
df /dev/sda1
Save and rename /mnt/boot/efi/EFI/Boot/bootx64.efi (/mnt/boot/efi/EFI/Boot/bkpbootx64.efi)
cp /mnt/boot/efi/EFI/ubuntu/shimx64.efi /mnt/boot/efi/EFI/Boot/bootx64.efi
efi files in sda1/efi: /ubuntu/shimx64.efi /ubuntu/mmx64.efi /ubuntu/grubx64.efi /BOOT/fbx64.efi /BOOT/bootx64.efi /BOOT/bkpbootx64.efi
Add /mnt/boot/efi efi entries in /mnt/etc/grub.d/25_custom
Adding custom /mnt/boot/efi/EFI/BOOT/bkpbootx64.efi
Adding custom /mnt/boot/efi/EFI/BOOT/fbx64.efi
Adding custom /mnt/boot/efi/EFI/ubuntu/mmx64.efi
df /dev/sda3
Save and rename /mnt/boot-sav/sda3/efi/Boot/bootx64.efi (/mnt/boot-sav/sda3/efi/Boot/bkpbootx64.efi)
cp /mnt/boot/efi/EFI/ubuntu/shimx64.efi /mnt/boot-sav/sda3/efi/Boot/bootx64.efi
efi files in sda3/efi: /ubuntu/shimx64.efi /boot/grubx64.efi /boot/bootx64.efi /boot/bkpbootx64.efi
Add /mnt/boot-sav/sda3 efi entries in /mnt/etc/grub.d/25_custom
Adding custom /mnt/boot-sav/sda3/efi/boot/bkpbootx64.efi
Installing for x86_64-efi platform.
Installation finished. No error reported.
grub-install --efi-directory=/boot/efi --target=x86_64-efi --uefi-secure-boot : exit code of grub-install :0

chroot /mnt efibootmgr -v
BootCurrent: 0009
Timeout: 1 seconds
BootOrder: 0000,0009,0006,0007
Boot0000* ubuntu	HD(1,GPT,e180ea37-2cef-4ce3-850e-bde79bc4887b,0x800,0xfa000)/File(EFIubuntushimx64.efi)
Boot0006* UEFI: SAMSUNG SSD PM851 M.2 2280 256GB	PciRoot(0x0)/Pci(0x1f,0x2)/Sata(3,65535,0)/HD(1,GPT,e180ea37-2cef-4ce3-850e-bde79bc4887b,0x800,0xfa000)..BO
Boot0007* UEFI: SAMSUNG SSD PM851 M.2 2280 256GB	PciRoot(0x0)/Pci(0x1f,0x2)/Sata(3,65535,0)/HD(3,GPT,9e910714-4b97-4628-b544-a5a08ded746a,0x10e800,0x600000)..BO
Boot0009* UEFI: Toshiba SuperMultiPA3761TO01	PciRoot(0x0)/Pci(0x1d,0x0)/USB(0,0)/USB(1,0)/CDROM(1,0xe9d2b,0x1340)..BO
Boot0010* CD/DVD/CD-RW Drive	BBS(CDROM,Toshiba SuperMultiPA3761TO01,0x0)..BO

chroot /mnt update-grub
Sourcing file `/etc/default/grub'
Sourcing file `/etc/default/grub.d/51_oem-grub-recovery-title.cfg'
Sourcing file `/etc/default/grub.d/53_set_acpi_osi.cfg'
Generating grub configuration file ...
Found linux image: /boot/vmlinuz-4.15.0-58-generic
Found initrd image: /boot/initrd.img-4.15.0-58-generic
Found linux image: /boot/vmlinuz-4.15.0-54-generic
Found initrd image: /boot/initrd.img-4.15.0-54-generic
Found linux image: /boot/vmlinuz-4.15.0-52-generic
Found initrd image: /boot/initrd.img-4.15.0-52-generic
Found linux image: /boot/vmlinuz-4.4.0-135-generic
Found initrd image: /boot/initrd.img-4.4.0-135-generic
Found linux image: /boot/vmlinuz-3.13.0-92-generic
Found initrd image: /boot/initrd.img-3.13.0-92-generic
Adding boot menu entry for EFI firmware configuration
Unhide GRUB boot menu in sda3/boot/grub/grub.cfg
Unhide GRUB boot menu in sda4/boot/grub/grub.cfg

Boot successfully repaired.

You can now reboot your computer.
Please do not forget to make your BIOS boot on sda1/EFI/ubuntu/shimx64.efi file!

On y voit l'effet de la réparation recommandée qui a créé une entrée pour Ubuntu (c'est vers la fin du rapport) :

Installing for x86_64-efi platform.
Installation finished. No error reported.
grub-install --efi-directory=/boot/efi --target=x86_64-efi --uefi-secure-boot : exit code of grub-install :0

chroot /mnt efibootmgr -v
BootCurrent: 0009
Timeout: 1 seconds
BootOrder: 0000,0009,0006,0007
Boot0000* ubuntu	HD(1,GPT,e180ea37-2cef-4ce3-850e-bde79bc4887b,0x800,0xfa000)/File(EFIubuntushimx64.efi)
Boot0006* UEFI: SAMSUNG SSD PM851 M.2 2280 256GB	PciRoot(0x0)/Pci(0x1f,0x2)/Sata(3,65535,0)/HD(1,GPT,e180ea37-2cef-4ce3-850e-bde79bc4887b,0x800,0xfa000)..BO
Boot0007* UEFI: SAMSUNG SSD PM851 M.2 2280 256GB	PciRoot(0x0)/Pci(0x1f,0x2)/Sata(3,65535,0)/HD(3,GPT,9e910714-4b97-4628-b544-a5a08ded746a,0x10e800,0x600000)..BO
Boot0009* UEFI: Toshiba SuperMultiPA3761TO01	PciRoot(0x0)/Pci(0x1d,0x0)/USB(0,0)/USB(1,0)/CDROM(1,0xe9d2b,0x1340)..BO
Boot0010* CD/DVD/CD-RW Drive	BBS(CDROM,Toshiba SuperMultiPA3761TO01,0x0)..BO

La ligne BootOrder indique que le démarrage par défaut se fait (après réparation) sur l'entrée 0000 qui est l'entrée pour Ubuntu. C'est pour cette raison qu'après cette réparation, tu t'es retrouvé avec le menu Grub au démarrage (le menu que tu as noté dans le post #22)

Dernière modification par malbo (Le 18/09/2019, à 09:43)

Hors ligne

#27 Le 18/09/2019, à 15:36

débutssurubuntu

Re : [Résolu] Bug démarrage : busybox, initframfs

Si tu souhaites le savoir et qu'il y a une méthode que tu peux m'indiquer, je veux bien te renseigner !
Bonne journée !
Fabien

Hors ligne