Boot Info Script cfd9efe + Boot-Repair extra info [Boot-Info 26Apr2016]
============================= Boot Info Summary: ===============================
=> Syslinux MBR (3.61-4.03) is installed in the MBR of /dev/sda.
sda1: __________________________________________________________________________
File system: vfat
Boot sector type: Unknown
Boot sector info: According to the info in the boot sector, sda1 starts
at sector 0. But according to the info from fdisk,
sda1 starts at sector 40.
Operating System:
Boot files:
sda2: __________________________________________________________________________
File system: vfat
Boot sector type: SYSLINUX 4.03 0x4d8ae235
Boot sector info: Syslinux looks at sector 3054630 of /dev/sda2 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: 14.5 GiB, 15522070528 bytes, 30316544 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 409,639 409,639 ee GPT
/dev/sda2 * 411,648 30,314,495 29,902,848 b W95 FAT32
GUID Partition Table detected.
Partition Attrs Start Sector End Sector # of Sectors System
/dev/sda1 40 409,639 409,600 EFI System partition
/dev/sda2 411,648 30,314,495 29,902,848 Data partition (Windows/Linux)
Attributes: R=Required, N=No Block IO, B=Legacy BIOS Bootable, +=More bits set
"blkid" output: ________________________________________________________________
Device UUID TYPE LABEL
/dev/loop0 squashfs
/dev/mmcblk0
/dev/mmcblk0p1 a9fc6300-04c3-40a0-b16f-6e7f47ffb413 ext4
/dev/mmcblk0p5 d58ec769-e7ac-4c4f-90b6-294289bc3977 swap
/dev/sda1 67E3-17ED vfat EFI
/dev/sda2 47E5-1DFF vfat 123456
========================= "ls -l /dev/disk/by-id" output: ======================
total 0
lrwxrwxrwx 1 root root 13 Aug 2 15:41 mmc-DF4032_0x30465f50 -> ../../mmcblk0
lrwxrwxrwx 1 root root 15 Aug 2 15:41 mmc-DF4032_0x30465f50-part1 -> ../../mmcblk0p1
lrwxrwxrwx 1 root root 15 Aug 2 15:41 mmc-DF4032_0x30465f50-part2 -> ../../mmcblk0p2
lrwxrwxrwx 1 root root 15 Aug 2 15:41 mmc-DF4032_0x30465f50-part5 -> ../../mmcblk0p5
lrwxrwxrwx 1 root root 9 Aug 2 15:46 usb-SanDisk_Cruzer_Glide_20043514611DEF71659D-0:0 -> ../../sda
lrwxrwxrwx 1 root root 10 Aug 2 15:46 usb-SanDisk_Cruzer_Glide_20043514611DEF71659D-0:0-part1 -> ../../sda1
lrwxrwxrwx 1 root root 10 Aug 2 15:46 usb-SanDisk_Cruzer_Glide_20043514611DEF71659D-0:0-part2 -> ../../sda2
================================ Mount points: =================================
Device Mount_Point Type Options
/dev/loop0 /rofs squashfs (ro,noatime)
/dev/mmcblk0p1 /media/ubuntu/a9fc6300-04c3-40a0-b16f-6e7f47ffb413 ext4 (rw,nosuid,nodev,relatime,data=ordered,uhelper=udisks2)
/dev/sda2 /cdrom vfat (ro,noatime,fmask=0022,dmask=0022,codepage=437,iocharset=iso8859-1,shortname=mixed,errors=remount-ro)
=========================== sda2/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
}
--------------------------------------------------------------------------------
============================== sda2/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 ---
--------------------------------------------------------------------------------
=================== sda2: Location of files loaded by Grub: ====================
GiB - GB File Fragment(s)
?? = ?? boot/grub/grub.cfg 1
================= sda2: Location of files loaded by Syslinux: ==================
GiB - GB File Fragment(s)
?? = ?? syslinux.cfg 1
?? = ?? ldlinux.sys 1
?? = ?? menu.c32 1
============== sda2: Version of COM32(R) files used by Syslinux: ===============
menu.c32 : COM32R module (v4.xx)
======================== Unknown MBRs/Boot Sectors/etc: ========================
Unknown BootLoader on sda1
00000000 eb 58 90 42 53 44 20 20 34 2e 34 00 02 01 20 00 |.X.BSD 4.4... .|
00000010 02 00 00 00 00 f0 00 00 20 00 10 00 00 00 00 00 |........ .......|
00000020 00 40 06 00 4f 0c
00 00 00 00 00 00 02 00 00 00 |[email protected]...........
|
00000030 01 00 06 00 00 00 00 00 00 00 00 00 00 00 00 00 |................|
00000040 00 00 29 ed 17 e3 67 45 46 49 20 20 20 20 20 20 |..)...gEFI |
00000050 20 20 46 41 54 33 32 20 20 20 fa 31 c0 8e d0 bc | FAT32 .1....|
00000060 00 7c fb 8e d8 e8 00 00 5e 83 c6 19 bb 07 00 fc |.|......^.......|
00000070 ac 84 c0 74 06 b4 0e cd 10 eb f5 30 e4 cd 16 cd |...t.......0....|
00000080 19 0d 0a 4e 6f 6e 2d 73 79 73 74 65 6d 20 64 69 |...Non-system di|
00000090 73 6b 0d 0a 50 72 65 73 73 20 61 6e 79 20 6b 65 |sk..Press any ke|
000000a0 79 20 74 6f 20 72 65 62 6f 6f 74 0d 0a 00 00 00 |y to reboot.....|
000000b0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................|
*
000001f0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 55 aa |..............U.|
00000200
=============================== StdErr Messages: ===============================
File descriptor 9 (/proc/14061/mounts) leaked on lvs invocation. Parent PID 27733: bash
File descriptor 63 (pipe:[61484]) leaked on lvs invocation. Parent PID 27733: bash
ADDITIONAL INFORMATION :
=================== log of boot-repair 2016-08-02__15h46 ===================
boot-repair version : 4ppa38
boot-sav version : 4ppa38
glade2script version : 3.2.3~ppa1
boot-sav-extra version : 4ppa38
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
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.1 LTS, xenial, Ubuntu, x86_64)
CPU op-mode(s): 32-bit, 64-bit
initrd=/casper/initrd.lz file=/cdrom/preseed/ubuntu.seed boot=casper quiet splash --- BOOT_IMAGE=/casper/vmlinuz.efi
ls: cannot access '/home/usr/.config': No such file or directory
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/mmcblk0p1:Ubuntu 16.04.1 LTS (16.04):Ubuntu:linux
=================== blkid:
/dev/mmcblk0p1: UUID="a9fc6300-04c3-40a0-b16f-6e7f47ffb413" TYPE="ext4" PARTUUID="436013e2-01"
/dev/sda1: LABEL="EFI" UUID="67E3-17ED" TYPE="vfat" PARTLABEL="EFI System Partition" PARTUUID="141b3be6-e72a-4bef-9b84-24e5b3713f7a"
/dev/sda2: LABEL="123456" UUID="47E5-1DFF" TYPE="vfat" PARTLABEL="UNTITLED" PARTUUID="70656922-f51a-45e1-ab94-d1127b38e6b3"
/dev/loop0: TYPE="squashfs"
/dev/mmcblk0p5: UUID="d58ec769-e7ac-4c4f-90b6-294289bc3977" TYPE="swap" PARTUUID="436013e2-05"
/dev/mmcblk0: PTUUID="436013e2" PTTYPE="dos"
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/a9fc6300-04c3-40a0-b16f-6e7f47ffb413/etc/grub.d/ :
drwxr-xr-x 2 root root 4096 Jul 19 20:50 grub.d
total 76
-rwxr-xr-x 1 root root 9791 Jun 17 09:10 00_header
-rwxr-xr-x 1 root root 6258 Mar 15 18:08 05_debian_theme
-rwxr-xr-x 1 root root 12261 Jun 17 09:10 10_linux
-rwxr-xr-x 1 root root 11082 Jun 17 09:10 20_linux_xen
-rwxr-xr-x 1 root root 1992 Jan 28 2016 20_memtest86+
-rwxr-xr-x 1 root root 11692 Jun 17 09:10 30_os-prober
-rwxr-xr-x 1 root root 1418 Jun 17 09:10 30_uefi-firmware
-rwxr-xr-x 1 root root 214 Jun 17 09:10 40_custom
-rwxr-xr-x 1 root root 216 Jun 17 09:10 41_custom
-rw-r--r-- 1 root root 483 Jun 17 09:10 README
=================== /media/ubuntu/a9fc6300-04c3-40a0-b16f-6e7f47ffb413/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"
=================== UEFI/Legacy mode:
This live-session is not in EFI-mode.
EFI in dmesg.
[ 0.000000] ACPI: UEFI 0x000000007A678938 000042 (v01 DELL WN09 00000000 00000000)
SecureBoot maybe enabled.
=================== PARTITIONS & DISKS:
mmcblk0p1 : mmcblk0, not-sepboot, grubenv-ok grub2, signed grub-pc , update-grub, 64, with-boot, is-os, not--efi--part, fstab-without-boot, fstab-without-efi, no-nt, no-winload, no-recov-nor-hid, no-bmgr, notwinboot, apt-get, grub-install, with--usr, fstab-without-usr, not-sep-usr, standard, not-far, /media/ubuntu/a9fc6300-04c3-40a0-b16f-6e7f47ffb413.
sda1 : 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, no-recov-nor-hid, no-bmgr, notwinboot, nopakmgr, nogrubinstall, no---usr, part-has-no-fstab, not-sep-usr, standard, not-far, /mnt/boot-sav/sda1.
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, /mnt/boot-sav/mmcblk0.
mmcblk0 : not-GPT, BIOSboot-not-needed, has-no-EFIpart, not-usb, has-os, 1 sectors * 512 bytes
sda : GPT, no-BIOS_boot, has-no-EFIpart, usb-disk, no-os, 40 sectors * 512 bytes
=================== parted -l:
Model: SanDisk Cruzer Glide (scsi)
Disk /dev/sda: 15.5GB
Sector size (logical/physical): 512B/512B
Partition Table: gpt
Disk Flags:
Number Start End Size File system Name Flags
1 20.5kB 210MB 210MB fat32 EFI System Partition boot, esp
2 211MB 15.5GB 15.3GB fat32 UNTITLED msftdata
Model: Generic SD/MMC Storage Card (sd/mmc)
Disk /dev/mmcblk0rpmb: 4194kB
Sector size (logical/physical): 512B/512B
Partition Table: unknown
Disk Flags:
Model: Generic SD/MMC Storage Card (sd/mmc)
Disk /dev/mmcblk0boot0: 4194kB
Sector size (logical/physical): 512B/512B
Partition Table: unknown
Disk Flags:
Model: Generic SD/MMC Storage Card (sd/mmc)
Disk /dev/mmcblk0boot1: 4194kB
Sector size (logical/physical): 512B/512B
Partition Table: unknown
Disk Flags:
Model: MMC DF4032 (sd/mmc)
Disk /dev/mmcblk0: 31.3GB
Sector size (logical/physical): 512B/512B
Partition Table: msdos
Disk Flags:
Number Start End Size Type File system Flags
1 1049kB 29.2GB 29.2GB primary ext4 boot
2 29.2GB 31.3GB 2038MB extended
5 29.2GB 31.3GB 2038MB logical linux-swap(v1)
=================== parted -lm:
BYT;
/dev/sda:15.5GB:scsi:512:512:gpt:SanDisk Cruzer Glide:;
1:20.5kB:210MB:210MB:fat32:EFI System Partition:boot, esp;
2:211MB:15.5GB:15.3GB:fat32:UNTITLED:msftdata;
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:msdos:MMC DF4032:;
1:1049kB:29.2GB:29.2GB:ext4::boot;
2:29.2GB:31.3GB:2038MB:::;
5:29.2GB:31.3GB:2038MB:linux-swap(v1)::;
=================== lsblk:
KNAME TYPE FSTYPE SIZE LABEL
sda disk 14.5G
sda1 part vfat 200M EFI
sda2 part vfat 14.3G 123456
loop0 loop squashfs 1.4G
mmcblk0rpmb disk 4M
mmcblk0boot0 disk 4M
mmcblk0boot1 disk 4M
mmcblk0 disk 29.1G
mmcblk0p1 part ext4 27.2G
mmcblk0p2 part 1K
mmcblk0p5 part swap 1.9G
KNAME ROTA RO RM STATE MOUNTPOINT
sda 1 0 1 running
sda1 1 0 1 /mnt/boot-sav/sda1
sda2 1 0 1 /cdrom
loop0 1 1 0 /rofs
mmcblk0rpmb 0 0 0
mmcblk0boot0 0 1 0
mmcblk0boot1 0 1 0
mmcblk0 0 0 0
mmcblk0p1 0 0 0 /media/ubuntu/a9fc6300-04c3-40a0-b16f-6e7f47ffb413
mmcblk0p2 0 0 0
mmcblk0p5 0 0 0
=================== 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=957604k,nr_inodes=239401,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=194448k,mode=755)
/dev/sda2 on /cdrom type vfat (ro,noatime,fmask=0022,dmask=0022,codepage=437,iocharset=iso8859-1,shortname=mixed,errors=remount-ro)
/dev/loop0 on /rofs type squashfs (ro,noatime)
/cow on / type overlay (rw,relatime,lowerdir=//filesystem.squashfs,upperdir=/cow/upper,workdir=/cow/work)
securityfs on /sys/kernel/security type securityfs (rw,nosuid,nodev,noexec,relatime)
tmpfs on /dev/shm type tmpfs (rw,nosuid,nodev)
tmpfs on /run/lock type tmpfs (rw,nosuid,nodev,noexec,relatime,size=5120k)
tmpfs on /sys/fs/cgroup type tmpfs (ro,nosuid,nodev,noexec,mode=755)
cgroup on /sys/fs/cgroup/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/devices type cgroup (rw,nosuid,nodev,noexec,relatime,devices)
cgroup on /sys/fs/cgroup/freezer type cgroup (rw,nosuid,nodev,noexec,relatime,freezer)
cgroup on /sys/fs/cgroup/pids type cgroup (rw,nosuid,nodev,noexec,relatime,pids)
cgroup on /sys/fs/cgroup/cpuset type cgroup (rw,nosuid,nodev,noexec,relatime,cpuset)
cgroup on /sys/fs/cgroup/net_cls,net_prio type cgroup (rw,nosuid,nodev,noexec,relatime,net_cls,net_prio)
cgroup on /sys/fs/cgroup/hugetlb type cgroup (rw,nosuid,nodev,noexec,relatime,hugetlb)
cgroup on /sys/fs/cgroup/perf_event type cgroup (rw,nosuid,nodev,noexec,relatime,perf_event)
cgroup on /sys/fs/cgroup/memory type cgroup (rw,nosuid,nodev,noexec,relatime,memory)
cgroup on /sys/fs/cgroup/blkio type cgroup (rw,nosuid,nodev,noexec,relatime,blkio)
systemd-1 on /proc/sys/fs/binfmt_misc type autofs (rw,relatime,fd=33,pgrp=1,timeout=0,minproto=5,maxproto=5,direct)
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)
tracefs on /sys/kernel/debug/tracing type tracefs (rw,relatime)
fusectl on /sys/fs/fuse/connections type fusectl (rw,relatime)
tmpfs on /tmp type tmpfs (rw,nosuid,nodev,relatime)
tmpfs on /run/user/999 type tmpfs (rw,nosuid,nodev,relatime,size=194448k,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/mmcblk0p1 on /media/ubuntu/a9fc6300-04c3-40a0-b16f-6e7f47ffb413 type ext4 (rw,nosuid,nodev,relatime,data=ordered,uhelper=udisks2)
/dev/sda1 on /mnt/boot-sav/sda1 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 mmcblk0p5 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 sda2 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 ecryptfs fb0 fd full fuse hidraw0 hidraw1 hpet hugepages hwrng i2c-0 i2c-1 i2c-2 i2c-3 i2c-4 i2c-5 i2c-6 i2c-7 i2c-8 initctl input kmsg kvm lightnvm log mapper mcelog media0 mei0 mem memory_bandwidth mmcblk0 mmcblk0boot0 mmcblk0boot1 mmcblk0p1 mmcblk0p2 mmcblk0p5 mmcblk0rpmb mqueue net network_latency network_throughput null port ppp psaux ptmx pts random rfkill rtc rtc0 sda sda1 sda2 sg0 shm snapshot snd stderr stdin stdout tpm0 uhid uinput urandom usb userio v4l vfio vga_arbiter vhci vhost-net video0 zero
ls /dev/mapper: control
=================== hexdump -n512 -C /dev/sda1
00000000 eb 58 90 42 53 44 20 20 34 2e 34 00 02 01 20 00 |.X.BSD 4.4... .|
00000010 02 00 00 00 00 f0 00 00 20 00 10 00 00 00 00 00 |........ .......|
00000020 00 40 06 00 4f 0c
00 00 00 00 00 00 02 00 00 00 |[email protected]...........
|
00000030 01 00 06 00 00 00 00 00 00 00 00 00 00 00 00 00 |................|
00000040 00 01 29 ed 17 e3 67 45 46 49 20 20 20 20 20 20 |..)...gEFI |
00000050 20 20 46 41 54 33 32 20 20 20 fa 31 c0 8e d0 bc | FAT32 .1....|
00000060 00 7c fb 8e d8 e8 00 00 5e 83 c6 19 bb 07 00 fc |.|......^.......|
00000070 ac 84 c0 74 06 b4 0e cd 10 eb f5 30 e4 cd 16 cd |...t.......0....|
00000080 19 0d 0a 4e 6f 6e 2d 73 79 73 74 65 6d 20 64 69 |...Non-system di|
00000090 73 6b 0d 0a 50 72 65 73 73 20 61 6e 79 20 6b 65 |sk..Press any ke|
000000a0 79 20 74 6f 20 72 65 62 6f 6f 74 0d 0a 00 00 00 |y to reboot.....|
000000b0 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 936M 0 936M 0% /dev
tmpfs tmpfs 190M 6.3M 184M 4% /run
/dev/sda2 vfat 15G 1.5G 13G 11% /cdrom
/dev/loop0 squashfs 1.4G 1.4G 0 100% /rofs
/cow overlay 950M 51M 899M 6% /
tmpfs tmpfs 950M 236K 950M 1% /dev/shm
tmpfs tmpfs 5.0M 4.0K 5.0M 1% /run/lock
tmpfs tmpfs 950M 0 950M 0% /sys/fs/cgroup
tmpfs tmpfs 950M 256K 950M 1% /tmp
tmpfs tmpfs 190M 104K 190M 1% /run/user/999
/dev/mmcblk0p1 ext4 27G 3.6G 22G 15% /media/ubuntu/a9fc6300-04c3-40a0-b16f-6e7f47ffb413
/dev/sda1 vfat 197M 512 197M 1% /mnt/boot-sav/sda1
=================== fdisk -l:
Disk /dev/ram0: 64 MiB, 67108864 bytes, 131072 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 4096 bytes
I/O size (minimum/optimal): 4096 bytes / 4096 bytes
Disk /dev/ram1: 64 MiB, 67108864 bytes, 131072 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 4096 bytes
I/O size (minimum/optimal): 4096 bytes / 4096 bytes
Disk /dev/ram2: 64 MiB, 67108864 bytes, 131072 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 4096 bytes
I/O size (minimum/optimal): 4096 bytes / 4096 bytes
Disk /dev/ram3: 64 MiB, 67108864 bytes, 131072 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 4096 bytes
I/O size (minimum/optimal): 4096 bytes / 4096 bytes
Disk /dev/ram4: 64 MiB, 67108864 bytes, 131072 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 4096 bytes
I/O size (minimum/optimal): 4096 bytes / 4096 bytes
Disk /dev/ram5: 64 MiB, 67108864 bytes, 131072 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 4096 bytes
I/O size (minimum/optimal): 4096 bytes / 4096 bytes
Disk /dev/ram6: 64 MiB, 67108864 bytes, 131072 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 4096 bytes
I/O size (minimum/optimal): 4096 bytes / 4096 bytes
Disk /dev/ram7: 64 MiB, 67108864 bytes, 131072 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 4096 bytes
I/O size (minimum/optimal): 4096 bytes / 4096 bytes
Disk /dev/ram8: 64 MiB, 67108864 bytes, 131072 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 4096 bytes
I/O size (minimum/optimal): 4096 bytes / 4096 bytes
Disk /dev/ram9: 64 MiB, 67108864 bytes, 131072 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 4096 bytes
I/O size (minimum/optimal): 4096 bytes / 4096 bytes
Disk /dev/ram10: 64 MiB, 67108864 bytes, 131072 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 4096 bytes
I/O size (minimum/optimal): 4096 bytes / 4096 bytes
Disk /dev/ram11: 64 MiB, 67108864 bytes, 131072 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 4096 bytes
I/O size (minimum/optimal): 4096 bytes / 4096 bytes
Disk /dev/ram12: 64 MiB, 67108864 bytes, 131072 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 4096 bytes
I/O size (minimum/optimal): 4096 bytes / 4096 bytes
Disk /dev/ram13: 64 MiB, 67108864 bytes, 131072 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 4096 bytes
I/O size (minimum/optimal): 4096 bytes / 4096 bytes
Disk /dev/ram14: 64 MiB, 67108864 bytes, 131072 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 4096 bytes
I/O size (minimum/optimal): 4096 bytes / 4096 bytes
Disk /dev/ram15: 64 MiB, 67108864 bytes, 131072 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 4096 bytes
I/O size (minimum/optimal): 4096 bytes / 4096 bytes
Disk /dev/loop0: 1.4 GiB, 1459982336 bytes, 2851528 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: dos
Disk identifier: 0x436013e2
Device Boot Start End Sectors Size Id Type
/dev/mmcblk0p1 * 2048 57085951 57083904 27.2G 83 Linux
/dev/mmcblk0p2 57087998 61069311 3981314 1.9G 5 Extended
/dev/mmcblk0p5 57088000 61069311 3981312 1.9G 82 Linux swap / Solaris
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: 14.5 GiB, 15522070528 bytes, 30316544 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: 7162157D-7E41-49DA-8106-697122827191
Device Start End Sectors Size Type
/dev/sda1 40 409639 409600 200M EFI System
/dev/sda2 411648 30314495 29902848 14.3G Microsoft basic data
=================== Recommended repair
The default repair of the Boot-Repair utility will purge (in order to) and reinstall the grub2 of mmcblk0p1 into the MBRs of all disks (except USB without OS).
The boot flag will be placed on mmcblk0p1.
Additional repair will be performed: unhide-bootmenu-10s
chroot /media/ubuntu/a9fc6300-04c3-40a0-b16f-6e7f47ffb413 apt-get -y --force-yes update
Purge the GRUB of mmcblk0p1
grub-pc available
0 upgraded, 0 newly installed, 1 reinstalled, 0 to remove and 3 not upgraded.
W: --force-yes is deprecated, use one of the options starting with --allow instead.
DEBCHECK debOK, grub-pc
DEBCHECK debOK
shim-signed available
linux-signed-generic available
Please type: sudo chroot "/media/ubuntu/a9fc6300-04c3-40a0-b16f-6e7f47ffb413" dpkg --configure -ansudo chroot "/media/ubuntu/a9fc6300-04c3-40a0-b16f-6e7f47ffb413" apt-get install -fynsudo chroot "/media/ubuntu/a9fc6300-04c3-40a0-b16f-6e7f47ffb413" apt-get purge -y --force-yes grub*-common grub-common:i386 shim-signed linux-signed*
=================== /media/ubuntu/a9fc6300-04c3-40a0-b16f-6e7f47ffb413/etc/grub.d/ :
drwxr-xr-x 2 root root 4096 Aug 2 15:48 grub.d
total 4
-rwxr-xr-x 1 root root 1992 Jan 28 2016 20_memtest86+
Then type: sudo chroot "/media/ubuntu/a9fc6300-04c3-40a0-b16f-6e7f47ffb413" apt-get install -y --force-yes grub-pc linux-generic
=================== /media/ubuntu/a9fc6300-04c3-40a0-b16f-6e7f47ffb413/etc/grub.d/ :
drwxr-xr-x 2 root root 4096 Aug 2 15:48 grub.d
drwxr-xr-x 2 root root 4096 Aug 2 15:48 grub.d.bak
total 72
-rwxr-xr-x 1 root root 9791 Jun 17 09:10 00_header
-rwxr-xr-x 1 root root 6258 Mar 15 18:08 05_debian_theme
-rwxr-xr-x 1 root root 12261 Jun 17 09:10 10_linux
-rwxr-xr-x 1 root root 11082 Jun 17 09:10 20_linux_xen
-rwxr-xr-x 1 root root 11692 Jun 17 09:10 30_os-prober
-rwxr-xr-x 1 root root 1418 Jun 17 09:10 30_uefi-firmware
-rwxr-xr-x 1 root root 214 Jun 17 09:10 40_custom
-rwxr-xr-x 1 root root 216 Jun 17 09:10 41_custom
-rw-r--r-- 1 root root 483 Jun 17 09:10 README
=================== /media/ubuntu/a9fc6300-04c3-40a0-b16f-6e7f47ffb413/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"
Unhide GRUB boot menu in mmcblk0p1/etc/default/grub
=================== /media/ubuntu/a9fc6300-04c3-40a0-b16f-6e7f47ffb413/etc/grub.d/ :
drwxr-xr-x 2 root root 4096 Aug 2 15:48 grub.d
drwxr-xr-x 2 root root 4096 Aug 2 15:48 grub.d.bak
total 72
-rwxr-xr-x 1 root root 9791 Jun 17 09:10 00_header
-rwxr-xr-x 1 root root 6258 Mar 15 18:08 05_debian_theme
-rwxr-xr-x 1 root root 12261 Jun 17 09:10 10_linux
-rwxr-xr-x 1 root root 11082 Jun 17 09:10 20_linux_xen
-rwxr-xr-x 1 root root 11692 Jun 17 09:10 30_os-prober
-rwxr-xr-x 1 root root 1418 Jun 17 09:10 30_uefi-firmware
-rwxr-xr-x 1 root root 214 Jun 17 09:10 40_custom
-rwxr-xr-x 1 root root 216 Jun 17 09:10 41_custom
-rw-r--r-- 1 root root 483 Jun 17 09:10 README
=================== /media/ubuntu/a9fc6300-04c3-40a0-b16f-6e7f47ffb413/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"
Reinstall the GRUB of mmcblk0p1 into all MBRs of disks with OS or not-USB
*******lspci -nnk | grep -iA3 vga
00:02.0 VGA compatible controller [0300]: Intel Corporation Device [8086:22b1] (rev 21)
DeviceName: Onboard IGD
Subsystem: Dell Device [1028:0725]
Kernel driver in use: i915
*******
grub-install --version
grub-install (GRUB) 2.02~beta2-36ubuntu3.1,grub-install (GRUB) 2.
Reinstall the GRUB of mmcblk0p1 into the MBR of sda
Installing for i386-pc platform.
grub-install: warning: this GPT partition label contains no BIOS Boot Partition; embedding won't be possible.
grub-install: error: embedding is not possible, but this is required for cross-disk install.
grub-install /dev/sda: exit code of grub-install /dev/sda:1
*******lspci -nnk | grep -iA3 vga
00:02.0 VGA compatible controller [0300]: Intel Corporation Device [8086:22b1] (rev 21)
DeviceName: Onboard IGD
Subsystem: Dell Device [1028:0725]
Kernel driver in use: i915
*******
grub-install --version
grub-install (GRUB) 2.02~beta2-36ubuntu3.1,grub-install (GRUB) 2.
Reinstall the GRUB of mmcblk0p1 into the MBR of mmcblk0
Installing for i386-pc platform.
Installation finished. No error reported.
grub-install /dev/mmcblk0: exit code of grub-install /dev/mmcblk0:0
chroot /media/ubuntu/a9fc6300-04c3-40a0-b16f-6e7f47ffb413 update-grub
Generating grub configuration file ...
Found linux image: /boot/vmlinuz-4.4.0-31-generic
Found initrd image: /boot/initrd.img-4.4.0-31-generic
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 mmcblk0p1/boot/grub/grub.cfg
Boot successfully repaired.
You can now reboot your computer.
Please do not forget to make your BIOS boot on mmcblk0 (31.3GB) disk!
paste.ubuntu.com ko (), using paste.debian
paste.debian.net ko (), using paste2