Skip to content

Instantly share code, notes, and snippets.

@expipiplus1
Created September 2, 2016 21:42
Show Gist options
  • Save expipiplus1/1a6528da2f580a860bfd9190fad8e5fd to your computer and use it in GitHub Desktop.
Save expipiplus1/1a6528da2f580a860bfd9190fad8e5fd to your computer and use it in GitHub Desktop.
Boot Info Script cfd9efe + Boot-Repair extra info [Boot-Info 26Apr2016]
============================= Boot Info Summary: ===============================
============================ Drive/Partition Info: =============================
no valid partition table found
"blkid" output: ________________________________________________________________
Device UUID TYPE LABEL
/dev/mapper/root dc750a72-133b-4fce-8c4d-20c16f4e4b36 ext4
/dev/nvme0n1
/dev/nvme0n1p1 0608-1C38 vfat
/dev/nvme0n1p2 2865b464-bcd1-47f9-b58e-6d6b2dc5baea ext4
/dev/nvme0n1p3 1616E22816E20897 ntfs
/dev/nvme0n1p4 d829a203-5f83-4bde-94a3-fb9b583523ff crypto_LUKS
/dev/nvme0n1p5 47a54cc2-8661-4d45-8a9e-97026260d9af ext4
========================= "ls -l /dev/disk/by-id" output: ======================
total 0
lrwxrwxrwx 1 root root 10 Sep 2 22:40 dm-name-root -> ../../dm-0
lrwxrwxrwx 1 root root 10 Sep 2 22:40 dm-uuid-CRYPT-LUKS1-d829a2035f834bde94a3fb9b583523ff-root -> ../../dm-0
========================= "ls -R /dev/mapper/" output: =========================
/dev/mapper:
control
root
================================ Mount points: =================================
Device Mount_Point Type Options
/dev/mapper/root / ext4 (rw,relatime,errors=remount-ro,data=ordered)
/dev/nvme0n1p1 /boot/efi vfat (rw,relatime,fmask=0022,dmask=0022,codepage=437,iocharset=iso8859-1,shortname=mixed,errors=remount-ro)
/dev/nvme0n1p5 /boot ext4 (rw,relatime,data=ordered)
ADDITIONAL INFORMATION :
=================== log of boot-repair 2016-09-02__22h40 ===================
boot-repair version : 4ppa38
boot-sav version : 4ppa38
glade2script version : 3.2.3~ppa1
boot-sav-extra version : 4ppa38
Gtk-Message: GtkDialog mapped without a transient parent. This is discouraged.
Is there RAID on this computer? no
Warning: The driver descriptor says the physical block size is 2048 bytes, but Linux says it is 512 bytes.
Warning: The driver descriptor says the physical block size is 2048 bytes, but Linux says it is 512 bytes.
boot-repair is executed in installed-session (Ubuntu 16.04.1 LTS, xenial, Ubuntu, x86_64)
CPU op-mode(s): 32-bit, 64-bit
BOOT_IMAGE=/vmlinuz-4.4.0-36-generic.efi.signed root=UUID=dc750a72-133b-4fce-8c4d-20c16f4e4b36 ro quiet splash vt.handoff=7
[dmraid -sa -c] no
[dmraid -sa -c] raid
[dmraid -sa -c] disks
Set mapper/root as corresponding disk of mapper/root
nvme0n1 (mapper/root) has unknown type. Please report this message to [email protected]
[dmraid -sa -c] no
[dmraid -sa -c] raid
[dmraid -sa -c] disks
Set mapper/root as corresponding disk of mapper/root
nvme0n1 (mapper/root) has unknown type. Please report this message to [email protected]
mount: unknown filesystem type 'crypto_LUKS'
mount /dev/nvme0n1p4 : Error code 32
mount -r /dev/nvme0n1p4 /mnt/boot-sav/nvme0n1p4
mount: unknown filesystem type 'crypto_LUKS'
mount -r /dev/nvme0n1p4 : Error code 32
mount: /dev/nvme0n1 is already mounted or /mnt/boot-sav/nvme0n1 busy
mount /dev/nvme0n1 : Error code 32
mount -r /dev/nvme0n1 /mnt/boot-sav/nvme0n1
mount: /dev/nvme0n1 is already mounted or /mnt/boot-sav/nvme0n1 busy
mount -r /dev/nvme0n1 : Error code 32
ls: cannot access '/sys/block/mapper/root/': No such file or directory
=================== os-prober:
/dev/mapper/root:The OS now in use - Ubuntu 16.04.1 LTS CurrentSession:linux
=================== blkid:
/dev/mapper/root: UUID="dc750a72-133b-4fce-8c4d-20c16f4e4b36" TYPE="ext4"
/dev/nvme0n1p1: UUID="0608-1C38" TYPE="vfat" PARTLABEL="EFI System Partition" PARTUUID="e05d3997-9298-4917-b872-25f38a9fffcd"
/dev/nvme0n1p2: UUID="2865b464-bcd1-47f9-b58e-6d6b2dc5baea" TYPE="ext4" PARTLABEL="Microsoft reserved partition" PARTUUID="b7c9e10a-597b-42da-af25-73a90bd2683f"
/dev/nvme0n1p3: UUID="1616E22816E20897" TYPE="ntfs" PARTLABEL="Basic data partition" PARTUUID="952b9760-9034-4218-a4f2-5611c51278f2"
/dev/nvme0n1p4: UUID="d829a203-5f83-4bde-94a3-fb9b583523ff" TYPE="crypto_LUKS" PARTLABEL="Ubuntu" PARTUUID="1562ee31-f119-4cd5-9e74-4c77d3f5d113"
/dev/nvme0n1p5: UUID="47a54cc2-8661-4d45-8a9e-97026260d9af" TYPE="ext4" PARTLABEL="boot" PARTUUID="1250e457-75ad-4c1e-bc33-7620b0be8e0d"
/dev/mmcblk0: UUID="2016-07-19-21-27-51-00" LABEL="Ubuntu 16.04.1 LTS amd64" TYPE="iso9660" PTUUID="40a863e7" PTTYPE="dos"
/dev/mmcblk0p1: UUID="2016-07-19-21-27-51-00" LABEL="Ubuntu 16.04.1 LTS amd64" TYPE="iso9660" PTUUID="40a863e7" PTTYPE="dos" PARTUUID="40a863e7-01"
/dev/mmcblk0p2: SEC_TYPE="msdos" UUID="0F7B-9366" TYPE="vfat" PARTUUID="40a863e7-02"
/dev/nvme0n1: PTUUID="552c719f-bd38-4f29-8a48-09afabcc8283" PTTYPE="gpt"
[dmraid -sa -c] no
[dmraid -sa -c] raid
[dmraid -sa -c] disks
Set mapper/root as corresponding disk of mapper/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/nvme0n1p4 : Error code 32
mount -r /dev/nvme0n1p4 /mnt/boot-sav/nvme0n1p4
mount: unknown filesystem type 'crypto_LUKS'
mount -r /dev/nvme0n1p4 : Error code 32
mount: /dev/nvme0n1 is already mounted or /mnt/boot-sav/nvme0n1 busy
mount /dev/nvme0n1 : Error code 32
mount -r /dev/nvme0n1 /mnt/boot-sav/nvme0n1
mount: /dev/nvme0n1 is already mounted or /mnt/boot-sav/nvme0n1 busy
mount -r /dev/nvme0n1 : Error code 32
Windows not detected by os-prober on nvme0n1p3.
/dev/mapper/root: device contains a valid 'ext4' signature; it is strongly recommended to wipe the device with wipefs(8) if this is unexpected, in order to avoid possible collisions
sfdisk: failed to dump partition table: Success
dd: invalid number: ‘0’
Warning: /var/log/boot-sav/log/2016-09-02__22h40boot-repair22/mmcblk0/current_mbr.img could not be created. Please report this message to [email protected]
=================== /etc/grub.d/ :
drwxr-xr-x 2 root root 4096 Sep 2 22:24 grub.d
drwxr-xr-x 2 root root 4096 Sep 2 21:59 grub.d.bak
total 76
-rwxr-xr-x 1 root root 9791 Jul 23 01:09 00_header
-rwxr-xr-x 1 root root 6258 Mar 15 18:08 05_debian_theme
-rwxr-xr-x 1 root root 12261 Jul 23 01:09 10_linux
-rwxr-xr-x 1 root root 11082 Jul 23 01:09 20_linux_xen
-rwxr-xr-x 1 root root 651 Sep 2 22:00 25_custom
-rwxr-xr-x 1 root root 11692 Jul 23 01:09 30_os-prober
-rwxr-xr-x 1 root root 1418 Jul 23 01:09 30_uefi-firmware
-rwxr-xr-x 1 root root 792 Sep 2 22:24 40_custom
-rwxr-xr-x 1 root root 216 Jul 23 01:09 41_custom
-rw-r--r-- 1 root root 483 Jul 23 01:09 README
=================== /etc/grub.d/40_custom :
menuentry "Windows 10 UEFI" {
insmod part_gpt
insmod search_fs_uuid
insmod chain
search --fs-uuid --no-floppy --set=root 1616E22816E20897
chainloader ($root)/EFI/MICROSOFT/BOOT/bootmgfw.efi
}
menuentry "Windows 10 0m2" {
insmod part_msdos
insmod ntfs
set root='(hd0,2)'
chainloader +1
}
menuentry "Windows 10 0m1" {
insmod part_msdos
insmod ntfs
set root='(hd0,1)'
chainloader +1
}
menuentry "Windows 10 0m0" {
insmod part_msdos
insmod ntfs
set root='(hd0,0)'
chainloader +1
}
menuentry "Windows 10 0m4" {
insmod part_msdos
insmod ntfs
set root='(hd0,3)'
chainloader +1
}
=================== /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/root: UUID=0608-1C38 (nvme0n1p1)
/boot detected in the fstab of mapper/root: UUID=47a54cc2-8661-4d45-8a9e-97026260d9af (nvme0n1p5)
Presence of EFI/Microsoft file detected: /boot/efi/EFI/Microsoft/Boot/bootmgfw.efi
Presence of EFI/Microsoft file detected: /boot/efi/EFI/Microsoft/Boot/bootx64.efi
Presence of EFI/Boot file detected: /boot/efi/EFI/Boot/bootx64.efi
Presence of EFI/Microsoft file detected: /boot/efi/Microsoft/Boot/bootmgfw.efi
Presence of EFI/Microsoft file detected: /boot/efi/Microsoft/Boot/bootx64.efi
Presence of EFI/Boot file detected: /boot/efi/Boot/bootx64.efi
Presence of EFI/Boot file detected: /mnt/boot-sav/mmcblk0p2/EFI/Boot/bootx64.efi
Presence of EFI/Boot file detected: /mnt/boot-sav/mmcblk0p2/EFI/Boot/grubx64.efi
=================== efibootmgr -v
BootCurrent: 0001
Timeout: 2 seconds
BootOrder: 0001,0000,000A,000B
Boot0000* Windows Boot Manager HD(1,GPT,e05d3997-9298-4917-b872-25f38a9fffcd,0x800,0x100000)/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.}...,................
Boot0001* ubuntu HD(1,GPT,e05d3997-9298-4917-b872-25f38a9fffcd,0x800,0x80000)/File(EFIubuntushimx64.efi)
Boot000A* UEFI: THNSN5512GPU7 NVMe TOSHIBA 512GB, Partition 1 HD(1,GPT,e05d3997-9298-4917-b872-25f38a9fffcd,0x800,0x80000)/File(EFIMicrosoftBootbootmgfw.efi)..BO
Boot000B* UEFI: PCIE CardReader, Partition 1 HD(1,MBR,0x4294967271,0x2caa70,0x1280)/File(EFIbootbootx64.efi)..BO
=================== UEFI/Legacy mode:
BIOS is EFI-compatible, and is setup in EFI-mode for this installed-session.
SecureBoot disabled. (maybe sec-boot, Please report this message to [email protected])
=================== PARTITIONS & DISKS:
mapper/root : mapper/root, not-sepboot, grubenv-ok grub2, signed grub-efi , update-grub, 64, with-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, .
nvme0n1p1 : nvme0n1, 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, /boot/efi.
nvme0n1p3 : nvme0n1, not-sepboot, no-grubenv nogrub, no-docgrub, no-update-grub, 32, no-boot, is-os, not--efi--part, part-has-no-fstab, part-has-no-fstab, no-nt, haswinload, no-recov-nor-hid, bootmgr, notwinboot, nopakmgr, nogrubinstall, no---usr, part-has-no-fstab, not-sep-usr, standard, farbios, /mnt/boot-sav/nvme0n1p3.
nvme0n1p4 : nvme0n1, 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, farbios, /mnt/boot-sav/nvme0n1p4.
nvme0n1p5 : nvme0n1, is-sepboot, grubenv-ok 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, /boot.
mmcblk0p2 : mmcblk0, not-sepboot, no-grubenv 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, /mnt/boot-sav/mmcblk0p2.
nvme0n1 : mapper/root, 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, farbios, /mnt/boot-sav/nvme0n1.
mapper/root : not-GPT, BIOSboot-not-needed, has-no-EFIpart, not-usb, has-os, 2048 sectors * 512 bytes
nvme0n1 : GPT, no-BIOS_boot, has-correctEFI, not-usb, has-os, 2048 sectors * 512 bytes
mmcblk0 : not-GPT, BIOSboot-not-needed, has-maybe-EFI, not-usb, no-os, 0 sectors * 512 bytes
=================== parted -l:
Model: Linux device-mapper (crypt) (dm)
Disk /dev/mapper/root: 407GB
Sector size (logical/physical): 512B/512B
Partition Table: loop
Disk Flags:
Number Start End Size File system Flags
1 0.00B 407GB 407GB ext4
Model: SD NCard (sd/mmc)
Disk /dev/mmcblk0: 63.4GB
Sector size (logical/physical): 512B/512B
Partition Table: unknown
Disk Flags:
Model: Unknown (unknown)
Disk /dev/nvme0n1: 512GB
Sector size (logical/physical): 512B/512B
Partition Table: gpt
Disk Flags:
Number Start End Size File system Name Flags
1 1049kB 269MB 268MB fat32 EFI System Partition boot, esp
5 269MB 538MB 268MB ext4 boot
2 538MB 555MB 16.8MB ext4 Microsoft reserved partition msftres
3 555MB 105GB 105GB ntfs Basic data partition msftdata
4 105GB 512GB 407GB Ubuntu
=================== parted -lm:
BYT;
/dev/mapper/root:407GB:dm:512:512:loop:Linux device-mapper (crypt):;
1:0.00B:407GB:407GB:ext4::;
BYT;
/dev/mmcblk0:63.4GB:sd/mmc:512:512:unknown:SD NCard:;
BYT;
/dev/nvme0n1:512GB:unknown:512:512:gpt:Unknown:;
1:1049kB:269MB:268MB:fat32:EFI System Partition:boot, esp;
5:269MB:538MB:268MB:ext4:boot:;
2:538MB:555MB:16.8MB:ext4:Microsoft reserved partition:msftres;
3:555MB:105GB:105GB:ntfs:Basic data partition:msftdata;
4:105GB:512GB:407GB::Ubuntu:;
=================== lsblk:
KNAME TYPE FSTYPE SIZE LABEL
mmcblk0 disk iso9660 59.1G Ubuntu 16.04.1 LTS amd64
mmcblk0p1 part iso9660 1.4G Ubuntu 16.04.1 LTS amd64
mmcblk0p2 part vfat 2.3M Ubuntu 16.04.1 LTS amd64
nvme0n1 disk 477G
nvme0n1p1 part vfat 256M
nvme0n1p2 part ext4 16M
nvme0n1p3 part ntfs 97.7G
nvme0n1p4 part crypto_LUKS 378.8G
dm-0 crypt ext4 378.8G
nvme0n1p5 part ext4 256M
KNAME ROTA RO RM STATE MOUNTPOINT
mmcblk0 0 0 0
mmcblk0p1 0 0 0 /media/jophish/Ubuntu 16.04.1 LTS amd64
mmcblk0p2 0 0 0 /mnt/boot-sav/mmcblk0p2
nvme0n1 0 0 0
nvme0n1p1 0 0 0 /boot/efi
nvme0n1p2 0 0 0
nvme0n1p3 0 0 0 /mnt/boot-sav/nvme0n1p3
nvme0n1p4 0 0 0
dm-0 0 0 0 running /
nvme0n1p5 0 0 0 /boot
=================== 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=8118952k,nr_inodes=2029738,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=1627800k,mode=755)
/dev/mapper/root on / type ext4 (rw,relatime,errors=remount-ro,data=ordered)
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/hugetlb type cgroup (rw,nosuid,nodev,noexec,relatime,hugetlb)
cgroup on /sys/fs/cgroup/cpuset type cgroup (rw,nosuid,nodev,noexec,relatime,cpuset)
cgroup on /sys/fs/cgroup/freezer type cgroup (rw,nosuid,nodev,noexec,relatime,freezer)
cgroup on /sys/fs/cgroup/devices type cgroup (rw,nosuid,nodev,noexec,relatime,devices)
cgroup on /sys/fs/cgroup/perf_event type cgroup (rw,nosuid,nodev,noexec,relatime,perf_event)
cgroup on /sys/fs/cgroup/net_cls,net_prio type cgroup (rw,nosuid,nodev,noexec,relatime,net_cls,net_prio)
cgroup on /sys/fs/cgroup/blkio type cgroup (rw,nosuid,nodev,noexec,relatime,blkio)
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)
systemd-1 on /proc/sys/fs/binfmt_misc type autofs (rw,relatime,fd=30,pgrp=1,timeout=0,minproto=5,maxproto=5,direct)
mqueue on /dev/mqueue type mqueue (rw,relatime)
debugfs on /sys/kernel/debug type debugfs (rw,relatime)
hugetlbfs on /dev/hugepages type hugetlbfs (rw,relatime)
fusectl on /sys/fs/fuse/connections type fusectl (rw,relatime)
/dev/nvme0n1p5 on /boot type ext4 (rw,relatime,data=ordered)
/dev/nvme0n1p1 on /boot/efi type vfat (rw,relatime,fmask=0022,dmask=0022,codepage=437,iocharset=iso8859-1,shortname=mixed,errors=remount-ro)
tmpfs on /run/user/1000 type tmpfs (rw,nosuid,nodev,relatime,size=1627800k,mode=700,uid=1000,gid=1000)
gvfsd-fuse on /run/user/1000/gvfs type fuse.gvfsd-fuse (rw,nosuid,nodev,relatime,user_id=1000,group_id=1000)
/dev/mmcblk0p1 on /media/jophish/Ubuntu 16.04.1 LTS amd64 type iso9660 (ro,nosuid,nodev,relatime,uid=1000,gid=1000,iocharset=utf8,mode=0400,dmode=0500,uhelper=udisks2)
/dev/nvme0n1p3 on /mnt/boot-sav/nvme0n1p3 type fuseblk (rw,relatime,user_id=0,group_id=0,allow_other,blksize=4096)
/dev/mmcblk0p2 on /mnt/boot-sav/mmcblk0p2 type vfat (rw,relatime,fmask=0022,dmask=0022,codepage=437,iocharset=iso8859-1,shortname=mixed,errors=remount-ro)
=================== ls:
/sys/block/dm-0 (filtered): alignment_offset 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 bdi capability dev device discard_alignment ext_range force_ro holders inflight integrity mmcblk0p1 mmcblk0p2 power queue range removable ro size slaves stat subsystem trace uevent
/sys/block/nvme0n1 (filtered): alignment_offset bdi capability dev device discard_alignment eui ext_range holders inflight integrity mq nsid nvme0n1p1 nvme0n1p2 nvme0n1p3 nvme0n1p4 nvme0n1p5 power queue range removable ro size slaves stat subsystem trace uevent
/dev (filtered): acpi_thermal_rel autofs block btrfs-control bus char console core cpu cpu_dma_latency cuse disk dm-0 dri ecryptfs fb0 fd full fuse hidraw0 hidraw1 hpet hugepages hwrng i2c-0 i2c-1 i2c-10 i2c-11 i2c-12 i2c-13 i2c-14 i2c-15 i2c-16 i2c-17 i2c-18 i2c-19 i2c-2 i2c-3 i2c-4 i2c-5 i2c-6 i2c-7 i2c-8 i2c-9 initctl input kmsg kvm lightnvm log mapper mcelog media0 mei0 mem memory_bandwidth mmcblk0 mmcblk0p1 mmcblk0p2 mqueue net network_latency network_throughput null nvme0 nvme0n1 nvme0n1p1 nvme0n1p2 nvme0n1p3 nvme0n1p4 nvme0n1p5 port ppp psaux ptmx pts random rfkill rtc rtc0 shm snapshot snd stderr stdin stdout tpm0 uhid uinput urandom usb userio v4l vfio vga_arbiter vhci vhost-net video0 watchdog watchdog0 zero
ls /dev/mapper: control root
ls: cannot access '': No such file or directory
=================== hexdump -n512 -C /dev/nvme0n1p1
00000000 eb 58 90 6d 6b 66 73 2e 66 61 74 00 02 01 20 00 |.X.mkfs.fat... .|
00000010 02 00 00 00 00 f8 00 00 20 00 40 00 00 08 00 00 |........ .@.....|
00000020 00 00 08 00 c1 0f 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 38 1c 08 06 20 20 20 20 20 20 20 20 20 |..)8... |
00000050 20 20 46 41 54 33 32 20 20 20 0e 1f be 77 7c ac | FAT32 ...w|.|
00000060 22 c0 74 0b 56 b4 0e bb 07 00 cd 10 5e eb f0 32 |".t.V.......^..2|
00000070 e4 cd 16 cd 19 eb fe 54 68 69 73 20 69 73 20 6e |.......This is n|
00000080 6f 74 20 61 20 62 6f 6f 74 61 62 6c 65 20 64 69 |ot a bootable di|
00000090 73 6b 2e 20 20 50 6c 65 61 73 65 20 69 6e 73 65 |sk. Please inse|
000000a0 72 74 20 61 20 62 6f 6f 74 61 62 6c 65 20 66 6c |rt a bootable fl|
000000b0 6f 70 70 79 20 61 6e 64 0d 0a 70 72 65 73 73 20 |oppy and..press |
000000c0 61 6e 79 20 6b 65 79 20 74 6f 20 74 72 79 20 61 |any key to try a|
000000d0 67 61 69 6e 20 2e 2e 2e 20 0d 0a 00 00 00 00 00 |gain ... .......|
000000e0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................|
*
000001f0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 55 aa |..............U.|
00000200
=================== hexdump -n512 -C /dev/nvme0n1p3
00000000 eb 52 90 4e 54 46 53 20 20 20 20 00 02 08 00 00 |.R.NTFS .....|
00000010 00 00 00 00 00 f8 00 00 3f 00 ff 00 00 88 10 00 |........?.......|
00000020 00 00 00 00 80 00 80 00 f8 ff 34 0c 00 00 00 00 |..........4.....|
00000030 00 00 0c 00 00 00 00 00 02 00 00 00 00 00 00 00 |................|
00000040 f6 00 00 00 01 00 00 00 97 08 e2 16 28 e2 16 16 |............(...|
00000050 00 00 00 00 fa 33 c0 8e d0 bc 00 7c fb 68 c0 07 |.....3.....|.h..|
00000060 1f 1e 68 66 00 cb 88 16 0e 00 66 81 3e 03 00 4e |..hf......f.>..N|
00000070 54 46 53 75 15 b4 41 bb aa 55 cd 13 72 0c 81 fb |TFSu..A..U..r...|
00000080 55 aa 75 06 f7 c1 01 00 75 03 e9 dd 00 1e 83 ec |U.u.....u.......|
00000090 18 68 1a 00 b4 48 8a 16 0e 00 8b f4 16 1f cd 13 |.h...H..........|
000000a0 9f 83 c4 18 9e 58 1f 72 e1 3b 06 0b 00 75 db a3 |.....X.r.;...u..|
000000b0 0f 00 c1 2e 0f 00 04 1e 5a 33 db b9 00 20 2b c8 |........Z3... +.|
000000c0 66 ff 06 11 00 03 16 0f 00 8e c2 ff 06 16 00 e8 |f...............|
000000d0 4b 00 2b c8 77 ef b8 00 bb cd 1a 66 23 c0 75 2d |K.+.w......f#.u-|
000000e0 66 81 fb 54 43 50 41 75 24 81 f9 02 01 72 1e 16 |f..TCPAu$....r..|
000000f0 68 07 bb 16 68 52 11 16 68 09 00 66 53 66 53 66 |h...hR..h..fSfSf|
00000100 55 16 16 16 68 b8 01 66 61 0e 07 cd 1a 33 c0 bf |U...h..fa....3..|
00000110 0a 13 b9 f6 0c fc f3 aa e9 fe 01 90 90 66 60 1e |.............f`.|
00000120 06 66 a1 11 00 66 03 06 1c 00 1e 66 68 00 00 00 |.f...f.....fh...|
00000130 00 66 50 06 53 68 01 00 68 10 00 b4 42 8a 16 0e |.fP.Sh..h...B...|
00000140 00 16 1f 8b f4 cd 13 66 59 5b 5a 66 59 66 59 1f |.......fY[ZfYfY.|
00000150 0f 82 16 00 66 ff 06 11 00 03 16 0f 00 8e c2 ff |....f...........|
00000160 0e 16 00 75 bc 07 1f 66 61 c3 a1 f6 01 e8 09 00 |...u...fa.......|
00000170 a1 fa 01 e8 03 00 f4 eb fd 8b f0 ac 3c 00 74 09 |............<.t.|
00000180 b4 0e bb 07 00 cd 10 eb f2 c3 0d 0a 41 20 64 69 |............A di|
00000190 73 6b 20 72 65 61 64 20 65 72 72 6f 72 20 6f 63 |sk read error oc|
000001a0 63 75 72 72 65 64 00 0d 0a 42 4f 4f 54 4d 47 52 |curred...BOOTMGR|
000001b0 20 69 73 20 63 6f 6d 70 72 65 73 73 65 64 00 0d | is compressed..|
000001c0 0a 50 72 65 73 73 20 43 74 72 6c 2b 41 6c 74 2b |.Press Ctrl+Alt+|
000001d0 44 65 6c 20 74 6f 20 72 65 73 74 61 72 74 0d 0a |Del to restart..|
000001e0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................|
000001f0 00 00 00 00 00 00 8a 01 a7 01 bf 01 00 00 55 aa |..............U.|
00000200
=================== hexdump -n512 -C /dev/mmcblk0p2
00000000 eb 3c 90 6d 6b 66 73 2e 66 61 74 00 02 04 01 00 |.<.mkfs.fat.....|
00000010 02 00 02 80 12 f8 04 00 20 00 40 00 00 00 00 00 |........ .@.....|
00000020 00 00 00 00 80 01 29 66 93 7b 0f 4e 4f 20 4e 41 |......)f.{.NO NA|
00000030 4d 45 20 20 20 20 46 41 54 31 32 20 20 20 0e 1f |ME FAT12 ..|
00000040 be 5b 7c ac 22 c0 74 0b 56 b4 0e bb 07 00 cd 10 |.[|.".t.V.......|
00000050 5e eb f0 32 e4 cd 16 cd 19 eb fe 54 68 69 73 20 |^..2.......This |
00000060 69 73 20 6e 6f 74 20 61 20 62 6f 6f 74 61 62 6c |is not a bootabl|
00000070 65 20 64 69 73 6b 2e 20 20 50 6c 65 61 73 65 20 |e disk. Please |
00000080 69 6e 73 65 72 74 20 61 20 62 6f 6f 74 61 62 6c |insert a bootabl|
00000090 65 20 66 6c 6f 70 70 79 20 61 6e 64 0d 0a 70 72 |e floppy and..pr|
000000a0 65 73 73 20 61 6e 79 20 6b 65 79 20 74 6f 20 74 |ess any key to t|
000000b0 72 79 20 61 67 61 69 6e 20 2e 2e 2e 20 0d 0a 00 |ry again ... ...|
000000c0 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 7.8G 0 7.8G 0% /dev
tmpfs tmpfs 1.6G 9.7M 1.6G 1% /run
/dev/mapper/root ext4 373G 4.6G 350G 2% /
tmpfs tmpfs 7.8G 32M 7.8G 1% /dev/shm
tmpfs tmpfs 5.0M 4.0K 5.0M 1% /run/lock
tmpfs tmpfs 7.8G 0 7.8G 0% /sys/fs/cgroup
/dev/nvme0n1p5 ext4 240M 117M 107M 53% /boot
/dev/nvme0n1p1 vfat 253M 13M 240M 5% /boot/efi
tmpfs tmpfs 1.6G 48K 1.6G 1% /run/user/1000
/dev/mmcblk0p1 iso9660 1.5G 1.5G 0 100% /media/jophish/Ubuntu 16.04.1 LTS amd64
/dev/nvme0n1p3 fuseblk 98G 25G 74G 26% /mnt/boot-sav/nvme0n1p3
/dev/mmcblk0p2 vfat 2.3M 2.3M 2.0K 100% /mnt/boot-sav/mmcblk0p2
=================== 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/nvme0n1: 477 GiB, 512110190592 bytes, 1000215216 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: 552C719F-BD38-4F29-8A48-09AFABCC8283
Device Start End Sectors Size Type
/dev/nvme0n1p1 2048 526335 524288 256M EFI System
/dev/nvme0n1p2 1050624 1083391 32768 16M Microsoft reserved
/dev/nvme0n1p3 1083392 205883391 204800000 97.7G Microsoft basic data
/dev/nvme0n1p4 205883392 1000214527 794331136 378.8G Linux filesystem
/dev/nvme0n1p5 526336 1050623 524288 256M Linux filesystem
Partition table entries are not in disk order.
Disk /dev/mmcblk0: 59.1 GiB, 63416827904 bytes, 123860992 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: 0x40a863e7
Device Boot Start End Sectors Size Id Type
/dev/mmcblk0p1 * 0 2955679 2955680 1.4G 0 Empty
/dev/mmcblk0p2 2927216 2931951 4736 2.3M ef EFI (FAT-12/16/32)
Disk /dev/mapper/root: 378.8 GiB, 406695444480 bytes, 794327040 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
=================== Suggested repair
The default repair of the Boot-Repair utility would purge (in order to fix packages enable-raid) and reinstall the grub2 of mapper/root into the MBR of mapper/root, using the following options: nvme0n1p5/boot,
Grub-efi would not be selected by default because: no-win-efi
Additional repair would be performed: unhide-bootmenu-10s fix-windows-boot
=================== Advice in case of suggested repair
You may want to retry after decrypting your partitions. (https://help.ubuntu.com/community/EncryptedPrivateDirectory)
Do you want to continue?
=================== Final advice in case of suggested repair
Please do not forget to make your BIOS boot on mapper/root (407GB) disk!
=================== User settings
The settings chosen by the user will not act on the boot.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment