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 28/04/2018, à 11:53

TankG

Problème emergency

Bonjour à touste,
Mon ordi c'est mise sur emergency mode sans qu j'ai installé de programme ou fait de mise a jour particulière.
Je suis sur ubuntu s: versions 2.02  beta2-36ubuntu3.17 (afficher lord de mon démarrage)

Voici ce que me dit l'emergency mode
"Welcome to emergency mode! After logging in, type "journalctl -xb" to view system logs, "systemctl reboot" to reboot, "systemctl default" or D to try again to boot into default mode. Press enter for maintenance (or press dontrol-D to continue) :
root@clement-E402SA: ~#

Je suis tres novice en informatique et sur ubuntu..

Merce de votre aide

Hors ligne

#2 Le 28/04/2018, à 15:12

malbo

Re : Problème emergency

TankG a écrit :

Je suis sur ubuntu s: versions 2.02  beta2-36ubuntu3.17 (afficher lord de mon démarrage)

Cet affichage "2.02-beta2-36ubuntu3.17" correspond à Ubuntu 16.04. Donc ta version installée - mais malade pour l'instant - est très certainement Ubuntu 16.04.
Je te prie de réaliser une LiveUSB de cette version 16.04 en suivant ma "PROCÉDURE POUR CRÉER LA LIVE USB DEPUIS WINDOWS ". Cette recette te permet de réaliser cette LiveUSB sur n'importe quel ordi équipé de Windows. Toutefois, tu peux aussi la réaliser depuis un autre ordi équipé de Linux (avec UNetbootin ou un autre logiciel de création de LiveUSB).
Avec cette LiveUSB, tu pourras faire un Boot-Info et donner l'URL de ce Boot-Info dans ta réponse.

Dernière modification par malbo (Le 28/04/2018, à 15:13)

Hors ligne

#3 Le 29/04/2018, à 14:11

TankG

Re : Problème emergency

Merci, voici le liens que m'as donner le boot-info
http://paste.ubuntu.com/p/b9pghH2WCD/

Hors ligne

#4 Le 29/04/2018, à 14:55

malbo

Re : Problème emergency

Ton Boot-Info est là :

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


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

 => Syslinux MBR (3.61-4.03) is installed in the MBR of /dev/sda.

sda1: __________________________________________________________________________

    File system:       vfat
    Boot sector type:  SYSLINUX 4.03 2010-10-22 ........>..sr>.......s..9...0...~.....~...f...M.f.f....f..0~....>E}.u......
    Boot sector info:  Syslinux looks at sector 3265952 of /dev/sda1 for its 
                       second stage. SYSLINUX is installed in the  directory. 
                       No errors found in the Boot Parameter Block.
    Operating System:  
    Boot files:        /boot/grub/grub.cfg /syslinux.cfg /casper/vmlinuz.efi 
                       /EFI/BOOT/grubx64.efi /ldlinux.sys

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

Drive: sda _____________________________________________________________________
Disk /dev/sda: 3.7 GiB, 3999268864 bytes, 7811072 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disklabel type: dos

Partition  Boot  Start Sector    End Sector  # of Sectors  Id System

/dev/sda1    *          8,064     7,811,071     7,803,008   c W95 FAT32 (LBA)


"blkid" output: ________________________________________________________________

Device           UUID                                   TYPE       LABEL

/dev/loop0                                              squashfs   
/dev/mmcblk0                                                       
/dev/mmcblk0p1   96DB-B230                              vfat       
/dev/mmcblk0p2   e6cb18f1-2181-4ece-9d5f-3cae47308198   ext4       
/dev/mmcblk0p3   c95a11b0-e016-4639-89d3-70778812a20a   swap       
/dev/sda1        4626-4C93                              vfat       USB DISK

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

total 0
lrwxrwxrwx 1 root root 13 Apr 29 11:11 mmc-BJNB4R_0x60b64bfa -> ../../mmcblk0
lrwxrwxrwx 1 root root 15 Apr 29 11:11 mmc-BJNB4R_0x60b64bfa-part1 -> ../../mmcblk0p1
lrwxrwxrwx 1 root root 15 Apr 29 11:11 mmc-BJNB4R_0x60b64bfa-part2 -> ../../mmcblk0p2
lrwxrwxrwx 1 root root 15 Apr 29 11:11 mmc-BJNB4R_0x60b64bfa-part3 -> ../../mmcblk0p3
lrwxrwxrwx 1 root root  9 Apr 29 12:06 usb-_USB_DISK_2.0_07B615024C770629-0:0 -> ../../sda
lrwxrwxrwx 1 root root 10 Apr 29 12:06 usb-_USB_DISK_2.0_07B615024C770629-0:0-part1 -> ../../sda1

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

Device           Mount_Point              Type       Options

/dev/loop0       /rofs                    squashfs   (ro,noatime)
/dev/mmcblk0p2   /media/ubuntu/e6cb18f1-2181-4ece-9d5f-3cae47308198 ext4       (rw,nosuid,nodev,relatime,data=ordered,uhelper=udisks2)
/dev/sda1        /cdrom                   vfat       (ro,noatime,fmask=0022,dmask=0022,codepage=437,iocharset=iso8859-1,shortname=mixed,errors=remount-ro)


=========================== sda1/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

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

============================== sda1/syslinux.cfg: ==============================

--------------------------------------------------------------------------------
default menu.c32
prompt 0
menu title UNetbootin
timeout 100

label unetbootindefault
menu label Default
kernel /ubnkern
append initrd=/ubninit file=/cdrom/preseed/ubuntu.seed boot=casper quiet splash ---

label ubnentry0
menu label ^Help
kernel /ubnkern
append initrd=/ubninit 

label ubnentry1
menu label ^Try Ubuntu without installing
kernel /casper/vmlinuz.efi
append initrd=/casper/initrd.lz file=/cdrom/preseed/ubuntu.seed boot=casper  quiet splash ---

label ubnentry2
menu label ^Install Ubuntu
kernel /casper/vmlinuz.efi
append initrd=/casper/initrd.lz file=/cdrom/preseed/ubuntu.seed boot=casper only-ubiquity  quiet splash ---

label ubnentry3
menu label ^Check disc for defects
kernel /casper/vmlinuz.efi
append initrd=/casper/initrd.lz boot=casper integrity-check  quiet splash ---

label ubnentry4
menu label Test ^memory
kernel /install/mt86plus
append initrd=/ubninit 

label ubnentry5
menu label ^Boot from first hard disk
kernel /ubnkern
append initrd=/ubninit 

label ubnentry6
menu label Try Ubuntu without installing
kernel /casper/vmlinuz.efi
append initrd=/casper/initrd.lz file=/cdrom/preseed/ubuntu.seed boot=casper quiet splash ---

label ubnentry7
menu label Install Ubuntu
kernel /casper/vmlinuz.efi
append initrd=/casper/initrd.lz file=/cdrom/preseed/ubuntu.seed boot=casper only-ubiquity quiet splash ---

label ubnentry8
menu label OEM install (for manufacturers)
kernel /casper/vmlinuz.efi
append initrd=/casper/initrd.lz file=/cdrom/preseed/ubuntu.seed boot=casper only-ubiquity quiet splash oem-config/enable=true ---

label ubnentry9
menu label Check disc for defects
kernel /casper/vmlinuz.efi
append initrd=/casper/initrd.lz boot=casper integrity-check quiet splash ---

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

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

           GiB - GB             File                                 Fragment(s)

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

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

           GiB - GB             File                                 Fragment(s)

            ?? = ??             syslinux.cfg                                   1
            ?? = ??             ldlinux.sys                                    1
            ?? = ??             menu.c32                                       1

============== sda1: Version of COM32(R) files used by Syslinux: ===============

 menu.c32                           :  COM32R module (v4.xx)

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

File descriptor 9 (/proc/24518/mounts) leaked on lvs invocation. Parent PID 1429: bash
File descriptor 63 (pipe:[68881]) leaked on lvs invocation. Parent PID 1429: bash

ADDITIONAL INFORMATION :
=================== log of boot-info 20180429_1205 ===================
boot-info version : 4ppa65
boot-sav version : 4ppa65
boot-sav-extra version : 4ppa65
glade2script version : 3.2.3~ppa4
Error: /dev/mmcblk0rpmb: unrecognised disk label
Warning: Error fsyncing/closing /dev/mmcblk0rpmb: Input/output error
Error: /dev/mmcblk0boot0: unrecognised disk label
Error: /dev/mmcblk0boot1: unrecognised disk label
boot-info is executed in live-session (Ubuntu 16.04.4 LTS, xenial, Ubuntu, x86_64)
CPU op-mode(s):        32-bit, 64-bit
initrd=/ubninit file=/cdrom/preseed/ubuntu.seed boot=casper quiet splash --- BOOT_IMAGE=/ubnkern
ls: cannot access '/home/usr/.config': No such file or directory
mmcblk0 (sda) has unknown type. Please report this message to boot.repair@gmail.com
mount: /dev/mmcblk0 is already mounted or /mnt/boot-sav/mmcblk0 busy
mount /dev/mmcblk0 : Error code 32
mount -r /dev/mmcblk0 /mnt/boot-sav/mmcblk0
mount: /dev/mmcblk0 is already mounted or /mnt/boot-sav/mmcblk0 busy
mount -r /dev/mmcblk0 : Error code 32
cat: /sys/block/mmcblk0/mmcblk0boot0/start: No such file or directory
cat: /sys/block/mmcblk0/mmcblk0boot1/start: No such file or directory
cat: /sys/block/mmcblk0/mmcblk0rpmb/start: No such file or directory

=================== os-prober:
/dev/mmcblk0p2:Ubuntu 16.04.4 LTS (16.04):Ubuntu:linux

=================== blkid:
/dev/mmcblk0p1: UUID="96DB-B230" TYPE="vfat" PARTLABEL="EFI System Partition" PARTUUID="55fe2b62-1076-4651-aeb0-f639b64dcbd8"
/dev/mmcblk0p2: UUID="e6cb18f1-2181-4ece-9d5f-3cae47308198" TYPE="ext4" PARTUUID="fb681d9f-e0ab-433e-bb7b-cfcececed789"
/dev/sda1: LABEL="USB DISK" UUID="4626-4C93" TYPE="vfat" PARTUUID="c3072e18-01"
/dev/loop0: TYPE="squashfs"
/dev/mmcblk0p3: UUID="c95a11b0-e016-4639-89d3-70778812a20a" TYPE="swap" PARTUUID="197e473b-a4e6-46d0-a5c6-51299b348015"
/dev/mmcblk0: PTUUID="1ae187a7-0635-445c-9f67-4797ef3565a1" PTTYPE="gpt"


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

mount: /dev/mmcblk0 is already mounted or /mnt/boot-sav/mmcblk0 busy
mount /dev/mmcblk0 : Error code 32
mount -r /dev/mmcblk0 /mnt/boot-sav/mmcblk0
mount: /dev/mmcblk0 is already mounted or /mnt/boot-sav/mmcblk0 busy
mount -r /dev/mmcblk0 : Error code 32

=================== /media/ubuntu/e6cb18f1-2181-4ece-9d5f-3cae47308198/etc/grub.d/ :
drwxr-xr-x  2 root root    4096 Feb 26 16:41 grub.d
total 80
-rwxr-xr-x 1 root root  9791 Jun 21  2017 00_header
-rwxr-xr-x 1 root root  6258 Mar 15  2016 05_debian_theme
-rwxr-xr-x 1 root root 12512 Jun 21  2017 10_linux
-rwxr-xr-x 1 root root 11082 Jun 21  2017 20_linux_xen
-rwxr-xr-x 1 root root  1992 Jan 28  2016 20_memtest86+
-rwxr-xr-x 1 root root 11692 Jun 21  2017 30_os-prober
-rwxr-xr-x 1 root root  1418 Jun 21  2017 30_uefi-firmware
-rwxr-xr-x 1 root root   214 Jun 21  2017 40_custom
-rwxr-xr-x 1 root root   216 Jun 21  2017 41_custom
-rw-r--r-- 1 root root   483 Jun 21  2017 README




=================== /media/ubuntu/e6cb18f1-2181-4ece-9d5f-3cae47308198/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"



/boot/efi detected in the fstab of mmcblk0p2: UUID=96DB-B230   (mmcblk0p1)

=================== mmcblk0p2recordfail=1/grub/grubenv :
recordfail=1




=================== UEFI/Legacy mode:
This live-session is not in EFI-mode.
SecureBoot maybe enabled.


=================== PARTITIONS & DISKS:
mmcblk0p1	: mmcblk0,	not-sepboot,	no-grubenv	nogrub,	no-docgrub,	no-update-grub,	32,	no-boot,	no-os,	is-correct-EFI,	part-has-no-fstab,	part-has-no-fstab,	no-nt,	no-winload,	no-recov-nor-hid,	no-bmgr,	notwinboot,	nopakmgr,	nogrubinstall,	no---usr,	part-has-no-fstab,	not-sep-usr,	standard,	not-far,	notbiosboot, /mnt/boot-sav/mmcblk0p1.
mmcblk0p2	: mmcblk0,	not-sepboot,	grubenv-ng	grub2,	signed grub-efi ,	update-grub,	64,	with-boot,	is-os,	not--efi--part,	fstab-without-boot,	fstab-has-goodEFI,	no-nt,	no-winload,	no-recov-nor-hid,	no-bmgr,	notwinboot,	apt-get,	grub-install,	with--usr,	fstab-without-usr,	not-sep-usr,	standard,	not-far,	notbiosboot, /media/ubuntu/e6cb18f1-2181-4ece-9d5f-3cae47308198.
mmcblk0	: sda,	maybesepboot,	no-grubenv	nogrub,	no-docgrub,	no-update-grub,	32,	no-boot,	no-os,	not--efi--part,	part-has-no-fstab,	part-has-no-fstab,	no-nt,	no-winload,	no-recov-nor-hid,	no-bmgr,	notwinboot,	nopakmgr,	nogrubinstall,	no---usr,	part-has-no-fstab,	not-sep-usr,	standard,	not-far,	notbiosboot, /mnt/boot-sav/mmcblk0.

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


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

BYT;
/dev/sda:3999MB:scsi:512:512:msdos: USB DISK 2.0:;
1:4129kB:3999MB:3995MB:fat32::boot, lba;

BYT;
/dev/mmcblk0rpmb:4194kB:sd/mmc:512:512:unknown:Generic SD/MMC Storage Card:;

BYT;
/dev/mmcblk0boot0:4194kB:sd/mmc:512:512:unknown:Generic SD/MMC Storage Card:;

BYT;
/dev/mmcblk0boot1:4194kB:sd/mmc:512:512:unknown:Generic SD/MMC Storage Card:;

BYT;
/dev/mmcblk0:31.3GB:sd/mmc:512:512:gpt:MMC BJNB4R:;
1:1049kB:538MB:537MB:fat32:EFI System Partition:boot, esp;
2:538MB:27.1GB:26.5GB:ext4::;
3:27.1GB:31.3GB:4190MB:linux-swap(v1)::;

=================== lsblk:
KNAME        TYPE FSTYPE    SIZE LABEL
mmcblk0rpmb  disk             4M
mmcblk0boot0 disk             4M
loop0        loop squashfs  1.5G
sda          disk           3.7G
sda1         part vfat      3.7G USB DISK
mmcblk0boot1 disk             4M
mmcblk0      disk          29.1G
mmcblk0p2    part ext4     24.7G
mmcblk0p3    part swap      3.9G
mmcblk0p1    part vfat      512M

KNAME        ROTA RO RM STATE   MOUNTPOINT
mmcblk0rpmb     0  0  0
mmcblk0boot0    0  1  0
loop0           1  1  0         /rofs
sda             1  0  1 running
sda1            1  0  1         /cdrom
mmcblk0boot1    0  1  0
mmcblk0         0  0  0
mmcblk0p2       0  0  0         /media/ubuntu/e6cb18f1-2181-4ece-9d5f-3cae47308198
mmcblk0p3       0  0  0
mmcblk0p1       0  0  0         /mnt/boot-sav/mmcblk0p1


=================== 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=1951764k,nr_inodes=487941,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=393900k,mode=755)
/dev/sda1 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)
aufs on / type aufs (rw,noatime,si=47bd24f9ff28cc4)
securityfs on /sys/kernel/security type securityfs (rw,nosuid,nodev,noexec,relatime)
tmpfs on /dev/shm type tmpfs (rw,nosuid,nodev)
tmpfs on /run/lock type tmpfs (rw,nosuid,nodev,noexec,relatime,size=5120k)
tmpfs on /sys/fs/cgroup type tmpfs (ro,nosuid,nodev,noexec,mode=755)
cgroup on /sys/fs/cgroup/systemd type cgroup (rw,nosuid,nodev,noexec,relatime,xattr,release_agent=/lib/systemd/systemd-cgroups-agent,name=systemd)
pstore on /sys/fs/pstore type pstore (rw,nosuid,nodev,noexec,relatime)
cgroup on /sys/fs/cgroup/cpu,cpuacct type cgroup (rw,nosuid,nodev,noexec,relatime,cpu,cpuacct)
cgroup on /sys/fs/cgroup/blkio type cgroup (rw,nosuid,nodev,noexec,relatime,blkio)
cgroup on /sys/fs/cgroup/perf_event type cgroup (rw,nosuid,nodev,noexec,relatime,perf_event)
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/freezer type cgroup (rw,nosuid,nodev,noexec,relatime,freezer)
cgroup on /sys/fs/cgroup/devices type cgroup (rw,nosuid,nodev,noexec,relatime,devices)
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/cpuset type cgroup (rw,nosuid,nodev,noexec,relatime,cpuset)
systemd-1 on /proc/sys/fs/binfmt_misc type autofs (rw,relatime,fd=29,pgrp=1,timeout=0,minproto=5,maxproto=5,direct,pipe_ino=13304)
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)
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=393900k,mode=700,uid=999,gid=999)
gvfsd-fuse on /run/user/999/gvfs type fuse.gvfsd-fuse (rw,nosuid,nodev,relatime,user_id=999,group_id=999)
/dev/mmcblk0p2 on /media/ubuntu/e6cb18f1-2181-4ece-9d5f-3cae47308198 type ext4 (rw,nosuid,nodev,relatime,data=ordered,uhelper=udisks2)
/dev/mmcblk0p1 on /mnt/boot-sav/mmcblk0p1 type vfat (rw,relatime,fmask=0022,dmask=0022,codepage=437,iocharset=iso8859-1,shortname=mixed,errors=remount-ro)


=================== ls:
/sys/block/mmcblk0 (filtered):  alignment_offset bdi capability dev device discard_alignment ext_range force_ro holders inflight integrity mmcblk0boot0 mmcblk0boot1 mmcblk0p1 mmcblk0p2 mmcblk0p3 mmcblk0rpmb power queue range removable ro size slaves stat subsystem trace uevent
/sys/block/mmcblk0boot0 (filtered):  alignment_offset bdi capability dev device discard_alignment ext_range force_ro holders inflight integrity power queue range removable ro ro_lock_until_next_power_on size slaves stat subsystem trace uevent
/sys/block/mmcblk0boot1 (filtered):  alignment_offset bdi capability dev device discard_alignment ext_range force_ro holders inflight integrity power queue range removable ro ro_lock_until_next_power_on size slaves stat subsystem trace uevent
/sys/block/mmcblk0rpmb (filtered):  alignment_offset bdi capability dev device discard_alignment ext_range force_ro holders inflight integrity power queue range removable ro size slaves stat subsystem trace uevent
/sys/block/sda (filtered):  alignment_offset bdi capability dev device discard_alignment events events_async events_poll_msecs ext_range holders inflight integrity power queue range removable ro sda1 size slaves stat subsystem trace uevent
/dev (filtered):  acpi_thermal_rel autofs block bsg btrfs-control bus char console core cpu cpu_dma_latency cuse disk dri drm_dp_aux0 drm_dp_aux1 drm_dp_aux2 ecryptfs fb0 fd full fuse gpiochip0 gpiochip1 gpiochip2 gpiochip3 gpiochip4 hidraw0 hpet hugepages hwrng i2c-0 i2c-1 i2c-10 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 mmcblk0 mmcblk0boot0 mmcblk0boot1 mmcblk0p1 mmcblk0p2 mmcblk0p3 mmcblk0rpmb mqueue net network_latency network_throughput null port ppp psaux ptmx pts random rfkill rtc rtc0 sda sda1 sg0 shm snapshot snd stderr stdin stdout tpm0 tpmrm0 uhid uinput urandom userio v4l vfio vga_arbiter vhci vhost-net vhost-vsock video0 zero
ls /dev/mapper:  control

=================== hexdump -n512 -C /dev/mmcblk0p1
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  10 00 04 00 00 08 00 00  |................|
00000020  00 00 10 00 fe 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 30 b2 db 96 4e  4f 20 4e 41 4d 45 20 20  |..)0...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

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

Filesystem     Type      Size  Used Avail Use% Mounted on
udev           devtmpfs  1.9G     0  1.9G   0% /dev
tmpfs          tmpfs     385M   12M  374M   3% /run
/dev/sda1      vfat      3.8G  1.6G  2.2G  42% /cdrom
/dev/loop0     squashfs  1.5G  1.5G     0 100% /rofs
aufs           aufs      1.9G   86M  1.8G   5% /
tmpfs          tmpfs     1.9G   25M  1.9G   2% /dev/shm
tmpfs          tmpfs     5.0M  4.0K  5.0M   1% /run/lock
tmpfs          tmpfs     1.9G     0  1.9G   0% /sys/fs/cgroup
tmpfs          tmpfs     1.9G  264K  1.9G   1% /tmp
tmpfs          tmpfs     385M   72K  385M   1% /run/user/999
/dev/mmcblk0p2 ext4       25G   12G   11G  53% /media/ubuntu/e6cb18f1-2181-4ece-9d5f-3cae47308198
/dev/mmcblk0p1 vfat      511M  3.5M  508M   1% /mnt/boot-sav/mmcblk0p1

=================== fdisk -l:
Disk /dev/loop0: 1.5 GiB, 1564921856 bytes, 3056488 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/mmcblk0: 29.1 GiB, 31268536320 bytes, 61071360 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: 1AE187A7-0635-445C-9F67-4797EF3565A1

Device            Start      End  Sectors  Size Type
/dev/mmcblk0p1     2048  1050623  1048576  512M EFI System
/dev/mmcblk0p2  1050624 52885503 51834880 24.7G Linux filesystem
/dev/mmcblk0p3 52885504 61069311  8183808  3.9G Linux swap




Disk /dev/mmcblk0boot1: 4 MiB, 4194304 bytes, 8192 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/mmcblk0boot0: 4 MiB, 4194304 bytes, 8192 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: 3.7 GiB, 3999268864 bytes, 7811072 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: 0xc3072e18

Device     Boot Start     End Sectors  Size Id Type
/dev/sda1  *     8064 7811071 7803008  3.7G  c W95 FAT32 (LBA)




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


=================== Blockers in case of suggested repair
The current session is in Legacy mode. Please reboot the computer, and use this software in an EFI session. This will enable this feature. For example, use a live-USB of Boot-Repair-Disk-64bit (www.sourceforge.net/p/boot-repair-cd), after making sure your BIOS is set up to boot USB in EFI mode.


=================== Advice in case of suggested repair
The boot of your PC is in Legacy mode. You may want to retry after changing it to EFI mode.
Alternatively, you may want to retry after deactivating the [Separate /boot/efi partition:] option.
Do you want to continue?


=================== Final advice in case of suggested repair
Please do not forget to make your BIOS boot on mmcblk0p1/efi/.../grub*.efi file!

The boot of your PC is in Legacy mode. You may want to retry after changing it to EFI mode.


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

Cela ne va pas, il faut que tu démarres en mode EFI sur la LiveUSB alors que là, tu as démarré en mode non-EFI comme c'est indiqué dans cet extrait :

=================== UEFI/Legacy mode:
This live-session is not in EFI-mode.
SecureBoot maybe enabled.

Pour ce faire, il y a des indications dans le paragraphe 2.5 Régler le démarrage en mode EFI ou classique de la doc "Ordinateurs avec UEFI (~EFI)"

Dernière modification par malbo (Le 29/04/2018, à 14:55)

Hors ligne

#5 Le 29/04/2018, à 16:44

TankG

Re : Problème emergency

Hum j'ai essayé de faire en UEFI.
http://paste.ubuntu.com/p/jnxBNf6sbj/

Hors ligne

#6 Le 29/04/2018, à 17:08

malbo

Re : Problème emergency

Ton dernier Boot-Info est là :

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


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

 => Syslinux MBR (3.61-4.03) is installed in the MBR of /dev/sda.

sda1: __________________________________________________________________________

    File system:       vfat
    Boot sector type:  SYSLINUX 4.03 2010-10-22 ........>..sr>.......s..9...0...~.....~...f...M.f.f....f..0~....>E}.u......
    Boot sector info:  Syslinux looks at sector 3265952 of /dev/sda1 for its 
                       second stage. SYSLINUX is installed in the  directory. 
                       No errors found in the Boot Parameter Block.
    Operating System:  
    Boot files:        /boot/grub/grub.cfg /syslinux.cfg /casper/vmlinuz.efi 
                       /EFI/BOOT/grubx64.efi /ldlinux.sys

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

Drive: sda _____________________________________________________________________
Disk /dev/sda: 3.7 GiB, 3999268864 bytes, 7811072 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disklabel type: dos

Partition  Boot  Start Sector    End Sector  # of Sectors  Id System

/dev/sda1    *          8,064     7,811,071     7,803,008   c W95 FAT32 (LBA)


"blkid" output: ________________________________________________________________

Device           UUID                                   TYPE       LABEL

/dev/loop0                                              squashfs   
/dev/mmcblk0                                                       
/dev/mmcblk0p1   96DB-B230                              vfat       
/dev/mmcblk0p2   e6cb18f1-2181-4ece-9d5f-3cae47308198   ext4       
/dev/mmcblk0p3   c95a11b0-e016-4639-89d3-70778812a20a   swap       
/dev/sda1        4626-4C93                              vfat       USB DISK

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

total 0
lrwxrwxrwx 1 root root 13 Apr 29 14:32 mmc-BJNB4R_0x60b64bfa -> ../../mmcblk0
lrwxrwxrwx 1 root root 15 Apr 29 14:32 mmc-BJNB4R_0x60b64bfa-part1 -> ../../mmcblk0p1
lrwxrwxrwx 1 root root 15 Apr 29 14:32 mmc-BJNB4R_0x60b64bfa-part2 -> ../../mmcblk0p2
lrwxrwxrwx 1 root root 15 Apr 29 14:32 mmc-BJNB4R_0x60b64bfa-part3 -> ../../mmcblk0p3
lrwxrwxrwx 1 root root  9 Apr 29 14:43 usb-_USB_DISK_2.0_07B615024C770629-0:0 -> ../../sda
lrwxrwxrwx 1 root root 10 Apr 29 14:43 usb-_USB_DISK_2.0_07B615024C770629-0:0-part1 -> ../../sda1

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

Device           Mount_Point              Type       Options

/dev/loop0       /rofs                    squashfs   (ro,noatime)
/dev/mmcblk0p2   /media/ubuntu/e6cb18f1-2181-4ece-9d5f-3cae47308198 ext4       (rw,nosuid,nodev,relatime,data=ordered,uhelper=udisks2)
/dev/sda1        /cdrom                   vfat       (ro,noatime,fmask=0022,dmask=0022,codepage=437,iocharset=iso8859-1,shortname=mixed,errors=remount-ro)


=========================== sda1/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

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

============================== sda1/syslinux.cfg: ==============================

--------------------------------------------------------------------------------
default menu.c32
prompt 0
menu title UNetbootin
timeout 100

label unetbootindefault
menu label Default
kernel /ubnkern
append initrd=/ubninit file=/cdrom/preseed/ubuntu.seed boot=casper quiet splash ---

label ubnentry0
menu label ^Help
kernel /ubnkern
append initrd=/ubninit 

label ubnentry1
menu label ^Try Ubuntu without installing
kernel /casper/vmlinuz.efi
append initrd=/casper/initrd.lz file=/cdrom/preseed/ubuntu.seed boot=casper  quiet splash ---

label ubnentry2
menu label ^Install Ubuntu
kernel /casper/vmlinuz.efi
append initrd=/casper/initrd.lz file=/cdrom/preseed/ubuntu.seed boot=casper only-ubiquity  quiet splash ---

label ubnentry3
menu label ^Check disc for defects
kernel /casper/vmlinuz.efi
append initrd=/casper/initrd.lz boot=casper integrity-check  quiet splash ---

label ubnentry4
menu label Test ^memory
kernel /install/mt86plus
append initrd=/ubninit 

label ubnentry5
menu label ^Boot from first hard disk
kernel /ubnkern
append initrd=/ubninit 

label ubnentry6
menu label Try Ubuntu without installing
kernel /casper/vmlinuz.efi
append initrd=/casper/initrd.lz file=/cdrom/preseed/ubuntu.seed boot=casper quiet splash ---

label ubnentry7
menu label Install Ubuntu
kernel /casper/vmlinuz.efi
append initrd=/casper/initrd.lz file=/cdrom/preseed/ubuntu.seed boot=casper only-ubiquity quiet splash ---

label ubnentry8
menu label OEM install (for manufacturers)
kernel /casper/vmlinuz.efi
append initrd=/casper/initrd.lz file=/cdrom/preseed/ubuntu.seed boot=casper only-ubiquity quiet splash oem-config/enable=true ---

label ubnentry9
menu label Check disc for defects
kernel /casper/vmlinuz.efi
append initrd=/casper/initrd.lz boot=casper integrity-check quiet splash ---

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

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

           GiB - GB             File                                 Fragment(s)

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

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

           GiB - GB             File                                 Fragment(s)

            ?? = ??             syslinux.cfg                                   1
            ?? = ??             ldlinux.sys                                    1
            ?? = ??             menu.c32                                       1

============== sda1: Version of COM32(R) files used by Syslinux: ===============

 menu.c32                           :  COM32R module (v4.xx)

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

File descriptor 9 (/proc/14726/mounts) leaked on lvs invocation. Parent PID 23094: bash
File descriptor 63 (pipe:[53048]) leaked on lvs invocation. Parent PID 23094: bash

