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/loop0 squashfs
/dev/nvme0n1
/dev/nvme0n1p1 F7C3-9437 vfat UEFI BOOT
/dev/nvme0n1p2 6219ebca-5800-434f-9733-d97a48c0c078 btrfs
/dev/nvme1n1
/dev/nvme1n1p1 08C4-6851 vfat UEFI BOOT
/dev/nvme1n1p2 6219ebca-5800-434f-9733-d97a48c0c078 btrfs
/dev/sr0 2016-04-20-23-08-59-00 iso9660 Ubuntu-Studio 16.04 LTS amd64
========================= "ls -l /dev/disk/by-id" output: ======================
total 0
lrwxrwxrwx 1 root root 9 Jul 24 16:21 ata-HL-DT-ST_BD-RE_BU20N_M6422491848 -> ../../sr0
================================ Mount points: =================================
Device Mount_Point Type Options
/dev/loop0 /rofs squashfs (ro,noatime)
/dev/nvme0n1p2 /target btrfs (rw,relatime,ssd,space_cache,subvolid=258,subvol=/@)
/dev/nvme0n1p2 /target/home btrfs (rw,relatime,ssd,space_cache,subvolid=259,subvol=/@home)
/dev/sr0 /cdrom iso9660 (ro,noatime)
=============================== StdErr Messages: ===============================
File descriptor 9 (/proc/13945/mounts) leaked on lvs invocation. Parent PID 18924: bash
File descriptor 63 (pipe:[172989]) leaked on lvs invocation. Parent PID 18924: bash
ADDITIONAL INFORMATION :
=================== log of boot-repair 2016-07-24__16h37 ===================
boot-repair version : 4ppa38
boot-sav version : 4ppa38
glade2script version : 3.2.3~ppa1
boot-sav-extra version : 4ppa38
boot-repair is executed in live-session (Ubuntu 16.04 LTS, xenial, Ubuntu, x86_64)
CPU op-mode(s): 32-bit, 64-bit
BOOT_IMAGE=/casper/vmlinuz file=/cdrom/preseed/ubuntustudio.seed boot=casper quiet splash ---
ls: cannot access '/home/usr/.config': No such file or directory
ls nvme1n1p2:
@
@home
ubiquity-apt-clone
var
os-prober
mount: /dev/nvme1n1 is already mounted or /mnt/boot-sav/nvme1n1 busy
mount /dev/nvme1n1 : Error code 32
mount -r /dev/nvme1n1 /mnt/boot-sav/nvme1n1
mount: /dev/nvme1n1 is already mounted or /mnt/boot-sav/nvme1n1 busy
mount -r /dev/nvme1n1 : 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
=================== os-prober:
=================== blkid:
/dev/sr0: UUID="2016-04-20-23-08-59-00" LABEL="Ubuntu-Studio 16.04 LTS amd64" TYPE="iso9660" PTUUID="792dc1bb" PTTYPE="dos"
/dev/loop0: TYPE="squashfs"
/dev/nvme0n1p1: LABEL="UEFI BOOT" UUID="F7C3-9437" TYPE="vfat" PARTUUID="3a0e8f5d-1382-4a82-accb-63b83c7d4e0e"
/dev/nvme0n1p2: UUID="6219ebca-5800-434f-9733-d97a48c0c078" UUID_SUB="8e6cc28c-3cf8-49ef-bc23-928538ba901b" TYPE="btrfs" PARTUUID="f0c30492-8995-4f95-853c-8d8acf87269b"
/dev/nvme1n1p1: LABEL="UEFI BOOT" UUID="08C4-6851" TYPE="vfat" PARTUUID="ffcca253-ec60-446b-b84f-45a973adec6b"
/dev/nvme1n1p2: UUID="6219ebca-5800-434f-9733-d97a48c0c078" UUID_SUB="88a0696b-bb14-4f2b-937b-3f9dfd8ae007" TYPE="btrfs" PARTUUID="e98c45e3-e0da-4b20-9d53-93e4b28e5cb3"
/dev/nvme1n1: PTUUID="8e4d58b9-36bc-409d-9367-22fb8fab5c7e" PTTYPE="gpt"
/dev/nvme0n1: PTUUID="e719f0cd-d62e-4e64-9e72-79628d2b7f90" PTTYPE="gpt"
mount: /dev/nvme1n1p2 is already mounted or /mnt/boot-sav/nvme1n1p2 busy
ls nvme1n1p2:
@
@home
ubiquity-apt-clone
var
os-prober
mount: /dev/nvme1n1 is already mounted or /mnt/boot-sav/nvme1n1 busy
mount /dev/nvme1n1 : Error code 32
mount -r /dev/nvme1n1 /mnt/boot-sav/nvme1n1
mount: /dev/nvme1n1 is already mounted or /mnt/boot-sav/nvme1n1 busy
mount -r /dev/nvme1n1 : 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
Linux not detected by os-prober on nvme0n1p2. Please report this message to
[email protected]
=================== /target/etc/grub.d/ :
drwxr-xr-x 1 root root 244 Apr 20 15:25 grub.d
total 88
-rwxr-xr-x 1 root root 9791 Apr 15 15:00 00_header
-rwxr-xr-x 1 root root 6258 Mar 15 11:08 05_debian_theme
-rwxr-xr-x 1 root root 9921 Mar 21 13:33 09_lowlatency
-rwxr-xr-x 1 root root 12261 Apr 15 15:00 10_linux
-rwxr-xr-x 1 root root 11082 Apr 15 15:00 20_linux_xen
-rwxr-xr-x 1 root root 1992 Jan 28 04:44 20_memtest86+
-rwxr-xr-x 1 root root 11692 Apr 15 15:00 30_os-prober
-rwxr-xr-x 1 root root 1418 Apr 15 15:00 30_uefi-firmware
-rwxr-xr-x 1 root root 214 Apr 15 15:00 40_custom
-rwxr-xr-x 1 root root 216 Apr 15 15:00 41_custom
-rw-r--r-- 1 root root 483 Apr 15 15:00 README
=================== /target/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 nvme0n1p2: UUID=F7C3-9437 (nvme0n1p1)
=================== efibootmgr -v
BootCurrent: 0001
Timeout: 1 seconds
BootOrder: 0001,0000
Boot0000 Windows Boot Manager VenHw(99e275e7-75a0-4b37-a2e6-c5385e6c00cb)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.}...a................
Boot0001* UEFI: HL-DT-ST BD-RE BU20N PciRoot(0x0)/Pci(0x17,0x0)/Sata(1,65535,0)/CDROM(1,0x147b3f,0x1280)..BO
=================== UEFI/Legacy mode:
BIOS is EFI-compatible, and is setup in EFI-mode for this live-session.
SecureBoot disabled.
(maybe sec-boot, Please report this message to
[email protected])
=================== PARTITIONS & DISKS:
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, /mnt/boot-sav/nvme0n1p1.
nvme0n1p2 : nvme0n1, not-sepboot, no-grubenv grub2, signed grub-pc , update-grub, 64, with-boot, is-os, not--efi--part, fstab-without-boot, fstab-has-goodEFI, no-nt, no-winload, no-recov-nor-hid, no-bmgr, notwinboot, apt-get, grub-install, with--usr, fstab-without-usr, not-sep-usr, standard, farbios, /target.
nvme1n1p1 : nvme1n1, not-sepboot, no-grubenv nogrub, no-docgrub, no-update-grub, 32, no-boot, no-os, not--efi--part, part-has-no-fstab, part-has-no-fstab, no-nt, no-winload, no-recov-nor-hid, no-bmgr, notwinboot, nopakmgr, nogrubinstall, no---usr, part-has-no-fstab, not-sep-usr, standard, not-far, /mnt/boot-sav/nvme1n1p1.
nvme1n1p2 : nvme1n1, 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/nvme1n1p2.
nvme1n1 : 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, not-far, /mnt/boot-sav/nvme1n1.
nvme0n1 : 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, not-far, /mnt/boot-sav/nvme0n1.
nvme0n1 : GPT, no-BIOS_boot, has-correctEFI, not-usb, has-os, 2048 sectors * 512 bytes
nvme1n1 : GPT, no-BIOS_boot, has-no-EFIpart, not-usb, no-os, 2048 sectors * 512 bytes
=================== parted -l:
Model: HL-DT-ST BD-RE BU20N (scsi)
Disk /dev/sr0: 2752MB
Sector size (logical/physical): 2048B/2048B
Partition Table: mac
Disk Flags:
Number Start End Size File system Name Flags
1 2048B 6143B 4096B Apple
2 2749MB 2751MB 2425kB EFI
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 538MB 537MB fat32 boot, esp
2 538MB 512GB 512GB btrfs
Model: Unknown (unknown)
Disk /dev/nvme1n1: 512GB
Sector size (logical/physical): 512B/512B
Partition Table: gpt
Disk Flags:
Number Start End Size File system Name Flags
1 1049kB 538MB 537MB fat32 boot, esp
2 538MB 512GB 512GB btrfs
=================== parted -lm:
BYT;
/dev/sr0:2752MB:scsi:2048:2048:mac:HL-DT-ST BD-RE BU20N:;
1:2048B:6143B:4096B::Apple:;
2:2749MB:2751MB:2425kB::EFI:;
BYT;
/dev/nvme0n1:512GB:unknown:512:512:gpt:Unknown:;
1:1049kB:538MB:537MB:fat32::boot, esp;
2:538MB:512GB:512GB:btrfs::;
BYT;
/dev/nvme1n1:512GB:unknown:512:512:gpt:Unknown:;
1:1049kB:538MB:537MB:fat32::boot, esp;
2:538MB:512GB:512GB:btrfs::;
=================== lsblk:
KNAME TYPE FSTYPE SIZE LABEL
sr0 rom iso9660 2.6G Ubuntu-Studio 16.04 LTS amd64
loop0 loop squashfs 2.5G
nvme0n1 disk 477G
nvme0n1p1 part vfat 512M UEFI BOOT
nvme0n1p2 part btrfs 476.4G
nvme1n1 disk 477G
nvme1n1p1 part vfat 512M UEFI BOOT
nvme1n1p2 part btrfs 476.4G
KNAME ROTA RO RM STATE MOUNTPOINT
sr0 1 0 1 running /cdrom
loop0 1 1 0 /rofs
nvme0n1 0 0 0
nvme0n1p1 0 0 0 /mnt/boot-sav/nvme0n1p1
nvme0n1p2 0 0 0 /mnt/boot-sav/nvme1n1p2
nvme1n1 0 0 0
nvme1n1p1 0 0 0 /mnt/boot-sav/nvme1n1p1
nvme1n1p2 0 0 0
=================== mount:
sysfs on /sys type sysfs (rw,nosuid,nodev,noexec,relatime)
proc on /proc type proc (rw,nosuid,nodev,noexec,relatime)
udev on /dev type devtmpfs (rw,nosuid,relatime,size=8175100k,nr_inodes=2043775,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=1638016k,mode=755)
/dev/sr0 on /cdrom type iso9660 (ro,noatime)
/dev/loop0 on /rofs type squashfs (ro,noatime)
/cow on / type overlay (rw,relatime,lowerdir=//filesystem.squashfs,upperdir=/cow/upper,workdir=/cow/work)
securityfs on /sys/kernel/security type securityfs (rw,nosuid,nodev,noexec,relatime)
tmpfs on /dev/shm type tmpfs (rw,nosuid,nodev)
tmpfs on /run/lock type tmpfs (rw,nosuid,nodev,noexec,relatime,size=5120k)
tmpfs on /sys/fs/cgroup type tmpfs (ro,nosuid,nodev,noexec,mode=755)
cgroup on /sys/fs/cgroup/systemd type cgroup (rw,nosuid,nodev,noexec,relatime,xattr,release_agent=/lib/systemd/systemd-cgroups-agent,name=systemd,nsroot=/)
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/perf_event type cgroup (rw,nosuid,nodev,noexec,relatime,perf_event,nsroot=/)
cgroup on /sys/fs/cgroup/cpuset type cgroup (rw,nosuid,nodev,noexec,relatime,cpuset,nsroot=/)
cgroup on /sys/fs/cgroup/cpu,cpuacct type cgroup (rw,nosuid,nodev,noexec,relatime,cpu,cpuacct,nsroot=/)
cgroup on /sys/fs/cgroup/net_cls,net_prio type cgroup (rw,nosuid,nodev,noexec,relatime,net_cls,net_prio,nsroot=/)
cgroup on /sys/fs/cgroup/blkio type cgroup (rw,nosuid,nodev,noexec,relatime,blkio,nsroot=/)
cgroup on /sys/fs/cgroup/hugetlb type cgroup (rw,nosuid,nodev,noexec,relatime,hugetlb,nsroot=/)
cgroup on /sys/fs/cgroup/devices type cgroup (rw,nosuid,nodev,noexec,relatime,devices,nsroot=/)
cgroup on /sys/fs/cgroup/freezer type cgroup (rw,nosuid,nodev,noexec,relatime,freezer,nsroot=/)
cgroup on /sys/fs/cgroup/memory type cgroup (rw,nosuid,nodev,noexec,relatime,memory,nsroot=/)
cgroup on /sys/fs/cgroup/pids type cgroup (rw,nosuid,nodev,noexec,relatime,pids,nsroot=/)
systemd-1 on /proc/sys/fs/binfmt_misc type autofs (rw,relatime,fd=35,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)
tracefs on /sys/kernel/debug/tracing type tracefs (rw,relatime)
tmpfs on /tmp type tmpfs (rw,nosuid,nodev,relatime)
tmpfs on /run/user/999 type tmpfs (rw,nosuid,nodev,relatime,size=1638016k,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/nvme0n1p2 on /target type btrfs (rw,relatime,ssd,space_cache,subvolid=258,subvol=/@)
/dev/nvme0n1p2 on /target/home type btrfs (rw,relatime,ssd,space_cache,subvolid=259,subvol=/@home)
proc on /target/proc type proc (rw,nosuid,nodev,noexec,relatime)
sysfs on /target/sys type sysfs (rw,nosuid,nodev,noexec,relatime)
udev on /target/dev type devtmpfs (rw,nosuid,relatime,size=8175100k,nr_inodes=2043775,mode=755)
tmpfs on /target/run type tmpfs (rw,nosuid,noexec,relatime,size=1638016k,mode=755)
udev on /target/dev type devtmpfs (rw,nosuid,relatime,size=8175100k,nr_inodes=2043775,mode=755)
udev on /dev type devtmpfs (rw,nosuid,relatime,size=8175100k,nr_inodes=2043775,mode=755)
/dev/nvme0n1p1 on /mnt/boot-sav/nvme0n1p1 type vfat (rw,relatime,fmask=0022,dmask=0022,codepage=437,iocharset=iso8859-1,shortname=mixed,errors=remount-ro)
/dev/nvme1n1p1 on /mnt/boot-sav/nvme1n1p1 type vfat (rw,relatime,fmask=0022,dmask=0022,codepage=437,iocharset=iso8859-1,shortname=mixed,errors=remount-ro)
/dev/nvme0n1p2 on /mnt/boot-sav/nvme1n1p2 type btrfs (rw,relatime,ssd,space_cache,subvolid=5,subvol=/)
=================== ls:
/sys/block/nvme0n1 (filtered): alignment_offset bdi capability dev device discard_alignment eui ext_range holders inflight integrity mq nsid nvme0n1p1 nvme0n1p2 power queue range removable ro size slaves stat subsystem trace uevent
/sys/block/nvme1n1 (filtered): alignment_offset bdi capability dev device discard_alignment eui ext_range holders inflight integrity mq nsid nvme1n1p1 nvme1n1p2 power queue range removable ro size slaves stat subsystem trace uevent
/sys/block/sr0 (filtered): alignment_offset bdi capability dev device discard_alignment events events_async events_poll_msecs ext_range holders inflight integrity power queue range removable ro size slaves stat subsystem trace uevent
/dev (filtered): adsp autofs block bsg btrfs-control bus cdrom cdrw char console core cpu cpu_dma_latency cuse disk dsp dvd dvdrw ecryptfs fd full fuse hidraw0 hpet hugepages hwrng initctl input kmsg kvm lightnvm log mapper mcelog mei0 mem memory_bandwidth mixer mqueue net network_latency network_throughput null nvme0 nvme0n1 nvme0n1p1 nvme0n1p2 nvme1 nvme1n1 nvme1n1p1 nvme1n1p2 port ppp psaux ptmx pts random rfkill rtc rtc0 sg0 shm snapshot snd sr0 stderr stdin stdout uhid uinput urandom userio vfio vga_arbiter vhci vhost-net zero
ls /dev/mapper: control
=================== hexdump -n512 -C /dev/nvme0n1p1
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 20 00 40 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 37 94 c3 f7 55 45 46 49 20 42 4f 4f 54 |..)7...UEFI BOOT|
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/nvme1n1p1
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 20 00 40 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 51 68 c4 08 55 45 46 49 20 42 4f 4f 54 |..)Qh..UEFI BOOT|
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 7.8G 0 7.8G 0% /dev
tmpfs tmpfs 1.6G 9.6M 1.6G 1% /run
/dev/sr0 iso9660 2.6G 2.6G 0 100% /cdrom
/dev/loop0 squashfs 2.6G 2.6G 0 100% /rofs
/cow overlay 7.9G 895M 7.0G 12% /
tmpfs tmpfs 5.0M 8.0K 5.0M 1% /run/lock
tmpfs tmpfs 7.9G 0 7.9G 0% /sys/fs/cgroup
tmpfs tmpfs 7.9G 28K 7.9G 1% /tmp
tmpfs tmpfs 1.6G 44K 1.6G 1% /run/user/999
/dev/nvme0n1p2 btrfs 953G 7.4G 945G 1% /target
/dev/nvme0n1p2 btrfs 953G 7.4G 945G 1% /target/home
/dev/nvme0n1p1 vfat 511M 80K 511M 1% /mnt/boot-sav/nvme0n1p1
/dev/nvme1n1p1 vfat 511M 4.0K 511M 1% /mnt/boot-sav/nvme1n1p1
/dev/nvme0n1p2 btrfs 953G 7.4G 945G 1% /mnt/boot-sav/nvme1n1p2
=================== 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: 2.5 GiB, 2707259392 bytes, 5287616 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/nvme1n1: 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: 8E4D58B9-36BC-409D-9367-22FB8FAB5C7E
Device Start End Sectors Size Type
/dev/nvme1n1p1 2048 1050623 1048576 512M EFI System
/dev/nvme1n1p2 1050624 1000214527 999163904 476.4G Linux filesystem
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: E719F0CD-D62E-4E64-9E72-79628D2B7F90
Device Start End Sectors Size Type
/dev/nvme0n1p1 2048 1050623 1048576 512M EFI System
/dev/nvme0n1p2 1050624 1000214527 999163904 476.4G Linux filesystem
Gtk-Message: GtkDialog mapped without a transient parent. This is discouraged.
=================== Default settings of Boot Repair
The default repair of the Boot-Repair utility would purge (in order to fix packages sign-grub) and reinstall the grub-efi-amd64-signed of nvme0n1p2, using the following options: nvme0n1p1/boot/efi,
Additional repair would be performed: unhide-bootmenu-10s use-standard-efi-file rename-ms-efi
=================== Final advice in case of suggested repair
Please do not forget to make your BIOS boot on nvme0n1 (512GB) disk!
=================== User settings
The settings chosen by the user will purge (in order to fix packages sign-grub) and reinstall the grub-efi-amd64-signed of nvme0n1p2, using the following options: nvme0n1p1/boot/efi,
Additional repair will be performed: unhide-bootmenu-10s use-standard-efi-file rename-ms-efi
Mount nvme0n1p1 on /target/boot/efi
ls nvme0n1p1/efi: /ubuntu/fwupx64.efi /ubuntu/fw
chroot /target apt-get -y --force-yes update
Purge the GRUB of nvme0n1p2
grub-efi-amd64-signed available
The following additional packages will be installed:
grub-common grub-efi-amd64 grub-efi-amd64-bin grub-pc-bin grub2-common
Suggested packages:
multiboot-doc grub-emu xorriso
The following packages will be REMOVED:
grub-gfxpayload-lists grub-pc
The following NEW packages will be installed:
grub-efi-amd64 grub-efi-amd64-bin grub-efi-amd64-signed
The following packages will be upgraded:
grub-common grub-pc-bin grub2-common
3 upgraded, 3 newly installed, 2 to remove and 321 not upgraded.
W: --force-yes is deprecated, use one of the options starting with --allow instead.
DEBCHECK debOK, grub-efi-amd64-signed
DEBCHECK debOK
shim-signed available
linux-signed-generic available
Please type: sudo chroot "/target" dpkg --configure -ansudo chroot "/target" apt-get install -fynsudo chroot "/target" apt-get purge -y --force-yes grub*-common grub-common:i386 shim-signed linux-signed*
=================== /target/etc/grub.d/ :
drwxr-xr-x 1 root root 52 Jul 24 16:39 grub.d
total 16
-rwxr-xr-x 1 root root 9921 Mar 21 13:33 09_lowlatency
-rwxr-xr-x 1 root root 1992 Jan 28 04:44 20_memtest86+
/boot/efi detected in the fstab of nvme0n1p2: UUID=F7C3-9437 (nvme0n1p1)
shim-signed available
linux-signed-generic available
Then type: sudo chroot "/target" apt-get install -y --force-yes grub-efi-amd64-signed shim-signed linux-signed-generic
=================== /target/etc/grub.d/ :
drwxr-xr-x 1 root root 192 Jul 24 16:41 grub.d
drwxr-xr-x 1 root root 52 Jul 24 16:39 grub.d.bak
total 72
-rwxr-xr-x 1 root root 9791 Jun 17 02:10 00_header
-rwxr-xr-x 1 root root 6258 Mar 15 11:08 05_debian_theme
-rwxr-xr-x 1 root root 12261 Jun 17 02:10 10_linux
-rwxr-xr-x 1 root root 11082 Jun 17 02:10 20_linux_xen
-rwxr-xr-x 1 root root 11692 Jun 17 02:10 30_os-prober
-rwxr-xr-x 1 root root 1418 Jun 17 02:10 30_uefi-firmware
-rwxr-xr-x 1 root root 214 Jun 17 02:10 40_custom
-rwxr-xr-x 1 root root 216 Jun 17 02:10 41_custom
-rw-r--r-- 1 root root 483 Jun 17 02:10 README
=================== /target/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 nvme0n1p2: UUID=F7C3-9437 (nvme0n1p1)
Unhide GRUB boot menu in nvme0n1p2/etc/default/grub
=================== /target/etc/grub.d/ :
drwxr-xr-x 1 root root 192 Jul 24 16:41 grub.d
drwxr-xr-x 1 root root 52 Jul 24 16:39 grub.d.bak
total 72
-rwxr-xr-x 1 root root 9791 Jun 17 02:10 00_header
-rwxr-xr-x 1 root root 6258 Mar 15 11:08 05_debian_theme
-rwxr-xr-x 1 root root 12261 Jun 17 02:10 10_linux
-rwxr-xr-x 1 root root 11082 Jun 17 02:10 20_linux_xen
-rwxr-xr-x 1 root root 11692 Jun 17 02:10 30_os-prober
-rwxr-xr-x 1 root root 1418 Jun 17 02:10 30_uefi-firmware
-rwxr-xr-x 1 root root 214 Jun 17 02:10 40_custom
-rwxr-xr-x 1 root root 216 Jun 17 02:10 41_custom
-rw-r--r-- 1 root root 483 Jun 17 02:10 README
=================== /target/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 nvme0n1p2: UUID=F7C3-9437 (nvme0n1p1)
*******lspci -nnk | grep -iA3 vga
01:00.0 VGA compatible controller [0300]: NVIDIA Corporation GM204M [GeForce GTX 970M] [10de:13d8] (rev a1)
Subsystem: Micro-Star International Co., Ltd. [MSI] GM204M [GeForce GTX 970M] [1462:1171]
Kernel modules: nvidiafb, nouveau
01:00.1 Audio device [0403]: NVIDIA Corporation GM204 High Definition Audio Controller [10de:0fbb] (rev a1)
*******
grub-install --version
grub-install (GRUB) 2.02~beta2-36ubuntu3.1,grub-install (GRUB) 2.
chroot /target efibootmgr -v
BootCurrent: 0001
Timeout: 1 seconds
BootOrder: 0002,0001,0000
Boot0000 Windows Boot Manager VenHw(99e275e7-75a0-4b37-a2e6-c5385e6c00cb)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.}...a................
Boot0001* UEFI: HL-DT-ST BD-RE BU20N PciRoot(0x0)/Pci(0x17,0x0)/Sata(1,65535,0)/CDROM(1,0x147b3f,0x1280)..BO
Boot0002* ubuntu HD(1,GPT,3a0e8f5d-1382-4a82-accb-63b83c7d4e0e,0x800,0x100000)/File(EFIubuntushimx64.efi)
chroot /target uname -r
Kernel: 4.4.0-21-lowlatency
Reinstall the grub-efi-amd64-signed shim-signed linux-signed-generic of nvme0n1p2
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
ls nvme0n1p1/efi: /ubuntu/shimx64.efi /ubuntu/MokManager.efi /ubuntu/grubx64.efi /ubuntu/grub.cfg /ubuntu/fwupx64.efi /ubuntu/fw
df /dev/nvme0n1p1
cp /target/boot/efi/EFI/ubuntu/shimx64.efi /target/boot/efi/EFI/Microsoft/Boot/bootmgfw.efi (& .grb)
df /dev/nvme0n1p1
cp /target/boot/efi/EFI/ubuntu/shimx64.efi /target/boot/efi/EFI/Microsoft/Boot/bootx64.efi (& .grb)
df /dev/nvme0n1p1
cp /target/boot/efi/EFI/ubuntu/shimx64.efi /target/boot/efi/EFI/Boot/bootx64.efi (& .grb)
ls nvme0n1p1/efi: /Microsoft/Boot/bootx64.efi.grb /Microsoft/Boot/bootx64.efi /Microsoft/Boot/bootmgfw.efi.grb /Microsoft/Boot/bootmgfw.efi /ubuntu/shimx64.efi /ubuntu/MokManager.efi /ubuntu/grubx64.efi /ubuntu/grub.cfg /ubuntu/fwupx64.efi /ubuntu/fw /Microsoft/Boot /Boot/bootx64.efi.grb /Boot/bootx64.efi
Add /target/boot/efi efi entries in /target/etc/grub.d/25_custom
Adding custom /target/boot/efi/EFI/ubuntu/fwupx64.efi
Adding custom /target/boot/efi/EFI/ubuntu/MokManager.efi
chroot /target efibootmgr -v
BootCurrent: 0001
Timeout: 1 seconds
BootOrder: 0002,0001,0000
Boot0000 Windows Boot Manager VenHw(99e275e7-75a0-4b37-a2e6-c5385e6c00cb)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.}...a................
Boot0001* UEFI: HL-DT-ST BD-RE BU20N PciRoot(0x0)/Pci(0x17,0x0)/Sata(1,65535,0)/CDROM(1,0x147b3f,0x1280)..BO
Boot0002* ubuntu HD(1,GPT,3a0e8f5d-1382-4a82-accb-63b83c7d4e0e,0x800,0x100000)/File(EFIubuntushimx64.efi)
chroot /target update-grub
Generating grub configuration file ...
Found linux image: /boot/vmlinuz-4.4.0-31-generic
Found initrd image: /boot/initrd.img-4.4.0-31-generic
Found linux image: /boot/vmlinuz-4.4.0-21-lowlatency
Found initrd image: /boot/initrd.img-4.4.0-21-lowlatency
File descriptor 9 (/proc/13945/mounts) leaked on lvs invocation. Parent PID 15092: /bin/sh
File descriptor 63 (pipe:[172989]) leaked on lvs invocation. Parent PID 15092: /bin/sh
Adding boot menu entry for EFI firmware configuration
mount: /dev/nvme1n1p2 is already mounted or /mnt/boot-sav/nvme1n1p2 busy
ls nvme1n1p2:
@
@home
ubiquity-apt-clone
var
os-prober
mount: /dev/nvme1n1 is already mounted or /mnt/boot-sav/nvme1n1 busy
mount /dev/nvme1n1 : Error code 32
mount -r /dev/nvme1n1 /mnt/boot-sav/nvme1n1
mount: /dev/nvme1n1 is already mounted or /mnt/boot-sav/nvme1n1 busy
mount -r /dev/nvme1n1 : 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
Unhide GRUB boot menu in nvme0n1p2/boot/grub/grub.cfg
Boot successfully repaired.
You can now reboot your computer.
Please do not forget to make your BIOS boot on nvme0n1 (512GB) disk!
paste.ubuntu.com ko (), using paste.debian
paste.debian.net ko (), using paste2