Memperbaiki repair grub boot di ubuntu
Saat installasi ubuntu/kubuntu sering terjadi kegagalan installasi grub/boot looader. cara mengatasi lakukan langkah berikut:
Cari aplikasinya di "Application - System - Boot Repair"
akan terdapat 2 pilihan.
Logs hasil installasi sbb:
sudo add-apt-repository ppa:yannubuntu/boot-repair
sudo apt-get update
sudo apt-get install boot-repair
Cari aplikasinya di "Application - System - Boot Repair"
akan terdapat 2 pilihan.
- Recommended repair
- Create a BootInfo summary
Logs hasil installasi sbb:
ADDITIONAL INFORMATION :
=================== log of boot-repair 2017-08-24__07h01 ===================
boot-repair version : 4ppa40
boot-sav version : 4ppa40
glade2script version : 3.2.3~ppa1
boot-sav-extra version : 4ppa40
boot-repair is executed in installed-session (Ubuntu 17.04, zesty, Ubuntu, x86_64)
CPU op-mode(s): 32-bit, 64-bit
BOOT_IMAGE=/boot/vmlinuz-4.10.0-19-generic root=UUID=78186ae0-f4e9-490c-8b4c-533d47cf2140 ro quiet splash vt.handoff=7
Partition 2 does not start on physical sector boundary.
=================== os-prober:
/dev/sda5:The OS now in use - Ubuntu 17.04 CurrentSession:linux
/dev/sda1:Windows 7:Windows:chain
/dev/sda7:Windows 7:Windows1:chain
=================== blkid:
/dev/sda1: LABEL="System Reserved" UUID="A818310A1830D8D0" TYPE="ntfs" PARTUUID="d9fa2484-01"
/dev/sda5: UUID="78186ae0-f4e9-490c-8b4c-533d47cf2140" TYPE="ext4" PARTUUID="d9fa2484-05"
/dev/sda6: UUID="3c7e85d2-e9cb-466c-a7d2-d2ccc26fc65f" TYPE="ext4" PARTUUID="d9fa2484-06"
/dev/sda7: UUID="0E6E33286E33084B" TYPE="ntfs" PARTUUID="d9fa2484-07"
/dev/sda8: UUID="F09C8AC99C8A89B4" TYPE="ntfs" PARTUUID="d9fa2484-08"
/dev/sda9: UUID="60ecf6e5-183e-41cb-88f3-9bcd1a269818" TYPE="swap" PARTUUID="d9fa2484-09"
/dev/sdb1: LABEL="KUBUNTU 17_" UUID="10CA-B361" TYPE="vfat" PARTUUID="0031c38d-01"
1 disks with OS, 3 OS : 1 Linux, 0 MacOS, 2 Windows, 0 unknown type OS.
Partition 2 does not start on physical sector boundary.
Partition 2 does not start on physical sector boundary.
=================== /etc/grub.d/ :
drwxr-xr-x 2 root root 4096 Apr 12 11:13 grub.d
total 80
-rwxr-xr-x 1 root root 9783 Mar 31 05:45 00_header
-rwxr-xr-x 1 root root 6258 Nov 1 2016 05_debian_theme
-rwxr-xr-x 1 root root 12676 Mar 31 05:45 10_linux
-rwxr-xr-x 1 root root 11281 Mar 31 05:45 20_linux_xen
-rwxr-xr-x 1 root root 1992 Jan 28 2016 20_memtest86+
-rwxr-xr-x 1 root root 12059 Mar 31 05:45 30_os-prober
-rwxr-xr-x 1 root root 1418 Mar 31 05:45 30_uefi-firmware
-rwxr-xr-x 1 root root 214 Mar 31 05:45 40_custom
-rwxr-xr-x 1 root root 216 Mar 31 05:45 41_custom
-rw-r--r-- 1 root root 483 Mar 31 05:45 README
=================== /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"
=================== No kernel in /mnt/boot-sav/sdb1/boot:
grub
=================== UEFI/Legacy mode:
This installed-session is not in EFI-mode.
EFI in dmesg.
[ 0.000000] ACPI: UEFI 0x00000000CAFFC000 000236 (v01 LENOVO CB-01 00000001 ACPI 00040000)
SecureBoot disabled.
=================== PARTITIONS & DISKS:
sda5 : sda, not-sepboot, grubenv-ok grub2, signed grub-pc , update-grub, 64, with-boot, is-os, not--efi--part, fstab-without-boot, fstab-without-efi, no-nt, no-winload, no-recov-nor-hid, no-bmgr, notwinboot, apt-get, grub-install, with--usr, fstab-without-usr, not-sep-usr, standard, not-far, .
sda1 : sda, 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, no-winload, no-recov-nor-hid, bootmgr, is-winboot, nopakmgr, nogrubinstall, no---usr, part-has-no-fstab, not-sep-usr, standard, not-far, /mnt/boot-sav/sda1.
sda6 : 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, farbios, /home.
sda7 : sda, 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, is-winboot, nopakmgr, nogrubinstall, no---usr, part-has-no-fstab, not-sep-usr, standard, farbios, /mnt/boot-sav/sda7.
sda8 : sda, not-sepboot, no-grubenv nogrub, no-docgrub, no-update-grub, 32, no-boot, no-os, not--efi--part, part-has-no-fstab, part-has-no-fstab, no-nt, no-winload, no-recov-nor-hid, no-bmgr, notwinboot, nopakmgr, nogrubinstall, no---usr, part-has-no-fstab, not-sep-usr, standard, farbios, /mnt/boot-sav/sda8.
sdb1 : sdb, not-sepboot, no-grubenv nogrub, no-docgrub, no-update-grub, 32, no-kernel, 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/sdb1.
sda : not-GPT, BIOSboot-not-needed, has-no-EFIpart, not-usb, has-os, 2048 sectors * 512 bytes
sdb : not-GPT, BIOSboot-not-needed, has-no-EFIpart, liveusb, no-os, 2048 sectors * 512 bytes
=================== parted -l:
Model: ATA ST500LT012-9WS14 (scsi)
Disk /dev/sda: 500GB
Sector size (logical/physical): 512B/4096B
Partition Table: msdos
Disk Flags:
Number Start End Size Type File system Flags
1 1049kB 106MB 105MB primary ntfs boot
2 107MB 500GB 500GB extended lba
9 107MB 4261MB 4154MB logical linux-swap(v1)
5 4261MB 25.7GB 21.5GB logical ext4
6 25.7GB 236GB 211GB logical ext4
7 236GB 289GB 52.4GB logical ntfs
8 289GB 500GB 211GB logical ntfs
Model: Generic Flash Disk (scsi)
Disk /dev/sdb: 4006MB
Sector size (logical/physical): 512B/512B
Partition Table: msdos
Disk Flags:
Number Start End Size Type File system Flags
1 1049kB 4006MB 4005MB primary fat32 boot, lba
=================== parted -lm:
BYT;
/dev/sda:500GB:scsi:512:4096:msdos:ATA ST500LT012-9WS14:;
1:1049kB:106MB:105MB:ntfs::boot;
2:107MB:500GB:500GB:::lba;
9:107MB:4261MB:4154MB:linux-swap(v1)::;
5:4261MB:25.7GB:21.5GB:ext4::;
6:25.7GB:236GB:211GB:ext4::;
7:236GB:289GB:52.4GB:ntfs::;
8:289GB:500GB:211GB:ntfs::;
BYT;
/dev/sdb:4006MB:scsi:512:512:msdos:Generic Flash Disk:;
1:1049kB:4006MB:4005MB:fat32::boot, lba;
=================== lsblk:
KNAME TYPE FSTYPE SIZE LABEL
sda disk 465,8G
sda1 part ntfs 100M System Reserved
sda2 part 1K
sda5 part ext4 20G
sda6 part ext4 196,2G
sda7 part ntfs 48,8G
sda8 part ntfs 196,8G
sda9 part swap 3,9G
sdb disk 3,7G
sdb1 part vfat 3,7G KUBUNTU 17_
sr0 rom 1024M
KNAME ROTA RO RM STATE MOUNTPOINT
sda 1 0 0 running
sda1 1 0 0 /mnt/boot-sav/sda1
sda2 1 0 0
sda5 1 0 0 /
sda6 1 0 0 /home
sda7 1 0 0 /mnt/boot-sav/sda7
sda8 1 0 0 /mnt/boot-sav/sda8
sda9 1 0 0 [SWAP]
sdb 1 0 1 running
sdb1 1 0 1 /mnt/boot-sav/sdb1
sr0 1 0 1 running
=================== 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=1932208k,nr_inodes=483052,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=391008k,mode=755)
/dev/sda5 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)
cgroup on /sys/fs/cgroup/freezer type cgroup (rw,nosuid,nodev,noexec,relatime,freezer)
cgroup on /sys/fs/cgroup/pids type cgroup (rw,nosuid,nodev,noexec,relatime,pids)
cgroup on /sys/fs/cgroup/cpu,cpuacct type cgroup (rw,nosuid,nodev,noexec,relatime,cpu,cpuacct)
cgroup on /sys/fs/cgroup/net_cls,net_prio type cgroup (rw,nosuid,nodev,noexec,relatime,net_cls,net_prio)
cgroup on /sys/fs/cgroup/perf_event type cgroup (rw,nosuid,nodev,noexec,relatime,perf_event)
cgroup on /sys/fs/cgroup/memory type cgroup (rw,nosuid,nodev,noexec,relatime,memory)
cgroup on /sys/fs/cgroup/hugetlb type cgroup (rw,nosuid,nodev,noexec,relatime,hugetlb)
cgroup on /sys/fs/cgroup/devices type cgroup (rw,nosuid,nodev,noexec,relatime,devices)
cgroup on /sys/fs/cgroup/cpuset type cgroup (rw,nosuid,nodev,noexec,relatime,cpuset)
cgroup on /sys/fs/cgroup/blkio type cgroup (rw,nosuid,nodev,noexec,relatime,blkio)
systemd-1 on /proc/sys/fs/binfmt_misc type autofs (rw,relatime,fd=32,pgrp=1,timeout=0,minproto=5,maxproto=5,direct,pipe_ino=10135)
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/sda6 on /home type ext4 (rw,relatime,data=ordered)
tmpfs on /run/user/1000 type tmpfs (rw,nosuid,nodev,relatime,size=391004k,mode=700,uid=1000,gid=1000)
/dev/sda1 on /mnt/boot-sav/sda1 type fuseblk (rw,relatime,user_id=0,group_id=0,allow_other,blksize=4096)
/dev/sda7 on /mnt/boot-sav/sda7 type fuseblk (rw,relatime,user_id=0,group_id=0,allow_other,blksize=4096)
/dev/sda8 on /mnt/boot-sav/sda8 type fuseblk (rw,relatime,user_id=0,group_id=0,allow_other,blksize=4096)
/dev/sdb1 on /mnt/boot-sav/sdb1 type vfat (rw,relatime,fmask=0022,dmask=0022,codepage=437,iocharset=iso8859-1,shortname=mixed,errors=remount-ro)
=================== ls:
/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 sda2 sda5 sda6 sda7 sda8 sda9 size slaves stat subsystem trace uevent
/sys/block/sdb (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 sdb1 size slaves stat subsystem trace uevent
/sys/block/sr0 (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 size slaves stat subsystem trace uevent
/dev (filtered): autofs block bsg btrfs-control bus cdrom cdrw char console core cpu cpu_dma_latency cuse disk dri drm_dp_aux0 dvd dvdrw ecryptfs fb0 fd full fuse hpet hugepages hwrng i2c-0 i2c-1 i2c-2 i2c-3 i2c-4 i2c-5 i2c-6 initctl input kmsg lightnvm log mapper mcelog media0 mei0 mem memory_bandwidth mqueue net network_latency network_throughput null port ppp psaux ptmx pts random rfkill rtc rtc0 sda sda1 sda2 sda5 sda6 sda7 sda8 sda9 sdb sdb1 sg0 sg1 sg2 shm snapshot snd sr0 stderr stdin stdout uhid uinput urandom userio v4l vfio vga_arbiter vhci vhost-net video0 zero
ls /dev/mapper: control
ls: cannot access '': No such file or directory
=================== hexdump -n512 -C /dev/sda1
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 08 00 00 |........?.......|
00000020 00 00 00 00 80 00 80 00 ff 1f 03 00 00 00 00 00 |................|
00000030 55 21 00 00 00 00 00 00 02 00 00 00 00 00 00 00 |U!..............|
00000040 f6 00 00 00 01 00 00 00 d0 d8 30 18 0a 31 18 a8 |..........0..1..|
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 70 0e 16 68 09 00 66 53 66 53 66 |h...hp..h..fSfSf|
00000100 55 16 16 16 68 b8 01 66 61 0e 07 cd 1a 33 c0 bf |U...h..fa....3..|
00000110 28 10 b9 d8 0f fc f3 aa e9 5f 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 a0 f8 01 e8 09 00 |...u...fa.......|
00000170 a0 fb 01 e8 03 00 f4 eb fd b4 01 8b f0 ac 3c 00 |..............<.|
00000180 74 09 b4 0e bb 07 00 cd 10 eb f2 c3 0d 0a 41 20 |t.............A |
00000190 64 69 73 6b 20 72 65 61 64 20 65 72 72 6f 72 20 |disk read error |
000001a0 6f 63 63 75 72 72 65 64 00 0d 0a 42 4f 4f 54 4d |occurred...BOOTM|
000001b0 47 52 20 69 73 20 6d 69 73 73 69 6e 67 00 0d 0a |GR is missing...|
000001c0 42 4f 4f 54 4d 47 52 20 69 73 20 63 6f 6d 70 72 |BOOTMGR is compr|
000001d0 65 73 73 65 64 00 0d 0a 50 72 65 73 73 20 43 74 |essed...Press Ct|
000001e0 72 6c 2b 41 6c 74 2b 44 65 6c 20 74 6f 20 72 65 |rl+Alt+Del to re|
000001f0 73 74 61 72 74 0d 0a 00 8c a9 be d6 00 00 55 aa |start.........U.|
00000200
=================== hexdump -n512 -C /dev/sda7
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 08 00 00 |........?.......|
00000020 00 00 00 00 80 00 80 00 ff 7f 1a 06 00 00 00 00 |................|
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 4b 08 33 6e 28 33 6e 0e |........K.3n(3n.|
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 70 0e 16 68 09 00 66 53 66 53 66 |h...hp..h..fSfSf|
00000100 55 16 16 16 68 b8 01 66 61 0e 07 cd 1a 33 c0 bf |U...h..fa....3..|
00000110 28 10 b9 d8 0f fc f3 aa e9 5f 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 a0 f8 01 e8 09 00 |...u...fa.......|
00000170 a0 fb 01 e8 03 00 f4 eb fd b4 01 8b f0 ac 3c 00 |..............<.|
00000180 74 09 b4 0e bb 07 00 cd 10 eb f2 c3 0d 0a 41 20 |t.............A |
00000190 64 69 73 6b 20 72 65 61 64 20 65 72 72 6f 72 20 |disk read error |
000001a0 6f 63 63 75 72 72 65 64 00 0d 0a 42 4f 4f 54 4d |occurred...BOOTM|
000001b0 47 52 20 69 73 20 6d 69 73 73 69 6e 67 00 0d 0a |GR is missing...|
000001c0 42 4f 4f 54 4d 47 52 20 69 73 20 63 6f 6d 70 72 |BOOTMGR is compr|
000001d0 65 73 73 65 64 00 0d 0a 50 72 65 73 73 20 43 74 |essed...Press Ct|
000001e0 72 6c 2b 41 6c 74 2b 44 65 6c 20 74 6f 20 72 65 |rl+Alt+Del to re|
000001f0 73 74 61 72 74 0d 0a 00 8c a9 be d6 00 00 55 aa |start.........U.|
00000200
=================== hexdump -n512 -C /dev/sda8
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 08 00 00 |........?.......|
00000020 00 00 00 00 80 00 80 00 ff c7 99 18 00 00 00 00 |................|
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 b4 89 8a 9c c9 8a 9c f0 |................|
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 70 0e 16 68 09 00 66 53 66 53 66 |h...hp..h..fSfSf|
00000100 55 16 16 16 68 b8 01 66 61 0e 07 cd 1a 33 c0 bf |U...h..fa....3..|
00000110 28 10 b9 d8 0f fc f3 aa e9 5f 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 a0 f8 01 e8 09 00 |...u...fa.......|
00000170 a0 fb 01 e8 03 00 f4 eb fd b4 01 8b f0 ac 3c 00 |..............<.|
00000180 74 09 b4 0e bb 07 00 cd 10 eb f2 c3 0d 0a 41 20 |t.............A |
00000190 64 69 73 6b 20 72 65 61 64 20 65 72 72 6f 72 20 |disk read error |
000001a0 6f 63 63 75 72 72 65 64 00 0d 0a 42 4f 4f 54 4d |occurred...BOOTM|
000001b0 47 52 20 69 73 20 6d 69 73 73 69 6e 67 00 0d 0a |GR is missing...|
000001c0 42 4f 4f 54 4d 47 52 20 69 73 20 63 6f 6d 70 72 |BOOTMGR is compr|
000001d0 65 73 73 65 64 00 0d 0a 50 72 65 73 73 20 43 74 |essed...Press Ct|
000001e0 72 6c 2b 41 6c 74 2b 44 65 6c 20 74 6f 20 72 65 |rl+Alt+Del to re|
000001f0 73 74 61 72 74 0d 0a 00 8c a9 be d6 00 00 55 aa |start.........U.|
00000200
ls sdb1/efi: /BOOT/grubx64.efi /BOOT/BOOTx64.EFI
ls sdb1: autorun.ico
autorun.inf
autorun.inf_backup
boot
casper
dists
EFI
install
isolinux
kubuntu-17.04-desktop-amd64.iso
ldlinux.sys
md5sum.txt
pics
pool
preseed
README.diskdefines
syslinux.cfg
ubuntu . Please report this message to boot.repair@gmail.com
ls: cannot access '/boot/efi/efi': No such file or directory
ls /boot/efi/efi :
Error efitmp. Please report this message to boot.repair@gmail.com
=================== hexdump -n512 -C /dev/sdb1
00000000 eb 58 90 53 59 53 4c 49 4e 55 58 00 02 08 72 04 |.X.SYSLINUX...r.|
00000010 02 00 00 00 00 f8 00 00 3f 00 ff 00 00 08 00 00 |........?.......|
00000020 00 58 77 00 c7 1d 00 00 00 00 00 00 02 00 00 00 |.Xw.............|
00000030 01 00 06 00 00 00 00 00 00 00 00 00 00 00 00 00 |................|
00000040 80 01 29 61 b3 ca 10 4e 4f 20 4e 41 4d 45 20 20 |..)a...NO NAME |
00000050 20 20 46 41 54 33 32 20 20 20 fa fc 31 c9 8e d1 | FAT32 ..1...|
00000060 bc 76 7b 52 06 57 1e 56 8e c1 b1 26 bf 78 7b f3 |.v{R.W.V...&.x{.|
00000070 a5 8e d9 bb 78 00 0f b4 37 0f a0 56 20 d2 78 1b |....x...7..V .x.|
00000080 31 c0 b1 06 89 3f 89 47 02 f3 64 a5 8a 0e 18 7c |1....?.G..d....||
00000090 88 4d f8 50 50 50 50 cd 13 eb 62 8b 55 aa 8b 75 |.M.PPPP...b.U..u|
000000a0 a8 c1 ee 04 01 f2 83 fa 4f 76 31 81 fa b2 07 73 |........Ov1....s|
000000b0 2b f6 45 b4 7f 75 25 38 4d b8 74 20 66 3d 21 47 |+.E..u%8M.t f=!G|
000000c0 50 54 75 10 80 7d b8 ed 75 0a 66 ff 75 ec 66 ff |PTu..}..u.f.u.f.|
000000d0 75 e8 eb 0f 51 51 66 ff 75 bc eb 07 51 51 66 ff |u...QQf.u...QQf.|
000000e0 36 1c 7c b4 08 e8 e9 00 72 13 20 e4 75 0f c1 ea |6.|.....r. .u...|
000000f0 08 42 89 16 1a 7c 83 e1 3f 89 0e 18 7c fb bb aa |.B...|..?...|...|
00000100 55 b4 41 e8 cb 00 72 10 81 fb 55 aa 75 0a f6 c1 |U.A...r...U.u...|
00000110 01 74 05 c6 06 46 7d 00 66 b8 08 40 00 00 66 ba |.t...F}.f..@..f.|
00000120 00 00 00 00 bb 00 80 e8 0e 00 66 81 3e 1c 80 8e |..........f.>...|
00000130 c1 80 6a 75 74 e9 f8 02 66 03 06 60 7b 66 13 16 |..jut...f..`{f..|
00000140 64 7b b9 10 00 eb 2b 66 52 66 50 06 53 6a 01 6a |d{....+fRfP.Sj.j|
00000150 10 89 e6 66 60 b4 42 e8 77 00 66 61 8d 64 10 72 |...f`.B.w.fa.d.r|
00000160 01 c3 66 60 31 c0 e8 68 00 66 61 e2 da c6 06 46 |..f`1..h.fa....F|
00000170 7d 2b 66 60 66 0f b7 36 18 7c 66 0f b7 3e 1a 7c |}+f`f..6.|f..>.||
00000180 66 f7 f6 31 c9 87 ca 66 f7 f7 66 3d ff 03 00 00 |f..1...f..f=....|
00000190 77 17 c0 e4 06 41 08 e1 88 c5 88 d6 b8 01 02 e8 |w....A..........|
000001a0 2f 00 66 61 72 01 c3 e2 c9 31 f6 8e d6 bc 68 7b |/.far....1....h{|
000001b0 8e de 66 8f 06 78 00 be da 7d ac 20 c0 74 09 b4 |..f..x...}. .t..|
000001c0 0e bb 07 00 cd 10 eb f2 31 c0 cd 16 cd 19 f4 eb |........1.......|
000001d0 fd 8a 16 74 7b 06 cd 13 07 c3 42 6f 6f 74 20 65 |...t{.....Boot e|
000001e0 72 72 6f 72 0d 0a 00 00 00 00 00 00 00 00 00 00 |rror............|
000001f0 00 00 00 00 00 00 00 00 fe 02 b2 3e 18 37 55 aa |...........>.7U.|
00000200
Partition 2 does not start on physical sector boundary.
=================== df -Th:
Filesystem Type Size Used Avail Use% Mounted on
udev devtmpfs 1.9G 0 1.9G 0% /dev
tmpfs tmpfs 382M 6.2M 376M 2% /run
/dev/sda5 ext4 20G 5.0G 14G 27% /
tmpfs tmpfs 1.9G 24M 1.9G 2% /dev/shm
tmpfs tmpfs 5.0M 4.0K 5.0M 1% /run/lock
tmpfs tmpfs 1.9G 0 1.9G 0% /sys/fs/cgroup
/dev/sda6 ext4 193G 19G 174G 10% /home
tmpfs tmpfs 382M 12K 382M 1% /run/user/1000
/dev/sda1 fuseblk 100M 25M 76M 25% /mnt/boot-sav/sda1
/dev/sda7 fuseblk 49G 22G 28G 45% /mnt/boot-sav/sda7
/dev/sda8 fuseblk 197G 3.7G 194G 2% /mnt/boot-sav/sda8
/dev/sdb1 vfat 3.8G 3.3G 508M 87% /mnt/boot-sav/sdb1
=================== fdisk -l:
Disk /dev/sda: 465.8 GiB, 500107862016 bytes, 976773168 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
Disklabel type: dos
Disk identifier: 0xd9fa2484
Device Boot Start End Sectors Size Id Type
/dev/sda1 * 2048 206847 204800 100M 7 HPFS/NTFS/exFAT
/dev/sda2 208894 976773119 976564226 465.7G f W95 Ext'd (LBA)
/dev/sda5 8323072 50268159 41945088 20G 83 Linux
/dev/sda6 50270208 461637631 411367424 196.2G 83 Linux
/dev/sda7 461639680 564039679 102400000 48.8G 7 HPFS/NTFS/exFAT
/dev/sda8 564041728 976773119 412731392 196.8G 7 HPFS/NTFS/exFAT
/dev/sda9 208896 8323071 8114176 3.9G 82 Linux swap / Solaris
Partition table entries are not in disk order.
Disk /dev/sdb: 3.7 GiB, 4005560320 bytes, 7823360 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: 0x0031c38d
Device Boot Start End Sectors Size Id Type
/dev/sdb1 * 2048 7823359 7821312 3.7G c W95 FAT32 (LBA)
=================== Recommended repair
The default repair of the Boot-Repair utility will purge (in order to) and reinstall the grub2 of sda5 into the MBRs of all disks (except USB without OS).
Grub-efi will not be selected by default because: no-win-efi
Additional repair will be performed: unhide-bootmenu-10s
apt-get -y --force-yes update
Purge the GRUB of sda5
grub-pc available
The following additional packages will be installed:
grub-common grub-pc-bin grub2-common
Suggested packages:
multiboot-doc grub-emu xorriso desktop-base
The following packages will be upgraded:
grub-common grub-pc grub-pc-bin grub2-common
4 upgraded, 0 newly installed, 0 to remove and 243 not upgraded.
W: --force-yes is deprecated, use one of the options starting with --allow instead.
DEBCHECK debOK, grub-pc
DEBCHECK debOK
shim-signed available
linux-signed-generic available
Please type: sudo dpkg --configure -ansudo apt-get install -fynsudo apt-get purge -y --force-yes grub*-common grub-common:i386 shim-signed linux-signed*
=================== /etc/grub.d/ :
drwxr-xr-x 2 root root 4096 Agu 24 07:03 grub.d
total 4
-rwxr-xr-x 1 root root 1992 Jan 28 2016 20_memtest86+
ls: cannot access '/usr/share/boot-sav': No such file or directory
=================== No kernel in /mnt/boot-sav/sdb1/boot:
grub
Then type: sudo apt-get install -y --force-yes grub-pc os-prober linux-generic
=================== /etc/grub.d/ :
drwxr-xr-x 2 root root 4096 Agu 24 07:08 grub.d
drwxr-xr-x 2 root root 4096 Agu 24 07:03 grub.d.bak
total 76
-rwxr-xr-x 1 root root 9783 Jun 15 02:44 00_header
-rwxr-xr-x 1 root root 6258 Nov 1 2016 05_debian_theme
-rwxr-xr-x 1 root root 12676 Jun 15 02:44 10_linux
-rwxr-xr-x 1 root root 11281 Jun 15 02:44 20_linux_xen
-rwxr-xr-x 1 root root 12059 Jun 15 02:44 30_os-prober
-rwxr-xr-x 1 root root 1418 Jun 15 02:44 30_uefi-firmware
-rwxr-xr-x 1 root root 214 Jun 15 02:44 40_custom
-rwxr-xr-x 1 root root 216 Jun 15 02:44 41_custom
-rw-r--r-- 1 root root 483 Jun 15 02:44 README
ls: cannot access '/usr/share/boot-sav': No such file or directory
=================== /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"
=================== No kernel in /mnt/boot-sav/sdb1/boot:
grub
Unhide GRUB boot menu in sda5/etc/default/grub
=================== /etc/grub.d/ :
drwxr-xr-x 2 root root 4096 Agu 24 07:08 grub.d
drwxr-xr-x 2 root root 4096 Agu 24 07:03 grub.d.bak
total 76
-rwxr-xr-x 1 root root 9783 Jun 15 02:44 00_header
-rwxr-xr-x 1 root root 6258 Nov 1 2016 05_debian_theme
-rwxr-xr-x 1 root root 12676 Jun 15 02:44 10_linux
-rwxr-xr-x 1 root root 11281 Jun 15 02:44 20_linux_xen
-rwxr-xr-x 1 root root 12059 Jun 15 02:44 30_os-prober
-rwxr-xr-x 1 root root 1418 Jun 15 02:44 30_uefi-firmware
-rwxr-xr-x 1 root root 214 Jun 15 02:44 40_custom
-rwxr-xr-x 1 root root 216 Jun 15 02:44 41_custom
-rw-r--r-- 1 root root 483 Jun 15 02:44 README
ls: cannot access '/usr/share/boot-sav': No such file or directory
=================== /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"
=================== No kernel in /mnt/boot-sav/sdb1/boot:
grub
Reinstall the GRUB of sda5 into all MBRs of disks with OS or not-USB
*******lspci -nnk | grep -iA3 vga
00:02.0 VGA compatible controller [0300]: Intel Corporation 3rd Gen Core processor Graphics Controller [8086:0166] (rev 09)
Subsystem: Lenovo 3rd Gen Core processor Graphics Controller [17aa:3977]
Kernel driver in use: i915
Kernel modules: i915
*******
grub-install --version
grub-install (GRUB) 2.02~beta3-4ubuntu2.2,grub-install (GRUB) 2.
Reinstall the GRUB of sda5 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
update-grub
Generating grub configuration file ...
Found linux image: /boot/vmlinuz-4.10.0-32-generic
Found initrd image: /boot/initrd.img-4.10.0-32-generic
Found linux image: /boot/vmlinuz-4.10.0-19-generic
Found initrd image: /boot/initrd.img-4.10.0-19-generic
Found Windows 7 on /dev/sda1
Found Windows 7 on /dev/sda7
Unhide GRUB boot menu in sda5/boot/grub/grub.cfg
Boot successfully repaired.
You can now reboot your computer.
Please do not forget to make your BIOS boot on sda (500GB) disk!
Comments