ADDITIONAL INFORMATION :
=================== log of boot-info 20180429_1443 ===================
boot-info version : 4ppa65
boot-sav version : 4ppa65
boot-sav-extra version : 4ppa65
glade2script version : 3.2.3~ppa4
Error: /dev/mmcblk0rpmb: unrecognised disk label
Warning: Error fsyncing/closing /dev/mmcblk0rpmb: Input/output error
Error: /dev/mmcblk0boot0: unrecognised disk label
Error: /dev/mmcblk0boot1: unrecognised disk label
boot-info is executed in live-session (Ubuntu 16.04.4 LTS, xenial, Ubuntu, x86_64)
CPU op-mode(s):        32-bit, 64-bit
BOOT_IMAGE=/casper/vmlinuz.efi file=/cdrom/preseed/ubuntu.seed boot=casper quiet splash ---
ls: cannot access '/home/usr/.config': No such file or directory
mmcblk0 (sda) has unknown type. Please report this message to boot.repair@gmail.com
mount: /dev/mmcblk0 is already mounted or /mnt/boot-sav/mmcblk0 busy
mount /dev/mmcblk0 : Error code 32
mount -r /dev/mmcblk0 /mnt/boot-sav/mmcblk0
mount: /dev/mmcblk0 is already mounted or /mnt/boot-sav/mmcblk0 busy
mount -r /dev/mmcblk0 : Error code 32
cat: /sys/block/mmcblk0/mmcblk0boot0/start: No such file or directory
cat: /sys/block/mmcblk0/mmcblk0boot1/start: No such file or directory
cat: /sys/block/mmcblk0/mmcblk0rpmb/start: No such file or directory

=================== os-prober:
/dev/mmcblk0p2:Ubuntu 16.04.4 LTS (16.04):Ubuntu:linux

=================== blkid:
/dev/mmcblk0p1: UUID="96DB-B230" TYPE="vfat" PARTLABEL="EFI System Partition" PARTUUID="55fe2b62-1076-4651-aeb0-f639b64dcbd8"
/dev/mmcblk0p2: UUID="e6cb18f1-2181-4ece-9d5f-3cae47308198" TYPE="ext4" PARTUUID="fb681d9f-e0ab-433e-bb7b-cfcececed789"
/dev/sda1: LABEL="USB DISK" UUID="4626-4C93" TYPE="vfat" PARTUUID="c3072e18-01"
/dev/loop0: TYPE="squashfs"
/dev/mmcblk0p3: UUID="c95a11b0-e016-4639-89d3-70778812a20a" TYPE="swap" PARTUUID="197e473b-a4e6-46d0-a5c6-51299b348015"
/dev/mmcblk0: PTUUID="1ae187a7-0635-445c-9f67-4797ef3565a1" PTTYPE="gpt"


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

mount: /dev/mmcblk0 is already mounted or /mnt/boot-sav/mmcblk0 busy
mount /dev/mmcblk0 : Error code 32
mount -r /dev/mmcblk0 /mnt/boot-sav/mmcblk0
mount: /dev/mmcblk0 is already mounted or /mnt/boot-sav/mmcblk0 busy
mount -r /dev/mmcblk0 : Error code 32

=================== /media/ubuntu/e6cb18f1-2181-4ece-9d5f-3cae47308198/etc/grub.d/ :
drwxr-xr-x  2 root root    4096 Feb 26 16:41 grub.d
total 80
-rwxr-xr-x 1 root root  9791 Jun 21  2017 00_header
-rwxr-xr-x 1 root root  6258 Mar 15  2016 05_debian_theme
-rwxr-xr-x 1 root root 12512 Jun 21  2017 10_linux
-rwxr-xr-x 1 root root 11082 Jun 21  2017 20_linux_xen
-rwxr-xr-x 1 root root  1992 Jan 28  2016 20_memtest86+
-rwxr-xr-x 1 root root 11692 Jun 21  2017 30_os-prober
-rwxr-xr-x 1 root root  1418 Jun 21  2017 30_uefi-firmware
-rwxr-xr-x 1 root root   214 Jun 21  2017 40_custom
-rwxr-xr-x 1 root root   216 Jun 21  2017 41_custom
-rw-r--r-- 1 root root   483 Jun 21  2017 README




=================== /media/ubuntu/e6cb18f1-2181-4ece-9d5f-3cae47308198/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"



/boot/efi detected in the fstab of mmcblk0p2: UUID=96DB-B230   (mmcblk0p1)

=================== mmcblk0p2recordfail=1/grub/grubenv :
recordfail=1




=================== efibootmgr -v
BootCurrent: 0002
Timeout: 2 seconds
BootOrder: 0000,0001,0002,0003
Boot0000* ubuntu	HD(1,GPT,55fe2b62-1076-4651-aeb0-f639b64dcbd8,0x800,0x100000)/File(EFIUBUNTUSHIMX64.EFI)
Boot0001* ubuntu	HD(1,GPT,55fe2b62-1076-4651-aeb0-f639b64dcbd8,0x800,0x100000)/File(EFIUBUNTUGRUBX64.EFI)..BO
Boot0002* UEFI:  USB DISK 2.0 PMAP, Partition 1	PciRoot(0x0)/Pci(0x14,0x0)/USB(1,0)/HD(1,MBR,0x24,0x1f80,0x771080)..BO
Boot0003* Hard Drive	BBS(HD,,0x0)..GO..NO........c. .U.S.B. .D.I.S.K. .2...0. .P.M.A.P....................A.......................6..Gd-.;.A..MQ..L.0.7.B.6.1.5.0.2.4.C.7.7.0.6.2.9........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:
mmcblk0p1	: mmcblk0,	not-sepboot,	no-grubenv	nogrub,	no-docgrub,	no-update-grub,	32,	no-boot,	no-os,	is-correct-EFI,	part-has-no-fstab,	part-has-no-fstab,	no-nt,	no-winload,	no-recov-nor-hid,	no-bmgr,	notwinboot,	nopakmgr,	nogrubinstall,	no---usr,	part-has-no-fstab,	not-sep-usr,	standard,	not-far,	notbiosboot, /mnt/boot-sav/mmcblk0p1.
mmcblk0p2	: mmcblk0,	not-sepboot,	grubenv-ng	grub2,	signed grub-efi ,	update-grub,	64,	with-boot,	is-os,	not--efi--part,	fstab-without-boot,	fstab-has-goodEFI,	no-nt,	no-winload,	no-recov-nor-hid,	no-bmgr,	notwinboot,	apt-get,	grub-install,	with--usr,	fstab-without-usr,	not-sep-usr,	standard,	not-far,	notbiosboot, /media/ubuntu/e6cb18f1-2181-4ece-9d5f-3cae47308198.
mmcblk0	: sda,	maybesepboot,	no-grubenv	nogrub,	no-docgrub,	no-update-grub,	32,	no-boot,	no-os,	not--efi--part,	part-has-no-fstab,	part-has-no-fstab,	no-nt,	no-winload,	no-recov-nor-hid,	no-bmgr,	notwinboot,	nopakmgr,	nogrubinstall,	no---usr,	part-has-no-fstab,	not-sep-usr,	standard,	not-far,	notbiosboot, /mnt/boot-sav/mmcblk0.

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


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

BYT;
/dev/sda:3999MB:scsi:512:512:msdos: USB DISK 2.0:;
1:4129kB:3999MB:3995MB:fat32::boot, lba;

BYT;
/dev/mmcblk0rpmb:4194kB:sd/mmc:512:512:unknown:Generic SD/MMC Storage Card:;

BYT;
/dev/mmcblk0boot0:4194kB:sd/mmc:512:512:unknown:Generic SD/MMC Storage Card:;

BYT;
/dev/mmcblk0boot1:4194kB:sd/mmc:512:512:unknown:Generic SD/MMC Storage Card:;

BYT;
/dev/mmcblk0:31.3GB:sd/mmc:512:512:gpt:MMC BJNB4R:;
1:1049kB:538MB:537MB:fat32:EFI System Partition:boot, esp;
2:538MB:27.1GB:26.5GB:ext4::;
3:27.1GB:31.3GB:4190MB:linux-swap(v1)::;

=================== lsblk:
KNAME        TYPE FSTYPE    SIZE LABEL
mmcblk0rpmb  disk             4M
mmcblk0boot0 disk             4M
loop0        loop squashfs  1.5G
sda          disk           3.7G
sda1         part vfat      3.7G USB DISK
mmcblk0boot1 disk             4M
mmcblk0      disk          29.1G
mmcblk0p2    part ext4     24.7G
mmcblk0p3    part swap      3.9G
mmcblk0p1    part vfat      512M

KNAME        ROTA RO RM STATE   MOUNTPOINT
mmcblk0rpmb     0  0  0
mmcblk0boot0    0  1  0
loop0           1  1  0         /rofs
sda             1  0  1 running
sda1            1  0  1         /cdrom
mmcblk0boot1    0  1  0
mmcblk0         0  0  0
mmcblk0p2       0  0  0         /media/ubuntu/e6cb18f1-2181-4ece-9d5f-3cae47308198
mmcblk0p3       0  0  0
mmcblk0p1       0  0  0         /mnt/boot-sav/mmcblk0p1


