I have a Acer Spin111-31 laptop. I have booted linux mint from USB and done the install, most of the time it freezes on installing grub2. I managed to do the install somehow but it wont boot. I ran boot repair from the live usb version and I got this:
Code: Select all
Boot Info Script cfd9efe + Boot-Repair extra info [Boot-Info 26Apr2016]
============================= Boot Info Summary: ===============================
=> Grub2 (v2.00) is installed in the MBR of /dev/sda and looks at sector 1 of
the same hard drive for core.img. core.img is at this location and looks
for /boot/grub. It also embeds following components:
modules
---------------------------------------------------------------------------
fshelp ext2 part_gpt biosdisk search_fs_uuid
---------------------------------------------------------------------------
config script
---------------------------------------------------------------------------
search.fs_uuid d8121ec2-d0f5-4fe8-8bca-22af56cf2ef6 root
set prefix=($root)'/boot/grub'
---------------------------------------------------------------------------
sda1: __________________________________________________________________________
File system: vfat
Boot sector type: MSWIN4.1: FAT32
Boot sector info: No errors found in the Boot Parameter Block.
Operating System:
Boot files: /boot/grub/grub.cfg /syslinux.cfg /EFI/BOOT/grubx64.efi
============================ Drive/Partition Info: =============================
Drive: sda _____________________________________________________________________
Disk /dev/sda: 119.1 GiB, 127865454592 bytes, 249737216 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 249,737,215 249,735,168 c W95 FAT32 (LBA)
"blkid" output: ________________________________________________________________
Device UUID TYPE LABEL
/dev/loop0 squashfs
/dev/mmcblk0
/dev/mmcblk0p1
/dev/mmcblk0p2 8E6F-12D1 vfat
/dev/mmcblk0p3 ddaf7113-b61d-43ba-a48e-387b4b7a5bbe swap
/dev/mmcblk0p4 d8121ec2-d0f5-4fe8-8bca-22af56cf2ef6 ext4
/dev/sda1 1BEF-1E21 vfat LINUX MINT
========================= "ls -l /dev/disk/by-id" output: ======================
total 0
lrwxrwxrwx 1 root root 13 Jul 23 10:44 mmc-HBG4a2_0x03da083b -> ../../mmcblk0
lrwxrwxrwx 1 root root 15 Jul 23 10:44 mmc-HBG4a2_0x03da083b-part1 -> ../../mmcblk0p1
lrwxrwxrwx 1 root root 15 Jul 23 10:44 mmc-HBG4a2_0x03da083b-part2 -> ../../mmcblk0p2
lrwxrwxrwx 1 root root 15 Jul 23 10:44 mmc-HBG4a2_0x03da083b-part3 -> ../../mmcblk0p3
lrwxrwxrwx 1 root root 15 Jul 23 10:44 mmc-HBG4a2_0x03da083b-part4 -> ../../mmcblk0p4
lrwxrwxrwx 1 root root 9 Jul 23 10:48 usb-FNK_TECH_0100-0:0 -> ../../sda
lrwxrwxrwx 1 root root 10 Jul 23 10:48 usb-FNK_TECH_0100-0:0-part1 -> ../../sda1
================================ Mount points: =================================
Device Mount_Point Type Options
/dev/loop0 /rofs squashfs (ro,noatime)
/dev/mmcblk0p4 /media/mint/d8121ec2-d0f5-4fe8-8bca-22af56cf2ef6 ext4 (rw,nosuid,nodev,relatime,data=ordered,uhelper=udisks2)
/dev/sda1 /cdrom vfat (ro,noatime,fmask=0022,dmask=0022,codepage=437,iocharset=iso8859-1,shortname=mixed,errors=remount-ro)
=========================== sda1/boot/grub/grub.cfg: ===========================
--------------------------------------------------------------------------------
if loadfont /boot/grub/font.pf2 ; then
set gfxmode=auto
insmod efi_gop
insmod efi_uga
insmod gfxterm
terminal_output gfxterm
fi
set menu_color_normal=white/black
set menu_color_highlight=black/light-gray
menuentry "Start Linux Mint 18.2 Cinnamon 64-bit" {
set gfxpayload=keep
linux /casper/vmlinuz file=/cdrom/preseed/linuxmint.seed boot=casper iso-scan/filename=${iso_path} quiet splash --
initrd /casper/initrd.lz
}
menuentry "Start Linux Mint 18.2 Cinnamon 64-bit (compatibility mode)" {
linux /casper/vmlinuz file=/cdrom/preseed/linuxmint.seed boot=casper xforcevesa iso-scan/filename=${iso_path} ramdisk_size=1048576 root=/dev/ram rw noapic noacpi nosplash irqpoll --
initrd /casper/initrd.lz
}
menuentry "OEM install (for manufacturers)" {
set gfxpayload=keep
linux /casper/vmlinuz file=/cdrom/preseed/linuxmint.seed oem-config/enable=true only-ubiquity boot=casper iso-scan/filename=${iso_path} quiet splash --
initrd /casper/initrd.lz
}
menuentry "Check the integrity of the medium" {
linux /casper/vmlinuz boot=casper integrity-check iso-scan/filename=${iso_path} 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
=============================== StdErr Messages: ===============================
File descriptor 9 (/proc/4427/mounts) leaked on lvs invocation. Parent PID 15570: bash
File descriptor 63 (pipe:[38143]) leaked on lvs invocation. Parent PID 15570: bash
ADDITIONAL INFORMATION :
=================== log of boot-repair 2017-07-23__10h48 ===================
boot-repair version : 4ppa40
boot-sav version : 4ppa40
glade2script version : 3.2.3~ppa1
boot-sav-extra version :
Error: /dev/mmcblk0rpmb: unrecognised disk label
Warning: Error fsyncing/closing /dev/mmcblk0rpmb: Input/output error
Error: /dev/mmcblk0boot0: unrecognised disk label
Error: /dev/mmcblk0boot1: unrecognised disk label
Error: /dev/mmcblk0rpmb: unrecognised disk label
Warning: Error fsyncing/closing /dev/mmcblk0rpmb: Input/output error
Error: /dev/mmcblk0boot0: unrecognised disk label
Error: /dev/mmcblk0boot1: unrecognised disk label
boot-repair is executed in live-session (Linux Mint 18.2 Sonya, sonya, LinuxMint, x86_64)
CPU op-mode(s): 32-bit, 64-bit
BOOT_IMAGE=/casper/vmlinuz file=/cdrom/preseed/linuxmint.seed boot=casper iso-scan/filename= quiet splash --
ls: cannot access '/home/usr/.config': No such file or directory
mmcblk0 (sda) has unknown type. Please report this message to boot.repair@gmail.com
mount: /dev/mmcblk0 is already mounted or /mnt/boot-sav/mmcblk0 busy
mount /dev/mmcblk0 : Error code 32
mount -r /dev/mmcblk0 /mnt/boot-sav/mmcblk0
mount: /dev/mmcblk0 is already mounted or /mnt/boot-sav/mmcblk0 busy
mount -r /dev/mmcblk0 : Error code 32
NTFS signature is missing.
Failed to mount '/dev/mmcblk0p1': Invalid argument
The device '/dev/mmcblk0p1' doesn't seem to have a valid NTFS.
Maybe the wrong device is used? Or the whole disk instead of a
partition (e.g. /dev/sda, not /dev/sda1)? Or the other way around?
mount /dev/mmcblk0p1 : Error code 12
mount -r /dev/mmcblk0p1 /mnt/boot-sav/mmcblk0p1
NTFS signature is missing.
Failed to mount '/dev/mmcblk0p1': Invalid argument
The device '/dev/mmcblk0p1' doesn't seem to have a valid NTFS.
Maybe the wrong device is used? Or the whole disk instead of a
partition (e.g. /dev/sda, not /dev/sda1)? Or the other way around?
mount -r /dev/mmcblk0p1 : Error code 12
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/mmcblk0p4:Linux Mint 18.2 Sonya (18.2):LinuxMint:linux
=================== blkid:
/dev/mmcblk0p2: UUID="8E6F-12D1" TYPE="vfat" PARTUUID="e96c9035-5696-4dc5-bf76-00293e1225b6"
/dev/mmcblk0p4: UUID="d8121ec2-d0f5-4fe8-8bca-22af56cf2ef6" TYPE="ext4" PARTUUID="6a62a741-a4d3-4eb0-b84a-2e5cd994f5de"
/dev/sda1: LABEL="LINUX MINT" UUID="1BEF-1E21" TYPE="vfat"
/dev/loop0: TYPE="squashfs"
/dev/mmcblk0p3: UUID="ddaf7113-b61d-43ba-a48e-387b4b7a5bbe" TYPE="swap" PARTUUID="90e19324-3875-4ac1-afcc-feee554a789b"
/dev/mmcblk0: PTUUID="1685ac59-4d2c-4660-8d03-5655fcda6f43" PTTYPE="gpt"
/dev/mmcblk0p1: PARTUUID="5bab1825-b1db-4d5e-b8ce-3415ea366a9c"
1 disks with OS, 1 OS : 1 Linux, 0 MacOS, 0 Windows, 0 unknown type OS.
mount: /dev/mmcblk0 is already mounted or /mnt/boot-sav/mmcblk0 busy
mount /dev/mmcblk0 : Error code 32
mount -r /dev/mmcblk0 /mnt/boot-sav/mmcblk0
mount: /dev/mmcblk0 is already mounted or /mnt/boot-sav/mmcblk0 busy
mount -r /dev/mmcblk0 : Error code 32
NTFS signature is missing.
Failed to mount '/dev/mmcblk0p1': Invalid argument
The device '/dev/mmcblk0p1' doesn't seem to have a valid NTFS.
Maybe the wrong device is used? Or the whole disk instead of a
partition (e.g. /dev/sda, not /dev/sda1)? Or the other way around?
mount /dev/mmcblk0p1 : Error code 12
mount -r /dev/mmcblk0p1 /mnt/boot-sav/mmcblk0p1
NTFS signature is missing.
Failed to mount '/dev/mmcblk0p1': Invalid argument
The device '/dev/mmcblk0p1' doesn't seem to have a valid NTFS.
Maybe the wrong device is used? Or the whole disk instead of a
partition (e.g. /dev/sda, not /dev/sda1)? Or the other way around?
mount -r /dev/mmcblk0p1 : Error code 12
=================== /media/mint/d8121ec2-d0f5-4fe8-8bca-22af56cf2ef6/etc/grub.d/ :
drwxr-xr-x 2 root root 4096 Jun 28 15:31 grub.d
total 96
-rwxr-xr-x 1 root root 9791 May 11 10:32 00_header
-rwxr-xr-x 1 root root 6258 Mar 15 2016 05_debian_theme
-rwxr-xr-x 1 root root 1180 Oct 25 2014 06_mint_theme
-rwxr-xr-x 1 root root 12552 May 11 10:32 10_linux
-rwxr-xr-x 1 root root 10634 Oct 1 2012 10_lupin
-rwxr-xr-x 1 root root 11082 May 11 10:32 20_linux_xen
-rwxr-xr-x 1 root root 1992 Jan 28 2016 20_memtest86+
-rwxr-xr-x 1 root root 11692 May 11 10:32 30_os-prober
-rwxr-xr-x 1 root root 1418 May 11 10:32 30_uefi-firmware
-rwxr-xr-x 1 root root 214 May 11 10:32 40_custom
-rwxr-xr-x 1 root root 216 May 11 10:32 41_custom
-rw-r--r-- 1 root root 483 May 11 10:32 README
=================== /media/mint/d8121ec2-d0f5-4fe8-8bca-22af56cf2ef6/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"
=================== efibootmgr -v
BootCurrent: 0000
Timeout: 0 seconds
BootOrder: 0000,2001,2002,2003
Boot0000* Linux HD(1,MBR,0x0,0x800,0xee2a800)/File(EFIBootgrubx64.efi)RC
Boot0002* Unknown Device: HD(1,GPT,5adee493-e4c8-45a2-8576-e3cce6492428,0x800,0x100000)/File(EFIubuntugrubx64.efi)RC
Boot0004* Unknown Device: HD(1,GPT,1110697f-e897-4417-a22f-ffcf05fa7f37,0x800,0x100000)/File(EFIubuntugrubx64.efi)RC
Boot2001* EFI USB Device RC
Boot2002* EFI DVD/CDROM RC
Boot2003* EFI Network RC
=================== UEFI/Legacy mode:
BIOS is EFI-compatible, and is setup in EFI-mode for this live-session.
SecureBoot enabled.
=================== PARTITIONS & DISKS:
mmcblk0p2 : mmcblk0, 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/mmcblk0p2.
mmcblk0p4 : mmcblk0, not-sepboot, grubenv-ok grub2, grub-pc , update-grub, 64, with-boot, is-os, not--efi--part, fstab-without-boot, fstab-without-efi, no-nt, no-winload, no-recov-nor-hid, no-bmgr, notwinboot, apt-get, grub-install, with--usr, fstab-without-usr, not-sep-usr, standard, not-far, /media/mint/d8121ec2-d0f5-4fe8-8bca-22af56cf2ef6.
mmcblk0 : sda, maybesepboot, no-grubenv nogrub, no-docgrub, no-update-grub, 32, no-boot, no-os, not--efi--part, part-has-no-fstab, part-has-no-fstab, no-nt, no-winload, no-recov-nor-hid, no-bmgr, notwinboot, nopakmgr, nogrubinstall, no---usr, part-has-no-fstab, not-sep-usr, standard, not-far, /mnt/boot-sav/mmcblk0.
mmcblk0p1 : 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, /mnt/boot-sav/mmcblk0p1.
mmcblk0 : GPT, BIOS_boot, has-no-EFIpart, not-usb, has-os, 1 sectors * 512 bytes
sda : not-GPT, BIOSboot-not-needed, has-no-EFIpart, usb-disk, no-os, 2048 sectors * 512 bytes
=================== parted -l:
Model: FNK TECH (scsi)
Disk /dev/sda: 128GB
Sector size (logical/physical): 512B/512B
Partition Table: msdos
Disk Flags:
Number Start End Size Type File system Flags
1 1049kB 128GB 128GB primary fat32 boot, lba
Model: Generic SD/MMC Storage Card (sd/mmc)
Disk /dev/mmcblk0rpmb: 4194kB
Sector size (logical/physical): 512B/512B
Partition Table: unknown
Disk Flags:
Model: Generic SD/MMC Storage Card (sd/mmc)
Disk /dev/mmcblk0boot0: 4194kB
Sector size (logical/physical): 512B/512B
Partition Table: unknown
Disk Flags:
Model: Generic SD/MMC Storage Card (sd/mmc)
Disk /dev/mmcblk0boot1: 4194kB
Sector size (logical/physical): 512B/512B
Partition Table: unknown
Disk Flags:
Model: MMC HBG4a2 (sd/mmc)
Disk /dev/mmcblk0: 31.3GB
Sector size (logical/physical): 512B/512B
Partition Table: gpt
Disk Flags:
Number Start End Size File system Name Flags
1 1049kB 10.5MB 9437kB bios_grub
2 10.5MB 511MB 500MB fat32 boot, esp
3 511MB 8510MB 8000MB linux-swap(v1)
4 8510MB 31.3GB 22.8GB ext4
=================== parted -lm:
BYT;
/dev/sda:128GB:scsi:512:512:msdos:FNK TECH :;
1:1049kB:128GB:128GB:fat32::boot, lba;
BYT;
/dev/mmcblk0rpmb:4194kB:sd/mmc:512:512:unknown:Generic SD/MMC Storage Card:;
BYT;
/dev/mmcblk0boot0:4194kB:sd/mmc:512:512:unknown:Generic SD/MMC Storage Card:;
BYT;
/dev/mmcblk0boot1:4194kB:sd/mmc:512:512:unknown:Generic SD/MMC Storage Card:;
BYT;
/dev/mmcblk0:31.3GB:sd/mmc:512:512:gpt:MMC HBG4a2:;
1:1049kB:10.5MB:9437kB:::bios_grub;
2:10.5MB:511MB:500MB:fat32::boot, esp;
3:511MB:8510MB:8000MB:linux-swap(v1)::;
4:8510MB:31.3GB:22.8GB:ext4::;
=================== lsblk:
KNAME TYPE FSTYPE SIZE LABEL
mmcblk0rpmb disk 4M
mmcblk0boot0 disk 4M
loop0 loop squashfs 1.5G
sda disk 119.1G
sda1 part vfat 119.1G LINUX MINT
mmcblk0boot1 disk 4M
mmcblk0 disk 29.1G
mmcblk0p4 part ext4 21.2G
mmcblk0p2 part vfat 477M
mmcblk0p3 part swap 7.5G
mmcblk0p1 part 9M
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
mmcblk0p4 0 0 0 /media/mint/d8121ec2-d0f5-4fe8-8bca-22af56cf2ef6
mmcblk0p2 0 0 0 /mnt/boot-sav/mmcblk0p2
mmcblk0p3 0 0 0
mmcblk0p1 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=1917720k,nr_inodes=479430,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=386640k,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=985445ced6b7022)
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 (rw,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/net_cls,net_prio type cgroup (rw,nosuid,nodev,noexec,relatime,net_cls,net_prio)
cgroup on /sys/fs/cgroup/cpuset type cgroup (rw,nosuid,nodev,noexec,relatime,cpuset,clone_children)
cgroup on /sys/fs/cgroup/perf_event type cgroup (rw,nosuid,nodev,noexec,relatime,perf_event,release_agent=/run/cgmanager/agents/cgm-release-agent.perf_event)
cgroup on /sys/fs/cgroup/hugetlb type cgroup (rw,nosuid,nodev,noexec,relatime,hugetlb,release_agent=/run/cgmanager/agents/cgm-release-agent.hugetlb)
cgroup on /sys/fs/cgroup/blkio type cgroup (rw,nosuid,nodev,noexec,relatime,blkio)
cgroup on /sys/fs/cgroup/devices type cgroup (rw,nosuid,nodev,noexec,relatime,devices)
cgroup on /sys/fs/cgroup/cpu,cpuacct type cgroup (rw,nosuid,nodev,noexec,relatime,cpu,cpuacct)
cgroup on /sys/fs/cgroup/pids type cgroup (rw,nosuid,nodev,noexec,relatime,pids,release_agent=/run/cgmanager/agents/cgm-release-agent.pids)
cgroup on /sys/fs/cgroup/memory type cgroup (rw,nosuid,nodev,noexec,relatime,memory)
cgroup on /sys/fs/cgroup/freezer type cgroup (rw,nosuid,nodev,noexec,relatime,freezer)
systemd-1 on /proc/sys/fs/binfmt_misc type autofs (rw,relatime,fd=30,pgrp=1,timeout=0,minproto=5,maxproto=5,direct,pipe_ino=10760)
debugfs on /sys/kernel/debug type debugfs (rw,relatime)
mqueue on /dev/mqueue type mqueue (rw,relatime)
hugetlbfs on /dev/hugepages type hugetlbfs (rw,relatime)
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)
binfmt_misc on /proc/sys/fs/binfmt_misc type binfmt_misc (rw,relatime)
cgmfs on /run/cgmanager/fs type tmpfs (rw,relatime,size=100k,mode=755)
tmpfs on /run/user/999 type tmpfs (rw,nosuid,nodev,relatime,size=386640k,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/mmcblk0p4 on /media/mint/d8121ec2-d0f5-4fe8-8bca-22af56cf2ef6 type ext4 (rw,nosuid,nodev,relatime,data=ordered,uhelper=udisks2)
/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/mmcblk0 (filtered): alignment_offset badblocks bdi capability dev device discard_alignment ext_range force_ro holders inflight integrity mmcblk0boot0 mmcblk0boot1 mmcblk0p1 mmcblk0p2 mmcblk0p3 mmcblk0p4 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 dri drm_dp_aux0 drm_dp_aux1 ecryptfs fb0 fd full fuse gpiochip0 gpiochip1 gpiochip2 gpiochip3 hidraw0 hidraw1 hidraw2 HID-SENSOR-2000e1.3.auto hpet hugepages hwrng i2c-0 i2c-1 i2c-2 i2c-3 i2c-4 i2c-5 i2c-6 iio:device0 initctl input kmsg kvm lightnvm log mapper mcelog media0 mei0 mem memory_bandwidth mmcblk0 mmcblk0boot0 mmcblk0boot1 mmcblk0p1 mmcblk0p2 mmcblk0p3 mmcblk0p4 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 uhid uinput urandom usb userio v4l vfio vga_arbiter vhci vhost-net video0 zero
ls /dev/mapper: control
=================== hexdump -n512 -C /dev/mmcblk0p2
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 50 00 00 |.............P..|
00000020 00 e8 0e 00 b9 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 d1 12 6f 8e 4e 4f 20 4e 41 4d 45 20 20 |..)..o.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 378M 11M 367M 3% /run
/dev/sda1 vfat 120G 1.6G 118G 2% /cdrom
/dev/loop0 squashfs 1.6G 1.6G 0 100% /rofs
aufs aufs 1.9G 157M 1.7G 9% /
tmpfs tmpfs 1.9G 856K 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 4.0K 1.9G 1% /tmp
cgmfs tmpfs 100K 0 100K 0% /run/cgmanager/fs
tmpfs tmpfs 378M 44K 378M 1% /run/user/999
/dev/mmcblk0p4 ext4 21G 5.0G 15G 26% /media/mint/d8121ec2-d0f5-4fe8-8bca-22af56cf2ef6
/dev/mmcblk0p2 vfat 477M 4.0K 477M 1% /mnt/boot-sav/mmcblk0p2
=================== fdisk -l:
Disk /dev/loop0: 1.5 GiB, 1618886656 bytes, 3161888 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk /dev/mmcblk0: 29.1 GiB, 31268536320 bytes, 61071360 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disklabel type: gpt
Disk identifier: 1685AC59-4D2C-4660-8D03-5655FCDA6F43
Device Start End Sectors Size Type
/dev/mmcblk0p1 2048 20479 18432 9M BIOS boot
/dev/mmcblk0p2 20480 997375 976896 477M EFI System
/dev/mmcblk0p3 997376 16621567 15624192 7.5G Linux swap
/dev/mmcblk0p4 16621568 61069311 44447744 21.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: 119.1 GiB, 127865454592 bytes, 249737216 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: 0x00000000
Device Boot Start End Sectors Size Id Type
/dev/sda1 * 2048 249737215 249735168 119.1G c W95 FAT32 (LBA)
=================== Advices
The boot of your PC is in EFI mode, but no EFI partition was detected. You may want to retry after creating a EFI partition (FAT32, 100MB~250MB, start of the disk, boot flag).
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 reinstall the grub2 of mmcblk0p4 into the MBRs of all disks (except USB without OS).
Additional repair will be performed: unhide-bootmenu-10s
Reinstall the GRUB of mmcblk0p4 into all MBRs of disks with OS or not-USB
*******lspci -nnk | grep -iA3 vga
00:02.0 VGA compatible controller [0300]: Intel Corporation Device [8086:5a85] (rev 0b)
Subsystem: Acer Incorporated [ALI] Device [1025:1150]
Kernel driver in use: i915
Kernel modules: i915
*******
grub-install --version
grub-install.real (GRUB) 2.02~beta2-36ubuntu3.9+linuxmint1,grub-install.
Reinstall the GRUB of mmcblk0p4 into the MBR of sda
Installing for i386-pc platform.
Installation finished. No error reported.
grub-install /dev/sda: exit code of grub-install /dev/sda:0
*******lspci -nnk | grep -iA3 vga
00:02.0 VGA compatible controller [0300]: Intel Corporation Device [8086:5a85] (rev 0b)
Subsystem: Acer Incorporated [ALI] Device [1025:1150]
Kernel driver in use: i915
Kernel modules: i915
*******
grub-install --version
grub-install.real (GRUB) 2.02~beta2-36ubuntu3.9+linuxmint1,grub-install.
Reinstall the GRUB of mmcblk0p4 into the MBR of mmcblk0
Installing for i386-pc platform.
Installation finished. No error reported.
grub-install /dev/mmcblk0: exit code of grub-install /dev/mmcblk0:0
chroot /media/mint/d8121ec2-d0f5-4fe8-8bca-22af56cf2ef6 update-grub
Generating grub configuration file ...
Found linux image: /boot/vmlinuz-4.8.0-53-generic
Found initrd image: /boot/initrd.img-4.8.0-53-generic
File descriptor 9 (/proc/4427/mounts) leaked on lvs invocation. Parent PID 11787: /bin/sh
File descriptor 63 (pipe:[38143]) leaked on lvs invocation. Parent PID 11787: /bin/sh
Adding boot menu entry for EFI firmware configuration
mount: /dev/mmcblk0 is already mounted or /mnt/boot-sav/mmcblk0 busy
mount /dev/mmcblk0 : Error code 32
mount -r /dev/mmcblk0 /mnt/boot-sav/mmcblk0
mount: /dev/mmcblk0 is already mounted or /mnt/boot-sav/mmcblk0 busy
mount -r /dev/mmcblk0 : Error code 32
NTFS signature is missing.
Failed to mount '/dev/mmcblk0p1': Invalid argument
The device '/dev/mmcblk0p1' doesn't seem to have a valid NTFS.
Maybe the wrong device is used? Or the whole disk instead of a
partition (e.g. /dev/sda, not /dev/sda1)? Or the other way around?
mount /dev/mmcblk0p1 : Error code 12
mount -r /dev/mmcblk0p1 /mnt/boot-sav/mmcblk0p1
NTFS signature is missing.
Failed to mount '/dev/mmcblk0p1': Invalid argument
The device '/dev/mmcblk0p1' doesn't seem to have a valid NTFS.
Maybe the wrong device is used? Or the whole disk instead of a
partition (e.g. /dev/sda, not /dev/sda1)? Or the other way around?
mount -r /dev/mmcblk0p1 : Error code 12
Unhide GRUB boot menu in mmcblk0p4/boot/grub/grub.cfg
Boot successfully repaired.
You can now reboot your computer.
Please do not forget to make your BIOS boot on mmcblk0 (31.3GB) disk!
pastebinit packages needed
Gtk-Message: GtkDialog mapped without a transient parent. This is discouraged.
W: The repository 'cdrom://Linux Mint 18.2 _Sonya_ - Release amd64 20170628 xenial Release' does not have a Release file.
W: Symlinking final file /var/lib/apt/lists/Linux%20Mint%2018.2%20%5fSonya%5f%20-%20Release%20amd64%2020170628_dists_xenial_contrib_binary-amd64_Packages back to /var/lib/apt/lists/partial/Linux%20Mint%2018.2%20%5fSonya%5f%20-%20Release%20amd64%2020170628_dists_xenial_contrib_binary-amd64_Packages.xz failed - pkgAcqIndex::StageDownloadDone (17: File exists)
W: Symlinking final file /var/lib/apt/lists/Linux%20Mint%2018.2%20%5fSonya%5f%20-%20Release%20amd64%2020170628_dists_xenial_main_binary-amd64_Packages back to /var/lib/apt/lists/partial/Linux%20Mint%2018.2%20%5fSonya%5f%20-%20Release%20amd64%2020170628_dists_xenial_main_binary-amd64_Packages.xz failed - pkgAcqIndex::StageDownloadDone (17: File exists)
W: Symlinking final file /var/lib/apt/lists/Linux%20Mint%2018.2%20%5fSonya%5f%20-%20Release%20amd64%2020170628_dists_xenial_non-free_binary-amd64_Packages back to /var/lib/apt/lists/partial/Linux%20Mint%2018.2%20%5fSonya%5f%20-%20Release%20amd64%2020170628_dists_xenial_non-free_binary-amd64_Packages.xz failed - pkgAcqIndex::StageDownloadDone (17: File exists)
W: Symlinking final file /var/lib/apt/lists/Linux%20Mint%2018.2%20%5fSonya%5f%20-%20Release%20amd64%2020170628_dists_xenial_contrib_binary-amd64_Packages back to /var/lib/apt/lists/partial/Linux%20Mint%2018.2%20%5fSonya%5f%20-%20Release%20amd64%2020170628_dists_xenial_contrib_binary-amd64_Packages.bz2 failed - pkgAcqIndex::StageDownloadDone (17: File exists)
W: Symlinking final file /var/lib/apt/lists/Linux%20Mint%2018.2%20%5fSonya%5f%20-%20Release%20amd64%2020170628_dists_xenial_main_binary-amd64_Packages back to /var/lib/apt/lists/partial/Linux%20Mint%2018.2%20%5fSonya%5f%20-%20Release%20amd64%2020170628_dists_xenial_main_binary-amd64_Packages.bz2 failed - pkgAcqIndex::StageDownloadDone (17: File exists)
W: Symlinking final file /var/lib/apt/lists/Linux%20Mint%2018.2%20%5fSonya%5f%20-%20Release%20amd64%2020170628_dists_xenial_non-free_binary-amd64_Packages back to /var/lib/apt/lists/partial/Linux%20Mint%2018.2%20%5fSonya%5f%20-%20Release%20amd64%2020170628_dists_xenial_non-free_binary-amd64_Packages.bz2 failed - pkgAcqIndex::StageDownloadDone (17: File exists)
W: Symlinking final file /var/lib/apt/lists/Linux%20Mint%2018.2%20%5fSonya%5f%20-%20Release%20amd64%2020170628_dists_xenial_contrib_binary-amd64_Packages back to /var/lib/apt/lists/partial/Linux%20Mint%2018.2%20%5fSonya%5f%20-%20Release%20amd64%2020170628_dists_xenial_contrib_binary-amd64_Packages.lzma failed - pkgAcqIndex::StageDownloadDone (17: File exists)
E: Failed to fetch cdrom://Linux Mint 18.2 _Sonya_ - Release amd64 20170628/dists/xenial/contrib/binary-i386/Packages Please use apt-cdrom to make this CD-ROM recognized by APT. apt-get update cannot be used to add new CD-ROMs
E: Some index files failed to download. They have been ignored, or old ones used instead.
W: --force-yes is deprecated, use one of the options starting with --allow instead.