https://medium.com/@im4818one/how-to-repair-grub2-when-ubuntu-wont-boot-dc3a1c3a1f5b
To run a command as administrator (user "root"), use "sudo <command>".
See "man sudo_root" for details.
ubuntu@ubuntu:~$ sudo boot-repair
sudo: boot-repair: command not found
ubuntu@ubuntu:~$ boot-repair
boot-repair: command not found
ubuntu@ubuntu:~$ sudo apt-add-repository ppa:yannubuntu/boot-repair
Simple tool to repair frequent boot problems.
Website: https://sourceforge.net/p/boot-repair/home
More info: https://launchpad.net/~yannubuntu/+archive/ubuntu/boot-repair
Press [ENTER] to continue or ctrl-c to cancel adding it
gpg: keyring `/tmp/tmplzfxjdi4/secring.gpg' created
gpg: keyring `/tmp/tmplzfxjdi4/pubring.gpg' created
gpg: requesting key 60D8DA0B from hkp server keyserver.ubuntu.com
gpg: /tmp/tmplzfxjdi4/trustdb.gpg: trustdb created
gpg: key 60D8DA0B: public key "Launchpad PPA for YannUbuntu" imported
gpg: Total number processed: 1
gpg: imported: 1 (RSA: 1)
OK
ubuntu@ubuntu:~$ udo apt-get update
The program 'udo' is currently not installed. You can install it by typing:
sudo apt install udo
You will have to enable the component called 'universe'
ubuntu@ubuntu:~$ sudo apt-get update
Ign:1 cdrom://Ubuntu 16.04.2 LTS _Xenial Xerus_ - Release amd64 (20170215.2) xenial InRelease
Hit:2 cdrom://Ubuntu 16.04.2 LTS _Xenial Xerus_ - Release amd64 (20170215.2) xenial Release
Get:4 http://security.ubuntu.com/ubuntu xenial-security InRelease [107 kB]
Hit:5 http://archive.ubuntu.com/ubuntu xenial InRelease
Get:6 http://ppa.launchpad.net/yannubuntu/boot-repair/ubuntu xenial InRelease [17.5 kB]
Get:7 http://archive.ubuntu.com/ubuntu xenial-updates InRelease [109 kB]
Get:8 http://ppa.launchpad.net/yannubuntu/boot-repair/ubuntu xenial/main amd64 Packages [1,876 B]
Get:9 http://ppa.launchpad.net/yannubuntu/boot-repair/ubuntu xenial/main Translation-en [2,036 B]
Get:10 http://security.ubuntu.com/ubuntu xenial-security/main amd64 Packages [518 kB]
Get:11 http://archive.ubuntu.com/ubuntu xenial-updates/main amd64 Packages [804 kB]
Get:12 http://security.ubuntu.com/ubuntu xenial-security/main Translation-en [222 kB]
Get:13 http://security.ubuntu.com/ubuntu xenial-security/main amd64 DEP-11 Metadata [67.7 kB]
Get:14 http://security.ubuntu.com/ubuntu xenial-security/main DEP-11 64x64 Icons [68.0 kB]
Get:15 http://security.ubuntu.com/ubuntu xenial-security/restricted amd64 Packages [7,204 B]
Get:16 http://security.ubuntu.com/ubuntu xenial-security/restricted Translation-en [2,152 B]
Get:17 http://archive.ubuntu.com/ubuntu xenial-updates/main Translation-en [331 kB]
Get:18 http://archive.ubuntu.com/ubuntu xenial-updates/main amd64 DEP-11 Metadata [318 kB]
Get:19 http://archive.ubuntu.com/ubuntu xenial-updates/main DEP-11 64x64 Icons [232 kB]
Get:20 http://archive.ubuntu.com/ubuntu xenial-updates/restricted amd64 Packages [7,560 B]
Get:21 http://archive.ubuntu.com/ubuntu xenial-updates/restricted Translation-en [2,272 B]
Fetched 2,818 kB in 15s (184 kB/s)
** (appstreamcli:3551): CRITICAL **: Error while moving old database out of the way.
AppStream cache update failed.
Reading package lists... Done
ubuntu@ubuntu:~$ sudo apt-get install -y boot-repair
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following additional packages will be installed:
boot-sav boot-sav-extra gawk glade2script libsigsegv2 pastebinit python-gi
Suggested packages:
boot-info mdadm os-uninstaller gawk-doc python-gi-cairo
The following NEW packages will be installed:
boot-repair boot-sav boot-sav-extra gawk glade2script libsigsegv2 pastebinit
python-gi
0 upgraded, 8 newly installed, 0 to remove and 600 not upgraded.
Need to get 1,237 kB of archives.
After this operation, 5,221 kB of additional disk space will be used.
Get:1 http://archive.ubuntu.com/ubuntu xenial/main amd64 libsigsegv2 amd64 2.10-4 [14.1 kB]
Get:3 http://ppa.launchpad.net/yannubuntu/boot-repair/ubuntu xenial/main amd64 glade2script all 3.2.3~ppa4 [36.0 kB]
Get:2 http://122.2.223.76:80/data/0072650377ac320e/archive.ubuntu.com/ubuntu xenial/main amd64 gawk amd64 1:4.1.3+dfsg-0.1 [398 kB]
Get:4 http://122.2.223.76:80/data/007289034dadb4a5/archive.ubuntu.com/ubuntu xenial/main amd64 python-gi amd64 3.20.0-0ubuntu1 [194 kB]
Get:5 http://122.2.223.76:80/data/0072db0333afa289/archive.ubuntu.com/ubuntu xenial/main amd64 pastebinit all 1.5-1 [14.6 kB]
Get:6 http://ppa.launchpad.net/yannubuntu/boot-repair/ubuntu xenial/main amd64 boot-sav all 4ppa65 [425 kB]
Get:7 http://ppa.launchpad.net/yannubuntu/boot-repair/ubuntu xenial/main amd64 boot-repair all 4ppa65 [12.4 kB]
Get:8 http://ppa.launchpad.net/yannubuntu/boot-repair/ubuntu xenial/main amd64 boot-sav-extra all 4ppa65 [142 kB]
Fetched 1,237 kB in 9s (133 kB/s)
Selecting previously unselected package libsigsegv2:amd64.
(Reading database ... 193483 files and directories currently installed.)
Preparing to unpack .../libsigsegv2_2.10-4_amd64.deb ...
Unpacking libsigsegv2:amd64 (2.10-4) ...
Setting up libsigsegv2:amd64 (2.10-4) ...
Processing triggers for libc-bin (2.23-0ubuntu5) ...
Selecting previously unselected package gawk.
(Reading database ... 193491 files and directories currently installed.)
Preparing to unpack .../gawk_1%3a4.1.3+dfsg-0.1_amd64.deb ...
Unpacking gawk (1:4.1.3+dfsg-0.1) ...
Selecting previously unselected package python-gi.
Preparing to unpack .../python-gi_3.20.0-0ubuntu1_amd64.deb ...
Unpacking python-gi (3.20.0-0ubuntu1) ...
Selecting previously unselected package glade2script.
Preparing to unpack .../glade2script_3.2.3~ppa4_all.deb ...
Unpacking glade2script (3.2.3~ppa4) ...
Selecting previously unselected package boot-sav.
Preparing to unpack .../boot-sav_4ppa65_all.deb ...
Unpacking boot-sav (4ppa65) ...
Selecting previously unselected package boot-repair.
Preparing to unpack .../boot-repair_4ppa65_all.deb ...
Unpacking boot-repair (4ppa65) ...
Selecting previously unselected package boot-sav-extra.
Preparing to unpack .../boot-sav-extra_4ppa65_all.deb ...
Unpacking boot-sav-extra (4ppa65) ...
Selecting previously unselected package pastebinit.
Preparing to unpack .../pastebinit_1.5-1_all.deb ...
Unpacking pastebinit (1.5-1) ...
Processing triggers for man-db (2.7.5-1) ...
Processing triggers for gnome-menus (3.13.3-6ubuntu3.1) ...
Processing triggers for desktop-file-utils (0.22-1ubuntu5) ...
Processing triggers for bamfdaemon (0.5.3~bzr0+16.04.20160824-0ubuntu1) ...
Rebuilding /usr/share/applications/bamf-2.index...
Processing triggers for mime-support (3.59ubuntu1) ...
Setting up gawk (1:4.1.3+dfsg-0.1) ...
Setting up python-gi (3.20.0-0ubuntu1) ...
Setting up glade2script (3.2.3~ppa4) ...
Setting up boot-sav (4ppa65) ...
Setting up boot-repair (4ppa65) ...
Setting up boot-sav-extra (4ppa65) ...
Setting up pastebinit (1.5-1) ...
ubuntu@ubuntu:~$ boot-repair
ubuntu@ubuntu:~$
ubuntu@ubuntu:~$ sudo
usage: sudo -h | -K | -k | -V
usage: sudo -v [-AknS] [-g group] [-h host] [-p prompt] [-u user]
usage: sudo -l [-AknS] [-g group] [-h host] [-p prompt] [-U user] [-u user]
[command]
usage: sudo [-AbEHknPS] [-r role] [-t type] [-C num] [-g group] [-h host] [-p
prompt] [-u user] [VAR=value] [-i|-s] [<command>]
usage: sudo -e [-AknS] [-r role] [-t type] [-C num] [-g group] [-h host] [-p
prompt] [-u user] file ...
ubuntu@ubuntu:~$ sudo chroot "/mnt/boot-sav/mapper/ubuntu--vg-root" dpkg --configure -a
ubuntu@ubuntu:~$ sudo chroot "/mnt/boot-sav/mapper/ubuntu--vg-root" apt-get install -fy
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following packages were automatically installed and are no longer required:
libllvm5.0 libllvm5.0:i386 linux-headers-4.13.0-32
linux-headers-4.13.0-32-generic linux-headers-4.13.0-36
linux-headers-4.13.0-36-generic linux-image-4.13.0-32-generic
linux-image-4.13.0-36-generic linux-image-extra-4.13.0-32-generic
linux-image-extra-4.13.0-36-generic linux-signed-image-4.13.0-32-generic
linux-signed-image-4.13.0-36-generic
Use 'sudo apt autoremove' to remove them.
0 upgraded, 0 newly installed, 0 to remove and 16 not upgraded.
ubuntu@ubuntu:~$ sudo chroot "/mnt/boot-sav/mapper/ubuntu--vg-root" apt-get install -y mdadm
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following packages were automatically installed and are no longer required:
libllvm5.0 libllvm5.0:i386 linux-headers-4.13.0-32
linux-headers-4.13.0-32-generic linux-headers-4.13.0-36
linux-headers-4.13.0-36-generic linux-image-4.13.0-32-generic
linux-image-4.13.0-36-generic linux-image-extra-4.13.0-32-generic
linux-image-extra-4.13.0-36-generic linux-signed-image-4.13.0-32-generic
linux-signed-image-4.13.0-36-generic
Use 'sudo apt autoremove' to remove them.
Suggested packages:
default-mta | mail-transport-agent dracut-core
The following NEW packages will be installed:
mdadm
0 upgraded, 1 newly installed, 0 to remove and 16 not upgraded.
Need to get 394 kB of archives.
After this operation, 1,208 kB of additional disk space will be used.
Get:1 http://us.archive.ubuntu.com/ubuntu xenial-updates/main amd64 mdadm amd64 3.3-2ubuntu7.6 [394 kB]
Fetched 394 kB in 2s (171 kB/s)
Preconfiguring packages ...
Selecting previously unselected package mdadm.
(Reading database ... 314302 files and directories currently installed.)
Preparing to unpack .../mdadm_3.3-2ubuntu7.6_amd64.deb ...
Unpacking mdadm (3.3-2ubuntu7.6) ...
Processing triggers for systemd (229-4ubuntu21.2) ...
Running in chroot, ignoring request.
Processing triggers for ureadahead (0.100.0-19) ...
Processing triggers for doc-base (0.10.7) ...
Processing 4 added doc-base files...
Processing triggers for man-db (2.7.5-1) ...
Setting up mdadm (3.3-2ubuntu7.6) ...
Generating mdadm.conf... done.
Running in chroot, ignoring request.
update-initramfs: deferring update (trigger activated)
Generating grub configuration file ...
Warning: Setting GRUB_TIMEOUT to a non-zero value when GRUB_HIDDEN_TIMEOUT is set is no longer supported.
File descriptor 3 (pipe:[63834]) leaked on vgs invocation. Parent PID 30295: /usr/sbin/grub-probe
File descriptor 3 (pipe:[63834]) leaked on vgs invocation. Parent PID 30295: /usr/sbin/grub-probe
Found linux image: /boot/vmlinuz-4.13.0-45-generic
Found initrd image: /boot/initrd.img-4.13.0-45-generic
Found linux image: /boot/vmlinuz-4.13.0-41-generic
Found initrd image: /boot/initrd.img-4.13.0-41-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
File descriptor 3 (pipe:[63834]) leaked on vgs invocation. Parent PID 31304: /usr/sbin/grub-probe
File descriptor 3 (pipe:[63834]) leaked on vgs invocation. Parent PID 31304: /usr/sbin/grub-probe
File descriptor 3 (pipe:[63834]) leaked on lvs invocation. Parent PID 31456: /bin/sh
Adding boot menu entry for EFI firmware configuration
done
Running in chroot, ignoring request.
Running in chroot, ignoring request.
update-rc.d: warning: start and stop actions are no longer supported; falling back to defaults
Running in chroot, ignoring request.
Processing triggers for systemd (229-4ubuntu21.2) ...
Running in chroot, ignoring request.
Processing triggers for ureadahead (0.100.0-19) ...
Processing triggers for initramfs-tools (0.122ubuntu8.11) ...
update-initramfs: Generating /boot/initrd.img-4.13.0-45-generic
cryptsetup: WARNING: invalid line in /etc/crypttab for luks-acda6026-95aa-4d4e-ab4b-c0fa05c60a09 -
cryptsetup: WARNING: invalid line in /etc/crypttab for luks-acda6026-95aa-4d4e-ab4b-c0fa05c60a09 -
W: mdadm: /etc/mdadm/mdadm.conf defines no arrays.
ubuntu@ubuntu:~$ sudo chroot "/mnt/boot-sav/mapper/ubuntu--vg-root" mdadm --assemble --scan
mdadm: No arrays found in config file or automatically
ubuntu@ubuntu:~$ sudo chroot "/mnt/boot-sav/mapper/ubuntu--vg-root" apt-get install -y lvm2
Reading package lists... Done
Building dependency tree
Reading state information... Done
lvm2 is already the newest version (2.02.133-1ubuntu10).
The following packages were automatically installed and are no longer required:
libllvm5.0 libllvm5.0:i386 linux-headers-4.13.0-32
linux-headers-4.13.0-32-generic linux-headers-4.13.0-36
linux-headers-4.13.0-36-generic linux-image-4.13.0-32-generic
linux-image-4.13.0-36-generic linux-image-extra-4.13.0-32-generic
linux-image-extra-4.13.0-36-generic linux-signed-image-4.13.0-32-generic
linux-signed-image-4.13.0-36-generic
Use 'sudo apt autoremove' to remove them.
0 upgraded, 0 newly installed, 0 to remove and 16 not upgraded.
ubuntu@ubuntu:~$ sudo chroot "/mnt/boot-sav/mapper/ubuntu--vg-root" apt-get purge -y grub*-common grub-common:i386 shim-signed
Reading package lists... Done
Building dependency tree
Reading state information... Done
Note, selecting 'grub-common' for glob 'grub*-common'
Note, selecting 'grub2-common' for glob 'grub*-common'
Package 'grub-common:i386' is not installed, so not removed. Did you mean 'grub-common'?
The following packages were automatically installed and are no longer required:
libllvm5.0 libllvm5.0:i386 linux-headers-4.13.0-32
linux-headers-4.13.0-32-generic linux-headers-4.13.0-36
linux-headers-4.13.0-36-generic linux-image-4.13.0-32-generic
linux-image-4.13.0-36-generic linux-image-extra-4.13.0-32-generic
linux-image-extra-4.13.0-36-generic linux-signed-image-4.13.0-32-generic
linux-signed-image-4.13.0-36-generic shim
Use 'sudo apt autoremove' to remove them.
The following packages will be REMOVED:
grub-common* grub-efi-amd64* grub-efi-amd64-bin* grub-efi-amd64-signed*
grub-pc-bin* grub2-common* os-prober* shim-signed*
0 upgraded, 0 newly installed, 8 to remove and 16 not upgraded.
After this operation, 23.9 MB disk space will be freed.
(Reading database ... 314371 files and directories currently installed.)
Removing os-prober (1.70ubuntu3.3) ...
Removing shim-signed (1.33.1~16.04.1+13-0ubuntu2) ...
Purging configuration files for shim-signed (1.33.1~16.04.1+13-0ubuntu2) ...
Removing grub-efi-amd64-signed (1.66.18+2.02~beta2-36ubuntu3.18) ...
Removing grub-efi-amd64 (2.02~beta2-36ubuntu3.18) ...
Purging configuration files for grub-efi-amd64 (2.02~beta2-36ubuntu3.18) ...
Removing grub-efi-amd64-bin (2.02~beta2-36ubuntu3.18) ...
Removing grub-pc-bin (2.02~beta2-36ubuntu3.18) ...
Removing grub2-common (2.02~beta2-36ubuntu3.18) ...
Removing grub-common (2.02~beta2-36ubuntu3.18) ...
Running in chroot, ignoring request.
Running in chroot, ignoring request.
Running in chroot, ignoring request.
Running in chroot, ignoring request.
Running in chroot, ignoring request.
Purging configuration files for grub-common (2.02~beta2-36ubuntu3.18) ...
Running in chroot, ignoring request.
Running in chroot, ignoring request.
Processing triggers for man-db (2.7.5-1) ...
Processing triggers for install-info (6.1.0.dfsg.1-5) ...
ubuntu@ubuntu:~$ sudo chroot "/mnt/boot-sav/mapper/ubuntu--vg-root" apt-get install -y grub-efi-amd64-signed shim-signed linux-headers-generic linux-signed-generic
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following packages were automatically installed and are no longer required:
libllvm5.0 libllvm5.0:i386 linux-headers-4.13.0-32
linux-headers-4.13.0-32-generic linux-headers-4.13.0-36
linux-headers-4.13.0-36-generic linux-image-4.13.0-32-generic
linux-image-4.13.0-36-generic linux-image-extra-4.13.0-32-generic
linux-image-extra-4.13.0-36-generic linux-signed-image-4.13.0-32-generic
linux-signed-image-4.13.0-36-generic
Use 'sudo apt autoremove' to remove them.
The following additional packages will be installed:
grub-common grub-efi-amd64 grub-efi-amd64-bin grub2-common
linux-headers-4.4.0-130 linux-headers-4.4.0-130-generic
linux-image-4.4.0-130-generic linux-image-extra-4.4.0-130-generic
linux-signed-image-4.4.0-130-generic linux-signed-image-generic os-prober
Suggested packages:
multiboot-doc grub-emu xorriso desktop-base fdutils linux-doc-4.4.0
| linux-source-4.4.0 linux-tools
The following NEW packages will be installed:
grub-common grub-efi-amd64 grub-efi-amd64-bin grub-efi-amd64-signed
grub2-common linux-headers-4.4.0-130 linux-headers-4.4.0-130-generic
linux-headers-generic linux-image-4.4.0-130-generic
linux-image-extra-4.4.0-130-generic linux-signed-generic
linux-signed-image-4.4.0-130-generic linux-signed-image-generic os-prober
shim-signed
0 upgraded, 15 newly installed, 0 to remove and 16 not upgraded.
Need to get 69.5 MB/73.1 MB of archives.
After this operation, 324 MB of additional disk space will be used.
Get:1 http://us.archive.ubuntu.com/ubuntu xenial-updates/main amd64 linux-headers-4.4.0-130 all 4.4.0-130.156 [10.0 MB]
Get:2 http://122.2.223.76:80/data/0572800c45f6431e/us.archive.ubuntu.com/ubuntu xenial-updates/main amd64 linux-headers-4.4.0-130-generic amd64 4.4.0-130.156 [815 kB]
Get:3 http://us.archive.ubuntu.com/ubuntu xenial-updates/main amd64 linux-headers-generic amd64 4.4.0.130.136 [2,498 B]
Get:4 http://122.2.223.76:80/data/05728d0c00f81f94/us.archive.ubuntu.com/ubuntu xenial-updates/main amd64 linux-image-4.4.0-130-generic amd64 4.4.0-130.156 [22.1 MB]
Get:6 http://us.archive.ubuntu.com/ubuntu xenial-updates/main amd64 linux-signed-image-4.4.0-130-generic amd64 4.4.0-130.156 [4,010 B]
Get:7 http://us.archive.ubuntu.com/ubuntu xenial-updates/main amd64 linux-signed-image-generic amd64 4.4.0.130.136 [2,572 B]
Get:8 http://us.archive.ubuntu.com/ubuntu xenial-updates/main amd64 linux-signed-generic amd64 4.4.0.130.136 [1,822 B]
Get:9 http://us.archive.ubuntu.com/ubuntu xenial-updates/main amd64 os-prober amd64 1.70ubuntu3.3 [19.1 kB]
Get:5 http://122.2.223.76:80/data/05729b0c4cfa2979/us.archive.ubuntu.com/ubuntu xenial-updates/main amd64 linux-image-extra-4.4.0-130-generic amd64 4.4.0-130.156 [36.5 MB]
Fetched 69.5 MB in 1min 59s (580 kB/s)
Preconfiguring packages ...
Selecting previously unselected package grub-common.
(Reading database ... 313654 files and directories currently installed.)
Preparing to unpack .../grub-common_2.02~beta2-36ubuntu3.18_amd64.deb ...
Unpacking grub-common (2.02~beta2-36ubuntu3.18) ...
Selecting previously unselected package grub2-common.
Preparing to unpack .../grub2-common_2.02~beta2-36ubuntu3.18_amd64.deb ...
Unpacking grub2-common (2.02~beta2-36ubuntu3.18) ...
Selecting previously unselected package grub-efi-amd64-bin.
Preparing to unpack .../grub-efi-amd64-bin_2.02~beta2-36ubuntu3.18_amd64.deb ...
Unpacking grub-efi-amd64-bin (2.02~beta2-36ubuntu3.18) ...
Selecting previously unselected package grub-efi-amd64.
Preparing to unpack .../grub-efi-amd64_2.02~beta2-36ubuntu3.18_amd64.deb ...
Unpacking grub-efi-amd64 (2.02~beta2-36ubuntu3.18) ...
Selecting previously unselected package grub-efi-amd64-signed.
Preparing to unpack .../grub-efi-amd64-signed_1.66.18+2.02~beta2-36ubuntu3.18_amd64.deb ...
Unpacking grub-efi-amd64-signed (1.66.18+2.02~beta2-36ubuntu3.18) ...
Selecting previously unselected package linux-headers-4.4.0-130.
Preparing to unpack .../linux-headers-4.4.0-130_4.4.0-130.156_all.deb ...
Unpacking linux-headers-4.4.0-130 (4.4.0-130.156) ...
Selecting previously unselected package linux-headers-4.4.0-130-generic.
Preparing to unpack .../linux-headers-4.4.0-130-generic_4.4.0-130.156_amd64.deb ...
Unpacking linux-headers-4.4.0-130-generic (4.4.0-130.156) ...
Selecting previously unselected package linux-headers-generic.
Preparing to unpack .../linux-headers-generic_4.4.0.130.136_amd64.deb ...
Unpacking linux-headers-generic (4.4.0.130.136) ...
Selecting previously unselected package linux-image-4.4.0-130-generic.
Preparing to unpack .../linux-image-4.4.0-130-generic_4.4.0-130.156_amd64.deb ...
Examining /etc/kernel/preinst.d/
run-parts: executing /etc/kernel/preinst.d/intel-microcode 4.4.0-130-generic /boot/vmlinuz-4.4.0-130-generic
Done.
Unpacking linux-image-4.4.0-130-generic (4.4.0-130.156) ...
Selecting previously unselected package linux-image-extra-4.4.0-130-generic.
Preparing to unpack .../linux-image-extra-4.4.0-130-generic_4.4.0-130.156_amd64.deb ...
Unpacking linux-image-extra-4.4.0-130-generic (4.4.0-130.156) ...
Selecting previously unselected package linux-signed-image-4.4.0-130-generic.
Preparing to unpack .../linux-signed-image-4.4.0-130-generic_4.4.0-130.156_amd64.deb ...
Unpacking linux-signed-image-4.4.0-130-generic (4.4.0-130.156) ...
Selecting previously unselected package linux-signed-image-generic.
Preparing to unpack .../linux-signed-image-generic_4.4.0.130.136_amd64.deb ...
Unpacking linux-signed-image-generic (4.4.0.130.136) ...
Selecting previously unselected package linux-signed-generic.
Preparing to unpack .../linux-signed-generic_4.4.0.130.136_amd64.deb ...
Unpacking linux-signed-generic (4.4.0.130.136) ...
Selecting previously unselected package os-prober.
Preparing to unpack .../os-prober_1.70ubuntu3.3_amd64.deb ...
Unpacking os-prober (1.70ubuntu3.3) ...
Selecting previously unselected package shim-signed.
Preparing to unpack .../shim-signed_1.33.1~16.04.1+13-0ubuntu2_amd64.deb ...
Unpacking shim-signed (1.33.1~16.04.1+13-0ubuntu2) ...
Processing triggers for systemd (229-4ubuntu21.2) ...
Running in chroot, ignoring request.
Processing triggers for ureadahead (0.100.0-19) ...
Processing triggers for man-db (2.7.5-1) ...
Processing triggers for install-info (6.1.0.dfsg.1-5) ...
Setting up grub-common (2.02~beta2-36ubuntu3.18) ...
update-rc.d: warning: start and stop actions are no longer supported; falling back to defaults
Running in chroot, ignoring request.
Running in chroot, ignoring request.
Setting up grub2-common (2.02~beta2-36ubuntu3.18) ...
Setting up grub-efi-amd64-bin (2.02~beta2-36ubuntu3.18) ...
Setting up grub-efi-amd64 (2.02~beta2-36ubuntu3.18) ...
Creating config file /etc/default/grub with new version
Installing for x86_64-efi platform.
Installation finished. No error reported.
Setting up grub-efi-amd64-signed (1.66.18+2.02~beta2-36ubuntu3.18) ...
Installing for x86_64-efi platform.
Installation finished. No error reported.
Setting up linux-headers-4.4.0-130 (4.4.0-130.156) ...
Setting up linux-headers-4.4.0-130-generic (4.4.0-130.156) ...
Setting up linux-headers-generic (4.4.0.130.136) ...
Setting up linux-image-4.4.0-130-generic (4.4.0-130.156) ...
Running depmod.
update-initramfs: deferring update (hook will be called later)
Examining /etc/kernel/postinst.d.
run-parts: executing /etc/kernel/postinst.d/apt-auto-removal 4.4.0-130-generic /boot/vmlinuz-4.4.0-130-generic
run-parts: executing /etc/kernel/postinst.d/initramfs-tools 4.4.0-130-generic /boot/vmlinuz-4.4.0-130-generic
update-initramfs: Generating /boot/initrd.img-4.4.0-130-generic
cryptsetup: WARNING: invalid line in /etc/crypttab for luks-acda6026-95aa-4d4e-ab4b-c0fa05c60a09 -
cryptsetup: WARNING: invalid line in /etc/crypttab for luks-acda6026-95aa-4d4e-ab4b-c0fa05c60a09 -
W: mdadm: /etc/mdadm/mdadm.conf defines no arrays.
run-parts: executing /etc/kernel/postinst.d/pm-utils 4.4.0-130-generic /boot/vmlinuz-4.4.0-130-generic
run-parts: executing /etc/kernel/postinst.d/unattended-upgrades 4.4.0-130-generic /boot/vmlinuz-4.4.0-130-generic
run-parts: executing /etc/kernel/postinst.d/update-notifier 4.4.0-130-generic /boot/vmlinuz-4.4.0-130-generic
run-parts: executing /etc/kernel/postinst.d/zz-update-grub 4.4.0-130-generic /boot/vmlinuz-4.4.0-130-generic
Setting up linux-image-extra-4.4.0-130-generic (4.4.0-130.156) ...
run-parts: executing /etc/kernel/postinst.d/apt-auto-removal 4.4.0-130-generic /boot/vmlinuz-4.4.0-130-generic
run-parts: executing /etc/kernel/postinst.d/initramfs-tools 4.4.0-130-generic /boot/vmlinuz-4.4.0-130-generic
update-initramfs: Generating /boot/initrd.img-4.4.0-130-generic
cryptsetup: WARNING: invalid line in /etc/crypttab for luks-acda6026-95aa-4d4e-ab4b-c0fa05c60a09 -
cryptsetup: WARNING: invalid line in /etc/crypttab for luks-acda6026-95aa-4d4e-ab4b-c0fa05c60a09 -
W: mdadm: /etc/mdadm/mdadm.conf defines no arrays.
run-parts: executing /etc/kernel/postinst.d/pm-utils 4.4.0-130-generic /boot/vmlinuz-4.4.0-130-generic
run-parts: executing /etc/kernel/postinst.d/unattended-upgrades 4.4.0-130-generic /boot/vmlinuz-4.4.0-130-generic
run-parts: executing /etc/kernel/postinst.d/update-notifier 4.4.0-130-generic /boot/vmlinuz-4.4.0-130-generic
run-parts: executing /etc/kernel/postinst.d/zz-update-grub 4.4.0-130-generic /boot/vmlinuz-4.4.0-130-generic
Setting up linux-signed-image-4.4.0-130-generic (4.4.0-130.156) ...
Generating grub configuration file ...
Warning: Setting GRUB_TIMEOUT to a non-zero value when GRUB_HIDDEN_TIMEOUT is set is no longer supported.
Found linux image: /boot/vmlinuz-4.13.0-45-generic
Found initrd image: /boot/initrd.img-4.13.0-45-generic
Found linux image: /boot/vmlinuz-4.13.0-41-generic
Found initrd image: /boot/initrd.img-4.13.0-41-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.4.0-130-generic
Found initrd image: /boot/initrd.img-4.4.0-130-generic
Adding boot menu entry for EFI firmware configuration
done
Setting up linux-signed-image-generic (4.4.0.130.136) ...
Setting up linux-signed-generic (4.4.0.130.136) ...
Setting up os-prober (1.70ubuntu3.3) ...
Setting up shim-signed (1.33.1~16.04.1+13-0ubuntu2) ...
Installing for x86_64-efi platform.
Installation finished. No error reported.
No DKMS packages installed: not changing Secure Boot validation state.
Processing triggers for systemd (229-4ubuntu21.2) ...
Running in chroot, ignoring request.
Processing triggers for ureadahead (0.100.0-19) ...
ubuntu@ubuntu:~$
Boot Info Script 8f991e4 + Boot-Repair extra info [Boot-Info 25oct2017]
============================= Boot Info Summary: ===============================
=> Syslinux MBR (5.00 and higher) is installed in the MBR of /dev/sda.
sda1: __________________________________________________________________________
File system: vfat
Boot sector type: SYSLINUX 6.03
Boot sector info: Syslinux looks at sector 32776 of /dev/sda1 for its
second stage. The integrity check of Syslinux failed.
No errors found in the Boot Parameter Block.
Operating System:
Boot files: /boot/grub/grub.cfg /syslinux.cfg /casper/vmlinuz.efi
/EFI/BOOT/grubx64.efi /ldlinux.sys
ubuntu-vg-root: ________________________________________________________________
File system: ext4
Boot sector type: -
Boot sector info:
Operating System: Ubuntu 16.04.4 LTS
Boot files: /etc/fstab
ubuntu-vg-swap_1: ______________________________________________________________
File system: swap
Boot sector type: -
Boot sector info:
============================ Drive/Partition Info: =============================
Drive: sda _____________________________________________________________________
Disk /dev/sda: 7.5 GiB, 8010194944 bytes, 15644912 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disklabel type: dos
Partition Boot Start Sector End Sector # of Sectors Id System
/dev/sda1 * 2,048 15,644,911 15,642,864 c W95 FAT32 (LBA)
"blkid" output: ________________________________________________________________
Device UUID TYPE LABEL
/dev/loop0 squashfs
/dev/mapper/luks-acda6026-95aa-4d4e-ab4b-c0fa05c60a09 PaVR6N-9Gil-a6Qm-NONf-kz3s-VMmP-oI4oIb LVM2_member
/dev/mapper/ubuntu--vg-root 7d646971-2887-438f-b5b3-ff25c9add83d ext4
/dev/mapper/ubuntu--vg-swap_1 16aceda1-9e8a-4b41-b5e8-91691b106546 swap
/dev/mmcblk0
/dev/mmcblk0p1 262D-5984 vfat
/dev/mmcblk0p2 408751e1-06f3-4fb6-a119-53b891d35146 ext2
/dev/mmcblk0p3 acda6026-95aa-4d4e-ab4b-c0fa05c60a09 crypto_LUKS
/dev/sda1 8A77-CD40 vfat UBUNTU 16_0
========================= "ls -l /dev/disk/by-id" output: ======================
total 0
lrwxrwxrwx 1 root root 10 Jul 6 23:58 dm-name-luks-acda6026-95aa-4d4e-ab4b-c0fa05c60a09 -> ../../dm-0
lrwxrwxrwx 1 root root 10 Jul 6 23:58 dm-name-ubuntu--vg-root -> ../../dm-1
lrwxrwxrwx 1 root root 10 Jul 6 23:58 dm-name-ubuntu--vg-swap_1 -> ../../dm-2
lrwxrwxrwx 1 root root 10 Jul 6 23:58 dm-uuid-CRYPT-LUKS1-acda602695aa4d4eab4bc0fa05c60a09-luks-acda6026-95aa-4d4e-ab4b-c0fa05c60a09 -> ../../dm-0
lrwxrwxrwx 1 root root 10 Jul 6 23:58 dm-uuid-LVM-Agiz0ZjvndcYd8sSjUTGgf1IBkezuBJtY2QTNM1o42DakAcMiaLNIim7N1ydBBPr -> ../../dm-2
lrwxrwxrwx 1 root root 10 Jul 6 23:58 dm-uuid-LVM-Agiz0ZjvndcYd8sSjUTGgf1IBkezuBJtb4ZqQT7yfj5rq3UP1J38Vh3mHEuVxobw -> ../../dm-1
lrwxrwxrwx 1 root root 10 Jul 6 23:58 lvm-pv-uuid-PaVR6N-9Gil-a6Qm-NONf-kz3s-VMmP-oI4oIb -> ../../dm-0
lrwxrwxrwx 1 root root 13 Jul 6 23:49 mmc-HBG4e__0x58283932 -> ../../mmcblk0
lrwxrwxrwx 1 root root 15 Jul 6 23:49 mmc-HBG4e__0x58283932-part1 -> ../../mmcblk0p1
lrwxrwxrwx 1 root root 15 Jul 6 23:49 mmc-HBG4e__0x58283932-part2 -> ../../mmcblk0p2
lrwxrwxrwx 1 root root 15 Jul 6 23:49 mmc-HBG4e__0x58283932-part3 -> ../../mmcblk0p3
lrwxrwxrwx 1 root root 9 Jul 6 23:58 usb-Kingston_DT_101_G2_001CC05FE92CFB80291D2137-0:0 -> ../../sda
lrwxrwxrwx 1 root root 10 Jul 6 23:58 usb-Kingston_DT_101_G2_001CC05FE92CFB80291D2137-0:0-part1 -> ../../sda1
========================= "ls -R /dev/mapper/" output: =========================
/dev/mapper:
control
luks-acda6026-95aa-4d4e-ab4b-c0fa05c60a09
ubuntu--vg-root
ubuntu--vg-swap_1
================================ Mount points: =================================
Device Mount_Point Type Options
/dev/loop0 /rofs squashfs (ro,noatime)
/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 loadconfig
LABEL loadconfig
CONFIG /isolinux/isolinux.cfg
APPEND /isolinux/
--------------------------------------------------------------------------------
=================== 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
========================== ubuntu-vg-root/etc/fstab: ===========================
--------------------------------------------------------------------------------
# /etc/fstab: static file system information.
#
# Use 'blkid' to print the universally unique identifier for a
# device; this may be used with UUID= as a more robust way to name devices
# that works even if disks are added and removed. See fstab(5).
#
# <file system> <mount point> <type> <options> <dump> <pass>
/dev/mapper/ubuntu--vg-root / ext4 errors=remount-ro 0 1
# /boot was on /dev/mmcblk0p2 during installation
#UUID=408751e1-06f3-4fb6-a119-53b891d35146 /boot ext2 defaults 0 2
# /boot/efi was on /dev/mmcblk0p1 during installation
#UUID=262D-5984 /boot/efi vfat umask=0077 0 1
/dev/mapper/ubuntu--vg-swap_1 none swap sw 0 0
UUID=408751e1-06f3-4fb6-a119-53b891d35146 /boot ext2 defaults 0 2
UUID=262D-5984 /boot/efi vfat defaults 0 1
--------------------------------------------------------------------------------
=============================== StdErr Messages: ===============================
File descriptor 9 (/proc/18812/mounts) leaked on lvs invocation. Parent PID 2081: bash
File descriptor 63 (pipe:[58543]) leaked on lvs invocation. Parent PID 2081: bash
File descriptor 9 (/proc/18812/mounts) leaked on lvchange invocation. Parent PID 2459: bash
File descriptor 63 (pipe:[58543]) leaked on lvchange invocation. Parent PID 2459: bash
File descriptor 9 (/proc/18812/mounts) leaked on lvchange invocation. Parent PID 2459: bash
File descriptor 63 (pipe:[58543]) leaked on lvchange invocation. Parent PID 2459: bash
mdadm: No arrays found in config file or automatically
ADDITIONAL INFORMATION :
=================== log of boot-repair 20180706_2358 ===================
boot-repair version : 4ppa65
boot-sav version : 4ppa65
boot-sav-extra version : 4ppa65
glade2script version : 3.2.3~ppa4
BLKID BEFORE LVM ACTIVATION:
/dev/mmcblk0p1: UUID="262D-5984" TYPE="vfat" PARTLABEL="EFI System Partition" PARTUUID="8e4bd0c3-b0c9-4d00-915a-b1efa617ccca"
/dev/mmcblk0p2: UUID="408751e1-06f3-4fb6-a119-53b891d35146" TYPE="ext2" PARTUUID="9d5a5874-dc9d-45d3-9ea6-9990e1ed3842"
/dev/sda1: LABEL="UBUNTU 16_0" UUID="8A77-CD40" TYPE="vfat" PARTUUID="00b50280-01"
/dev/loop0: TYPE="squashfs"
/dev/mmcblk0p3: UUID="acda6026-95aa-4d4e-ab4b-c0fa05c60a09" TYPE="crypto_LUKS" PARTUUID="886679b8-6b5d-409d-a2be-f2b7a175f372"
/dev/mapper/luks-acda6026-95aa-4d4e-ab4b-c0fa05c60a09: UUID="PaVR6N-9Gil-a6Qm-NONf-kz3s-VMmP-oI4oIb" TYPE="LVM2_member"
/dev/mapper/ubuntu--vg-root: UUID="7d646971-2887-438f-b5b3-ff25c9add83d" TYPE="ext4"
/dev/mapper/ubuntu--vg-swap_1: UUID="16aceda1-9e8a-4b41-b5e8-91691b106546" TYPE="swap"
/dev/mmcblk0: PTUUID="a2646f2b-3222-495f-a38e-f96fd43c8eb5" PTTYPE="gpt"
MODPROBE
VGSCAN
File descriptor 9 (/proc/18812/mounts) leaked on vgscan invocation. Parent PID 18820: /bin/bash
Reading all physical volumes. This may take a while...
Found volume group "ubuntu-vg" using metadata type lvm2
VGCHANGE
File descriptor 9 (/proc/18812/mounts) leaked on vgchange invocation. Parent PID 18820: /bin/bash
2 logical volume(s) in volume group "ubuntu-vg" now active
File descriptor 9 (/proc/18812/mounts) leaked on lvscan invocation. Parent PID 18820: /bin/bash
LVSCAN:
ACTIVE '/dev/ubuntu-vg/root' [24.27 GiB] inherit
ACTIVE '/dev/ubuntu-vg/swap_1' [3.86 GiB] inherit
Gtk-Message: GtkDialog mapped without a transient parent. This is discouraged.
Is there RAID on this computer? no
File descriptor 9 (/proc/18812/mounts) leaked on vgs invocation. Parent PID 20885: grub-probe
File descriptor 9 (/proc/18812/mounts) leaked on vgs invocation. Parent PID 20885: grub-probe
Error: /dev/mapper/luks-acda6026-95aa-4d4e-ab4b-c0fa05c60a09: 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.2 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
Set sda as corresponding disk of mapper/ubuntu--vg-root
mmcblk0 (sda) has unknown type. Please report this message to boot.repair@gmail.com
mount: unknown filesystem type 'crypto_LUKS'
mount /dev/mmcblk0p3 : Error code 32
mount -r /dev/mmcblk0p3 /mnt/boot-sav/mmcblk0p3
mount: unknown filesystem type 'crypto_LUKS'
mount -r /dev/mmcblk0p3 : Error code 32
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/mapper/ubuntu--vg-root:Ubuntu 16.04.4 LTS (16.04):Ubuntu:linux
=================== blkid:
/dev/mmcblk0p1: UUID="262D-5984" TYPE="vfat" PARTLABEL="EFI System Partition" PARTUUID="8e4bd0c3-b0c9-4d00-915a-b1efa617ccca"
/dev/mmcblk0p2: UUID="408751e1-06f3-4fb6-a119-53b891d35146" TYPE="ext2" PARTUUID="9d5a5874-dc9d-45d3-9ea6-9990e1ed3842"
/dev/sda1: LABEL="UBUNTU 16_0" UUID="8A77-CD40" TYPE="vfat" PARTUUID="00b50280-01"
/dev/loop0: TYPE="squashfs"
/dev/mmcblk0p3: UUID="acda6026-95aa-4d4e-ab4b-c0fa05c60a09" TYPE="crypto_LUKS" PARTUUID="886679b8-6b5d-409d-a2be-f2b7a175f372"
/dev/mapper/luks-acda6026-95aa-4d4e-ab4b-c0fa05c60a09: UUID="PaVR6N-9Gil-a6Qm-NONf-kz3s-VMmP-oI4oIb" TYPE="LVM2_member"
/dev/mapper/ubuntu--vg-root: UUID="7d646971-2887-438f-b5b3-ff25c9add83d" TYPE="ext4"
/dev/mapper/ubuntu--vg-swap_1: UUID="16aceda1-9e8a-4b41-b5e8-91691b106546" TYPE="swap"
/dev/mmcblk0: PTUUID="a2646f2b-3222-495f-a38e-f96fd43c8eb5" PTTYPE="gpt"
Set sda as corresponding disk of mapper/ubuntu--vg-root
1 disks with OS, 1 OS : 1 Linux, 0 MacOS, 0 Windows, 0 unknown type OS.
mount: unknown filesystem type 'crypto_LUKS'
mount /dev/mmcblk0p3 : Error code 32
mount -r /dev/mmcblk0p3 /mnt/boot-sav/mmcblk0p3
mount: unknown filesystem type 'crypto_LUKS'
mount -r /dev/mmcblk0p3 : Error code 32
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
=================== mapper/ubuntu--vg-root/etc/grub.d/ :
drwxr-xr-x 2 root root 4096 Jul 6 15:50 grub.d
total 80
-rwxr-xr-x 1 root root 9791 Jan 13 2017 00_header
-rwxr-xr-x 1 root root 6258 Mar 15 2016 05_debian_theme
-rwxr-xr-x 1 root root 12512 Mar 24 2017 10_linux
-rwxr-xr-x 1 root root 11082 Jan 13 2017 20_linux_xen
-rwxr-xr-x 1 root root 1992 Jan 28 2016 20_memtest86+
-rwxr-xr-x 1 root root 11692 Jan 13 2017 30_os-prober
-rwxr-xr-x 1 root root 1418 Jan 13 2017 30_uefi-firmware
-rwxr-xr-x 1 root root 214 Jan 13 2017 40_custom
-rwxr-xr-x 1 root root 216 Jan 13 2017 41_custom
-rw-r--r-- 1 root root 483 Jan 13 2017 README
=================== mapper/ubuntu--vg-root/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 mapper/ubuntu--vg-root: UUID=262D-5984 (mmcblk0p1)
/boot detected in the fstab of mapper/ubuntu--vg-root: UUID=408751e1-06f3-4fb6-a119-53b891d35146 (mmcblk0p2)
=================== efibootmgr -v
BootCurrent: 0014
Timeout: 0 seconds
BootOrder: 0014,0000,0013,0015,0001,0012,0016
Boot0000* ubuntu HD(1,GPT,8e4bd0c3-b0c9-4d00-915a-b1efa617ccca,0x800,0x100000)/File(EFIubuntushimx64.efi)
Boot0001* Windows Boot Manager HD(1,GPT,b6567452-01b8-461a-b9ef-f433f8ca80b0,0x800,0x82000)/File(EFIMicrosoftBootbootmgfw.efi)WINDOWS.........x...B.C.D.O.B.J.E.C.T.=.{.9.d.e.a.8.6.2.c.-.5.c.d.d.-.4.e.7.0.-.a.c.c.1.-.f.3.2.b.3.4.4.d.4.7.9.5.}...E............. ...
Boot0010 Setup FvFile(721c8b66-426c-4e86-8e99-3457c46ab0b9)
Boot0011 Boot Menu FvFile(86488440-41bb-42c7-93ac-450fbf7766bf)
Boot0012* eMMC Disk: Hynix 32GB PciRoot(0x0)/Pci(0x10,0x0)/Ctrl(0x0)..]3.K.L......2.
Boot0013* USB FDD: VenMsg(bc7838d2-0f82-4d60-8316-c068ee79d25b,6ff015a28830b543a8b8641009461e49)
Boot0014* USB HDD: VenMsg(bc7838d2-0f82-4d60-8316-c068ee79d25b,33e821aaaf33bc4789bd419f88c50803)
Boot0015* USB CD: VenMsg(bc7838d2-0f82-4d60-8316-c068ee79d25b,86701296aa5a7848b66cd49dd3ba6a55)
Boot0016* PCI LAN: VenMsg(bc7838d2-0f82-4d60-8316-c068ee79d25b,78a84aaf2b2afc4ea79cf5cc8f3d3803)
=================== UEFI/Legacy mode:
BIOS is EFI-compatible, and is setup in EFI-mode for this live-session.
SecureBoot 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, is-sepboot, grubenv-ok nogrub, no-docgrub, no-update-grub, 32, no-boot, no-os, is-maybe-EFI, part-has-no-fstab, part-has-no-fstab, no-nt, no-winload, no-recov-nor-hid, no-bmgr, notwinboot, nopakmgr, nogrubinstall, no---usr, part-has-no-fstab, not-sep-usr, standard, not-far, notbiosboot, /media/ubuntu/408751e1-06f3-4fb6-a119-53b891d35146.
mmcblk0p3 : mmcblk0, 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/mmcblk0p3.
mapper/ubuntu--vg-root : sda, not-sepboot, no-grubenv grub2, signed grub-pc grub-efi , update-grub, 64, no-boot, is-os, not--efi--part, fstab-has-goodBOOT, 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, /mnt/boot-sav/mapper/ubuntu--vg-root.
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, no-os, 1 sectors * 512 bytes
sda : not-GPT, BIOSboot-not-needed, has-no-EFIpart, usb-disk, not-mmc, has-os, 2048 sectors * 512 bytes
=================== parted -lm:
BYT;
/dev/sda:8010MB:scsi:512:512:msdos:Kingston DT 101 G2:;
1:1049kB:8010MB:8009MB:fat32::boot, lba;
BYT;
/dev/mapper/ubuntu--vg-swap_1:4140MB:dm:512:512:loop:Linux device-mapper (linear):;
1:0.00B:4140MB:4140MB:linux-swap(v1)::;
BYT;
/dev/mapper/ubuntu--vg-root:26.1GB:dm:512:512:loop:Linux device-mapper (linear):;
1:0.00B:26.1GB:26.1GB:ext4::;
BYT;
/dev/mapper/luks-acda6026-95aa-4d4e-ab4b-c0fa05c60a09:30.2GB:dm:512:512:unknown:Linux device-mapper (crypt):;
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 HBG4e :;
1:1049kB:538MB:537MB:fat32:EFI System Partition:boot, esp;
2:538MB:1050MB:512MB:ext2::;
3:1050MB:31.3GB:30.2GB:::;
=================== lsblk:
KNAME TYPE FSTYPE SIZE LABEL
mmcblk0rpmb disk 4M
mmcblk0boot0 disk 4M
loop0 loop squashfs 1.4G
sda disk 7.5G
sda1 part vfat 7.5G UBUNTU 16_0
mmcblk0boot1 disk 4M
mmcblk0 disk 29.1G
mmcblk0p2 part ext2 488M
mmcblk0p3 part crypto_LUKS 28.2G
dm-0 crypt LVM2_member 28.1G
dm-1 lvm ext4 24.3G
dm-2 lvm 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/408751e1-06f3-4fb6-a119-53b891d35146
mmcblk0p3 0 0 0
dm-0 0 0 0 running
dm-1 0 0 0 running /mnt/boot-sav/mapper/ubuntu--vg-root
dm-2 0 0 0 running
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=1933328k,nr_inodes=483332,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=389784k,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=15760bc2b544cdc6)
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/cpu,cpuacct type cgroup (rw,nosuid,nodev,noexec,relatime,cpu,cpuacct)
cgroup on /sys/fs/cgroup/cpuset type cgroup (rw,nosuid,nodev,noexec,relatime,cpuset)
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/pids type cgroup (rw,nosuid,nodev,noexec,relatime,pids)
cgroup on /sys/fs/cgroup/devices type cgroup (rw,nosuid,nodev,noexec,relatime,devices)
cgroup on /sys/fs/cgroup/net_cls,net_prio type cgroup (rw,nosuid,nodev,noexec,relatime,net_cls,net_prio)
cgroup on /sys/fs/cgroup/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/blkio type cgroup (rw,nosuid,nodev,noexec,relatime,blkio)
systemd-1 on /proc/sys/fs/binfmt_misc type autofs (rw,relatime,fd=24,pgrp=1,timeout=0,minproto=5,maxproto=5,direct,pipe_ino=634)
mqueue on /dev/mqueue type mqueue (rw,relatime)
hugetlbfs on /dev/hugepages type hugetlbfs (rw,relatime)
debugfs on /sys/kernel/debug type debugfs (rw,relatime)
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=389784k,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/408751e1-06f3-4fb6-a119-53b891d35146 type ext2 (rw,nosuid,nodev,relatime,block_validity,barrier,user_xattr,acl,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)
/dev/mapper/ubuntu--vg-root on /mnt/boot-sav/mapper/ubuntu--vg-root type ext4 (rw,relatime,data=ordered)
=================== ls:
/sys/block/dm-0 (filtered): alignment_offset badblocks bdi capability dev discard_alignment dm ext_range holders inflight integrity power queue range removable ro size slaves stat subsystem trace uevent
/sys/block/dm-1 (filtered): alignment_offset badblocks bdi capability dev discard_alignment dm ext_range holders inflight integrity power queue range removable ro size slaves stat subsystem trace uevent
/sys/block/dm-2 (filtered): alignment_offset badblocks bdi capability dev discard_alignment dm ext_range holders inflight integrity power queue range removable ro size slaves stat subsystem trace uevent
/sys/block/mmcblk0 (filtered): alignment_offset badblocks 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 badblocks 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 badblocks 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 badblocks 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 badblocks 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 dm-0 dm-1 dm-2 dri drm_dp_aux0 drm_dp_aux1 drm_dp_aux2 ecryptfs fb0 fd full fuse hpet hugepages hwrng i2c-0 i2c-1 i2c-2 i2c-3 i2c-4 i2c-5 i2c-6 i2c-7 i2c-8 initctl input kmsg 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 ubuntu-vg uhid uinput urandom userio v4l vfio vga_arbiter vhci vhost-net video0 zero
ls /dev/mapper: control luks-acda6026-95aa-4d4e-ab4b-c0fa05c60a09 ubuntu--vg-root ubuntu--vg-swap_1
=================== 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 84 59 2d 26 4e 4f 20 4e 41 4d 45 20 20 |..).Y-&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 381M 11M 370M 3% /run
/dev/sda1 vfat 7.5G 3.3G 4.2G 44% /cdrom
/dev/loop0 squashfs 1.4G 1.4G 0 100% /rofs
aufs aufs 1.9G 111M 1.8G 6% /
tmpfs tmpfs 1.9G 16M 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 456K 1.9G 1% /tmp
tmpfs tmpfs 381M 112K 381M 1% /run/user/999
/dev/mmcblk0p2 ext2 473M 343M 106M 77% /media/ubuntu/408751e1-06f3-4fb6-a119-53b891d35146
/dev/mmcblk0p1 vfat 511M 3.5M 508M 1% /mnt/boot-sav/mmcblk0p1
/dev/mapper/ubuntu--vg-root ext4 24G 18G 5.5G 76% /mnt/boot-sav/mapper/ubuntu--vg-root
=================== 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, 1497772032 bytes, 2925336 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, 31272730624 bytes, 61079552 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: A2646F2B-3222-495F-A38E-F96FD43C8EB5
Device Start End Sectors Size Type
/dev/mmcblk0p1 2048 1050623 1048576 512M EFI System
/dev/mmcblk0p2 1050624 2050047 999424 488M Linux filesystem
/dev/mmcblk0p3 2050048 61077503 59027456 28.2G Linux filesystem
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: 7.5 GiB, 8010194944 bytes, 15644912 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: 0x00b50280
Device Boot Start End Sectors Size Id Type
/dev/sda1 * 2048 15644911 15642864 7.5G c W95 FAT32 (LBA)
Disk /dev/mapper/luks-acda6026-95aa-4d4e-ab4b-c0fa05c60a09: 28.1 GiB, 30219960320 bytes, 59023360 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/mapper/ubuntu--vg-root: 24.3 GiB, 26059210752 bytes, 50896896 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/mapper/ubuntu--vg-swap_1: 3.9 GiB, 4139778048 bytes, 8085504 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
Gtk-Message: GtkDialog mapped without a transient parent. This is discouraged.
/boot detected. Please check the options.
=================== Advices
You may want to retry after decrypting your partitions. (https://help.ubuntu.com/community/EncryptedPrivateDirectory)
Do you want to continue?
Gtk-Message: GtkDialog mapped without a transient parent. This is discouraged.
=================== Recommended repair
The default repair of the Boot-Repair utility will purge (in order to sign-grub) and reinstall the grub-efi-amd64-signed of mapper/ubuntu--vg-root, using the following options: mmcblk0p2/boot, mmcblk0p1/boot/efi,
Additional repair will be performed: unhide-bootmenu-10s use-standard-efi-file
Mount mmcblk0p2 on /mnt/boot-sav/mapper/ubuntu--vg-root/boot
Mount mmcblk0p1 on /mnt/boot-sav/mapper/ubuntu--vg-root/boot/efi
efi files in mmcblk0p1/efi: /ubuntu/shimx64.efi /ubuntu/mmx64.efi /ubuntu/grubx64.efi /ubuntu/fwupx64.efi
chroot /mnt/boot-sav/mapper/ubuntu--vg-root apt-get -y update
Purge the GRUB of mapper/ubuntu--vg-root
grub-efi-amd64-signed available
The following packages were automatically installed and are no longer required:
libllvm5.0 libllvm5.0:i386 linux-headers-4.13.0-32
linux-headers-4.13.0-32-generic linux-headers-4.13.0-36
linux-headers-4.13.0-36-generic linux-image-4.13.0-32-generic
linux-image-4.13.0-36-generic linux-image-extra-4.13.0-32-generic
linux-image-extra-4.13.0-36-generic linux-signed-image-4.13.0-32-generic
linux-signed-image-4.13.0-36-generic
Use 'sudo apt autoremove' to remove them.
0 upgraded, 0 newly installed, 1 reinstalled, 0 to remove and 16 not upgraded.
DEBCHECK debOK, grub-efi-amd64-signed
DEBCHECK debOK
shim-signed available
Please type: sudo chroot "/mnt/boot-sav/mapper/ubuntu--vg-root" dpkg --configure -ansudo chroot "/mnt/boot-sav/mapper/ubuntu--vg-root" apt-get install -fynsudo chroot "/mnt/boot-sav/mapper/ubuntu--vg-root" apt-get install -y mdadmnsudo chroot "/mnt/boot-sav/mapper/ubuntu--vg-root" mdadm --assemble --scannsudo chroot "/mnt/boot-sav/mapper/ubuntu--vg-root" apt-get install -y lvm2nsudo chroot "/mnt/boot-sav/mapper/ubuntu--vg-root" apt-get purge -y grub*-common grub-common:i386 shim-signed
=================== mapper/ubuntu--vg-root/etc/grub.d/ :
drwxr-xr-x 2 root root 4096 Jul 7 00:02 grub.d
total 4
-rwxr-xr-x 1 root root 1992 Jan 28 2016 20_memtest86+
/boot/efi detected in the fstab of mapper/ubuntu--vg-root: UUID=262D-5984 (mmcblk0p1)
/boot detected in the fstab of mapper/ubuntu--vg-root: UUID=408751e1-06f3-4fb6-a119-53b891d35146 (mmcblk0p2)
=================== mapper/ubuntu--vg-root/etc/mdadm/mdadm.conf :
# mdadm.conf
#
# Please refer to mdadm.conf(5) for information about this file.
#
# by default (built-in), scan all partitions (/proc/partitions) and all
# containers for MD superblocks. alternatively, specify devices to scan, using
# wildcards if desired.
#DEVICE partitions containers
# auto-create devices with Debian standard permissions
CREATE owner=root group=disk mode=0660 auto=yes
# automatically tag new arrays as belonging to the local system
HOMEHOST <system>
# instruct the monitoring daemon where to send mail alerts
MAILADDR root
# definitions of existing MD arrays
# This file was auto-generated on Sat, 07 Jul 2018 08:00:38 +0800
# by mkconf $Id$
=================== mapper/ubuntu--vg-root/proc/mdstat :
Personalities :
unused devices: <none>
shim-signed available
linux-headers-generic available
linux-signed-generic available
Then type: sudo chroot "/mnt/boot-sav/mapper/ubuntu--vg-root" apt-get install -y grub-efi-amd64-signed shim-signed linux-headers-generic linux-signed-generic
=================== mapper/ubuntu--vg-root/etc/grub.d/ :
drwxr-xr-x 2 root root 4096 Jul 7 00:06 grub.d
drwxr-xr-x 2 root root 4096 Jul 7 00:02 grub.d.bak
total 76
-rwxr-xr-x 1 root root 9791 Mar 21 18:22 00_header
-rwxr-xr-x 1 root root 6258 Jan 24 21:21 05_debian_theme
-rwxr-xr-x 1 root root 12512 Mar 21 18:22 10_linux
-rwxr-xr-x 1 root root 11082 Mar 21 18:22 20_linux_xen
-rwxr-xr-x 1 root root 11692 Mar 21 18:22 30_os-prober
-rwxr-xr-x 1 root root 1418 Mar 21 18:22 30_uefi-firmware
-rwxr-xr-x 1 root root 214 Mar 21 18:22 40_custom
-rwxr-xr-x 1 root root 216 Mar 21 18:22 41_custom
-rw-r--r-- 1 root root 483 Mar 21 18:22 README
=================== mapper/ubuntu--vg-root/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 mapper/ubuntu--vg-root: UUID=262D-5984 (mmcblk0p1)
/boot detected in the fstab of mapper/ubuntu--vg-root: UUID=408751e1-06f3-4fb6-a119-53b891d35146 (mmcblk0p2)
=================== mapper/ubuntu--vg-root/etc/mdadm/mdadm.conf :
# mdadm.conf
#
# Please refer to mdadm.conf(5) for information about this file.
#
# by default (built-in), scan all partitions (/proc/partitions) and all
# containers for MD superblocks. alternatively, specify devices to scan, using
# wildcards if desired.
#DEVICE partitions containers
# auto-create devices with Debian standard permissions
CREATE owner=root group=disk mode=0660 auto=yes
# automatically tag new arrays as belonging to the local system
HOMEHOST <system>
# instruct the monitoring daemon where to send mail alerts
MAILADDR root
# definitions of existing MD arrays
# This file was auto-generated on Sat, 07 Jul 2018 08:00:38 +0800
# by mkconf $Id$
=================== mapper/ubuntu--vg-root/proc/mdstat :
Personalities :
unused devices: <none>
Unhide GRUB boot menu in mapper/ubuntu--vg-root/etc/default/grub
=================== mapper/ubuntu--vg-root/etc/grub.d/ :
drwxr-xr-x 2 root root 4096 Jul 7 00:06 grub.d
drwxr-xr-x 2 root root 4096 Jul 7 00:02 grub.d.bak
total 76
-rwxr-xr-x 1 root root 9791 Mar 21 18:22 00_header
-rwxr-xr-x 1 root root 6258 Jan 24 21:21 05_debian_theme
-rwxr-xr-x 1 root root 12512 Mar 21 18:22 10_linux
-rwxr-xr-x 1 root root 11082 Mar 21 18:22 20_linux_xen
-rwxr-xr-x 1 root root 11692 Mar 21 18:22 30_os-prober
-rwxr-xr-x 1 root root 1418 Mar 21 18:22 30_uefi-firmware
-rwxr-xr-x 1 root root 214 Mar 21 18:22 40_custom
-rwxr-xr-x 1 root root 216 Mar 21 18:22 41_custom
-rw-r--r-- 1 root root 483 Mar 21 18:22 README
=================== mapper/ubuntu--vg-root/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 mapper/ubuntu--vg-root: UUID=262D-5984 (mmcblk0p1)
/boot detected in the fstab of mapper/ubuntu--vg-root: UUID=408751e1-06f3-4fb6-a119-53b891d35146 (mmcblk0p2)
=================== mapper/ubuntu--vg-root/etc/mdadm/mdadm.conf :
# mdadm.conf
#
# Please refer to mdadm.conf(5) for information about this file.
#
# by default (built-in), scan all partitions (/proc/partitions) and all
# containers for MD superblocks. alternatively, specify devices to scan, using
# wildcards if desired.
#DEVICE partitions containers
# auto-create devices with Debian standard permissions
CREATE owner=root group=disk mode=0660 auto=yes
# automatically tag new arrays as belonging to the local system
HOMEHOST <system>
# instruct the monitoring daemon where to send mail alerts
MAILADDR root
# definitions of existing MD arrays
# This file was auto-generated on Sat, 07 Jul 2018 08:00:38 +0800
# by mkconf $Id$
=================== mapper/ubuntu--vg-root/proc/mdstat :
Personalities :
unused devices: <none>
lspci: Unable to load libkmod resources: error -12
*******lspci -nnk | grep -iA3 vga
00:02.0 VGA compatible controller [0300]: Intel Corporation Device [8086:22b1] (rev 21)
Subsystem: Lenovo Device [17aa:3808]
Kernel driver in use: i915
00:0b.0 Signal processing controller [1180]: Intel Corporation Device [8086:22dc] (rev 21)
*******
grub-install --version
grub-install (GRUB) 2.02~beta2-36ubuntu3.18,grub-install (GRUB) 2.
chroot /mnt/boot-sav/mapper/ubuntu--vg-root efibootmgr -v
BootCurrent: 0014
Timeout: 0 seconds
BootOrder: 0000,0014,0013,0015,0001,0012,0016
Boot0000* ubuntu HD(1,GPT,8e4bd0c3-b0c9-4d00-915a-b1efa617ccca,0x800,0x100000)/File(EFIubuntushimx64.efi)
Boot0001* Windows Boot Manager HD(1,GPT,b6567452-01b8-461a-b9ef-f433f8ca80b0,0x800,0x82000)/File(EFIMicrosoftBootbootmgfw.efi)WINDOWS.........x...B.C.D.O.B.J.E.C.T.=.{.9.d.e.a.8.6.2.c.-.5.c.d.d.-.4.e.7.0.-.a.c.c.1.-.f.3.2.b.3.4.4.d.4.7.9.5.}...E............. ...
Boot0010 Setup FvFile(721c8b66-426c-4e86-8e99-3457c46ab0b9)
Boot0011 Boot Menu FvFile(86488440-41bb-42c7-93ac-450fbf7766bf)
Boot0012* eMMC Disk: Hynix 32GB PciRoot(0x0)/Pci(0x10,0x0)/Ctrl(0x0)..]3.K.L......2.
Boot0013* USB FDD: VenMsg(bc7838d2-0f82-4d60-8316-c068ee79d25b,6ff015a28830b543a8b8641009461e49)
Boot0014* USB HDD: VenMsg(bc7838d2-0f82-4d60-8316-c068ee79d25b,33e821aaaf33bc4789bd419f88c50803)
Boot0015* USB CD: VenMsg(bc7838d2-0f82-4d60-8316-c068ee79d25b,86701296aa5a7848b66cd49dd3ba6a55)
Boot0016* PCI LAN: VenMsg(bc7838d2-0f82-4d60-8316-c068ee79d25b,78a84aaf2b2afc4ea79cf5cc8f3d3803)
chroot /mnt/boot-sav/mapper/ubuntu--vg-root uname -r
Kernel: 4.8.0-36-generic
Reinstall the grub-efi-amd64-signed shim-signed linux-headers-generic linux-signed-generic of mapper/ubuntu--vg-root
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
efi files in mmcblk0p2/efi: /EFI/ubuntu/shimx64.efi /EFI/ubuntu/mmx64.efi /EFI/ubuntu/grubx64.efi /EFI/ubuntu/fwupx64.efi
cp /mnt/boot-sav/mapper/ubuntu--vg-root/boot/efi/EFI/ubuntu/shimx64.efi /mnt/boot-sav/mapper/ubuntu--vg-root/boot/efi/ubuntu/shimx64.efi
df /dev/mmcblk0p1
cp /mnt/boot-sav/mapper/ubuntu--vg-root/boot/efi/EFI/ubuntu/shimx64.efi /mnt/boot-sav/mapper/ubuntu--vg-root/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 /mnt/boot-sav/mapper/ubuntu--vg-root/boot/efi efi entries in /mnt/boot-sav/mapper/ubuntu--vg-root/etc/grub.d/25_custom
Adding custom /mnt/boot-sav/mapper/ubuntu--vg-root/boot/efi/EFI/ubuntu/fwupx64.efi
Adding custom /mnt/boot-sav/mapper/ubuntu--vg-root/boot/efi/EFI/ubuntu/mmx64.efi
df /dev/mmcblk0p2
cp /mnt/boot-sav/mapper/ubuntu--vg-root/boot/efi/EFI/ubuntu/shimx64.efi /mnt/boot-sav/mapper/ubuntu--vg-root/boot/efi/Boot/bootx64.efi (& .grb)
efi files in mmcblk0p2/efi: /EFI/ubuntu/shimx64.efi /EFI/ubuntu/mmx64.efi /EFI/ubuntu/grubx64.efi /EFI/ubuntu/fwupx64.efi /EFI/Boot/bootx64.efi /ubuntu/shimx64.efi /Boot/bootx64.efi
Add /mnt/boot-sav/mapper/ubuntu--vg-root/boot efi entries in /mnt/boot-sav/mapper/ubuntu--vg-root/etc/grub.d/25_custom
Adding custom /mnt/boot-sav/mapper/ubuntu--vg-root/boot/efi/EFI/ubuntu/fwupx64.efi
Adding custom /mnt/boot-sav/mapper/ubuntu--vg-root/boot/efi/EFI/ubuntu/mmx64.efi
Installing for x86_64-efi platform.
Installation finished. No error reported.
grub-install --efi-directory=/boot/efi --target=x86_64-efi --uefi-secure-boot : exit code of grub-install :0
chroot /mnt/boot-sav/mapper/ubuntu--vg-root efibootmgr -v
BootCurrent: 0014
Timeout: 0 seconds
BootOrder: 0000,0014,0013,0015,0001,0012,0016
Boot0000* ubuntu HD(1,GPT,8e4bd0c3-b0c9-4d00-915a-b1efa617ccca,0x800,0x100000)/File(EFIubuntushimx64.efi)
Boot0001* Windows Boot Manager HD(1,GPT,b6567452-01b8-461a-b9ef-f433f8ca80b0,0x800,0x82000)/File(EFIMicrosoftBootbootmgfw.efi)WINDOWS.........x...B.C.D.O.B.J.E.C.T.=.{.9.d.e.a.8.6.2.c.-.5.c.d.d.-.4.e.7.0.-.a.c.c.1.-.f.3.2.b.3.4.4.d.4.7.9.5.}...E............. ...
Boot0010 Setup FvFile(721c8b66-426c-4e86-8e99-3457c46ab0b9)
Boot0011 Boot Menu FvFile(86488440-41bb-42c7-93ac-450fbf7766bf)
Boot0012* eMMC Disk: Hynix 32GB PciRoot(0x0)/Pci(0x10,0x0)/Ctrl(0x0)..]3.K.L......2.
Boot0013* USB FDD: VenMsg(bc7838d2-0f82-4d60-8316-c068ee79d25b,6ff015a28830b543a8b8641009461e49)
Boot0014* USB HDD: VenMsg(bc7838d2-0f82-4d60-8316-c068ee79d25b,33e821aaaf33bc4789bd419f88c50803)
Boot0015* USB CD: VenMsg(bc7838d2-0f82-4d60-8316-c068ee79d25b,86701296aa5a7848b66cd49dd3ba6a55)
Boot0016* PCI LAN: VenMsg(bc7838d2-0f82-4d60-8316-c068ee79d25b,78a84aaf2b2afc4ea79cf5cc8f3d3803)
chroot /mnt/boot-sav/mapper/ubuntu--vg-root update-grub
Generating grub configuration file ...
File descriptor 9 (/proc/18812/mounts) leaked on vgs invocation. Parent PID 28768: /usr/sbin/grub-probe
File descriptor 63 (pipe:[58543]) leaked on vgs invocation. Parent PID 28768: /usr/sbin/grub-probe
File descriptor 9 (/proc/18812/mounts) leaked on vgs invocation. Parent PID 28768: /usr/sbin/grub-probe
File descriptor 63 (pipe:[58543]) leaked on vgs invocation. Parent PID 28768: /usr/sbin/grub-probe
Found linux image: /boot/vmlinuz-4.13.0-45-generic
Found initrd image: /boot/initrd.img-4.13.0-45-generic
Found linux image: /boot/vmlinuz-4.13.0-41-generic
Found initrd image: /boot/initrd.img-4.13.0-41-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.4.0-130-generic
Found initrd image: /boot/initrd.img-4.4.0-130-generic
File descriptor 9 (/proc/18812/mounts) leaked on vgs invocation. Parent PID 30078: /usr/sbin/grub-probe
File descriptor 63 (pipe:[58543]) leaked on vgs invocation. Parent PID 30078: /usr/sbin/grub-probe
File descriptor 9 (/proc/18812/mounts) leaked on vgs invocation. Parent PID 30078: /usr/sbin/grub-probe
File descriptor 63 (pipe:[58543]) leaked on vgs invocation. Parent PID 30078: /usr/sbin/grub-probe
File descriptor 9 (/proc/18812/mounts) leaked on lvs invocation. Parent PID 30246: /bin/sh
File descriptor 63 (pipe:[58543]) leaked on lvs invocation. Parent PID 30246: /bin/sh
Adding boot menu entry for EFI firmware configuration
mount: unknown filesystem type 'crypto_LUKS'
mount /dev/mmcblk0p3 : Error code 32
mount -r /dev/mmcblk0p3 /mnt/boot-sav/mmcblk0p3
mount: unknown filesystem type 'crypto_LUKS'
mount -r /dev/mmcblk0p3 : Error code 32
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
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!
To run a command as administrator (user "root"), use "sudo <command>".
See "man sudo_root" for details.
ubuntu@ubuntu:~$ sudo boot-repair
sudo: boot-repair: command not found
ubuntu@ubuntu:~$ boot-repair
boot-repair: command not found
ubuntu@ubuntu:~$ sudo apt-add-repository ppa:yannubuntu/boot-repair
Simple tool to repair frequent boot problems.
Website: https://sourceforge.net/p/boot-repair/home
More info: https://launchpad.net/~yannubuntu/+archive/ubuntu/boot-repair
Press [ENTER] to continue or ctrl-c to cancel adding it
gpg: keyring `/tmp/tmplzfxjdi4/secring.gpg' created
gpg: keyring `/tmp/tmplzfxjdi4/pubring.gpg' created
gpg: requesting key 60D8DA0B from hkp server keyserver.ubuntu.com
gpg: /tmp/tmplzfxjdi4/trustdb.gpg: trustdb created
gpg: key 60D8DA0B: public key "Launchpad PPA for YannUbuntu" imported
gpg: Total number processed: 1
gpg: imported: 1 (RSA: 1)
OK
ubuntu@ubuntu:~$ udo apt-get update
The program 'udo' is currently not installed. You can install it by typing:
sudo apt install udo
You will have to enable the component called 'universe'
ubuntu@ubuntu:~$ sudo apt-get update
Ign:1 cdrom://Ubuntu 16.04.2 LTS _Xenial Xerus_ - Release amd64 (20170215.2) xenial InRelease
Hit:2 cdrom://Ubuntu 16.04.2 LTS _Xenial Xerus_ - Release amd64 (20170215.2) xenial Release
Get:4 http://security.ubuntu.com/ubuntu xenial-security InRelease [107 kB]
Hit:5 http://archive.ubuntu.com/ubuntu xenial InRelease
Get:6 http://ppa.launchpad.net/yannubuntu/boot-repair/ubuntu xenial InRelease [17.5 kB]
Get:7 http://archive.ubuntu.com/ubuntu xenial-updates InRelease [109 kB]
Get:8 http://ppa.launchpad.net/yannubuntu/boot-repair/ubuntu xenial/main amd64 Packages [1,876 B]
Get:9 http://ppa.launchpad.net/yannubuntu/boot-repair/ubuntu xenial/main Translation-en [2,036 B]
Get:10 http://security.ubuntu.com/ubuntu xenial-security/main amd64 Packages [518 kB]
Get:11 http://archive.ubuntu.com/ubuntu xenial-updates/main amd64 Packages [804 kB]
Get:12 http://security.ubuntu.com/ubuntu xenial-security/main Translation-en [222 kB]
Get:13 http://security.ubuntu.com/ubuntu xenial-security/main amd64 DEP-11 Metadata [67.7 kB]
Get:14 http://security.ubuntu.com/ubuntu xenial-security/main DEP-11 64x64 Icons [68.0 kB]
Get:15 http://security.ubuntu.com/ubuntu xenial-security/restricted amd64 Packages [7,204 B]
Get:16 http://security.ubuntu.com/ubuntu xenial-security/restricted Translation-en [2,152 B]
Get:17 http://archive.ubuntu.com/ubuntu xenial-updates/main Translation-en [331 kB]
Get:18 http://archive.ubuntu.com/ubuntu xenial-updates/main amd64 DEP-11 Metadata [318 kB]
Get:19 http://archive.ubuntu.com/ubuntu xenial-updates/main DEP-11 64x64 Icons [232 kB]
Get:20 http://archive.ubuntu.com/ubuntu xenial-updates/restricted amd64 Packages [7,560 B]
Get:21 http://archive.ubuntu.com/ubuntu xenial-updates/restricted Translation-en [2,272 B]
Fetched 2,818 kB in 15s (184 kB/s)
** (appstreamcli:3551): CRITICAL **: Error while moving old database out of the way.
AppStream cache update failed.
Reading package lists... Done
ubuntu@ubuntu:~$ sudo apt-get install -y boot-repair
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following additional packages will be installed:
boot-sav boot-sav-extra gawk glade2script libsigsegv2 pastebinit python-gi
Suggested packages:
boot-info mdadm os-uninstaller gawk-doc python-gi-cairo
The following NEW packages will be installed:
boot-repair boot-sav boot-sav-extra gawk glade2script libsigsegv2 pastebinit
python-gi
0 upgraded, 8 newly installed, 0 to remove and 600 not upgraded.
Need to get 1,237 kB of archives.
After this operation, 5,221 kB of additional disk space will be used.
Get:1 http://archive.ubuntu.com/ubuntu xenial/main amd64 libsigsegv2 amd64 2.10-4 [14.1 kB]
Get:3 http://ppa.launchpad.net/yannubuntu/boot-repair/ubuntu xenial/main amd64 glade2script all 3.2.3~ppa4 [36.0 kB]
Get:2 http://122.2.223.76:80/data/0072650377ac320e/archive.ubuntu.com/ubuntu xenial/main amd64 gawk amd64 1:4.1.3+dfsg-0.1 [398 kB]
Get:4 http://122.2.223.76:80/data/007289034dadb4a5/archive.ubuntu.com/ubuntu xenial/main amd64 python-gi amd64 3.20.0-0ubuntu1 [194 kB]
Get:5 http://122.2.223.76:80/data/0072db0333afa289/archive.ubuntu.com/ubuntu xenial/main amd64 pastebinit all 1.5-1 [14.6 kB]
Get:6 http://ppa.launchpad.net/yannubuntu/boot-repair/ubuntu xenial/main amd64 boot-sav all 4ppa65 [425 kB]
Get:7 http://ppa.launchpad.net/yannubuntu/boot-repair/ubuntu xenial/main amd64 boot-repair all 4ppa65 [12.4 kB]
Get:8 http://ppa.launchpad.net/yannubuntu/boot-repair/ubuntu xenial/main amd64 boot-sav-extra all 4ppa65 [142 kB]
Fetched 1,237 kB in 9s (133 kB/s)
Selecting previously unselected package libsigsegv2:amd64.
(Reading database ... 193483 files and directories currently installed.)
Preparing to unpack .../libsigsegv2_2.10-4_amd64.deb ...
Unpacking libsigsegv2:amd64 (2.10-4) ...
Setting up libsigsegv2:amd64 (2.10-4) ...
Processing triggers for libc-bin (2.23-0ubuntu5) ...
Selecting previously unselected package gawk.
(Reading database ... 193491 files and directories currently installed.)
Preparing to unpack .../gawk_1%3a4.1.3+dfsg-0.1_amd64.deb ...
Unpacking gawk (1:4.1.3+dfsg-0.1) ...
Selecting previously unselected package python-gi.
Preparing to unpack .../python-gi_3.20.0-0ubuntu1_amd64.deb ...
Unpacking python-gi (3.20.0-0ubuntu1) ...
Selecting previously unselected package glade2script.
Preparing to unpack .../glade2script_3.2.3~ppa4_all.deb ...
Unpacking glade2script (3.2.3~ppa4) ...
Selecting previously unselected package boot-sav.
Preparing to unpack .../boot-sav_4ppa65_all.deb ...
Unpacking boot-sav (4ppa65) ...
Selecting previously unselected package boot-repair.
Preparing to unpack .../boot-repair_4ppa65_all.deb ...
Unpacking boot-repair (4ppa65) ...
Selecting previously unselected package boot-sav-extra.
Preparing to unpack .../boot-sav-extra_4ppa65_all.deb ...
Unpacking boot-sav-extra (4ppa65) ...
Selecting previously unselected package pastebinit.
Preparing to unpack .../pastebinit_1.5-1_all.deb ...
Unpacking pastebinit (1.5-1) ...
Processing triggers for man-db (2.7.5-1) ...
Processing triggers for gnome-menus (3.13.3-6ubuntu3.1) ...
Processing triggers for desktop-file-utils (0.22-1ubuntu5) ...
Processing triggers for bamfdaemon (0.5.3~bzr0+16.04.20160824-0ubuntu1) ...
Rebuilding /usr/share/applications/bamf-2.index...
Processing triggers for mime-support (3.59ubuntu1) ...
Setting up gawk (1:4.1.3+dfsg-0.1) ...
Setting up python-gi (3.20.0-0ubuntu1) ...
Setting up glade2script (3.2.3~ppa4) ...
Setting up boot-sav (4ppa65) ...
Setting up boot-repair (4ppa65) ...
Setting up boot-sav-extra (4ppa65) ...
Setting up pastebinit (1.5-1) ...
ubuntu@ubuntu:~$ boot-repair
ubuntu@ubuntu:~$
ubuntu@ubuntu:~$ sudo
usage: sudo -h | -K | -k | -V
usage: sudo -v [-AknS] [-g group] [-h host] [-p prompt] [-u user]
usage: sudo -l [-AknS] [-g group] [-h host] [-p prompt] [-U user] [-u user]
[command]
usage: sudo [-AbEHknPS] [-r role] [-t type] [-C num] [-g group] [-h host] [-p
prompt] [-u user] [VAR=value] [-i|-s] [<command>]
usage: sudo -e [-AknS] [-r role] [-t type] [-C num] [-g group] [-h host] [-p
prompt] [-u user] file ...
ubuntu@ubuntu:~$ sudo chroot "/mnt/boot-sav/mapper/ubuntu--vg-root" dpkg --configure -a
ubuntu@ubuntu:~$ sudo chroot "/mnt/boot-sav/mapper/ubuntu--vg-root" apt-get install -fy
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following packages were automatically installed and are no longer required:
libllvm5.0 libllvm5.0:i386 linux-headers-4.13.0-32
linux-headers-4.13.0-32-generic linux-headers-4.13.0-36
linux-headers-4.13.0-36-generic linux-image-4.13.0-32-generic
linux-image-4.13.0-36-generic linux-image-extra-4.13.0-32-generic
linux-image-extra-4.13.0-36-generic linux-signed-image-4.13.0-32-generic
linux-signed-image-4.13.0-36-generic
Use 'sudo apt autoremove' to remove them.
0 upgraded, 0 newly installed, 0 to remove and 16 not upgraded.
ubuntu@ubuntu:~$ sudo chroot "/mnt/boot-sav/mapper/ubuntu--vg-root" apt-get install -y mdadm
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following packages were automatically installed and are no longer required:
libllvm5.0 libllvm5.0:i386 linux-headers-4.13.0-32
linux-headers-4.13.0-32-generic linux-headers-4.13.0-36
linux-headers-4.13.0-36-generic linux-image-4.13.0-32-generic
linux-image-4.13.0-36-generic linux-image-extra-4.13.0-32-generic
linux-image-extra-4.13.0-36-generic linux-signed-image-4.13.0-32-generic
linux-signed-image-4.13.0-36-generic
Use 'sudo apt autoremove' to remove them.
Suggested packages:
default-mta | mail-transport-agent dracut-core
The following NEW packages will be installed:
mdadm
0 upgraded, 1 newly installed, 0 to remove and 16 not upgraded.
Need to get 394 kB of archives.
After this operation, 1,208 kB of additional disk space will be used.
Get:1 http://us.archive.ubuntu.com/ubuntu xenial-updates/main amd64 mdadm amd64 3.3-2ubuntu7.6 [394 kB]
Fetched 394 kB in 2s (171 kB/s)
Preconfiguring packages ...
Selecting previously unselected package mdadm.
(Reading database ... 314302 files and directories currently installed.)
Preparing to unpack .../mdadm_3.3-2ubuntu7.6_amd64.deb ...
Unpacking mdadm (3.3-2ubuntu7.6) ...
Processing triggers for systemd (229-4ubuntu21.2) ...
Running in chroot, ignoring request.
Processing triggers for ureadahead (0.100.0-19) ...
Processing triggers for doc-base (0.10.7) ...
Processing 4 added doc-base files...
Processing triggers for man-db (2.7.5-1) ...
Setting up mdadm (3.3-2ubuntu7.6) ...
Generating mdadm.conf... done.
Running in chroot, ignoring request.
update-initramfs: deferring update (trigger activated)
Generating grub configuration file ...
Warning: Setting GRUB_TIMEOUT to a non-zero value when GRUB_HIDDEN_TIMEOUT is set is no longer supported.
File descriptor 3 (pipe:[63834]) leaked on vgs invocation. Parent PID 30295: /usr/sbin/grub-probe
File descriptor 3 (pipe:[63834]) leaked on vgs invocation. Parent PID 30295: /usr/sbin/grub-probe
Found linux image: /boot/vmlinuz-4.13.0-45-generic
Found initrd image: /boot/initrd.img-4.13.0-45-generic
Found linux image: /boot/vmlinuz-4.13.0-41-generic
Found initrd image: /boot/initrd.img-4.13.0-41-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
File descriptor 3 (pipe:[63834]) leaked on vgs invocation. Parent PID 31304: /usr/sbin/grub-probe
File descriptor 3 (pipe:[63834]) leaked on vgs invocation. Parent PID 31304: /usr/sbin/grub-probe
File descriptor 3 (pipe:[63834]) leaked on lvs invocation. Parent PID 31456: /bin/sh
Adding boot menu entry for EFI firmware configuration
done
Running in chroot, ignoring request.
Running in chroot, ignoring request.
update-rc.d: warning: start and stop actions are no longer supported; falling back to defaults
Running in chroot, ignoring request.
Processing triggers for systemd (229-4ubuntu21.2) ...
Running in chroot, ignoring request.
Processing triggers for ureadahead (0.100.0-19) ...
Processing triggers for initramfs-tools (0.122ubuntu8.11) ...
update-initramfs: Generating /boot/initrd.img-4.13.0-45-generic
cryptsetup: WARNING: invalid line in /etc/crypttab for luks-acda6026-95aa-4d4e-ab4b-c0fa05c60a09 -
cryptsetup: WARNING: invalid line in /etc/crypttab for luks-acda6026-95aa-4d4e-ab4b-c0fa05c60a09 -
W: mdadm: /etc/mdadm/mdadm.conf defines no arrays.
ubuntu@ubuntu:~$ sudo chroot "/mnt/boot-sav/mapper/ubuntu--vg-root" mdadm --assemble --scan
mdadm: No arrays found in config file or automatically
ubuntu@ubuntu:~$ sudo chroot "/mnt/boot-sav/mapper/ubuntu--vg-root" apt-get install -y lvm2
Reading package lists... Done
Building dependency tree
Reading state information... Done
lvm2 is already the newest version (2.02.133-1ubuntu10).
The following packages were automatically installed and are no longer required:
libllvm5.0 libllvm5.0:i386 linux-headers-4.13.0-32
linux-headers-4.13.0-32-generic linux-headers-4.13.0-36
linux-headers-4.13.0-36-generic linux-image-4.13.0-32-generic
linux-image-4.13.0-36-generic linux-image-extra-4.13.0-32-generic
linux-image-extra-4.13.0-36-generic linux-signed-image-4.13.0-32-generic
linux-signed-image-4.13.0-36-generic
Use 'sudo apt autoremove' to remove them.
0 upgraded, 0 newly installed, 0 to remove and 16 not upgraded.
ubuntu@ubuntu:~$ sudo chroot "/mnt/boot-sav/mapper/ubuntu--vg-root" apt-get purge -y grub*-common grub-common:i386 shim-signed
Reading package lists... Done
Building dependency tree
Reading state information... Done
Note, selecting 'grub-common' for glob 'grub*-common'
Note, selecting 'grub2-common' for glob 'grub*-common'
Package 'grub-common:i386' is not installed, so not removed. Did you mean 'grub-common'?
The following packages were automatically installed and are no longer required:
libllvm5.0 libllvm5.0:i386 linux-headers-4.13.0-32
linux-headers-4.13.0-32-generic linux-headers-4.13.0-36
linux-headers-4.13.0-36-generic linux-image-4.13.0-32-generic
linux-image-4.13.0-36-generic linux-image-extra-4.13.0-32-generic
linux-image-extra-4.13.0-36-generic linux-signed-image-4.13.0-32-generic
linux-signed-image-4.13.0-36-generic shim
Use 'sudo apt autoremove' to remove them.
The following packages will be REMOVED:
grub-common* grub-efi-amd64* grub-efi-amd64-bin* grub-efi-amd64-signed*
grub-pc-bin* grub2-common* os-prober* shim-signed*
0 upgraded, 0 newly installed, 8 to remove and 16 not upgraded.
After this operation, 23.9 MB disk space will be freed.
(Reading database ... 314371 files and directories currently installed.)
Removing os-prober (1.70ubuntu3.3) ...
Removing shim-signed (1.33.1~16.04.1+13-0ubuntu2) ...
Purging configuration files for shim-signed (1.33.1~16.04.1+13-0ubuntu2) ...
Removing grub-efi-amd64-signed (1.66.18+2.02~beta2-36ubuntu3.18) ...
Removing grub-efi-amd64 (2.02~beta2-36ubuntu3.18) ...
Purging configuration files for grub-efi-amd64 (2.02~beta2-36ubuntu3.18) ...
Removing grub-efi-amd64-bin (2.02~beta2-36ubuntu3.18) ...
Removing grub-pc-bin (2.02~beta2-36ubuntu3.18) ...
Removing grub2-common (2.02~beta2-36ubuntu3.18) ...
Removing grub-common (2.02~beta2-36ubuntu3.18) ...
Running in chroot, ignoring request.
Running in chroot, ignoring request.
Running in chroot, ignoring request.
Running in chroot, ignoring request.
Running in chroot, ignoring request.
Purging configuration files for grub-common (2.02~beta2-36ubuntu3.18) ...
Running in chroot, ignoring request.
Running in chroot, ignoring request.
Processing triggers for man-db (2.7.5-1) ...
Processing triggers for install-info (6.1.0.dfsg.1-5) ...
ubuntu@ubuntu:~$ sudo chroot "/mnt/boot-sav/mapper/ubuntu--vg-root" apt-get install -y grub-efi-amd64-signed shim-signed linux-headers-generic linux-signed-generic
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following packages were automatically installed and are no longer required:
libllvm5.0 libllvm5.0:i386 linux-headers-4.13.0-32
linux-headers-4.13.0-32-generic linux-headers-4.13.0-36
linux-headers-4.13.0-36-generic linux-image-4.13.0-32-generic
linux-image-4.13.0-36-generic linux-image-extra-4.13.0-32-generic
linux-image-extra-4.13.0-36-generic linux-signed-image-4.13.0-32-generic
linux-signed-image-4.13.0-36-generic
Use 'sudo apt autoremove' to remove them.
The following additional packages will be installed:
grub-common grub-efi-amd64 grub-efi-amd64-bin grub2-common
linux-headers-4.4.0-130 linux-headers-4.4.0-130-generic
linux-image-4.4.0-130-generic linux-image-extra-4.4.0-130-generic
linux-signed-image-4.4.0-130-generic linux-signed-image-generic os-prober
Suggested packages:
multiboot-doc grub-emu xorriso desktop-base fdutils linux-doc-4.4.0
| linux-source-4.4.0 linux-tools
The following NEW packages will be installed:
grub-common grub-efi-amd64 grub-efi-amd64-bin grub-efi-amd64-signed
grub2-common linux-headers-4.4.0-130 linux-headers-4.4.0-130-generic
linux-headers-generic linux-image-4.4.0-130-generic
linux-image-extra-4.4.0-130-generic linux-signed-generic
linux-signed-image-4.4.0-130-generic linux-signed-image-generic os-prober
shim-signed
0 upgraded, 15 newly installed, 0 to remove and 16 not upgraded.
Need to get 69.5 MB/73.1 MB of archives.
After this operation, 324 MB of additional disk space will be used.
Get:1 http://us.archive.ubuntu.com/ubuntu xenial-updates/main amd64 linux-headers-4.4.0-130 all 4.4.0-130.156 [10.0 MB]
Get:2 http://122.2.223.76:80/data/0572800c45f6431e/us.archive.ubuntu.com/ubuntu xenial-updates/main amd64 linux-headers-4.4.0-130-generic amd64 4.4.0-130.156 [815 kB]
Get:3 http://us.archive.ubuntu.com/ubuntu xenial-updates/main amd64 linux-headers-generic amd64 4.4.0.130.136 [2,498 B]
Get:4 http://122.2.223.76:80/data/05728d0c00f81f94/us.archive.ubuntu.com/ubuntu xenial-updates/main amd64 linux-image-4.4.0-130-generic amd64 4.4.0-130.156 [22.1 MB]
Get:6 http://us.archive.ubuntu.com/ubuntu xenial-updates/main amd64 linux-signed-image-4.4.0-130-generic amd64 4.4.0-130.156 [4,010 B]
Get:7 http://us.archive.ubuntu.com/ubuntu xenial-updates/main amd64 linux-signed-image-generic amd64 4.4.0.130.136 [2,572 B]
Get:8 http://us.archive.ubuntu.com/ubuntu xenial-updates/main amd64 linux-signed-generic amd64 4.4.0.130.136 [1,822 B]
Get:9 http://us.archive.ubuntu.com/ubuntu xenial-updates/main amd64 os-prober amd64 1.70ubuntu3.3 [19.1 kB]
Get:5 http://122.2.223.76:80/data/05729b0c4cfa2979/us.archive.ubuntu.com/ubuntu xenial-updates/main amd64 linux-image-extra-4.4.0-130-generic amd64 4.4.0-130.156 [36.5 MB]
Fetched 69.5 MB in 1min 59s (580 kB/s)
Preconfiguring packages ...
Selecting previously unselected package grub-common.
(Reading database ... 313654 files and directories currently installed.)
Preparing to unpack .../grub-common_2.02~beta2-36ubuntu3.18_amd64.deb ...
Unpacking grub-common (2.02~beta2-36ubuntu3.18) ...
Selecting previously unselected package grub2-common.
Preparing to unpack .../grub2-common_2.02~beta2-36ubuntu3.18_amd64.deb ...
Unpacking grub2-common (2.02~beta2-36ubuntu3.18) ...
Selecting previously unselected package grub-efi-amd64-bin.
Preparing to unpack .../grub-efi-amd64-bin_2.02~beta2-36ubuntu3.18_amd64.deb ...
Unpacking grub-efi-amd64-bin (2.02~beta2-36ubuntu3.18) ...
Selecting previously unselected package grub-efi-amd64.
Preparing to unpack .../grub-efi-amd64_2.02~beta2-36ubuntu3.18_amd64.deb ...
Unpacking grub-efi-amd64 (2.02~beta2-36ubuntu3.18) ...
Selecting previously unselected package grub-efi-amd64-signed.
Preparing to unpack .../grub-efi-amd64-signed_1.66.18+2.02~beta2-36ubuntu3.18_amd64.deb ...
Unpacking grub-efi-amd64-signed (1.66.18+2.02~beta2-36ubuntu3.18) ...
Selecting previously unselected package linux-headers-4.4.0-130.
Preparing to unpack .../linux-headers-4.4.0-130_4.4.0-130.156_all.deb ...
Unpacking linux-headers-4.4.0-130 (4.4.0-130.156) ...
Selecting previously unselected package linux-headers-4.4.0-130-generic.
Preparing to unpack .../linux-headers-4.4.0-130-generic_4.4.0-130.156_amd64.deb ...
Unpacking linux-headers-4.4.0-130-generic (4.4.0-130.156) ...
Selecting previously unselected package linux-headers-generic.
Preparing to unpack .../linux-headers-generic_4.4.0.130.136_amd64.deb ...
Unpacking linux-headers-generic (4.4.0.130.136) ...
Selecting previously unselected package linux-image-4.4.0-130-generic.
Preparing to unpack .../linux-image-4.4.0-130-generic_4.4.0-130.156_amd64.deb ...
Examining /etc/kernel/preinst.d/
run-parts: executing /etc/kernel/preinst.d/intel-microcode 4.4.0-130-generic /boot/vmlinuz-4.4.0-130-generic
Done.
Unpacking linux-image-4.4.0-130-generic (4.4.0-130.156) ...
Selecting previously unselected package linux-image-extra-4.4.0-130-generic.
Preparing to unpack .../linux-image-extra-4.4.0-130-generic_4.4.0-130.156_amd64.deb ...
Unpacking linux-image-extra-4.4.0-130-generic (4.4.0-130.156) ...
Selecting previously unselected package linux-signed-image-4.4.0-130-generic.
Preparing to unpack .../linux-signed-image-4.4.0-130-generic_4.4.0-130.156_amd64.deb ...
Unpacking linux-signed-image-4.4.0-130-generic (4.4.0-130.156) ...
Selecting previously unselected package linux-signed-image-generic.
Preparing to unpack .../linux-signed-image-generic_4.4.0.130.136_amd64.deb ...
Unpacking linux-signed-image-generic (4.4.0.130.136) ...
Selecting previously unselected package linux-signed-generic.
Preparing to unpack .../linux-signed-generic_4.4.0.130.136_amd64.deb ...
Unpacking linux-signed-generic (4.4.0.130.136) ...
Selecting previously unselected package os-prober.
Preparing to unpack .../os-prober_1.70ubuntu3.3_amd64.deb ...
Unpacking os-prober (1.70ubuntu3.3) ...
Selecting previously unselected package shim-signed.
Preparing to unpack .../shim-signed_1.33.1~16.04.1+13-0ubuntu2_amd64.deb ...
Unpacking shim-signed (1.33.1~16.04.1+13-0ubuntu2) ...
Processing triggers for systemd (229-4ubuntu21.2) ...
Running in chroot, ignoring request.
Processing triggers for ureadahead (0.100.0-19) ...
Processing triggers for man-db (2.7.5-1) ...
Processing triggers for install-info (6.1.0.dfsg.1-5) ...
Setting up grub-common (2.02~beta2-36ubuntu3.18) ...
update-rc.d: warning: start and stop actions are no longer supported; falling back to defaults
Running in chroot, ignoring request.
Running in chroot, ignoring request.
Setting up grub2-common (2.02~beta2-36ubuntu3.18) ...
Setting up grub-efi-amd64-bin (2.02~beta2-36ubuntu3.18) ...
Setting up grub-efi-amd64 (2.02~beta2-36ubuntu3.18) ...
Creating config file /etc/default/grub with new version
Installing for x86_64-efi platform.
Installation finished. No error reported.
Setting up grub-efi-amd64-signed (1.66.18+2.02~beta2-36ubuntu3.18) ...
Installing for x86_64-efi platform.
Installation finished. No error reported.
Setting up linux-headers-4.4.0-130 (4.4.0-130.156) ...
Setting up linux-headers-4.4.0-130-generic (4.4.0-130.156) ...
Setting up linux-headers-generic (4.4.0.130.136) ...
Setting up linux-image-4.4.0-130-generic (4.4.0-130.156) ...
Running depmod.
update-initramfs: deferring update (hook will be called later)
Examining /etc/kernel/postinst.d.
run-parts: executing /etc/kernel/postinst.d/apt-auto-removal 4.4.0-130-generic /boot/vmlinuz-4.4.0-130-generic
run-parts: executing /etc/kernel/postinst.d/initramfs-tools 4.4.0-130-generic /boot/vmlinuz-4.4.0-130-generic
update-initramfs: Generating /boot/initrd.img-4.4.0-130-generic
cryptsetup: WARNING: invalid line in /etc/crypttab for luks-acda6026-95aa-4d4e-ab4b-c0fa05c60a09 -
cryptsetup: WARNING: invalid line in /etc/crypttab for luks-acda6026-95aa-4d4e-ab4b-c0fa05c60a09 -
W: mdadm: /etc/mdadm/mdadm.conf defines no arrays.
run-parts: executing /etc/kernel/postinst.d/pm-utils 4.4.0-130-generic /boot/vmlinuz-4.4.0-130-generic
run-parts: executing /etc/kernel/postinst.d/unattended-upgrades 4.4.0-130-generic /boot/vmlinuz-4.4.0-130-generic
run-parts: executing /etc/kernel/postinst.d/update-notifier 4.4.0-130-generic /boot/vmlinuz-4.4.0-130-generic
run-parts: executing /etc/kernel/postinst.d/zz-update-grub 4.4.0-130-generic /boot/vmlinuz-4.4.0-130-generic
Setting up linux-image-extra-4.4.0-130-generic (4.4.0-130.156) ...
run-parts: executing /etc/kernel/postinst.d/apt-auto-removal 4.4.0-130-generic /boot/vmlinuz-4.4.0-130-generic
run-parts: executing /etc/kernel/postinst.d/initramfs-tools 4.4.0-130-generic /boot/vmlinuz-4.4.0-130-generic
update-initramfs: Generating /boot/initrd.img-4.4.0-130-generic
cryptsetup: WARNING: invalid line in /etc/crypttab for luks-acda6026-95aa-4d4e-ab4b-c0fa05c60a09 -
cryptsetup: WARNING: invalid line in /etc/crypttab for luks-acda6026-95aa-4d4e-ab4b-c0fa05c60a09 -
W: mdadm: /etc/mdadm/mdadm.conf defines no arrays.
run-parts: executing /etc/kernel/postinst.d/pm-utils 4.4.0-130-generic /boot/vmlinuz-4.4.0-130-generic
run-parts: executing /etc/kernel/postinst.d/unattended-upgrades 4.4.0-130-generic /boot/vmlinuz-4.4.0-130-generic
run-parts: executing /etc/kernel/postinst.d/update-notifier 4.4.0-130-generic /boot/vmlinuz-4.4.0-130-generic
run-parts: executing /etc/kernel/postinst.d/zz-update-grub 4.4.0-130-generic /boot/vmlinuz-4.4.0-130-generic
Setting up linux-signed-image-4.4.0-130-generic (4.4.0-130.156) ...
Generating grub configuration file ...
Warning: Setting GRUB_TIMEOUT to a non-zero value when GRUB_HIDDEN_TIMEOUT is set is no longer supported.
Found linux image: /boot/vmlinuz-4.13.0-45-generic
Found initrd image: /boot/initrd.img-4.13.0-45-generic
Found linux image: /boot/vmlinuz-4.13.0-41-generic
Found initrd image: /boot/initrd.img-4.13.0-41-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.4.0-130-generic
Found initrd image: /boot/initrd.img-4.4.0-130-generic
Adding boot menu entry for EFI firmware configuration
done
Setting up linux-signed-image-generic (4.4.0.130.136) ...
Setting up linux-signed-generic (4.4.0.130.136) ...
Setting up os-prober (1.70ubuntu3.3) ...
Setting up shim-signed (1.33.1~16.04.1+13-0ubuntu2) ...
Installing for x86_64-efi platform.
Installation finished. No error reported.
No DKMS packages installed: not changing Secure Boot validation state.
Processing triggers for systemd (229-4ubuntu21.2) ...
Running in chroot, ignoring request.
Processing triggers for ureadahead (0.100.0-19) ...
ubuntu@ubuntu:~$
Boot Info Script 8f991e4 + Boot-Repair extra info [Boot-Info 25oct2017]
============================= Boot Info Summary: ===============================
=> Syslinux MBR (5.00 and higher) is installed in the MBR of /dev/sda.
sda1: __________________________________________________________________________
File system: vfat
Boot sector type: SYSLINUX 6.03
Boot sector info: Syslinux looks at sector 32776 of /dev/sda1 for its
second stage. The integrity check of Syslinux failed.
No errors found in the Boot Parameter Block.
Operating System:
Boot files: /boot/grub/grub.cfg /syslinux.cfg /casper/vmlinuz.efi
/EFI/BOOT/grubx64.efi /ldlinux.sys
ubuntu-vg-root: ________________________________________________________________
File system: ext4
Boot sector type: -
Boot sector info:
Operating System: Ubuntu 16.04.4 LTS
Boot files: /etc/fstab
ubuntu-vg-swap_1: ______________________________________________________________
File system: swap
Boot sector type: -
Boot sector info:
============================ Drive/Partition Info: =============================
Drive: sda _____________________________________________________________________
Disk /dev/sda: 7.5 GiB, 8010194944 bytes, 15644912 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disklabel type: dos
Partition Boot Start Sector End Sector # of Sectors Id System
/dev/sda1 * 2,048 15,644,911 15,642,864 c W95 FAT32 (LBA)
"blkid" output: ________________________________________________________________
Device UUID TYPE LABEL
/dev/loop0 squashfs
/dev/mapper/luks-acda6026-95aa-4d4e-ab4b-c0fa05c60a09 PaVR6N-9Gil-a6Qm-NONf-kz3s-VMmP-oI4oIb LVM2_member
/dev/mapper/ubuntu--vg-root 7d646971-2887-438f-b5b3-ff25c9add83d ext4
/dev/mapper/ubuntu--vg-swap_1 16aceda1-9e8a-4b41-b5e8-91691b106546 swap
/dev/mmcblk0
/dev/mmcblk0p1 262D-5984 vfat
/dev/mmcblk0p2 408751e1-06f3-4fb6-a119-53b891d35146 ext2
/dev/mmcblk0p3 acda6026-95aa-4d4e-ab4b-c0fa05c60a09 crypto_LUKS
/dev/sda1 8A77-CD40 vfat UBUNTU 16_0
========================= "ls -l /dev/disk/by-id" output: ======================
total 0
lrwxrwxrwx 1 root root 10 Jul 6 23:58 dm-name-luks-acda6026-95aa-4d4e-ab4b-c0fa05c60a09 -> ../../dm-0
lrwxrwxrwx 1 root root 10 Jul 6 23:58 dm-name-ubuntu--vg-root -> ../../dm-1
lrwxrwxrwx 1 root root 10 Jul 6 23:58 dm-name-ubuntu--vg-swap_1 -> ../../dm-2
lrwxrwxrwx 1 root root 10 Jul 6 23:58 dm-uuid-CRYPT-LUKS1-acda602695aa4d4eab4bc0fa05c60a09-luks-acda6026-95aa-4d4e-ab4b-c0fa05c60a09 -> ../../dm-0
lrwxrwxrwx 1 root root 10 Jul 6 23:58 dm-uuid-LVM-Agiz0ZjvndcYd8sSjUTGgf1IBkezuBJtY2QTNM1o42DakAcMiaLNIim7N1ydBBPr -> ../../dm-2
lrwxrwxrwx 1 root root 10 Jul 6 23:58 dm-uuid-LVM-Agiz0ZjvndcYd8sSjUTGgf1IBkezuBJtb4ZqQT7yfj5rq3UP1J38Vh3mHEuVxobw -> ../../dm-1
lrwxrwxrwx 1 root root 10 Jul 6 23:58 lvm-pv-uuid-PaVR6N-9Gil-a6Qm-NONf-kz3s-VMmP-oI4oIb -> ../../dm-0
lrwxrwxrwx 1 root root 13 Jul 6 23:49 mmc-HBG4e__0x58283932 -> ../../mmcblk0
lrwxrwxrwx 1 root root 15 Jul 6 23:49 mmc-HBG4e__0x58283932-part1 -> ../../mmcblk0p1
lrwxrwxrwx 1 root root 15 Jul 6 23:49 mmc-HBG4e__0x58283932-part2 -> ../../mmcblk0p2
lrwxrwxrwx 1 root root 15 Jul 6 23:49 mmc-HBG4e__0x58283932-part3 -> ../../mmcblk0p3
lrwxrwxrwx 1 root root 9 Jul 6 23:58 usb-Kingston_DT_101_G2_001CC05FE92CFB80291D2137-0:0 -> ../../sda
lrwxrwxrwx 1 root root 10 Jul 6 23:58 usb-Kingston_DT_101_G2_001CC05FE92CFB80291D2137-0:0-part1 -> ../../sda1
========================= "ls -R /dev/mapper/" output: =========================
/dev/mapper:
control
luks-acda6026-95aa-4d4e-ab4b-c0fa05c60a09
ubuntu--vg-root
ubuntu--vg-swap_1
================================ Mount points: =================================
Device Mount_Point Type Options
/dev/loop0 /rofs squashfs (ro,noatime)
/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 loadconfig
LABEL loadconfig
CONFIG /isolinux/isolinux.cfg
APPEND /isolinux/
--------------------------------------------------------------------------------
=================== 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
========================== ubuntu-vg-root/etc/fstab: ===========================
--------------------------------------------------------------------------------
# /etc/fstab: static file system information.
#
# Use 'blkid' to print the universally unique identifier for a
# device; this may be used with UUID= as a more robust way to name devices
# that works even if disks are added and removed. See fstab(5).
#
# <file system> <mount point> <type> <options> <dump> <pass>
/dev/mapper/ubuntu--vg-root / ext4 errors=remount-ro 0 1
# /boot was on /dev/mmcblk0p2 during installation
#UUID=408751e1-06f3-4fb6-a119-53b891d35146 /boot ext2 defaults 0 2
# /boot/efi was on /dev/mmcblk0p1 during installation
#UUID=262D-5984 /boot/efi vfat umask=0077 0 1
/dev/mapper/ubuntu--vg-swap_1 none swap sw 0 0
UUID=408751e1-06f3-4fb6-a119-53b891d35146 /boot ext2 defaults 0 2
UUID=262D-5984 /boot/efi vfat defaults 0 1
--------------------------------------------------------------------------------
=============================== StdErr Messages: ===============================
File descriptor 9 (/proc/18812/mounts) leaked on lvs invocation. Parent PID 2081: bash
File descriptor 63 (pipe:[58543]) leaked on lvs invocation. Parent PID 2081: bash
File descriptor 9 (/proc/18812/mounts) leaked on lvchange invocation. Parent PID 2459: bash
File descriptor 63 (pipe:[58543]) leaked on lvchange invocation. Parent PID 2459: bash
File descriptor 9 (/proc/18812/mounts) leaked on lvchange invocation. Parent PID 2459: bash
File descriptor 63 (pipe:[58543]) leaked on lvchange invocation. Parent PID 2459: bash
mdadm: No arrays found in config file or automatically
ADDITIONAL INFORMATION :
=================== log of boot-repair 20180706_2358 ===================
boot-repair version : 4ppa65
boot-sav version : 4ppa65
boot-sav-extra version : 4ppa65
glade2script version : 3.2.3~ppa4
BLKID BEFORE LVM ACTIVATION:
/dev/mmcblk0p1: UUID="262D-5984" TYPE="vfat" PARTLABEL="EFI System Partition" PARTUUID="8e4bd0c3-b0c9-4d00-915a-b1efa617ccca"
/dev/mmcblk0p2: UUID="408751e1-06f3-4fb6-a119-53b891d35146" TYPE="ext2" PARTUUID="9d5a5874-dc9d-45d3-9ea6-9990e1ed3842"
/dev/sda1: LABEL="UBUNTU 16_0" UUID="8A77-CD40" TYPE="vfat" PARTUUID="00b50280-01"
/dev/loop0: TYPE="squashfs"
/dev/mmcblk0p3: UUID="acda6026-95aa-4d4e-ab4b-c0fa05c60a09" TYPE="crypto_LUKS" PARTUUID="886679b8-6b5d-409d-a2be-f2b7a175f372"
/dev/mapper/luks-acda6026-95aa-4d4e-ab4b-c0fa05c60a09: UUID="PaVR6N-9Gil-a6Qm-NONf-kz3s-VMmP-oI4oIb" TYPE="LVM2_member"
/dev/mapper/ubuntu--vg-root: UUID="7d646971-2887-438f-b5b3-ff25c9add83d" TYPE="ext4"
/dev/mapper/ubuntu--vg-swap_1: UUID="16aceda1-9e8a-4b41-b5e8-91691b106546" TYPE="swap"
/dev/mmcblk0: PTUUID="a2646f2b-3222-495f-a38e-f96fd43c8eb5" PTTYPE="gpt"
MODPROBE
VGSCAN
File descriptor 9 (/proc/18812/mounts) leaked on vgscan invocation. Parent PID 18820: /bin/bash
Reading all physical volumes. This may take a while...
Found volume group "ubuntu-vg" using metadata type lvm2
VGCHANGE
File descriptor 9 (/proc/18812/mounts) leaked on vgchange invocation. Parent PID 18820: /bin/bash
2 logical volume(s) in volume group "ubuntu-vg" now active
File descriptor 9 (/proc/18812/mounts) leaked on lvscan invocation. Parent PID 18820: /bin/bash
LVSCAN:
ACTIVE '/dev/ubuntu-vg/root' [24.27 GiB] inherit
ACTIVE '/dev/ubuntu-vg/swap_1' [3.86 GiB] inherit
Gtk-Message: GtkDialog mapped without a transient parent. This is discouraged.
Is there RAID on this computer? no
File descriptor 9 (/proc/18812/mounts) leaked on vgs invocation. Parent PID 20885: grub-probe
File descriptor 9 (/proc/18812/mounts) leaked on vgs invocation. Parent PID 20885: grub-probe
Error: /dev/mapper/luks-acda6026-95aa-4d4e-ab4b-c0fa05c60a09: 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.2 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
Set sda as corresponding disk of mapper/ubuntu--vg-root
mmcblk0 (sda) has unknown type. Please report this message to boot.repair@gmail.com
mount: unknown filesystem type 'crypto_LUKS'
mount /dev/mmcblk0p3 : Error code 32
mount -r /dev/mmcblk0p3 /mnt/boot-sav/mmcblk0p3
mount: unknown filesystem type 'crypto_LUKS'
mount -r /dev/mmcblk0p3 : Error code 32
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/mapper/ubuntu--vg-root:Ubuntu 16.04.4 LTS (16.04):Ubuntu:linux
=================== blkid:
/dev/mmcblk0p1: UUID="262D-5984" TYPE="vfat" PARTLABEL="EFI System Partition" PARTUUID="8e4bd0c3-b0c9-4d00-915a-b1efa617ccca"
/dev/mmcblk0p2: UUID="408751e1-06f3-4fb6-a119-53b891d35146" TYPE="ext2" PARTUUID="9d5a5874-dc9d-45d3-9ea6-9990e1ed3842"
/dev/sda1: LABEL="UBUNTU 16_0" UUID="8A77-CD40" TYPE="vfat" PARTUUID="00b50280-01"
/dev/loop0: TYPE="squashfs"
/dev/mmcblk0p3: UUID="acda6026-95aa-4d4e-ab4b-c0fa05c60a09" TYPE="crypto_LUKS" PARTUUID="886679b8-6b5d-409d-a2be-f2b7a175f372"
/dev/mapper/luks-acda6026-95aa-4d4e-ab4b-c0fa05c60a09: UUID="PaVR6N-9Gil-a6Qm-NONf-kz3s-VMmP-oI4oIb" TYPE="LVM2_member"
/dev/mapper/ubuntu--vg-root: UUID="7d646971-2887-438f-b5b3-ff25c9add83d" TYPE="ext4"
/dev/mapper/ubuntu--vg-swap_1: UUID="16aceda1-9e8a-4b41-b5e8-91691b106546" TYPE="swap"
/dev/mmcblk0: PTUUID="a2646f2b-3222-495f-a38e-f96fd43c8eb5" PTTYPE="gpt"
Set sda as corresponding disk of mapper/ubuntu--vg-root
1 disks with OS, 1 OS : 1 Linux, 0 MacOS, 0 Windows, 0 unknown type OS.
mount: unknown filesystem type 'crypto_LUKS'
mount /dev/mmcblk0p3 : Error code 32
mount -r /dev/mmcblk0p3 /mnt/boot-sav/mmcblk0p3
mount: unknown filesystem type 'crypto_LUKS'
mount -r /dev/mmcblk0p3 : Error code 32
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
=================== mapper/ubuntu--vg-root/etc/grub.d/ :
drwxr-xr-x 2 root root 4096 Jul 6 15:50 grub.d
total 80
-rwxr-xr-x 1 root root 9791 Jan 13 2017 00_header
-rwxr-xr-x 1 root root 6258 Mar 15 2016 05_debian_theme
-rwxr-xr-x 1 root root 12512 Mar 24 2017 10_linux
-rwxr-xr-x 1 root root 11082 Jan 13 2017 20_linux_xen
-rwxr-xr-x 1 root root 1992 Jan 28 2016 20_memtest86+
-rwxr-xr-x 1 root root 11692 Jan 13 2017 30_os-prober
-rwxr-xr-x 1 root root 1418 Jan 13 2017 30_uefi-firmware
-rwxr-xr-x 1 root root 214 Jan 13 2017 40_custom
-rwxr-xr-x 1 root root 216 Jan 13 2017 41_custom
-rw-r--r-- 1 root root 483 Jan 13 2017 README
=================== mapper/ubuntu--vg-root/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 mapper/ubuntu--vg-root: UUID=262D-5984 (mmcblk0p1)
/boot detected in the fstab of mapper/ubuntu--vg-root: UUID=408751e1-06f3-4fb6-a119-53b891d35146 (mmcblk0p2)
=================== efibootmgr -v
BootCurrent: 0014
Timeout: 0 seconds
BootOrder: 0014,0000,0013,0015,0001,0012,0016
Boot0000* ubuntu HD(1,GPT,8e4bd0c3-b0c9-4d00-915a-b1efa617ccca,0x800,0x100000)/File(EFIubuntushimx64.efi)
Boot0001* Windows Boot Manager HD(1,GPT,b6567452-01b8-461a-b9ef-f433f8ca80b0,0x800,0x82000)/File(EFIMicrosoftBootbootmgfw.efi)WINDOWS.........x...B.C.D.O.B.J.E.C.T.=.{.9.d.e.a.8.6.2.c.-.5.c.d.d.-.4.e.7.0.-.a.c.c.1.-.f.3.2.b.3.4.4.d.4.7.9.5.}...E............. ...
Boot0010 Setup FvFile(721c8b66-426c-4e86-8e99-3457c46ab0b9)
Boot0011 Boot Menu FvFile(86488440-41bb-42c7-93ac-450fbf7766bf)
Boot0012* eMMC Disk: Hynix 32GB PciRoot(0x0)/Pci(0x10,0x0)/Ctrl(0x0)..]3.K.L......2.
Boot0013* USB FDD: VenMsg(bc7838d2-0f82-4d60-8316-c068ee79d25b,6ff015a28830b543a8b8641009461e49)
Boot0014* USB HDD: VenMsg(bc7838d2-0f82-4d60-8316-c068ee79d25b,33e821aaaf33bc4789bd419f88c50803)
Boot0015* USB CD: VenMsg(bc7838d2-0f82-4d60-8316-c068ee79d25b,86701296aa5a7848b66cd49dd3ba6a55)
Boot0016* PCI LAN: VenMsg(bc7838d2-0f82-4d60-8316-c068ee79d25b,78a84aaf2b2afc4ea79cf5cc8f3d3803)
=================== UEFI/Legacy mode:
BIOS is EFI-compatible, and is setup in EFI-mode for this live-session.
SecureBoot 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, is-sepboot, grubenv-ok nogrub, no-docgrub, no-update-grub, 32, no-boot, no-os, is-maybe-EFI, part-has-no-fstab, part-has-no-fstab, no-nt, no-winload, no-recov-nor-hid, no-bmgr, notwinboot, nopakmgr, nogrubinstall, no---usr, part-has-no-fstab, not-sep-usr, standard, not-far, notbiosboot, /media/ubuntu/408751e1-06f3-4fb6-a119-53b891d35146.
mmcblk0p3 : mmcblk0, 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/mmcblk0p3.
mapper/ubuntu--vg-root : sda, not-sepboot, no-grubenv grub2, signed grub-pc grub-efi , update-grub, 64, no-boot, is-os, not--efi--part, fstab-has-goodBOOT, 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, /mnt/boot-sav/mapper/ubuntu--vg-root.
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, no-os, 1 sectors * 512 bytes
sda : not-GPT, BIOSboot-not-needed, has-no-EFIpart, usb-disk, not-mmc, has-os, 2048 sectors * 512 bytes
=================== parted -lm:
BYT;
/dev/sda:8010MB:scsi:512:512:msdos:Kingston DT 101 G2:;
1:1049kB:8010MB:8009MB:fat32::boot, lba;
BYT;
/dev/mapper/ubuntu--vg-swap_1:4140MB:dm:512:512:loop:Linux device-mapper (linear):;
1:0.00B:4140MB:4140MB:linux-swap(v1)::;
BYT;
/dev/mapper/ubuntu--vg-root:26.1GB:dm:512:512:loop:Linux device-mapper (linear):;
1:0.00B:26.1GB:26.1GB:ext4::;
BYT;
/dev/mapper/luks-acda6026-95aa-4d4e-ab4b-c0fa05c60a09:30.2GB:dm:512:512:unknown:Linux device-mapper (crypt):;
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 HBG4e :;
1:1049kB:538MB:537MB:fat32:EFI System Partition:boot, esp;
2:538MB:1050MB:512MB:ext2::;
3:1050MB:31.3GB:30.2GB:::;
=================== lsblk:
KNAME TYPE FSTYPE SIZE LABEL
mmcblk0rpmb disk 4M
mmcblk0boot0 disk 4M
loop0 loop squashfs 1.4G
sda disk 7.5G
sda1 part vfat 7.5G UBUNTU 16_0
mmcblk0boot1 disk 4M
mmcblk0 disk 29.1G
mmcblk0p2 part ext2 488M
mmcblk0p3 part crypto_LUKS 28.2G
dm-0 crypt LVM2_member 28.1G
dm-1 lvm ext4 24.3G
dm-2 lvm 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/408751e1-06f3-4fb6-a119-53b891d35146
mmcblk0p3 0 0 0
dm-0 0 0 0 running
dm-1 0 0 0 running /mnt/boot-sav/mapper/ubuntu--vg-root
dm-2 0 0 0 running
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=1933328k,nr_inodes=483332,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=389784k,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=15760bc2b544cdc6)
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/cpu,cpuacct type cgroup (rw,nosuid,nodev,noexec,relatime,cpu,cpuacct)
cgroup on /sys/fs/cgroup/cpuset type cgroup (rw,nosuid,nodev,noexec,relatime,cpuset)
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/pids type cgroup (rw,nosuid,nodev,noexec,relatime,pids)
cgroup on /sys/fs/cgroup/devices type cgroup (rw,nosuid,nodev,noexec,relatime,devices)
cgroup on /sys/fs/cgroup/net_cls,net_prio type cgroup (rw,nosuid,nodev,noexec,relatime,net_cls,net_prio)
cgroup on /sys/fs/cgroup/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/blkio type cgroup (rw,nosuid,nodev,noexec,relatime,blkio)
systemd-1 on /proc/sys/fs/binfmt_misc type autofs (rw,relatime,fd=24,pgrp=1,timeout=0,minproto=5,maxproto=5,direct,pipe_ino=634)
mqueue on /dev/mqueue type mqueue (rw,relatime)
hugetlbfs on /dev/hugepages type hugetlbfs (rw,relatime)
debugfs on /sys/kernel/debug type debugfs (rw,relatime)
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=389784k,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/408751e1-06f3-4fb6-a119-53b891d35146 type ext2 (rw,nosuid,nodev,relatime,block_validity,barrier,user_xattr,acl,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)
/dev/mapper/ubuntu--vg-root on /mnt/boot-sav/mapper/ubuntu--vg-root type ext4 (rw,relatime,data=ordered)
=================== ls:
/sys/block/dm-0 (filtered): alignment_offset badblocks bdi capability dev discard_alignment dm ext_range holders inflight integrity power queue range removable ro size slaves stat subsystem trace uevent
/sys/block/dm-1 (filtered): alignment_offset badblocks bdi capability dev discard_alignment dm ext_range holders inflight integrity power queue range removable ro size slaves stat subsystem trace uevent
/sys/block/dm-2 (filtered): alignment_offset badblocks bdi capability dev discard_alignment dm ext_range holders inflight integrity power queue range removable ro size slaves stat subsystem trace uevent
/sys/block/mmcblk0 (filtered): alignment_offset badblocks 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 badblocks 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 badblocks 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 badblocks 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 badblocks 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 dm-0 dm-1 dm-2 dri drm_dp_aux0 drm_dp_aux1 drm_dp_aux2 ecryptfs fb0 fd full fuse hpet hugepages hwrng i2c-0 i2c-1 i2c-2 i2c-3 i2c-4 i2c-5 i2c-6 i2c-7 i2c-8 initctl input kmsg 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 ubuntu-vg uhid uinput urandom userio v4l vfio vga_arbiter vhci vhost-net video0 zero
ls /dev/mapper: control luks-acda6026-95aa-4d4e-ab4b-c0fa05c60a09 ubuntu--vg-root ubuntu--vg-swap_1
=================== 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 84 59 2d 26 4e 4f 20 4e 41 4d 45 20 20 |..).Y-&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 381M 11M 370M 3% /run
/dev/sda1 vfat 7.5G 3.3G 4.2G 44% /cdrom
/dev/loop0 squashfs 1.4G 1.4G 0 100% /rofs
aufs aufs 1.9G 111M 1.8G 6% /
tmpfs tmpfs 1.9G 16M 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 456K 1.9G 1% /tmp
tmpfs tmpfs 381M 112K 381M 1% /run/user/999
/dev/mmcblk0p2 ext2 473M 343M 106M 77% /media/ubuntu/408751e1-06f3-4fb6-a119-53b891d35146
/dev/mmcblk0p1 vfat 511M 3.5M 508M 1% /mnt/boot-sav/mmcblk0p1
/dev/mapper/ubuntu--vg-root ext4 24G 18G 5.5G 76% /mnt/boot-sav/mapper/ubuntu--vg-root
=================== 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, 1497772032 bytes, 2925336 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, 31272730624 bytes, 61079552 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: A2646F2B-3222-495F-A38E-F96FD43C8EB5
Device Start End Sectors Size Type
/dev/mmcblk0p1 2048 1050623 1048576 512M EFI System
/dev/mmcblk0p2 1050624 2050047 999424 488M Linux filesystem
/dev/mmcblk0p3 2050048 61077503 59027456 28.2G Linux filesystem
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: 7.5 GiB, 8010194944 bytes, 15644912 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: 0x00b50280
Device Boot Start End Sectors Size Id Type
/dev/sda1 * 2048 15644911 15642864 7.5G c W95 FAT32 (LBA)
Disk /dev/mapper/luks-acda6026-95aa-4d4e-ab4b-c0fa05c60a09: 28.1 GiB, 30219960320 bytes, 59023360 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/mapper/ubuntu--vg-root: 24.3 GiB, 26059210752 bytes, 50896896 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/mapper/ubuntu--vg-swap_1: 3.9 GiB, 4139778048 bytes, 8085504 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
Gtk-Message: GtkDialog mapped without a transient parent. This is discouraged.
/boot detected. Please check the options.
=================== Advices
You may want to retry after decrypting your partitions. (https://help.ubuntu.com/community/EncryptedPrivateDirectory)
Do you want to continue?
Gtk-Message: GtkDialog mapped without a transient parent. This is discouraged.
=================== Recommended repair
The default repair of the Boot-Repair utility will purge (in order to sign-grub) and reinstall the grub-efi-amd64-signed of mapper/ubuntu--vg-root, using the following options: mmcblk0p2/boot, mmcblk0p1/boot/efi,
Additional repair will be performed: unhide-bootmenu-10s use-standard-efi-file
Mount mmcblk0p2 on /mnt/boot-sav/mapper/ubuntu--vg-root/boot
Mount mmcblk0p1 on /mnt/boot-sav/mapper/ubuntu--vg-root/boot/efi
efi files in mmcblk0p1/efi: /ubuntu/shimx64.efi /ubuntu/mmx64.efi /ubuntu/grubx64.efi /ubuntu/fwupx64.efi
chroot /mnt/boot-sav/mapper/ubuntu--vg-root apt-get -y update
Purge the GRUB of mapper/ubuntu--vg-root
grub-efi-amd64-signed available
The following packages were automatically installed and are no longer required:
libllvm5.0 libllvm5.0:i386 linux-headers-4.13.0-32
linux-headers-4.13.0-32-generic linux-headers-4.13.0-36
linux-headers-4.13.0-36-generic linux-image-4.13.0-32-generic
linux-image-4.13.0-36-generic linux-image-extra-4.13.0-32-generic
linux-image-extra-4.13.0-36-generic linux-signed-image-4.13.0-32-generic
linux-signed-image-4.13.0-36-generic
Use 'sudo apt autoremove' to remove them.
0 upgraded, 0 newly installed, 1 reinstalled, 0 to remove and 16 not upgraded.
DEBCHECK debOK, grub-efi-amd64-signed
DEBCHECK debOK
shim-signed available
Please type: sudo chroot "/mnt/boot-sav/mapper/ubuntu--vg-root" dpkg --configure -ansudo chroot "/mnt/boot-sav/mapper/ubuntu--vg-root" apt-get install -fynsudo chroot "/mnt/boot-sav/mapper/ubuntu--vg-root" apt-get install -y mdadmnsudo chroot "/mnt/boot-sav/mapper/ubuntu--vg-root" mdadm --assemble --scannsudo chroot "/mnt/boot-sav/mapper/ubuntu--vg-root" apt-get install -y lvm2nsudo chroot "/mnt/boot-sav/mapper/ubuntu--vg-root" apt-get purge -y grub*-common grub-common:i386 shim-signed
=================== mapper/ubuntu--vg-root/etc/grub.d/ :
drwxr-xr-x 2 root root 4096 Jul 7 00:02 grub.d
total 4
-rwxr-xr-x 1 root root 1992 Jan 28 2016 20_memtest86+
/boot/efi detected in the fstab of mapper/ubuntu--vg-root: UUID=262D-5984 (mmcblk0p1)
/boot detected in the fstab of mapper/ubuntu--vg-root: UUID=408751e1-06f3-4fb6-a119-53b891d35146 (mmcblk0p2)
=================== mapper/ubuntu--vg-root/etc/mdadm/mdadm.conf :
# mdadm.conf
#
# Please refer to mdadm.conf(5) for information about this file.
#
# by default (built-in), scan all partitions (/proc/partitions) and all
# containers for MD superblocks. alternatively, specify devices to scan, using
# wildcards if desired.
#DEVICE partitions containers
# auto-create devices with Debian standard permissions
CREATE owner=root group=disk mode=0660 auto=yes
# automatically tag new arrays as belonging to the local system
HOMEHOST <system>
# instruct the monitoring daemon where to send mail alerts
MAILADDR root
# definitions of existing MD arrays
# This file was auto-generated on Sat, 07 Jul 2018 08:00:38 +0800
# by mkconf $Id$
=================== mapper/ubuntu--vg-root/proc/mdstat :
Personalities :
unused devices: <none>
shim-signed available
linux-headers-generic available
linux-signed-generic available
Then type: sudo chroot "/mnt/boot-sav/mapper/ubuntu--vg-root" apt-get install -y grub-efi-amd64-signed shim-signed linux-headers-generic linux-signed-generic
=================== mapper/ubuntu--vg-root/etc/grub.d/ :
drwxr-xr-x 2 root root 4096 Jul 7 00:06 grub.d
drwxr-xr-x 2 root root 4096 Jul 7 00:02 grub.d.bak
total 76
-rwxr-xr-x 1 root root 9791 Mar 21 18:22 00_header
-rwxr-xr-x 1 root root 6258 Jan 24 21:21 05_debian_theme
-rwxr-xr-x 1 root root 12512 Mar 21 18:22 10_linux
-rwxr-xr-x 1 root root 11082 Mar 21 18:22 20_linux_xen
-rwxr-xr-x 1 root root 11692 Mar 21 18:22 30_os-prober
-rwxr-xr-x 1 root root 1418 Mar 21 18:22 30_uefi-firmware
-rwxr-xr-x 1 root root 214 Mar 21 18:22 40_custom
-rwxr-xr-x 1 root root 216 Mar 21 18:22 41_custom
-rw-r--r-- 1 root root 483 Mar 21 18:22 README
=================== mapper/ubuntu--vg-root/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 mapper/ubuntu--vg-root: UUID=262D-5984 (mmcblk0p1)
/boot detected in the fstab of mapper/ubuntu--vg-root: UUID=408751e1-06f3-4fb6-a119-53b891d35146 (mmcblk0p2)
=================== mapper/ubuntu--vg-root/etc/mdadm/mdadm.conf :
# mdadm.conf
#
# Please refer to mdadm.conf(5) for information about this file.
#
# by default (built-in), scan all partitions (/proc/partitions) and all
# containers for MD superblocks. alternatively, specify devices to scan, using
# wildcards if desired.
#DEVICE partitions containers
# auto-create devices with Debian standard permissions
CREATE owner=root group=disk mode=0660 auto=yes
# automatically tag new arrays as belonging to the local system
HOMEHOST <system>
# instruct the monitoring daemon where to send mail alerts
MAILADDR root
# definitions of existing MD arrays
# This file was auto-generated on Sat, 07 Jul 2018 08:00:38 +0800
# by mkconf $Id$
=================== mapper/ubuntu--vg-root/proc/mdstat :
Personalities :
unused devices: <none>
Unhide GRUB boot menu in mapper/ubuntu--vg-root/etc/default/grub
=================== mapper/ubuntu--vg-root/etc/grub.d/ :
drwxr-xr-x 2 root root 4096 Jul 7 00:06 grub.d
drwxr-xr-x 2 root root 4096 Jul 7 00:02 grub.d.bak
total 76
-rwxr-xr-x 1 root root 9791 Mar 21 18:22 00_header
-rwxr-xr-x 1 root root 6258 Jan 24 21:21 05_debian_theme
-rwxr-xr-x 1 root root 12512 Mar 21 18:22 10_linux
-rwxr-xr-x 1 root root 11082 Mar 21 18:22 20_linux_xen
-rwxr-xr-x 1 root root 11692 Mar 21 18:22 30_os-prober
-rwxr-xr-x 1 root root 1418 Mar 21 18:22 30_uefi-firmware
-rwxr-xr-x 1 root root 214 Mar 21 18:22 40_custom
-rwxr-xr-x 1 root root 216 Mar 21 18:22 41_custom
-rw-r--r-- 1 root root 483 Mar 21 18:22 README
=================== mapper/ubuntu--vg-root/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 mapper/ubuntu--vg-root: UUID=262D-5984 (mmcblk0p1)
/boot detected in the fstab of mapper/ubuntu--vg-root: UUID=408751e1-06f3-4fb6-a119-53b891d35146 (mmcblk0p2)
=================== mapper/ubuntu--vg-root/etc/mdadm/mdadm.conf :
# mdadm.conf
#
# Please refer to mdadm.conf(5) for information about this file.
#
# by default (built-in), scan all partitions (/proc/partitions) and all
# containers for MD superblocks. alternatively, specify devices to scan, using
# wildcards if desired.
#DEVICE partitions containers
# auto-create devices with Debian standard permissions
CREATE owner=root group=disk mode=0660 auto=yes
# automatically tag new arrays as belonging to the local system
HOMEHOST <system>
# instruct the monitoring daemon where to send mail alerts
MAILADDR root
# definitions of existing MD arrays
# This file was auto-generated on Sat, 07 Jul 2018 08:00:38 +0800
# by mkconf $Id$
=================== mapper/ubuntu--vg-root/proc/mdstat :
Personalities :
unused devices: <none>
lspci: Unable to load libkmod resources: error -12
*******lspci -nnk | grep -iA3 vga
00:02.0 VGA compatible controller [0300]: Intel Corporation Device [8086:22b1] (rev 21)
Subsystem: Lenovo Device [17aa:3808]
Kernel driver in use: i915
00:0b.0 Signal processing controller [1180]: Intel Corporation Device [8086:22dc] (rev 21)
*******
grub-install --version
grub-install (GRUB) 2.02~beta2-36ubuntu3.18,grub-install (GRUB) 2.
chroot /mnt/boot-sav/mapper/ubuntu--vg-root efibootmgr -v
BootCurrent: 0014
Timeout: 0 seconds
BootOrder: 0000,0014,0013,0015,0001,0012,0016
Boot0000* ubuntu HD(1,GPT,8e4bd0c3-b0c9-4d00-915a-b1efa617ccca,0x800,0x100000)/File(EFIubuntushimx64.efi)
Boot0001* Windows Boot Manager HD(1,GPT,b6567452-01b8-461a-b9ef-f433f8ca80b0,0x800,0x82000)/File(EFIMicrosoftBootbootmgfw.efi)WINDOWS.........x...B.C.D.O.B.J.E.C.T.=.{.9.d.e.a.8.6.2.c.-.5.c.d.d.-.4.e.7.0.-.a.c.c.1.-.f.3.2.b.3.4.4.d.4.7.9.5.}...E............. ...
Boot0010 Setup FvFile(721c8b66-426c-4e86-8e99-3457c46ab0b9)
Boot0011 Boot Menu FvFile(86488440-41bb-42c7-93ac-450fbf7766bf)
Boot0012* eMMC Disk: Hynix 32GB PciRoot(0x0)/Pci(0x10,0x0)/Ctrl(0x0)..]3.K.L......2.
Boot0013* USB FDD: VenMsg(bc7838d2-0f82-4d60-8316-c068ee79d25b,6ff015a28830b543a8b8641009461e49)
Boot0014* USB HDD: VenMsg(bc7838d2-0f82-4d60-8316-c068ee79d25b,33e821aaaf33bc4789bd419f88c50803)
Boot0015* USB CD: VenMsg(bc7838d2-0f82-4d60-8316-c068ee79d25b,86701296aa5a7848b66cd49dd3ba6a55)
Boot0016* PCI LAN: VenMsg(bc7838d2-0f82-4d60-8316-c068ee79d25b,78a84aaf2b2afc4ea79cf5cc8f3d3803)
chroot /mnt/boot-sav/mapper/ubuntu--vg-root uname -r
Kernel: 4.8.0-36-generic
Reinstall the grub-efi-amd64-signed shim-signed linux-headers-generic linux-signed-generic of mapper/ubuntu--vg-root
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
efi files in mmcblk0p2/efi: /EFI/ubuntu/shimx64.efi /EFI/ubuntu/mmx64.efi /EFI/ubuntu/grubx64.efi /EFI/ubuntu/fwupx64.efi
cp /mnt/boot-sav/mapper/ubuntu--vg-root/boot/efi/EFI/ubuntu/shimx64.efi /mnt/boot-sav/mapper/ubuntu--vg-root/boot/efi/ubuntu/shimx64.efi
df /dev/mmcblk0p1
cp /mnt/boot-sav/mapper/ubuntu--vg-root/boot/efi/EFI/ubuntu/shimx64.efi /mnt/boot-sav/mapper/ubuntu--vg-root/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 /mnt/boot-sav/mapper/ubuntu--vg-root/boot/efi efi entries in /mnt/boot-sav/mapper/ubuntu--vg-root/etc/grub.d/25_custom
Adding custom /mnt/boot-sav/mapper/ubuntu--vg-root/boot/efi/EFI/ubuntu/fwupx64.efi
Adding custom /mnt/boot-sav/mapper/ubuntu--vg-root/boot/efi/EFI/ubuntu/mmx64.efi
df /dev/mmcblk0p2
cp /mnt/boot-sav/mapper/ubuntu--vg-root/boot/efi/EFI/ubuntu/shimx64.efi /mnt/boot-sav/mapper/ubuntu--vg-root/boot/efi/Boot/bootx64.efi (& .grb)
efi files in mmcblk0p2/efi: /EFI/ubuntu/shimx64.efi /EFI/ubuntu/mmx64.efi /EFI/ubuntu/grubx64.efi /EFI/ubuntu/fwupx64.efi /EFI/Boot/bootx64.efi /ubuntu/shimx64.efi /Boot/bootx64.efi
Add /mnt/boot-sav/mapper/ubuntu--vg-root/boot efi entries in /mnt/boot-sav/mapper/ubuntu--vg-root/etc/grub.d/25_custom
Adding custom /mnt/boot-sav/mapper/ubuntu--vg-root/boot/efi/EFI/ubuntu/fwupx64.efi
Adding custom /mnt/boot-sav/mapper/ubuntu--vg-root/boot/efi/EFI/ubuntu/mmx64.efi
Installing for x86_64-efi platform.
Installation finished. No error reported.
grub-install --efi-directory=/boot/efi --target=x86_64-efi --uefi-secure-boot : exit code of grub-install :0
chroot /mnt/boot-sav/mapper/ubuntu--vg-root efibootmgr -v
BootCurrent: 0014
Timeout: 0 seconds
BootOrder: 0000,0014,0013,0015,0001,0012,0016
Boot0000* ubuntu HD(1,GPT,8e4bd0c3-b0c9-4d00-915a-b1efa617ccca,0x800,0x100000)/File(EFIubuntushimx64.efi)
Boot0001* Windows Boot Manager HD(1,GPT,b6567452-01b8-461a-b9ef-f433f8ca80b0,0x800,0x82000)/File(EFIMicrosoftBootbootmgfw.efi)WINDOWS.........x...B.C.D.O.B.J.E.C.T.=.{.9.d.e.a.8.6.2.c.-.5.c.d.d.-.4.e.7.0.-.a.c.c.1.-.f.3.2.b.3.4.4.d.4.7.9.5.}...E............. ...
Boot0010 Setup FvFile(721c8b66-426c-4e86-8e99-3457c46ab0b9)
Boot0011 Boot Menu FvFile(86488440-41bb-42c7-93ac-450fbf7766bf)
Boot0012* eMMC Disk: Hynix 32GB PciRoot(0x0)/Pci(0x10,0x0)/Ctrl(0x0)..]3.K.L......2.
Boot0013* USB FDD: VenMsg(bc7838d2-0f82-4d60-8316-c068ee79d25b,6ff015a28830b543a8b8641009461e49)
Boot0014* USB HDD: VenMsg(bc7838d2-0f82-4d60-8316-c068ee79d25b,33e821aaaf33bc4789bd419f88c50803)
Boot0015* USB CD: VenMsg(bc7838d2-0f82-4d60-8316-c068ee79d25b,86701296aa5a7848b66cd49dd3ba6a55)
Boot0016* PCI LAN: VenMsg(bc7838d2-0f82-4d60-8316-c068ee79d25b,78a84aaf2b2afc4ea79cf5cc8f3d3803)
chroot /mnt/boot-sav/mapper/ubuntu--vg-root update-grub
Generating grub configuration file ...
File descriptor 9 (/proc/18812/mounts) leaked on vgs invocation. Parent PID 28768: /usr/sbin/grub-probe
File descriptor 63 (pipe:[58543]) leaked on vgs invocation. Parent PID 28768: /usr/sbin/grub-probe
File descriptor 9 (/proc/18812/mounts) leaked on vgs invocation. Parent PID 28768: /usr/sbin/grub-probe
File descriptor 63 (pipe:[58543]) leaked on vgs invocation. Parent PID 28768: /usr/sbin/grub-probe
Found linux image: /boot/vmlinuz-4.13.0-45-generic
Found initrd image: /boot/initrd.img-4.13.0-45-generic
Found linux image: /boot/vmlinuz-4.13.0-41-generic
Found initrd image: /boot/initrd.img-4.13.0-41-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.4.0-130-generic
Found initrd image: /boot/initrd.img-4.4.0-130-generic
File descriptor 9 (/proc/18812/mounts) leaked on vgs invocation. Parent PID 30078: /usr/sbin/grub-probe
File descriptor 63 (pipe:[58543]) leaked on vgs invocation. Parent PID 30078: /usr/sbin/grub-probe
File descriptor 9 (/proc/18812/mounts) leaked on vgs invocation. Parent PID 30078: /usr/sbin/grub-probe
File descriptor 63 (pipe:[58543]) leaked on vgs invocation. Parent PID 30078: /usr/sbin/grub-probe
File descriptor 9 (/proc/18812/mounts) leaked on lvs invocation. Parent PID 30246: /bin/sh
File descriptor 63 (pipe:[58543]) leaked on lvs invocation. Parent PID 30246: /bin/sh
Adding boot menu entry for EFI firmware configuration
mount: unknown filesystem type 'crypto_LUKS'
mount /dev/mmcblk0p3 : Error code 32
mount -r /dev/mmcblk0p3 /mnt/boot-sav/mmcblk0p3
mount: unknown filesystem type 'crypto_LUKS'
mount -r /dev/mmcblk0p3 : Error code 32
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
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!
Comments
Post a Comment