=================== 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=1951712k,nr_inodes=487928,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=393888k,mode=755)
/dev/sda1 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)
aufs on / type aufs (rw,noatime,si=a8fea0f0f6dd221)
securityfs on /sys/kernel/security type securityfs (rw,nosuid,nodev,noexec,relatime)
tmpfs on /dev/shm type tmpfs (rw,nosuid,nodev)
tmpfs on /run/lock type tmpfs (rw,nosuid,nodev,noexec,relatime,size=5120k)
tmpfs on /sys/fs/cgroup type tmpfs (ro,nosuid,nodev,noexec,mode=755)
cgroup on /sys/fs/cgroup/systemd type cgroup (rw,nosuid,nodev,noexec,relatime,xattr,release_agent=/lib/systemd/systemd-cgroups-agent,name=systemd)
pstore on /sys/fs/pstore type pstore (rw,nosuid,nodev,noexec,relatime)
efivarfs on /sys/firmware/efi/efivars type efivarfs (rw,nosuid,nodev,noexec,relatime)
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/net_cls,net_prio type cgroup (rw,nosuid,nodev,noexec,relatime,net_cls,net_prio)
cgroup on /sys/fs/cgroup/memory type cgroup (rw,nosuid,nodev,noexec,relatime,memory)
cgroup on /sys/fs/cgroup/devices type cgroup (rw,nosuid,nodev,noexec,relatime,devices)
cgroup on /sys/fs/cgroup/perf_event type cgroup (rw,nosuid,nodev,noexec,relatime,perf_event)
cgroup on /sys/fs/cgroup/freezer type cgroup (rw,nosuid,nodev,noexec,relatime,freezer)
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/cpu,cpuacct type cgroup (rw,nosuid,nodev,noexec,relatime,cpu,cpuacct)
cgroup on /sys/fs/cgroup/hugetlb type cgroup (rw,nosuid,nodev,noexec,relatime,hugetlb)
systemd-1 on /proc/sys/fs/binfmt_misc type autofs (rw,relatime,fd=27,pgrp=1,timeout=0,minproto=5,maxproto=5,direct,pipe_ino=12007)
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=393888k,mode=700,uid=999,gid=999)
gvfsd-fuse on /run/user/999/gvfs type fuse.gvfsd-fuse (rw,nosuid,nodev,relatime,user_id=999,group_id=999)
/dev/mmcblk0p2 on /media/ubuntu/e6cb18f1-2181-4ece-9d5f-3cae47308198 type ext4 (rw,nosuid,nodev,relatime,data=ordered,uhelper=udisks2)
/dev/mmcblk0p1 on /mnt/boot-sav/mmcblk0p1 type vfat (rw,relatime,fmask=0022,dmask=0022,codepage=437,iocharset=iso8859-1,shortname=mixed,errors=remount-ro)


=================== ls:
/sys/block/mmcblk0 (filtered):  alignment_offset bdi capability dev device discard_alignment ext_range force_ro holders inflight integrity mmcblk0boot0 mmcblk0boot1 mmcblk0p1 mmcblk0p2 mmcblk0p3 mmcblk0rpmb power queue range removable ro size slaves stat subsystem trace uevent
/sys/block/mmcblk0boot0 (filtered):  alignment_offset bdi capability dev device discard_alignment ext_range force_ro holders inflight integrity power queue range removable ro ro_lock_until_next_power_on size slaves stat subsystem trace uevent
/sys/block/mmcblk0boot1 (filtered):  alignment_offset bdi capability dev device discard_alignment ext_range force_ro holders inflight integrity power queue range removable ro ro_lock_until_next_power_on size slaves stat subsystem trace uevent
/sys/block/mmcblk0rpmb (filtered):  alignment_offset bdi capability dev device discard_alignment ext_range force_ro holders inflight integrity power queue range removable ro size slaves stat subsystem trace uevent
/sys/block/sda (filtered):  alignment_offset bdi capability dev device discard_alignment events events_async events_poll_msecs ext_range holders inflight integrity power queue range removable ro sda1 size slaves stat subsystem trace uevent
/dev (filtered):  acpi_thermal_rel autofs block bsg btrfs-control bus char console core cpu cpu_dma_latency cuse disk dri drm_dp_aux0 drm_dp_aux1 drm_dp_aux2 ecryptfs fb0 fd full fuse gpiochip0 gpiochip1 gpiochip2 gpiochip3 gpiochip4 hidraw0 hpet hugepages hwrng i2c-0 i2c-1 i2c-10 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 mmcblk0 mmcblk0boot0 mmcblk0boot1 mmcblk0p1 mmcblk0p2 mmcblk0p3 mmcblk0rpmb mqueue net network_latency network_throughput null port ppp psaux ptmx pts random rfkill rtc rtc0 sda sda1 sg0 shm snapshot snd stderr stdin stdout tpm0 tpmrm0 uhid uinput urandom userio v4l vfio vga_arbiter vhci vhost-net vhost-vsock video0 zero
ls /dev/mapper:  control

=================== hexdump -n512 -C /dev/mmcblk0p1
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  10 00 04 00 00 08 00 00  |................|
00000020  00 00 10 00 fe 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 30 b2 db 96 4e  4f 20 4e 41 4d 45 20 20  |..)0...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

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

Filesystem     Type      Size  Used Avail Use% Mounted on
udev           devtmpfs  1.9G     0  1.9G   0% /dev
tmpfs          tmpfs     385M   12M  374M   3% /run
/dev/sda1      vfat      3.8G  1.6G  2.2G  42% /cdrom
/dev/loop0     squashfs  1.5G  1.5G     0 100% /rofs
aufs           aufs      1.9G  110M  1.8G   6% /
tmpfs          tmpfs     1.9G  7.0M  1.9G   1% /dev/shm
tmpfs          tmpfs     5.0M  4.0K  5.0M   1% /run/lock
tmpfs          tmpfs     1.9G     0  1.9G   0% /sys/fs/cgroup
tmpfs          tmpfs     1.9G  976K  1.9G   1% /tmp
tmpfs          tmpfs     385M  104K  385M   1% /run/user/999
/dev/mmcblk0p2 ext4       25G   12G   11G  53% /media/ubuntu/e6cb18f1-2181-4ece-9d5f-3cae47308198
/dev/mmcblk0p1 vfat      511M  3.5M  508M   1% /mnt/boot-sav/mmcblk0p1

=================== fdisk -l:
Disk /dev/loop0: 1.5 GiB, 1564921856 bytes, 3056488 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/mmcblk0: 29.1 GiB, 31268536320 bytes, 61071360 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: 1AE187A7-0635-445C-9F67-4797EF3565A1

Device            Start      End  Sectors  Size Type
/dev/mmcblk0p1     2048  1050623  1048576  512M EFI System
/dev/mmcblk0p2  1050624 52885503 51834880 24.7G Linux filesystem
/dev/mmcblk0p3 52885504 61069311  8183808  3.9G Linux swap




Disk /dev/mmcblk0boot1: 4 MiB, 4194304 bytes, 8192 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/mmcblk0boot0: 4 MiB, 4194304 bytes, 8192 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: 3.7 GiB, 3999268864 bytes, 7811072 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: 0xc3072e18

Device     Boot Start     End Sectors  Size Id Type
/dev/sda1  *     8064 7811071 7803008  3.7G  c W95 FAT32 (LBA)




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


=================== Final advice in case of suggested repair
Please do not forget to make your BIOS boot on mmcblk0p1/efi/.../grub*.efi file!


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

C'est parfait, tu as réussi à démarrer en mode EFI comme tu peux voir dans cet extrait :

=================== 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)

Cela nous permet de voir le paramétrage du système UEFI (ce qui n'était pas possible quand tu avais démarré en mode non-EFI) dans cet autre extrait :

=================== efibootmgr -v
BootCurrent: 0002
Timeout: 2 seconds
BootOrder: 0000,0001,0002,0003
Boot0000* ubuntu	HD(1,GPT,55fe2b62-1076-4651-aeb0-f639b64dcbd8,0x800,0x100000)/File(EFIUBUNTUSHIMX64.EFI)
Boot0001* ubuntu	HD(1,GPT,55fe2b62-1076-4651-aeb0-f639b64dcbd8,0x800,0x100000)/File(EFIUBUNTUGRUBX64.EFI)..BO
Boot0002* UEFI:  USB DISK 2.0 PMAP, Partition 1	PciRoot(0x0)/Pci(0x14,0x0)/USB(1,0)/HD(1,MBR,0x24,0x1f80,0x771080)..BO
Boot0003* Hard Drive	BBS(HD,,0x0)..GO..NO........c. .U.S.B. .D.I.S.K. .2...0. .P.M.A.P....................A.......................6..Gd-.;.A..MQ..L.0.7.B.6.1.5.0.2.4.C.7.7.0.6.2.9........BO

On voit que le démarrage par défaut est sensé se faire sur l'entrée ubuntu qui me parait tout à fait normale. Cela dit, je te conseille de tenter la réparation recommandée de Boot-Repair qui est décrite dans cet autre extrait :

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

Il s'agit de la réparation standard décrite dans cette doc : https://doc.ubuntu-fr.org/boot-repair
Le point crucial pour la réussite de cette réparation, c'est que tu démarres en mode EFI sur ta LIveUSB comme tu as pu le faire pour ton dernier Boot-Info.

Hors ligne

#7 Le 29/04/2018, à 17:30

malbo

Re : Problème emergency

Peux-tu confirmer que ton modèle d'ordi est ASUS EeeBook E402SA-WX013T qu'on peut voir sur cette page ? Si ce n'est pas ce nom de modèle, je te prie de donner le nom correct dans ta réponse.

Hors ligne

#8 Le 29/04/2018, à 22:48

TankG

Re : Problème emergency

Oui c'est le bon modèle. Merci pour tes explications sur le boot info, je crois que je n'aurais même pas pensé à le lire. Je n'ais plus qu'a suivre le tutos boot repair que tu m'as indiqué ?

Hors ligne

#9 Le 29/04/2018, à 22:56

TankG

Re : Problème emergency

voici le lien que me donne le boot repair : 
http://paste.ubuntu.com/p/n5Cc5csxh2/

Hors ligne

#10 Le 29/04/2018, à 23:12

TankG

Re : Problème emergency

Je n'ais pas compris la finalité de l'opération du boot repair. Par ce que la j'utilise une version temporaire de ubuntu, mais  je ne veut pas supprimer la version ubuntu installé (à la base) sur mon ordi et perdre mes données.
Par ailleurs je suis bloquer à l'étape : Installation de la structure de boot EFI en lignes de commandes

Quand je tape ce code "sudo blkid | grep -Ei "ext4|vfat" dans le terminal voici ce que cela m'écris :
sudo blkid | grep -Ei "ext4|vfat"
/dev/mmcblk0p1: UUID="96DB-B230" TYPE="vfat" PARTLABEL="EFI System Partition" PARTUUID="55fe2b62-1076-4651-aeb0-f639b64dcbd8"
/dev/mmcblk0p2: UUID="e6cb18f1-2181-4ece-9d5f-3cae47308198" TYPE="ext4" PARTUUID="fb681d9f-e0ab-433e-bb7b-cfcececed789"
/dev/sda1: LABEL="USB DISK" UUID="4626-4C93" TYPE="vfat" PARTUUID="c3072e18-01"

ce code la " sudo parted -l | grep -Ei "ext4|fat32" m'affiche dans mon terminal un message d’erreur.

Puis dans le tutos ont m'indique " Dans la suite de cette réparation elle seront appelées SLASH (Cela sera par exemple sda7 ou mmcblkNp2). et EFI (Cela sera par exemple sda1 ou mmcblkNp1). Ces mots devront être remplacés par les vraies valeurs."

Or par quel valeur je dois remplacer quoi ?

Hors ligne

#11 Le 30/04/2018, à 06:04

malbo

Re : Problème emergency

Voici le rapport obtenu à la fin de la réparation par Boot-Repair dont tu as donné le lien dans ton post #9 :

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


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

 => Syslinux MBR (3.61-4.03) is installed in the MBR of /dev/sda.

sda1: __________________________________________________________________________

    File system:       vfat
    Boot sector type:  SYSLINUX 4.03 2010-10-22 ........>..sr>.......s..9...0...~.....~...f...M.f.f....f..0~....>E}.u......
    Boot sector info:  Syslinux looks at sector 3265952 of /dev/sda1 for its 
                       second stage. SYSLINUX is installed in the  directory. 
                       No errors found in the Boot Parameter Block.
    Operating System:  
    Boot files:        /boot/grub/grub.cfg /syslinux.cfg /casper/vmlinuz.efi 
                       /EFI/BOOT/grubx64.efi /ldlinux.sys

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

Drive: sda _____________________________________________________________________
Disk /dev/sda: 3.7 GiB, 3999268864 bytes, 7811072 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disklabel type: dos

Partition  Boot  Start Sector    End Sector  # of Sectors  Id System

/dev/sda1    *          8,064     7,811,071     7,803,008   c W95 FAT32 (LBA)


"blkid" output: ________________________________________________________________

Device           UUID                                   TYPE       LABEL

/dev/loop0                                              squashfs   
/dev/mmcblk0                                                       
/dev/mmcblk0p1   96DB-B230                              vfat       
/dev/mmcblk0p2   e6cb18f1-2181-4ece-9d5f-3cae47308198   ext4       
/dev/mmcblk0p3   c95a11b0-e016-4639-89d3-70778812a20a   swap       
/dev/sda1        4626-4C93                              vfat       USB DISK

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

total 0
lrwxrwxrwx 1 root root 13 Apr 29 14:32 mmc-BJNB4R_0x60b64bfa -> ../../mmcblk0
lrwxrwxrwx 1 root root 15 Apr 29 14:32 mmc-BJNB4R_0x60b64bfa-part1 -> ../../mmcblk0p1
lrwxrwxrwx 1 root root 15 Apr 29 14:32 mmc-BJNB4R_0x60b64bfa-part2 -> ../../mmcblk0p2
lrwxrwxrwx 1 root root 15 Apr 29 14:32 mmc-BJNB4R_0x60b64bfa-part3 -> ../../mmcblk0p3
lrwxrwxrwx 1 root root  9 Apr 29 20:54 usb-_USB_DISK_2.0_07B615024C770629-0:0 -> ../../sda
lrwxrwxrwx 1 root root 10 Apr 29 20:54 usb-_USB_DISK_2.0_07B615024C770629-0:0-part1 -> ../../sda1

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

Device           Mount_Point              Type       Options

/dev/loop0       /rofs                    squashfs   (ro,noatime)
/dev/mmcblk0p2   /media/ubuntu/e6cb18f1-2181-4ece-9d5f-3cae47308198 ext4       (rw,nosuid,nodev,relatime,data=ordered,uhelper=udisks2)
/dev/sda1        /cdrom                   vfat       (ro,noatime,fmask=0022,dmask=0022,codepage=437,iocharset=iso8859-1,shortname=mixed,errors=remount-ro)


=========================== sda1/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

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

============================== sda1/syslinux.cfg: ==============================

--------------------------------------------------------------------------------
default menu.c32
prompt 0
menu title UNetbootin
timeout 100

label unetbootindefault
menu label Default
kernel /ubnkern
append initrd=/ubninit file=/cdrom/preseed/ubuntu.seed boot=casper quiet splash ---

label ubnentry0
menu label ^Help
kernel /ubnkern
append initrd=/ubninit 

label ubnentry1
menu label ^Try Ubuntu without installing
kernel /casper/vmlinuz.efi
append initrd=/casper/initrd.lz file=/cdrom/preseed/ubuntu.seed boot=casper  quiet splash ---

label ubnentry2
menu label ^Install Ubuntu
kernel /casper/vmlinuz.efi
append initrd=/casper/initrd.lz file=/cdrom/preseed/ubuntu.seed boot=casper only-ubiquity  quiet splash ---

label ubnentry3
menu label ^Check disc for defects
kernel /casper/vmlinuz.efi
append initrd=/casper/initrd.lz boot=casper integrity-check  quiet splash ---

label ubnentry4
menu label Test ^memory
kernel /install/mt86plus
append initrd=/ubninit 

label ubnentry5
menu label ^Boot from first hard disk
kernel /ubnkern
append initrd=/ubninit 

label ubnentry6
menu label Try Ubuntu without installing
kernel /casper/vmlinuz.efi
append initrd=/casper/initrd.lz file=/cdrom/preseed/ubuntu.seed boot=casper quiet splash ---

label ubnentry7
menu label Install Ubuntu
kernel /casper/vmlinuz.efi
append initrd=/casper/initrd.lz file=/cdrom/preseed/ubuntu.seed boot=casper only-ubiquity quiet splash ---

label ubnentry8
menu label OEM install (for manufacturers)
kernel /casper/vmlinuz.efi
append initrd=/casper/initrd.lz file=/cdrom/preseed/ubuntu.seed boot=casper only-ubiquity quiet splash oem-config/enable=true ---

label ubnentry9
menu label Check disc for defects
kernel /casper/vmlinuz.efi
append initrd=/casper/initrd.lz boot=casper integrity-check quiet splash ---

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

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

           GiB - GB             File                                 Fragment(s)

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

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

           GiB - GB             File                                 Fragment(s)

            ?? = ??             syslinux.cfg                                   1
            ?? = ??             ldlinux.sys                                    1
            ?? = ??             menu.c32                                       1

============== sda1: Version of COM32(R) files used by Syslinux: ===============

 menu.c32                           :  COM32R module (v4.xx)

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

File descriptor 9 (/proc/21428/mounts) leaked on lvs invocation. Parent PID 1178: bash
File descriptor 63 (pipe:[100741]) leaked on lvs invocation. Parent PID 1178: bash

ADDITIONAL INFORMATION :
=================== log of boot-repair 20180429_2054 ===================
boot-repair version : 4ppa65
boot-sav version : 4ppa65
boot-sav-extra version : 4ppa65
glade2script version : 3.2.3~ppa4
Error: /dev/mmcblk0rpmb: unrecognised disk label
Warning: Error fsyncing/closing /dev/mmcblk0rpmb: Input/output error
Error: /dev/mmcblk0boot0: unrecognised disk label
Error: /dev/mmcblk0boot1: unrecognised disk label
boot-repair is executed in live-session (Ubuntu 16.04.4 LTS, xenial, Ubuntu, x86_64)
CPU op-mode(s):        32-bit, 64-bit
BOOT_IMAGE=/casper/vmlinuz.efi file=/cdrom/preseed/ubuntu.seed boot=casper quiet splash ---
ls: cannot access '/home/usr/.config': No such file or directory
mmcblk0 (sda) has unknown type. Please report this message to boot.repair@gmail.com
mount: /dev/mmcblk0 is already mounted or /mnt/boot-sav/mmcblk0 busy
mount /dev/mmcblk0 : Error code 32
mount -r /dev/mmcblk0 /mnt/boot-sav/mmcblk0
mount: /dev/mmcblk0 is already mounted or /mnt/boot-sav/mmcblk0 busy
mount -r /dev/mmcblk0 : Error code 32
cat: /sys/block/mmcblk0/mmcblk0boot0/start: No such file or directory
cat: /sys/block/mmcblk0/mmcblk0boot1/start: No such file or directory
cat: /sys/block/mmcblk0/mmcblk0rpmb/start: No such file or directory

=================== os-prober:
/dev/mmcblk0p2:Ubuntu 16.04.4 LTS (16.04):Ubuntu:linux

=================== blkid:
/dev/mmcblk0p1: UUID="96DB-B230" TYPE="vfat" PARTLABEL="EFI System Partition" PARTUUID="55fe2b62-1076-4651-aeb0-f639b64dcbd8"
/dev/mmcblk0p2: UUID="e6cb18f1-2181-4ece-9d5f-3cae47308198" TYPE="ext4" PARTUUID="fb681d9f-e0ab-433e-bb7b-cfcececed789"
/dev/sda1: LABEL="USB DISK" UUID="4626-4C93" TYPE="vfat" PARTUUID="c3072e18-01"
/dev/loop0: TYPE="squashfs"
/dev/mmcblk0p3: UUID="c95a11b0-e016-4639-89d3-70778812a20a" TYPE="swap" PARTUUID="197e473b-a4e6-46d0-a5c6-51299b348015"
/dev/mmcblk0: PTUUID="1ae187a7-0635-445c-9f67-4797ef3565a1" PTTYPE="gpt"


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

mount: /dev/mmcblk0 is already mounted or /mnt/boot-sav/mmcblk0 busy
mount /dev/mmcblk0 : Error code 32
mount -r /dev/mmcblk0 /mnt/boot-sav/mmcblk0
mount: /dev/mmcblk0 is already mounted or /mnt/boot-sav/mmcblk0 busy
mount -r /dev/mmcblk0 : Error code 32

=================== /media/ubuntu/e6cb18f1-2181-4ece-9d5f-3cae47308198/etc/grub.d/ :
drwxr-xr-x  2 root root    4096 Feb 26 16:41 grub.d
total 80
-rwxr-xr-x 1 root root  9791 Jun 21  2017 00_header
-rwxr-xr-x 1 root root  6258 Mar 15  2016 05_debian_theme
-rwxr-xr-x 1 root root 12512 Jun 21  2017 10_linux
-rwxr-xr-x 1 root root 11082 Jun 21  2017 20_linux_xen
-rwxr-xr-x 1 root root  1992 Jan 28  2016 20_memtest86+
-rwxr-xr-x 1 root root 11692 Jun 21  2017 30_os-prober
-rwxr-xr-x 1 root root  1418 Jun 21  2017 30_uefi-firmware
-rwxr-xr-x 1 root root   214 Jun 21  2017 40_custom
-rwxr-xr-x 1 root root   216 Jun 21  2017 41_custom
-rw-r--r-- 1 root root   483 Jun 21  2017 README




=================== /media/ubuntu/e6cb18f1-2181-4ece-9d5f-3cae47308198/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"



/boot/efi detected in the fstab of mmcblk0p2: UUID=96DB-B230   (mmcblk0p1)

=================== mmcblk0p2recordfail=1/grub/grubenv :
recordfail=1




=================== efibootmgr -v
BootCurrent: 0002
Timeout: 2 seconds
BootOrder: 0000,0001,0002,0003
Boot0000* ubuntu	HD(1,GPT,55fe2b62-1076-4651-aeb0-f639b64dcbd8,0x800,0x100000)/File(EFIUBUNTUSHIMX64.EFI)
Boot0001* ubuntu	HD(1,GPT,55fe2b62-1076-4651-aeb0-f639b64dcbd8,0x800,0x100000)/File(EFIUBUNTUGRUBX64.EFI)..BO
Boot0002* UEFI:  USB DISK 2.0 PMAP, Partition 1	PciRoot(0x0)/Pci(0x14,0x0)/USB(1,0)/HD(1,MBR,0x24,0x1f80,0x771080)..BO
Boot0003* Hard Drive	BBS(HD,,0x0)..GO..NO........c. .U.S.B. .D.I.S.K. .2...0. .P.M.A.P....................A.......................6..Gd-.;.A..MQ..L.0.7.B.6.1.5.0.2.4.C.7.7.0.6.2.9........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:
mmcblk0p1	: mmcblk0,	not-sepboot,	no-grubenv	nogrub,	no-docgrub,	no-update-grub,	32,	no-boot,	no-os,	is-correct-EFI,	part-has-no-fstab,	part-has-no-fstab,	no-nt,	no-winload,	no-recov-nor-hid,	no-bmgr,	notwinboot,	nopakmgr,	nogrubinstall,	no---usr,	part-has-no-fstab,	not-sep-usr,	standard,	not-far,	notbiosboot, /mnt/boot-sav/mmcblk0p1.
mmcblk0p2	: mmcblk0,	not-sepboot,	grubenv-ng	grub2,	signed grub-efi ,	update-grub,	64,	with-boot,	is-os,	not--efi--part,	fstab-without-boot,	fstab-has-goodEFI,	no-nt,	no-winload,	no-recov-nor-hid,	no-bmgr,	notwinboot,	apt-get,	grub-install,	with--usr,	fstab-without-usr,	not-sep-usr,	standard,	not-far,	notbiosboot, /media/ubuntu/e6cb18f1-2181-4ece-9d5f-3cae47308198.
mmcblk0	: sda,	maybesepboot,	no-grubenv	nogrub,	no-docgrub,	no-update-grub,	32,	no-boot,	no-os,	not--efi--part,	part-has-no-fstab,	part-has-no-fstab,	no-nt,	no-winload,	no-recov-nor-hid,	no-bmgr,	notwinboot,	nopakmgr,	nogrubinstall,	no---usr,	part-has-no-fstab,	not-sep-usr,	standard,	not-far,	notbiosboot, /mnt/boot-sav/mmcblk0.

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


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

BYT;
/dev/sda:3999MB:scsi:512:512:msdos: USB DISK 2.0:;
1:4129kB:3999MB:3995MB:fat32::boot, lba;

BYT;
/dev/mmcblk0rpmb:4194kB:sd/mmc:512:512:unknown:Generic SD/MMC Storage Card:;

BYT;
/dev/mmcblk0boot0:4194kB:sd/mmc:512:512:unknown:Generic SD/MMC Storage Card:;

BYT;
/dev/mmcblk0boot1:4194kB:sd/mmc:512:512:unknown:Generic SD/MMC Storage Card:;

BYT;
/dev/mmcblk0:31.3GB:sd/mmc:512:512:gpt:MMC BJNB4R:;
1:1049kB:538MB:537MB:fat32:EFI System Partition:boot, esp;
2:538MB:27.1GB:26.5GB:ext4::;
3:27.1GB:31.3GB:4190MB:linux-swap(v1)::;

=================== lsblk:
KNAME        TYPE FSTYPE    SIZE LABEL
mmcblk0rpmb  disk             4M
mmcblk0boot0 disk             4M
loop0        loop squashfs  1.5G
sda          disk           3.7G
sda1         part vfat      3.7G USB DISK
mmcblk0boot1 disk             4M
mmcblk0      disk          29.1G
mmcblk0p2    part ext4     24.7G
mmcblk0p3    part swap      3.9G
mmcblk0p1    part vfat      512M

KNAME        ROTA RO RM STATE   MOUNTPOINT
mmcblk0rpmb     0  0  0
mmcblk0boot0    0  1  0
loop0           1  1  0         /rofs
sda             1  0  1 running
sda1            1  0  1         /cdrom
mmcblk0boot1    0  1  0
mmcblk0         0  0  0
mmcblk0p2       0  0  0         /media/ubuntu/e6cb18f1-2181-4ece-9d5f-3cae47308198
mmcblk0p3       0  0  0
mmcblk0p1       0  0  0         /mnt/boot-sav/mmcblk0p1


=================== 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=1951712k,nr_inodes=487928,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=393888k,mode=755)
/dev/sda1 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)
aufs on / type aufs (rw,noatime,si=a8fea0f0f6dd221)
securityfs on /sys/kernel/security type securityfs (rw,nosuid,nodev,noexec,relatime)
tmpfs on /dev/shm type tmpfs (rw,nosuid,nodev)
tmpfs on /run/lock type tmpfs (rw,nosuid,nodev,noexec,relatime,size=5120k)
tmpfs on /sys/fs/cgroup type tmpfs (ro,nosuid,nodev,noexec,mode=755)
cgroup on /sys/fs/cgroup/systemd type cgroup (rw,nosuid,nodev,noexec,relatime,xattr,release_agent=/lib/systemd/systemd-cgroups-agent,name=systemd)
pstore on /sys/fs/pstore type pstore (rw,nosuid,nodev,noexec,relatime)
efivarfs on /sys/firmware/efi/efivars type efivarfs (rw,nosuid,nodev,noexec,relatime)
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/net_cls,net_prio type cgroup (rw,nosuid,nodev,noexec,relatime,net_cls,net_prio)
cgroup on /sys/fs/cgroup/memory type cgroup (rw,nosuid,nodev,noexec,relatime,memory)
cgroup on /sys/fs/cgroup/devices type cgroup (rw,nosuid,nodev,noexec,relatime,devices)
cgroup on /sys/fs/cgroup/perf_event type cgroup (rw,nosuid,nodev,noexec,relatime,perf_event)
cgroup on /sys/fs/cgroup/freezer type cgroup (rw,nosuid,nodev,noexec,relatime,freezer)
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/cpu,cpuacct type cgroup (rw,nosuid,nodev,noexec,relatime,cpu,cpuacct)
cgroup on /sys/fs/cgroup/hugetlb type cgroup (rw,nosuid,nodev,noexec,relatime,hugetlb)
systemd-1 on /proc/sys/fs/binfmt_misc type autofs (rw,relatime,fd=27,pgrp=1,timeout=0,minproto=5,maxproto=5,direct,pipe_ino=12007)
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=393888k,mode=700,uid=999,gid=999)
gvfsd-fuse on /run/user/999/gvfs type fuse.gvfsd-fuse (rw,nosuid,nodev,relatime,user_id=999,group_id=999)
/dev/mmcblk0p2 on /media/ubuntu/e6cb18f1-2181-4ece-9d5f-3cae47308198 type ext4 (rw,nosuid,nodev,relatime,data=ordered,uhelper=udisks2)
/dev/mmcblk0p1 on /mnt/boot-sav/mmcblk0p1 type vfat (rw,relatime,fmask=0022,dmask=0022,codepage=437,iocharset=iso8859-1,shortname=mixed,errors=remount-ro)


=================== ls:
/sys/block/mmcblk0 (filtered):  alignment_offset bdi capability dev device discard_alignment ext_range force_ro holders inflight integrity mmcblk0boot0 mmcblk0boot1 mmcblk0p1 mmcblk0p2 mmcblk0p3 mmcblk0rpmb power queue range removable ro size slaves stat subsystem trace uevent
/sys/block/mmcblk0boot0 (filtered):  alignment_offset bdi capability dev device discard_alignment ext_range force_ro holders inflight integrity power queue range removable ro ro_lock_until_next_power_on size slaves stat subsystem trace uevent
/sys/block/mmcblk0boot1 (filtered):  alignment_offset bdi capability dev device discard_alignment ext_range force_ro holders inflight integrity power queue range removable ro ro_lock_until_next_power_on size slaves stat subsystem trace uevent
/sys/block/mmcblk0rpmb (filtered):  alignment_offset bdi capability dev device discard_alignment ext_range force_ro holders inflight integrity power queue range removable ro size slaves stat subsystem trace uevent
/sys/block/sda (filtered):  alignment_offset bdi capability dev device discard_alignment events events_async events_poll_msecs ext_range holders inflight integrity power queue range removable ro sda1 size slaves stat subsystem trace uevent
/dev (filtered):  acpi_thermal_rel autofs block bsg btrfs-control bus char console core cpu cpu_dma_latency cuse disk dri drm_dp_aux0 drm_dp_aux1 drm_dp_aux2 ecryptfs fb0 fd full fuse gpiochip0 gpiochip1 gpiochip2 gpiochip3 gpiochip4 hidraw0 hpet hugepages hwrng i2c-0 i2c-1 i2c-10 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 mmcblk0 mmcblk0boot0 mmcblk0boot1 mmcblk0p1 mmcblk0p2 mmcblk0p3 mmcblk0rpmb mqueue net network_latency network_throughput null port ppp psaux ptmx pts random rfkill rtc rtc0 sda sda1 sg0 shm snapshot snd stderr stdin stdout tpm0 tpmrm0 uhid uinput urandom userio v4l vfio vga_arbiter vhci vhost-net vhost-vsock video0 zero
ls /dev/mapper:  control

=================== hexdump -n512 -C /dev/mmcblk0p1
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  10 00 04 00 00 08 00 00  |................|
00000020  00 00 10 00 fe 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 30 b2 db 96 4e  4f 20 4e 41 4d 45 20 20  |..)0...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

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

Filesystem     Type      Size  Used Avail Use% Mounted on
udev           devtmpfs  1.9G     0  1.9G   0% /dev
tmpfs          tmpfs     385M   12M  374M   3% /run
/dev/sda1      vfat      3.8G  1.6G  2.2G  42% /cdrom
/dev/loop0     squashfs  1.5G  1.5G     0 100% /rofs
aufs           aufs      1.9G  162M  1.8G   9% /
tmpfs          tmpfs     1.9G   26M  1.9G   2% /dev/shm
tmpfs          tmpfs     5.0M  4.0K  5.0M   1% /run/lock
tmpfs          tmpfs     1.9G     0  1.9G   0% /sys/fs/cgroup
tmpfs          tmpfs     1.9G  1.5M  1.9G   1% /tmp
tmpfs          tmpfs     385M  104K  385M   1% /run/user/999
/dev/mmcblk0p2 ext4       25G   12G   11G  53% /media/ubuntu/e6cb18f1-2181-4ece-9d5f-3cae47308198
/dev/mmcblk0p1 vfat      511M  3.5M  508M   1% /mnt/boot-sav/mmcblk0p1

=================== fdisk -l:
Disk /dev/loop0: 1.5 GiB, 1564921856 bytes, 3056488 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/mmcblk0: 29.1 GiB, 31268536320 bytes, 61071360 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: 1AE187A7-0635-445C-9F67-4797EF3565A1

Device            Start      End  Sectors  Size Type
/dev/mmcblk0p1     2048  1050623  1048576  512M EFI System
/dev/mmcblk0p2  1050624 52885503 51834880 24.7G Linux filesystem
/dev/mmcblk0p3 52885504 61069311  8183808  3.9G Linux swap




Disk /dev/mmcblk0boot1: 4 MiB, 4194304 bytes, 8192 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/mmcblk0boot0: 4 MiB, 4194304 bytes, 8192 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: 3.7 GiB, 3999268864 bytes, 7811072 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: 0xc3072e18

Device     Boot Start     End Sectors  Size Id Type
/dev/sda1  *     8064 7811071 7803008  3.7G  c W95 FAT32 (LBA)



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


/boot/efi added in mmcblk0p2/fstab
Mount mmcblk0p1 on /media/ubuntu/e6cb18f1-2181-4ece-9d5f-3cae47308198/boot/efi
efi files in mmcblk0p1/efi: /ubuntu/shimx64.efi /ubuntu/mmx64.efi /ubuntu/grubx64.efi /ubuntu/fwupx64.efi
Unhide GRUB boot menu in mmcblk0p2/etc/default/grub

*******lspci -nnk | grep -iA3 vga
00:02.0 VGA compatible controller [0300]: Intel Corporation Device [8086:22b1] (rev 35)
Subsystem: ASUSTeK Computer Inc. Device [1043:1d5d]
Kernel driver in use: i915
Kernel modules: i915
*******

grub-install --version
grub-install (GRUB) 2.02~beta2-36ubuntu3.17,grub-install (GRUB) 2.

chroot /media/ubuntu/e6cb18f1-2181-4ece-9d5f-3cae47308198 efibootmgr -v
BootCurrent: 0002
Timeout: 2 seconds
BootOrder: 0000,0001,0002,0003
Boot0000* ubuntu	HD(1,GPT,55fe2b62-1076-4651-aeb0-f639b64dcbd8,0x800,0x100000)/File(EFIUBUNTUSHIMX64.EFI)
Boot0001* ubuntu	HD(1,GPT,55fe2b62-1076-4651-aeb0-f639b64dcbd8,0x800,0x100000)/File(EFIUBUNTUGRUBX64.EFI)..BO
Boot0002* UEFI:  USB DISK 2.0 PMAP, Partition 1	PciRoot(0x0)/Pci(0x14,0x0)/USB(1,0)/HD(1,MBR,0x24,0x1f80,0x771080)..BO
Boot0003* Hard Drive	BBS(HD,,0x0)..GO..NO........c. .U.S.B. .D.I.S.K. .2...0. .P.M.A.P....................A.......................6..Gd-.;.A..MQ..L.0.7.B.6.1.5.0.2.4.C.7.7.0.6.2.9........BO

chroot /media/ubuntu/e6cb18f1-2181-4ece-9d5f-3cae47308198 uname -r
Kernel: 4.13.0-36-generic

Reinstall the grub-efi-amd64-signed of mmcblk0p2
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 mmcblk0p1/efi: /ubuntu/shimx64.efi /ubuntu/mmx64.efi /ubuntu/grubx64.efi /ubuntu/fwupx64.efi
df /dev/mmcblk0p1
cp /media/ubuntu/e6cb18f1-2181-4ece-9d5f-3cae47308198/boot/efi/EFI/ubuntu/shimx64.efi /media/ubuntu/e6cb18f1-2181-4ece-9d5f-3cae47308198/boot/efi/EFI/Boot/bootx64.efi (& .grb)
efi files in mmcblk0p1/efi: /ubuntu/shimx64.efi /ubuntu/mmx64.efi /ubuntu/grubx64.efi /ubuntu/fwupx64.efi /Boot/bootx64.efi
Add /media/ubuntu/e6cb18f1-2181-4ece-9d5f-3cae47308198/boot/efi efi entries in /media/ubuntu/e6cb18f1-2181-4ece-9d5f-3cae47308198/etc/grub.d/25_custom
Adding custom /media/ubuntu/e6cb18f1-2181-4ece-9d5f-3cae47308198/boot/efi/EFI/ubuntu/fwupx64.efi
Adding custom /media/ubuntu/e6cb18f1-2181-4ece-9d5f-3cae47308198/boot/efi/EFI/ubuntu/mmx64.efi

chroot /media/ubuntu/e6cb18f1-2181-4ece-9d5f-3cae47308198 efibootmgr -v
BootCurrent: 0002
Timeout: 2 seconds
BootOrder: 0000,0002,0003
Boot0000* ubuntu	HD(1,GPT,55fe2b62-1076-4651-aeb0-f639b64dcbd8,0x800,0x100000)/File(EFIubuntushimx64.efi)
Boot0002* UEFI:  USB DISK 2.0 PMAP, Partition 1	PciRoot(0x0)/Pci(0x14,0x0)/USB(1,0)/HD(1,MBR,0x24,0x1f80,0x771080)..BO
Boot0003* Hard Drive	BBS(HD,,0x0)..GO..NO........c. .U.S.B. .D.I.S.K. .2...0. .P.M.A.P....................A.......................6..Gd-.;.A..MQ..L.0.7.B.6.1.5.0.2.4.C.7.7.0.6.2.9........BO

chroot /media/ubuntu/e6cb18f1-2181-4ece-9d5f-3cae47308198 update-grub
Generating grub configuration file ...
Found linux image: /boot/vmlinuz-4.13.0-39-generic
Found initrd image: /boot/initrd.img-4.13.0-39-generic
Found linux image: /boot/vmlinuz-4.13.0-38-generic
Found initrd image: /boot/initrd.img-4.13.0-38-generic
Found linux image: /boot/vmlinuz-4.13.0-37-generic
Found initrd image: /boot/initrd.img-4.13.0-37-generic
Found linux image: /boot/vmlinuz-4.13.0-36-generic
Found initrd image: /boot/initrd.img-4.13.0-36-generic
Found linux image: /boot/vmlinuz-4.13.0-32-generic
Found initrd image: /boot/initrd.img-4.13.0-32-generic
Found linux image: /boot/vmlinuz-4.13.0-26-generic
Found initrd image: /boot/initrd.img-4.13.0-26-generic
Found linux image: /boot/vmlinuz-4.10.0-42-generic
Found initrd image: /boot/initrd.img-4.10.0-42-generic
Found linux image: /boot/vmlinuz-4.10.0-28-generic
Found initrd image: /boot/initrd.img-4.10.0-28-generic
Adding boot menu entry for EFI firmware configuration
mount: /dev/mmcblk0 is already mounted or /mnt/boot-sav/mmcblk0 busy
mount /dev/mmcblk0 : Error code 32
mount -r /dev/mmcblk0 /mnt/boot-sav/mmcblk0
mount: /dev/mmcblk0 is already mounted or /mnt/boot-sav/mmcblk0 busy
mount -r /dev/mmcblk0 : Error code 32
Unhide GRUB boot menu in mmcblk0p2/boot/grub/grub.cfg

Boot successfully repaired.

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

Pour moi, cette réparation a bien fonctionné (les opérations prévues se sont bien effectuées) mais il est possible qu'elle n'ait pas résolu le pb emergency. Cette réparation (que tu n'as pas comprise) visait bien à réparer le démarrage de ton Ubuntu installé.
Je dois dire que je ne comprends rien à ton post #10 à partir de : "Par ailleurs je suis bloquer à l'étape : Installation de la structure de boot EFI en lignes de commandes....". Je ne comprends pas ce que tu fais. Un peu plus bas, tu écris "Puis dans le tutos ont m'indique" mais de quel tuto s'agit-il ? Peux-tu donner le lien vers ce tuto ?

Dernière modification par malbo (Le 30/04/2018, à 06:04)

Hors ligne

#12 Le 30/04/2018, à 12:13

TankG

Re : Problème emergency

Je parlais du tutos que tu m'avais mis en liens dans ton post 6 : https://doc.ubuntu-fr.org/boot-repair
A partir du point 2.5" Installation de la structure de boot EFI en lignes de commandes."
Je ne comprends plus ce q'il faut faire.

Par ailleurs je pense que j'ai du faire quelque chose qu'il ne fallait pas
Hier j'ai éteins mon ordi. Et ce matin quand je le rallume (toujours avec la clef usb ubuntu branché), l'écran d’accueil m'affiche plusieurs possibilités
. Ubuntu : ce qui me démarre l'ordi sur ma version ubuntu de base et qui m'affiche le problème emergency.
.  *Advenced options for ubuntu : m'indique mes versions d'ubuntu (avec les upstart et les recovery mode)
. EFI/ubuntu/fwupx64.efi : quand je le selectionne cela recharge juste la page, rien ne ce passe
. EFI/ubuntu/mmx64.efi : quand je le sélectionne me bascule sur une interface nommer "Perform MOK management"
. System setup : quand je le sélectionne j'arrive a mon BIOS

(et merciii de ton aide)

Hors ligne