Advertisement
Guest User

Untitled

a guest
Jul 30th, 2017
714
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 53.87 KB | None | 0 0
  1.  
  2. Conversation opened. 1 unread message.
  3.  
  4. Skip to content
  5. Using Gmail with screen readers
  6. Click here to enable desktop notifications for Gmail. Learn more Hide
  7.  
  8.  
  9. More
  10. 3 of 5,239
  11.  
  12. boot info after grub2 reinstall
  13. Inbox
  14. x
  15. של חכ‎ <shlomi.hakmon@gmail.com>
  16.  
  17. Attachments7:23 PM (21 hours ago)
  18.  
  19. to me
  20. when trying to fix ubuntu and win10 dual boot
  21. at 30.7.2017
  22. Attachments area
  23.  
  24. Click here to Reply or Forward
  25. 5.28 GB (35%) of 15 GB used
  26. Manage
  27. Terms - Privacy
  28. Last account activity: 3 hours ago
  29. Details
  30.  
  31.  
  32.  
  33. Boot Info Script cfd9efe + Boot-Repair extra info [Boot-Info 26Apr2016]
  34.  
  35.  
  36. ============================= Boot Info Summary: ===============================
  37.  
  38. => Grub2 (v2.00) is installed in the MBR of /dev/sda and looks at sector 1 of
  39. the same hard drive for core.img. core.img is at this location and looks
  40. for (,msdos4)/boot/grub. It also embeds following components:
  41.  
  42. modules
  43. ---------------------------------------------------------------------------
  44. fshelp ext2 part_msdos biosdisk
  45. ---------------------------------------------------------------------------
  46. => No boot loader is installed in the MBR of /dev/sdb.
  47.  
  48. sda1: __________________________________________________________________________
  49.  
  50. File system: Extended Partition
  51. Boot sector type: -
  52. Boot sector info:
  53.  
  54. sda5: __________________________________________________________________________
  55.  
  56. File system: vfat
  57. Boot sector type: FAT32
  58. Boot sector info: No errors found in the Boot Parameter Block.
  59. Operating System:
  60. Boot files: /EFI/ubuntu/MokManager.efi /EFI/ubuntu/fwupx64.efi
  61. /EFI/ubuntu/grubx64.efi /EFI/ubuntu/shimx64.efi
  62.  
  63. sda6: __________________________________________________________________________
  64.  
  65. File system: swap
  66. Boot sector type: -
  67. Boot sector info:
  68.  
  69. sda2: __________________________________________________________________________
  70.  
  71. File system: ntfs
  72. Boot sector type: Windows 8/2012: NTFS
  73. Boot sector info: No errors found in the Boot Parameter Block.
  74. Operating System:
  75. Boot files: /bootmgr /BOOT/BCD
  76.  
  77. sda3: __________________________________________________________________________
  78.  
  79. File system: ntfs
  80. Boot sector type: Windows 7/2008: NTFS
  81. Boot sector info: No errors found in the Boot Parameter Block.
  82. Operating System:
  83. Boot files: /bootmgr /BOOT/BCD /Windows/System32/winload.exe
  84.  
  85. sda4: __________________________________________________________________________
  86.  
  87. File system: ext4
  88. Boot sector type: Grub2 (v1.99-2.00)
  89. Boot sector info: Grub2 (v2.00) is installed in the boot sector of sda4
  90. and looks at sector 844562928 of the same hard drive
  91. for core.img. core.img is at this location and looks
  92. for (,msdos4)/boot/grub. It also embeds following
  93. components:
  94.  
  95. modules
  96. -------------------------------------------------------
  97. fshelp ext2 part_msdos biosdisk
  98. -------------------------------------------------------
  99. Operating System: Ubuntu 16.04.2 LTS
  100. Boot files: /boot/grub/grub.cfg /etc/fstab
  101. /boot/grub/i386-pc/core.img
  102.  
  103. sdb1: __________________________________________________________________________
  104.  
  105. File system: vfat
  106. Boot sector type: MSWIN4.1: FAT32
  107. Boot sector info: No errors found in the Boot Parameter Block.
  108. Operating System:
  109. Boot files: /boot/grub/grub.cfg /syslinux.cfg /casper/vmlinuz.efi
  110. /EFI/BOOT/grubx64.efi
  111.  
  112. ============================ Drive/Partition Info: =============================
  113.  
  114. Drive: sda _____________________________________________________________________
  115. Disk /dev/sda: 465.8 GiB, 500107862016 bytes, 976773168 sectors
  116. Units: sectors of 1 * 512 = 512 bytes
  117. Sector size (logical/physical): 512 bytes / 512 bytes
  118. I/O size (minimum/optimal): 512 bytes / 512 bytes
  119. Disklabel type: dos
  120.  
  121. Partition Boot Start Sector End Sector # of Sectors Id System
  122.  
  123. /dev/sda1 2,046 41,945,087 41,943,042 5 Extended
  124. /dev/sda5 * 2,048 391,167 389,120 ef EFI (FAT-12/16/32)
  125. /dev/sda6 393,216 41,945,087 41,551,872 82 Linux swap / Solaris
  126. /dev/sda2 41,945,088 42,149,887 204,800 7 NTFS / exFAT / HPFS
  127. /dev/sda3 42,149,888 731,009,023 688,859,136 7 NTFS / exFAT / HPFS
  128. /dev/sda4 731,009,024 976,771,071 245,762,048 83 Linux
  129.  
  130.  
  131. Drive: sdb _____________________________________________________________________
  132. Disk /dev/sdb: 931.5 GiB, 1000170586112 bytes, 1953458176 sectors
  133. Units: sectors of 1 * 512 = 512 bytes
  134. Sector size (logical/physical): 512 bytes / 512 bytes
  135. I/O size (minimum/optimal): 512 bytes / 512 bytes
  136. Disklabel type: gpt
  137.  
  138. Partition Boot Start Sector End Sector # of Sectors Id System
  139.  
  140. /dev/sdb1 1 4,294,967,295 4,294,967,295 ee GPT
  141.  
  142. /dev/sdb1 ends after the last sector of /dev/sdb
  143.  
  144. GUID Partition Table detected.
  145.  
  146. Partition Attrs Start Sector End Sector # of Sectors System
  147. /dev/sdb1 2,048 1,953,458,142 1,953,456,095 Data partition (Windows/Linux)
  148.  
  149. Attributes: R=Required, N=No Block IO, B=Legacy BIOS Bootable, +=More bits set
  150.  
  151. "blkid" output: ________________________________________________________________
  152.  
  153. Device UUID TYPE LABEL
  154.  
  155. /dev/loop0 squashfs
  156. /dev/sda2 D03E52133E51F2C8 ntfs SYSTEM
  157. /dev/sda3 D4DC99CFDC99ABEC ntfs
  158. /dev/sda4 ce27464e-67c2-4239-8fa8-de08b3103238 ext4
  159. /dev/sda5 5FFB-0178 vfat
  160. /dev/sda6 63043349-7f61-4d23-b0b3-35040ffad1b3 swap
  161. /dev/sdb1 1103-3A1E vfat UBUNTU 16_0
  162.  
  163. ========================= "ls -l /dev/disk/by-id" output: ======================
  164.  
  165. total 0
  166. lrwxrwxrwx 1 root root 9 Jul 29 23:18 ata-Hitachi_HTS545050B9A300_100622PBN40317HE9R2E -> ../../sda
  167. lrwxrwxrwx 1 root root 10 Jul 29 23:18 ata-Hitachi_HTS545050B9A300_100622PBN40317HE9R2E-part1 -> ../../sda1
  168. lrwxrwxrwx 1 root root 10 Jul 29 23:18 ata-Hitachi_HTS545050B9A300_100622PBN40317HE9R2E-part2 -> ../../sda2
  169. lrwxrwxrwx 1 root root 10 Jul 29 23:18 ata-Hitachi_HTS545050B9A300_100622PBN40317HE9R2E-part3 -> ../../sda3
  170. lrwxrwxrwx 1 root root 10 Jul 29 23:18 ata-Hitachi_HTS545050B9A300_100622PBN40317HE9R2E-part4 -> ../../sda4
  171. lrwxrwxrwx 1 root root 10 Jul 29 23:18 ata-Hitachi_HTS545050B9A300_100622PBN40317HE9R2E-part5 -> ../../sda5
  172. lrwxrwxrwx 1 root root 10 Jul 29 23:18 ata-Hitachi_HTS545050B9A300_100622PBN40317HE9R2E-part6 -> ../../sda6
  173. lrwxrwxrwx 1 root root 9 Jul 29 22:51 ata-TSSTcorp_CDDVDW_TS-L633C_g1E3456789KL4N4P -> ../../sr0
  174. lrwxrwxrwx 1 root root 9 Jul 29 22:57 usb-WD_My_Passport_259F_575839314131365232434C58-0:0 -> ../../sdb
  175. lrwxrwxrwx 1 root root 10 Jul 29 22:57 usb-WD_My_Passport_259F_575839314131365232434C58-0:0-part1 -> ../../sdb1
  176. lrwxrwxrwx 1 root root 9 Jul 29 23:18 wwn-0x5000cca5f0d424c9 -> ../../sda
  177. lrwxrwxrwx 1 root root 10 Jul 29 23:18 wwn-0x5000cca5f0d424c9-part1 -> ../../sda1
  178. lrwxrwxrwx 1 root root 10 Jul 29 23:18 wwn-0x5000cca5f0d424c9-part2 -> ../../sda2
  179. lrwxrwxrwx 1 root root 10 Jul 29 23:18 wwn-0x5000cca5f0d424c9-part3 -> ../../sda3
  180. lrwxrwxrwx 1 root root 10 Jul 29 23:18 wwn-0x5000cca5f0d424c9-part4 -> ../../sda4
  181. lrwxrwxrwx 1 root root 10 Jul 29 23:18 wwn-0x5000cca5f0d424c9-part5 -> ../../sda5
  182. lrwxrwxrwx 1 root root 10 Jul 29 23:18 wwn-0x5000cca5f0d424c9-part6 -> ../../sda6
  183.  
  184. ================================ Mount points: =================================
  185.  
  186. Device Mount_Point Type Options
  187.  
  188. /dev/loop0 /rofs squashfs (ro,noatime)
  189. /dev/sdb1 /cdrom vfat (ro,noatime,fmask=0022,dmask=0022,codepage=437,iocharset=iso8859-1,shortname=mixed,errors=remount-ro)
  190.  
  191.  
  192. =========================== sda4/boot/grub/grub.cfg: ===========================
  193.  
  194. --------------------------------------------------------------------------------
  195. #
  196. # DO NOT EDIT THIS FILE
  197. #
  198. # It is automatically generated by grub-mkconfig using templates
  199. # from /etc/grub.d and settings from /etc/default/grub
  200. #
  201.  
  202. ### BEGIN /etc/grub.d/00_header ###
  203. if [ -s $prefix/grubenv ]; then
  204. set have_grubenv=true
  205. load_env
  206. fi
  207. if [ "${next_entry}" ] ; then
  208. set default="${next_entry}"
  209. set next_entry=
  210. save_env next_entry
  211. set boot_once=true
  212. else
  213. set default="0"
  214. fi
  215.  
  216. if [ x"${feature_menuentry_id}" = xy ]; then
  217. menuentry_id_option="--id"
  218. else
  219. menuentry_id_option=""
  220. fi
  221.  
  222. export menuentry_id_option
  223.  
  224. if [ "${prev_saved_entry}" ]; then
  225. set saved_entry="${prev_saved_entry}"
  226. save_env saved_entry
  227. set prev_saved_entry=
  228. save_env prev_saved_entry
  229. set boot_once=true
  230. fi
  231.  
  232. function savedefault {
  233. if [ -z "${boot_once}" ]; then
  234. saved_entry="${chosen}"
  235. save_env saved_entry
  236. fi
  237. }
  238. function recordfail {
  239. set recordfail=1
  240. if [ -n "${have_grubenv}" ]; then if [ -z "${boot_once}" ]; then save_env recordfail; fi; fi
  241. }
  242. function load_video {
  243. if [ x$feature_all_video_module = xy ]; then
  244. insmod all_video
  245. else
  246. insmod efi_gop
  247. insmod efi_uga
  248. insmod ieee1275_fb
  249. insmod vbe
  250. insmod vga
  251. insmod video_bochs
  252. insmod video_cirrus
  253. fi
  254. }
  255.  
  256. if [ x$feature_default_font_path = xy ] ; then
  257. font=unicode
  258. else
  259. insmod part_msdos
  260. insmod ext2
  261. set root='hd0,msdos4'
  262. if [ x$feature_platform_search_hint = xy ]; then
  263. search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos4 --hint-efi=hd0,msdos4 --hint-baremetal=ahci0,msdos4 ce27464e-67c2-4239-8fa8-de08b3103238
  264. else
  265. search --no-floppy --fs-uuid --set=root ce27464e-67c2-4239-8fa8-de08b3103238
  266. fi
  267. font="/usr/share/grub/unicode.pf2"
  268. fi
  269.  
  270. if loadfont $font ; then
  271. set gfxmode=auto
  272. load_video
  273. insmod gfxterm
  274. set locale_dir=$prefix/locale
  275. set lang=en_US
  276. insmod gettext
  277. fi
  278. terminal_output gfxterm
  279. if [ "${recordfail}" = 1 ] ; then
  280. set timeout=10
  281. else
  282. if [ x$feature_timeout_style = xy ] ; then
  283. set timeout_style=menu
  284. set timeout=10
  285. # Fallback normal timeout code in case the timeout_style feature is
  286. # unavailable.
  287. else
  288. set timeout=10
  289. fi
  290. fi
  291. ### END /etc/grub.d/00_header ###
  292.  
  293. ### BEGIN /etc/grub.d/05_debian_theme ###
  294. set menu_color_normal=white/black
  295. set menu_color_highlight=black/light-gray
  296. if background_color 44,0,30,0; then
  297. clear
  298. fi
  299. ### END /etc/grub.d/05_debian_theme ###
  300.  
  301. ### BEGIN /etc/grub.d/10_linux ###
  302. function gfxmode {
  303. set gfxpayload="${1}"
  304. if [ "${1}" = "keep" ]; then
  305. set vt_handoff=vt.handoff=7
  306. else
  307. set vt_handoff=
  308. fi
  309. }
  310. if [ "${recordfail}" != 1 ]; then
  311. if [ -e ${prefix}/gfxblacklist.txt ]; then
  312. if hwmatch ${prefix}/gfxblacklist.txt 3; then
  313. if [ ${match} = 0 ]; then
  314. set linux_gfx_mode=keep
  315. else
  316. set linux_gfx_mode=text
  317. fi
  318. else
  319. set linux_gfx_mode=text
  320. fi
  321. else
  322. set linux_gfx_mode=keep
  323. fi
  324. else
  325. set linux_gfx_mode=text
  326. fi
  327. export linux_gfx_mode
  328. menuentry 'Ubuntu' --class ubuntu --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-simple-ce27464e-67c2-4239-8fa8-de08b3103238' {
  329. recordfail
  330. load_video
  331. gfxmode $linux_gfx_mode
  332. insmod gzio
  333. if [ x$grub_platform = xxen ]; then insmod xzio; insmod lzopio; fi
  334. insmod part_msdos
  335. insmod ext2
  336. set root='hd0,msdos4'
  337. if [ x$feature_platform_search_hint = xy ]; then
  338. search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos4 --hint-efi=hd0,msdos4 --hint-baremetal=ahci0,msdos4 ce27464e-67c2-4239-8fa8-de08b3103238
  339. else
  340. search --no-floppy --fs-uuid --set=root ce27464e-67c2-4239-8fa8-de08b3103238
  341. fi
  342. linux /boot/vmlinuz-4.8.0-36-generic root=UUID=ce27464e-67c2-4239-8fa8-de08b3103238 ro quiet splash $vt_handoff
  343. initrd /boot/initrd.img-4.8.0-36-generic
  344. }
  345. submenu 'Advanced options for Ubuntu' $menuentry_id_option 'gnulinux-advanced-ce27464e-67c2-4239-8fa8-de08b3103238' {
  346. menuentry 'Ubuntu, with Linux 4.8.0-36-generic' --class ubuntu --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-4.8.0-36-generic-advanced-ce27464e-67c2-4239-8fa8-de08b3103238' {
  347. recordfail
  348. load_video
  349. gfxmode $linux_gfx_mode
  350. insmod gzio
  351. if [ x$grub_platform = xxen ]; then insmod xzio; insmod lzopio; fi
  352. insmod part_msdos
  353. insmod ext2
  354. set root='hd0,msdos4'
  355. if [ x$feature_platform_search_hint = xy ]; then
  356. search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos4 --hint-efi=hd0,msdos4 --hint-baremetal=ahci0,msdos4 ce27464e-67c2-4239-8fa8-de08b3103238
  357. else
  358. search --no-floppy --fs-uuid --set=root ce27464e-67c2-4239-8fa8-de08b3103238
  359. fi
  360. echo 'Loading Linux 4.8.0-36-generic ...'
  361. linux /boot/vmlinuz-4.8.0-36-generic root=UUID=ce27464e-67c2-4239-8fa8-de08b3103238 ro quiet splash $vt_handoff
  362. echo 'Loading initial ramdisk ...'
  363. initrd /boot/initrd.img-4.8.0-36-generic
  364. }
  365. menuentry 'Ubuntu, with Linux 4.8.0-36-generic (upstart)' --class ubuntu --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-4.8.0-36-generic-init-upstart-ce27464e-67c2-4239-8fa8-de08b3103238' {
  366. recordfail
  367. load_video
  368. gfxmode $linux_gfx_mode
  369. insmod gzio
  370. if [ x$grub_platform = xxen ]; then insmod xzio; insmod lzopio; fi
  371. insmod part_msdos
  372. insmod ext2
  373. set root='hd0,msdos4'
  374. if [ x$feature_platform_search_hint = xy ]; then
  375. search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos4 --hint-efi=hd0,msdos4 --hint-baremetal=ahci0,msdos4 ce27464e-67c2-4239-8fa8-de08b3103238
  376. else
  377. search --no-floppy --fs-uuid --set=root ce27464e-67c2-4239-8fa8-de08b3103238
  378. fi
  379. echo 'Loading Linux 4.8.0-36-generic ...'
  380. linux /boot/vmlinuz-4.8.0-36-generic root=UUID=ce27464e-67c2-4239-8fa8-de08b3103238 ro quiet splash $vt_handoff init=/sbin/upstart
  381. echo 'Loading initial ramdisk ...'
  382. initrd /boot/initrd.img-4.8.0-36-generic
  383. }
  384. menuentry 'Ubuntu, with Linux 4.8.0-36-generic (recovery mode)' --class ubuntu --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-4.8.0-36-generic-recovery-ce27464e-67c2-4239-8fa8-de08b3103238' {
  385. recordfail
  386. load_video
  387. insmod gzio
  388. if [ x$grub_platform = xxen ]; then insmod xzio; insmod lzopio; fi
  389. insmod part_msdos
  390. insmod ext2
  391. set root='hd0,msdos4'
  392. if [ x$feature_platform_search_hint = xy ]; then
  393. search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos4 --hint-efi=hd0,msdos4 --hint-baremetal=ahci0,msdos4 ce27464e-67c2-4239-8fa8-de08b3103238
  394. else
  395. search --no-floppy --fs-uuid --set=root ce27464e-67c2-4239-8fa8-de08b3103238
  396. fi
  397. echo 'Loading Linux 4.8.0-36-generic ...'
  398. linux /boot/vmlinuz-4.8.0-36-generic root=UUID=ce27464e-67c2-4239-8fa8-de08b3103238 ro recovery nomodeset
  399. echo 'Loading initial ramdisk ...'
  400. initrd /boot/initrd.img-4.8.0-36-generic
  401. }
  402. menuentry 'Ubuntu, with Linux 4.4.0-87-generic' --class ubuntu --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-4.4.0-87-generic-advanced-ce27464e-67c2-4239-8fa8-de08b3103238' {
  403. recordfail
  404. load_video
  405. gfxmode $linux_gfx_mode
  406. insmod gzio
  407. if [ x$grub_platform = xxen ]; then insmod xzio; insmod lzopio; fi
  408. insmod part_msdos
  409. insmod ext2
  410. set root='hd0,msdos4'
  411. if [ x$feature_platform_search_hint = xy ]; then
  412. search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos4 --hint-efi=hd0,msdos4 --hint-baremetal=ahci0,msdos4 ce27464e-67c2-4239-8fa8-de08b3103238
  413. else
  414. search --no-floppy --fs-uuid --set=root ce27464e-67c2-4239-8fa8-de08b3103238
  415. fi
  416. echo 'Loading Linux 4.4.0-87-generic ...'
  417. linux /boot/vmlinuz-4.4.0-87-generic root=UUID=ce27464e-67c2-4239-8fa8-de08b3103238 ro quiet splash $vt_handoff
  418. echo 'Loading initial ramdisk ...'
  419. initrd /boot/initrd.img-4.4.0-87-generic
  420. }
  421. menuentry 'Ubuntu, with Linux 4.4.0-87-generic (upstart)' --class ubuntu --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-4.4.0-87-generic-init-upstart-ce27464e-67c2-4239-8fa8-de08b3103238' {
  422. recordfail
  423. load_video
  424. gfxmode $linux_gfx_mode
  425. insmod gzio
  426. if [ x$grub_platform = xxen ]; then insmod xzio; insmod lzopio; fi
  427. insmod part_msdos
  428. insmod ext2
  429. set root='hd0,msdos4'
  430. if [ x$feature_platform_search_hint = xy ]; then
  431. search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos4 --hint-efi=hd0,msdos4 --hint-baremetal=ahci0,msdos4 ce27464e-67c2-4239-8fa8-de08b3103238
  432. else
  433. search --no-floppy --fs-uuid --set=root ce27464e-67c2-4239-8fa8-de08b3103238
  434. fi
  435. echo 'Loading Linux 4.4.0-87-generic ...'
  436. linux /boot/vmlinuz-4.4.0-87-generic root=UUID=ce27464e-67c2-4239-8fa8-de08b3103238 ro quiet splash $vt_handoff init=/sbin/upstart
  437. echo 'Loading initial ramdisk ...'
  438. initrd /boot/initrd.img-4.4.0-87-generic
  439. }
  440. menuentry 'Ubuntu, with Linux 4.4.0-87-generic (recovery mode)' --class ubuntu --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-4.4.0-87-generic-recovery-ce27464e-67c2-4239-8fa8-de08b3103238' {
  441. recordfail
  442. load_video
  443. insmod gzio
  444. if [ x$grub_platform = xxen ]; then insmod xzio; insmod lzopio; fi
  445. insmod part_msdos
  446. insmod ext2
  447. set root='hd0,msdos4'
  448. if [ x$feature_platform_search_hint = xy ]; then
  449. search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos4 --hint-efi=hd0,msdos4 --hint-baremetal=ahci0,msdos4 ce27464e-67c2-4239-8fa8-de08b3103238
  450. else
  451. search --no-floppy --fs-uuid --set=root ce27464e-67c2-4239-8fa8-de08b3103238
  452. fi
  453. echo 'Loading Linux 4.4.0-87-generic ...'
  454. linux /boot/vmlinuz-4.4.0-87-generic root=UUID=ce27464e-67c2-4239-8fa8-de08b3103238 ro recovery nomodeset
  455. echo 'Loading initial ramdisk ...'
  456. initrd /boot/initrd.img-4.4.0-87-generic
  457. }
  458. }
  459.  
  460. ### END /etc/grub.d/10_linux ###
  461.  
  462. ### BEGIN /etc/grub.d/20_linux_xen ###
  463.  
  464. ### END /etc/grub.d/20_linux_xen ###
  465.  
  466. ### BEGIN /etc/grub.d/30_os-prober ###
  467. ### END /etc/grub.d/30_os-prober ###
  468.  
  469. ### BEGIN /etc/grub.d/30_uefi-firmware ###
  470. ### END /etc/grub.d/30_uefi-firmware ###
  471.  
  472. ### BEGIN /etc/grub.d/40_custom ###
  473. # This file provides an easy way to add custom menu entries. Simply type the
  474. # menu entries you want to add after this comment. Be careful not to change
  475. # the 'exec tail' line above.
  476. ### END /etc/grub.d/40_custom ###
  477.  
  478. ### BEGIN /etc/grub.d/41_custom ###
  479. if [ -f ${config_directory}/custom.cfg ]; then
  480. source ${config_directory}/custom.cfg
  481. elif [ -z "${config_directory}" -a -f $prefix/custom.cfg ]; then
  482. source $prefix/custom.cfg;
  483. fi
  484. ### END /etc/grub.d/41_custom ###
  485. --------------------------------------------------------------------------------
  486.  
  487. =============================== sda4/etc/fstab: ================================
  488.  
  489. --------------------------------------------------------------------------------
  490. # /etc/fstab: static file system information.
  491. #
  492. # Use 'blkid' to print the universally unique identifier for a
  493. # device; this may be used with UUID= as a more robust way to name devices
  494. # that works even if disks are added and removed. See fstab(5).
  495. #
  496. # <file system> <mount point> <type> <options> <dump> <pass>
  497. # / was on /dev/sda4 during installation
  498. UUID=ce27464e-67c2-4239-8fa8-de08b3103238 / ext4 errors=remount-ro 0 1
  499. # /boot/efi was on /dev/sda5 during installation
  500. #UUID=5FFB-0178 /boot/efi vfat umask=0077 0 1
  501. # swap was on /dev/sda6 during installation
  502. UUID=63043349-7f61-4d23-b0b3-35040ffad1b3 none swap sw 0 0
  503. --------------------------------------------------------------------------------
  504.  
  505. =================== sda4: Location of files loaded by Grub: ====================
  506.  
  507. GiB - GB File Fragment(s)
  508.  
  509. 402.703086853 = 432.399147008 boot/grub/grub.cfg 1
  510. 402.720474243 = 432.417816576 boot/grub/i386-pc/core.img 1
  511. 350.328872681 = 376.162762752 boot/vmlinuz-4.4.0-87-generic 1
  512. 349.731403351 = 375.521234944 boot/vmlinuz-4.8.0-36-generic 2
  513. 350.328872681 = 376.162762752 vmlinuz 1
  514. 349.731403351 = 375.521234944 vmlinuz.old 2
  515. 350.501949310 = 376.348602368 boot/initrd.img-4.4.0-87-generic 2
  516. 349.953346252 = 375.759544320 boot/initrd.img-4.8.0-36-generic 3
  517. 350.501949310 = 376.348602368 initrd.img 2
  518. 349.953346252 = 375.759544320 initrd.img.old 3
  519.  
  520. =========================== sdb1/boot/grub/grub.cfg: ===========================
  521.  
  522. --------------------------------------------------------------------------------
  523.  
  524. if loadfont /boot/grub/font.pf2 ; then
  525. set gfxmode=auto
  526. insmod efi_gop
  527. insmod efi_uga
  528. insmod gfxterm
  529. terminal_output gfxterm
  530. fi
  531.  
  532. set menu_color_normal=white/black
  533. set menu_color_highlight=black/light-gray
  534.  
  535. menuentry "Try Ubuntu without installing" {
  536. set gfxpayload=keep
  537. linux /casper/vmlinuz.efi file=/cdrom/preseed/ubuntu.seed boot=casper quiet splash ---
  538. initrd /casper/initrd.lz
  539. }
  540. menuentry "Install Ubuntu" {
  541. set gfxpayload=keep
  542. linux /casper/vmlinuz.efi file=/cdrom/preseed/ubuntu.seed boot=casper only-ubiquity quiet splash ---
  543. initrd /casper/initrd.lz
  544. }
  545. menuentry "OEM install (for manufacturers)" {
  546. set gfxpayload=keep
  547. linux /casper/vmlinuz.efi file=/cdrom/preseed/ubuntu.seed boot=casper only-ubiquity quiet splash oem-config/enable=true ---
  548. initrd /casper/initrd.lz
  549. }
  550. menuentry "Check disc for defects" {
  551. set gfxpayload=keep
  552. linux /casper/vmlinuz.efi boot=casper integrity-check quiet splash ---
  553. initrd /casper/initrd.lz
  554. }
  555. --------------------------------------------------------------------------------
  556.  
  557. ============================== sdb1/syslinux.cfg: ==============================
  558.  
  559. --------------------------------------------------------------------------------
  560. DEFAULT loadconfig
  561.  
  562. LABEL loadconfig
  563. CONFIG /isolinux/isolinux.cfg
  564. APPEND /isolinux/
  565. --------------------------------------------------------------------------------
  566.  
  567. =================== sdb1: Location of files loaded by Grub: ====================
  568.  
  569. GiB - GB File Fragment(s)
  570.  
  571. ?? = ?? boot/grub/grub.cfg 1
  572.  
  573. ================= sdb1: Location of files loaded by Syslinux: ==================
  574.  
  575. GiB - GB File Fragment(s)
  576.  
  577. ?? = ?? syslinux.cfg 1
  578.  
  579. =============================== StdErr Messages: ===============================
  580.  
  581. File descriptor 9 (/proc/5619/mounts) leaked on lvs invocation. Parent PID 2761: bash
  582. File descriptor 63 (pipe:[52468]) leaked on lvs invocation. Parent PID 2761: bash
  583.  
  584. ADDITIONAL INFORMATION :
  585. =================== log of boot-repair 2017-07-29__22h57 ===================
  586. boot-repair version : 4ppa40
  587. boot-sav version : 4ppa40
  588. glade2script version : 3.2.3~ppa1
  589. boot-sav-extra version : 4ppa40
  590. boot-repair is executed in live-session (Ubuntu 16.04.2 LTS, xenial, Ubuntu, x86_64)
  591. CPU op-mode(s): 32-bit, 64-bit
  592. BOOT_IMAGE=/casper/vmlinuz.efi file=/cdrom/preseed/ubuntu.seed boot=casper quiet splash ---
  593. ls: cannot access '/home/usr/.config': No such file or directory
  594.  
  595. =================== os-prober:
  596. /dev/sda4:Ubuntu 16.04.2 LTS (16.04):Ubuntu:linux
  597.  
  598. =================== blkid:
  599. /dev/sda2: LABEL="SYSTEM" UUID="D03E52133E51F2C8" TYPE="ntfs" PARTUUID="c689332b-02"
  600. /dev/sda3: UUID="D4DC99CFDC99ABEC" TYPE="ntfs" PARTUUID="c689332b-03"
  601. /dev/sda4: UUID="ce27464e-67c2-4239-8fa8-de08b3103238" TYPE="ext4" PARTUUID="c689332b-04"
  602. /dev/sda5: UUID="5FFB-0178" TYPE="vfat" PARTUUID="c689332b-05"
  603. /dev/sdb1: LABEL="UBUNTU 16_0" UUID="1103-3A1E" TYPE="vfat" PARTLABEL="Microsoft Basic Data" PARTUUID="f0170d02-f097-4eab-9540-0b456ac7c695"
  604. /dev/loop0: TYPE="squashfs"
  605. /dev/sda6: UUID="63043349-7f61-4d23-b0b3-35040ffad1b3" TYPE="swap" PARTUUID="c689332b-06"
  606.  
  607.  
  608. 1 disks with OS, 1 OS : 1 Linux, 0 MacOS, 0 Windows, 0 unknown type OS.
  609.  
  610. Windows not detected by os-prober on sda3.
  611.  
  612. =================== sda4/etc/grub.d/ :
  613. drwxr-xr-x 2 root root 4096 Feb 15 20:36 grub.d
  614. total 76
  615. -rwxr-xr-x 1 root root 9791 Jan 13 2017 00_header
  616. -rwxr-xr-x 1 root root 6258 Mar 15 2016 05_debian_theme
  617. -rwxr-xr-x 1 root root 12261 Jan 13 2017 10_linux
  618. -rwxr-xr-x 1 root root 11082 Jan 13 2017 20_linux_xen
  619. -rwxr-xr-x 1 root root 1992 Jan 28 2016 20_memtest86+
  620. -rwxr-xr-x 1 root root 11692 Jan 13 2017 30_os-prober
  621. -rwxr-xr-x 1 root root 1418 Jan 13 2017 30_uefi-firmware
  622. -rwxr-xr-x 1 root root 214 Jan 13 2017 40_custom
  623. -rwxr-xr-x 1 root root 216 Jan 13 2017 41_custom
  624. -rw-r--r-- 1 root root 483 Jan 13 2017 README
  625.  
  626.  
  627.  
  628.  
  629. =================== sda4/etc/default/grub :
  630.  
  631. # If you change this file, run 'update-grub' afterwards to update
  632. # /boot/grub/grub.cfg.
  633. # For full documentation of the options in this file, see:
  634. # info -f grub -n 'Simple configuration'
  635.  
  636. GRUB_DEFAULT=0
  637. GRUB_HIDDEN_TIMEOUT=0
  638. GRUB_HIDDEN_TIMEOUT_QUIET=true
  639. GRUB_TIMEOUT=10
  640. GRUB_DISTRIBUTOR=`lsb_release -i -s 2> /dev/null || echo Debian`
  641. GRUB_CMDLINE_LINUX_DEFAULT="quiet splash"
  642. GRUB_CMDLINE_LINUX=""
  643.  
  644. # Uncomment to enable BadRAM filtering, modify to suit your needs
  645. # This works with Linux (no patch required) and with any kernel that obtains
  646. # the memory map information from GRUB (GNU Mach, kernel of FreeBSD ...)
  647. #GRUB_BADRAM="0x01234567,0xfefefefe,0x89abcdef,0xefefefef"
  648.  
  649. # Uncomment to disable graphical terminal (grub-pc only)
  650. #GRUB_TERMINAL=console
  651.  
  652. # The resolution used on graphical terminal
  653. # note that you can use only modes which your graphic card supports via VBE
  654. # you can see them in real GRUB with the command `vbeinfo'
  655. #GRUB_GFXMODE=640x480
  656.  
  657. # Uncomment if you don't want GRUB to pass "root=UUID=xxx" parameter to Linux
  658. #GRUB_DISABLE_LINUX_UUID=true
  659.  
  660. # Uncomment to disable generation of recovery mode menu entries
  661. #GRUB_DISABLE_RECOVERY="true"
  662.  
  663. # Uncomment to get a beep at grub start
  664. #GRUB_INIT_TUNE="480 440 1"
  665.  
  666.  
  667.  
  668. /boot/efi detected in the fstab of sda4: UUID=5FFB-0178 (sda5)
  669. ls /sys/firmware/efi/vars : Timeout-8be4df61-93ca-11d2-aa0d-00e098032b8c,SmmS3NvsData-8983fd2d-113c-4e2b-8f47-0abfeb20a41a,PsmAcpi-a41435a6-494a-4799-91fc-edf0406083a6,PchInit-e6c2f70a-b604-4877-85ba-deec89e117eb,new_var,MSRVariable-c020489e-6db2-4ef2-9aa5-ca06fc11d36a,MokListRT-605dab50-e046-4300-abb6-3dd810dd8b23,LangCodes-8be4df61-93ca-11d2-aa0d-00e098032b8c,Lang-8be4df61-93ca-11d2-aa0d-00e098032b8c,ErrOutDev-8be4df61-93ca-11d2-aa0d-00e098032b8c,DXELISTs-6b8483ed-a0a6-476f-b92f-dcae75685bd9,del_var,ConOutDev-8be4df61-93ca-11d2-aa0d-00e098032b8c,ConInDev-8be4df61-93ca-11d2-aa0d-00e098032b8c,AcpiGlobalVariable-c020489e-6db2-4ef2-9aa5-ca06fc11d36a,
  670. Please report this message to boot.repair@gmail.com
  671.  
  672. =================== efibootmgr -v
  673. Timeout: 10 seconds
  674. No BootOrder is set; firmware will attempt recovery
  675.  
  676. =================== UEFI/Legacy mode:
  677. BIOS is EFI-compatible, and is setup in EFI-mode for this live-session.
  678. SecureBoot maybe enabled. (maybe sec-boot, Please report this message to boot.repair@gmail.com)
  679.  
  680.  
  681. =================== PARTITIONS & DISKS:
  682. sda2 : 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, bootmgr, is-winboot, nopakmgr, nogrubinstall, no---usr, part-has-no-fstab, not-sep-usr, standard, not-far, /mnt/boot-sav/sda2.
  683. sda3 : 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/sda3.
  684. sda4 : sda, not-sepboot, grubenv-ok grub2, signed grub-efi , 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, /mnt/boot-sav/sda4.
  685. sda5 : sda, 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/sda5.
  686.  
  687. sda : not-GPT, BIOSboot-not-needed, has-correctEFI, not-usb, has-os, 2046 sectors * 512 bytes
  688.  
  689.  
  690. =================== parted -l:
  691.  
  692. Model: ATA Hitachi HTS54505 (scsi)
  693. Disk /dev/sda: 500GB
  694. Sector size (logical/physical): 512B/512B
  695. Partition Table: msdos
  696. Disk Flags:
  697.  
  698. Number Start End Size Type File system Flags
  699. 1 1048kB 21.5GB 21.5GB extended
  700. 5 1049kB 200MB 199MB logical fat32 boot, esp
  701. 6 201MB 21.5GB 21.3GB logical linux-swap(v1)
  702. 2 21.5GB 21.6GB 105MB primary ntfs
  703. 3 21.6GB 374GB 353GB primary ntfs
  704. 4 374GB 500GB 126GB primary ext4
  705.  
  706.  
  707. Model: WD My Passport 259F (scsi)
  708. Disk /dev/sdb: 1000GB
  709. Sector size (logical/physical): 512B/512B
  710. Partition Table: gpt
  711. Disk Flags:
  712.  
  713. Number Start End Size File system Name Flags
  714. 1 1049kB 1000GB 1000GB fat32 Microsoft Basic Data msftdata
  715.  
  716. =================== parted -lm:
  717.  
  718. BYT;
  719. /dev/sda:500GB:scsi:512:512:msdos:ATA Hitachi HTS54505:;
  720. 1:1048kB:21.5GB:21.5GB:::;
  721. 5:1049kB:200MB:199MB:fat32::boot, esp;
  722. 6:201MB:21.5GB:21.3GB:linux-swap(v1)::;
  723. 2:21.5GB:21.6GB:105MB:ntfs::;
  724. 3:21.6GB:374GB:353GB:ntfs::;
  725. 4:374GB:500GB:126GB:ext4::;
  726.  
  727. BYT;
  728. /dev/sdb:1000GB:scsi:512:512:gpt:WD My Passport 259F:;
  729. 1:1049kB:1000GB:1000GB:fat32:Microsoft Basic Data:msftdata;
  730.  
  731. =================== lsblk:
  732. KNAME TYPE FSTYPE SIZE LABEL
  733. sdb disk 931.5G
  734. sdb1 part vfat 931.5G UBUNTU 16_0
  735. sr0 rom 1024M
  736. loop0 loop squashfs 1.4G
  737. sda disk 465.8G
  738. sda4 part ext4 117.2G
  739. sda2 part ntfs 100M SYSTEM
  740. sda5 part vfat 190M
  741. sda3 part ntfs 328.5G
  742. sda1 part 1K
  743. sda6 part swap 19.8G
  744.  
  745. KNAME ROTA RO RM STATE MOUNTPOINT
  746. sdb 1 0 0 running
  747. sdb1 1 0 0 /cdrom
  748. sr0 1 0 1 running
  749. loop0 1 1 0 /rofs
  750. sda 1 0 0 running
  751. sda4 1 0 0 /mnt/boot-sav/sda4
  752. sda2 1 0 0 /mnt/boot-sav/sda2
  753. sda5 1 0 0 /mnt/boot-sav/sda5
  754. sda3 1 0 0 /mnt/boot-sav/sda3
  755. sda1 1 0 0
  756. sda6 1 0 0 [SWAP]
  757.  
  758.  
  759. =================== mount:
  760. sysfs on /sys type sysfs (rw,nosuid,nodev,noexec,relatime)
  761. proc on /proc type proc (rw,nosuid,nodev,noexec,relatime)
  762. udev on /dev type devtmpfs (rw,nosuid,relatime,size=1937052k,nr_inodes=484263,mode=755)
  763. devpts on /dev/pts type devpts (rw,nosuid,noexec,relatime,gid=5,mode=620,ptmxmode=000)
  764. tmpfs on /run type tmpfs (rw,nosuid,noexec,relatime,size=390528k,mode=755)
  765. /dev/sdb1 on /cdrom type vfat (ro,noatime,fmask=0022,dmask=0022,codepage=437,iocharset=iso8859-1,shortname=mixed,errors=remount-ro)
  766. /dev/loop0 on /rofs type squashfs (ro,noatime)
  767. aufs on / type aufs (rw,noatime,si=5d1f6b3d751895b0)
  768. securityfs on /sys/kernel/security type securityfs (rw,nosuid,nodev,noexec,relatime)
  769. tmpfs on /dev/shm type tmpfs (rw,nosuid,nodev)
  770. tmpfs on /run/lock type tmpfs (rw,nosuid,nodev,noexec,relatime,size=5120k)
  771. tmpfs on /sys/fs/cgroup type tmpfs (ro,nosuid,nodev,noexec,mode=755)
  772. cgroup on /sys/fs/cgroup/systemd type cgroup (rw,nosuid,nodev,noexec,relatime,xattr,release_agent=/lib/systemd/systemd-cgroups-agent,name=systemd)
  773. pstore on /sys/fs/pstore type pstore (rw,nosuid,nodev,noexec,relatime)
  774. efivarfs on /sys/firmware/efi/efivars type efivarfs (rw,nosuid,nodev,noexec,relatime)
  775. cgroup on /sys/fs/cgroup/perf_event type cgroup (rw,nosuid,nodev,noexec,relatime,perf_event)
  776. cgroup on /sys/fs/cgroup/memory type cgroup (rw,nosuid,nodev,noexec,relatime,memory)
  777. cgroup on /sys/fs/cgroup/cpuset type cgroup (rw,nosuid,nodev,noexec,relatime,cpuset)
  778. cgroup on /sys/fs/cgroup/cpu,cpuacct type cgroup (rw,nosuid,nodev,noexec,relatime,cpu,cpuacct)
  779. cgroup on /sys/fs/cgroup/net_cls,net_prio type cgroup (rw,nosuid,nodev,noexec,relatime,net_cls,net_prio)
  780. cgroup on /sys/fs/cgroup/devices type cgroup (rw,nosuid,nodev,noexec,relatime,devices)
  781. cgroup on /sys/fs/cgroup/pids type cgroup (rw,nosuid,nodev,noexec,relatime,pids)
  782. cgroup on /sys/fs/cgroup/hugetlb type cgroup (rw,nosuid,nodev,noexec,relatime,hugetlb)
  783. cgroup on /sys/fs/cgroup/freezer type cgroup (rw,nosuid,nodev,noexec,relatime,freezer)
  784. cgroup on /sys/fs/cgroup/blkio type cgroup (rw,nosuid,nodev,noexec,relatime,blkio)
  785. systemd-1 on /proc/sys/fs/binfmt_misc type autofs (rw,relatime,fd=29,pgrp=1,timeout=0,minproto=5,maxproto=5,direct,pipe_ino=10635)
  786. hugetlbfs on /dev/hugepages type hugetlbfs (rw,relatime)
  787. mqueue on /dev/mqueue type mqueue (rw,relatime)
  788. debugfs on /sys/kernel/debug type debugfs (rw,relatime)
  789. tracefs on /sys/kernel/debug/tracing type tracefs (rw,relatime)
  790. fusectl on /sys/fs/fuse/connections type fusectl (rw,relatime)
  791. tmpfs on /tmp type tmpfs (rw,nosuid,nodev,relatime)
  792. tmpfs on /run/user/999 type tmpfs (rw,nosuid,nodev,relatime,size=390528k,mode=700,uid=999,gid=999)
  793. gvfsd-fuse on /run/user/999/gvfs type fuse.gvfsd-fuse (rw,nosuid,nodev,relatime,user_id=999,group_id=999)
  794. /dev/sda2 on /mnt/boot-sav/sda2 type fuseblk (rw,relatime,user_id=0,group_id=0,allow_other,blksize=4096)
  795. /dev/sda3 on /mnt/boot-sav/sda3 type fuseblk (rw,relatime,user_id=0,group_id=0,allow_other,blksize=4096)
  796. /dev/sda4 on /mnt/boot-sav/sda4 type ext4 (rw,relatime,data=ordered)
  797. /dev/sda5 on /mnt/boot-sav/sda5 type vfat (rw,relatime,fmask=0022,dmask=0022,codepage=437,iocharset=iso8859-1,shortname=mixed,errors=remount-ro)
  798.  
  799.  
  800. =================== ls:
  801. /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 sda3 sda4 sda5 sda6 size slaves stat subsystem trace uevent
  802. /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
  803. /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
  804. /dev (filtered): autofs block bsg btrfs-control bus cdrom cdrw char console core cpu cpu_dma_latency cuse disk dri dvd dvdrw ecryptfs fb0 fd full fuse hidraw0 hpet hugepages hwrng i2c-0 i2c-1 i2c-10 i2c-11 i2c-2 i2c-3 i2c-4 i2c-5 i2c-6 i2c-7 i2c-8 i2c-9 initctl input kmsg kvm lightnvm log mapper mcelog media0 mem memory_bandwidth mqueue net network_latency network_throughput null port ppp psaux ptmx pts random rfkill rtc rtc0 sda sda1 sda2 sda3 sda4 sda5 sda6 sdb sdb1 sg0 sg1 sg2 sg3 shm snapshot snd sr0 stderr stdin stdout uhid uinput urandom userio v4l vfio vga_arbiter vhci vhost-net video0 zero
  805. ls /dev/mapper: control
  806.  
  807. =================== hexdump -n512 -C /dev/sda2
  808. 00000000 eb 52 90 4e 54 46 53 20 20 20 20 00 02 08 00 00 |.R.NTFS .....|
  809. 00000010 00 00 00 00 00 f8 00 00 3f 00 ff 00 00 08 80 02 |........?.......|
  810. 00000020 00 00 00 00 80 00 80 00 ff 1f 03 00 00 00 00 00 |................|
  811. 00000030 55 21 00 00 00 00 00 00 02 00 00 00 00 00 00 00 |U!..............|
  812. 00000040 f6 00 00 00 01 00 00 00 c8 f2 51 3e 13 52 3e d0 |..........Q>.R>.|
  813. 00000050 00 00 00 00 fa 33 c0 8e d0 bc 00 7c fb 68 c0 07 |.....3.....|.h..|
  814. 00000060 1f 1e 68 66 00 cb 88 16 0e 00 66 81 3e 03 00 4e |..hf......f.>..N|
  815. 00000070 54 46 53 75 15 b4 41 bb aa 55 cd 13 72 0c 81 fb |TFSu..A..U..r...|
  816. 00000080 55 aa 75 06 f7 c1 01 00 75 03 e9 dd 00 1e 83 ec |U.u.....u.......|
  817. 00000090 18 68 1a 00 b4 48 8a 16 0e 00 8b f4 16 1f cd 13 |.h...H..........|
  818. 000000a0 9f 83 c4 18 9e 58 1f 72 e1 3b 06 0b 00 75 db a3 |.....X.r.;...u..|
  819. 000000b0 0f 00 c1 2e 0f 00 04 1e 5a 33 db b9 00 20 2b c8 |........Z3... +.|
  820. 000000c0 66 ff 06 11 00 03 16 0f 00 8e c2 ff 06 16 00 e8 |f...............|
  821. 000000d0 4b 00 2b c8 77 ef b8 00 bb cd 1a 66 23 c0 75 2d |K.+.w......f#.u-|
  822. 000000e0 66 81 fb 54 43 50 41 75 24 81 f9 02 01 72 1e 16 |f..TCPAu$....r..|
  823. 000000f0 68 07 bb 16 68 52 11 16 68 09 00 66 53 66 53 66 |h...hR..h..fSfSf|
  824. 00000100 55 16 16 16 68 b8 01 66 61 0e 07 cd 1a 33 c0 bf |U...h..fa....3..|
  825. 00000110 0a 13 b9 f6 0c fc f3 aa e9 fe 01 90 90 66 60 1e |.............f`.|
  826. 00000120 06 66 a1 11 00 66 03 06 1c 00 1e 66 68 00 00 00 |.f...f.....fh...|
  827. 00000130 00 66 50 06 53 68 01 00 68 10 00 b4 42 8a 16 0e |.fP.Sh..h...B...|
  828. 00000140 00 16 1f 8b f4 cd 13 66 59 5b 5a 66 59 66 59 1f |.......fY[ZfYfY.|
  829. 00000150 0f 82 16 00 66 ff 06 11 00 03 16 0f 00 8e c2 ff |....f...........|
  830. 00000160 0e 16 00 75 bc 07 1f 66 61 c3 a1 f6 01 e8 09 00 |...u...fa.......|
  831. 00000170 a1 fa 01 e8 03 00 f4 eb fd 8b f0 ac 3c 00 74 09 |............<.t.|
  832. 00000180 b4 0e bb 07 00 cd 10 eb f2 c3 0d 0a 41 20 64 69 |............A di|
  833. 00000190 73 6b 20 72 65 61 64 20 65 72 72 6f 72 20 6f 63 |sk read error oc|
  834. 000001a0 63 75 72 72 65 64 00 0d 0a 42 4f 4f 54 4d 47 52 |curred...BOOTMGR|
  835. 000001b0 20 69 73 20 63 6f 6d 70 72 65 73 73 65 64 00 0d | is compressed..|
  836. 000001c0 0a 50 72 65 73 73 20 43 74 72 6c 2b 41 6c 74 2b |.Press Ctrl+Alt+|
  837. 000001d0 44 65 6c 20 74 6f 20 72 65 73 74 61 72 74 0d 0a |Del to restart..|
  838. 000001e0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................|
  839. 000001f0 00 00 00 00 00 00 8a 01 a7 01 bf 01 00 00 55 aa |..............U.|
  840. 00000200
  841.  
  842. =================== hexdump -n512 -C /dev/sda3
  843. 00000000 eb 52 90 4e 54 46 53 20 20 20 20 00 02 08 00 00 |.R.NTFS .....|
  844. 00000010 00 00 00 00 00 f8 00 00 3f 00 ff 00 00 28 83 02 |........?....(..|
  845. 00000020 00 00 00 00 80 00 80 00 ff 27 0f 29 00 00 00 00 |.........'.)....|
  846. 00000030 00 00 0c 00 00 00 00 00 02 00 00 00 00 00 00 00 |................|
  847. 00000040 f6 00 00 00 01 00 00 00 ec ab 99 dc cf 99 dc d4 |................|
  848. 00000050 00 00 00 00 fa 33 c0 8e d0 bc 00 7c fb 68 c0 07 |.....3.....|.h..|
  849. 00000060 1f 1e 68 66 00 cb 88 16 0e 00 66 81 3e 03 00 4e |..hf......f.>..N|
  850. 00000070 54 46 53 75 15 b4 41 bb aa 55 cd 13 72 0c 81 fb |TFSu..A..U..r...|
  851. 00000080 55 aa 75 06 f7 c1 01 00 75 03 e9 dd 00 1e 83 ec |U.u.....u.......|
  852. 00000090 18 68 1a 00 b4 48 8a 16 0e 00 8b f4 16 1f cd 13 |.h...H..........|
  853. 000000a0 9f 83 c4 18 9e 58 1f 72 e1 3b 06 0b 00 75 db a3 |.....X.r.;...u..|
  854. 000000b0 0f 00 c1 2e 0f 00 04 1e 5a 33 db b9 00 20 2b c8 |........Z3... +.|
  855. 000000c0 66 ff 06 11 00 03 16 0f 00 8e c2 ff 06 16 00 e8 |f...............|
  856. 000000d0 4b 00 2b c8 77 ef b8 00 bb cd 1a 66 23 c0 75 2d |K.+.w......f#.u-|
  857. 000000e0 66 81 fb 54 43 50 41 75 24 81 f9 02 01 72 1e 16 |f..TCPAu$....r..|
  858. 000000f0 68 07 bb 16 68 70 0e 16 68 09 00 66 53 66 53 66 |h...hp..h..fSfSf|
  859. 00000100 55 16 16 16 68 b8 01 66 61 0e 07 cd 1a 33 c0 bf |U...h..fa....3..|
  860. 00000110 28 10 b9 d8 0f fc f3 aa e9 5f 01 90 90 66 60 1e |(........_...f`.|
  861. 00000120 06 66 a1 11 00 66 03 06 1c 00 1e 66 68 00 00 00 |.f...f.....fh...|
  862. 00000130 00 66 50 06 53 68 01 00 68 10 00 b4 42 8a 16 0e |.fP.Sh..h...B...|
  863. 00000140 00 16 1f 8b f4 cd 13 66 59 5b 5a 66 59 66 59 1f |.......fY[ZfYfY.|
  864. 00000150 0f 82 16 00 66 ff 06 11 00 03 16 0f 00 8e c2 ff |....f...........|
  865. 00000160 0e 16 00 75 bc 07 1f 66 61 c3 a0 f8 01 e8 09 00 |...u...fa.......|
  866. 00000170 a0 fb 01 e8 03 00 f4 eb fd b4 01 8b f0 ac 3c 00 |..............<.|
  867. 00000180 74 09 b4 0e bb 07 00 cd 10 eb f2 c3 0d 0a 41 20 |t.............A |
  868. 00000190 64 69 73 6b 20 72 65 61 64 20 65 72 72 6f 72 20 |disk read error |
  869. 000001a0 6f 63 63 75 72 72 65 64 00 0d 0a 42 4f 4f 54 4d |occurred...BOOTM|
  870. 000001b0 47 52 20 69 73 20 6d 69 73 73 69 6e 67 00 0d 0a |GR is missing...|
  871. 000001c0 42 4f 4f 54 4d 47 52 20 69 73 20 63 6f 6d 70 72 |BOOTMGR is compr|
  872. 000001d0 65 73 73 65 64 00 0d 0a 50 72 65 73 73 20 43 74 |essed...Press Ct|
  873. 000001e0 72 6c 2b 41 6c 74 2b 44 65 6c 20 74 6f 20 72 65 |rl+Alt+Del to re|
  874. 000001f0 73 74 61 72 74 0d 0a 00 8c a9 be d6 00 00 55 aa |start.........U.|
  875. 00000200
  876.  
  877. =================== hexdump -n512 -C /dev/sda5
  878. 00000000 eb 58 90 6d 6b 66 73 2e 66 61 74 00 02 01 20 00 |.X.mkfs.fat... .|
  879. 00000010 02 00 00 00 00 f8 00 00 3f 00 ff 00 00 08 00 00 |........?.......|
  880. 00000020 00 f0 05 00 b1 0b 00 00 00 00 00 00 02 00 00 00 |................|
  881. 00000030 01 00 06 00 00 00 00 00 00 00 00 00 00 00 00 00 |................|
  882. 00000040 80 01 29 78 01 fb 5f 4e 4f 20 4e 41 4d 45 20 20 |..)x.._NO NAME |
  883. 00000050 20 20 46 41 54 33 32 20 20 20 0e 1f be 77 7c ac | FAT32 ...w|.|
  884. 00000060 22 c0 74 0b 56 b4 0e bb 07 00 cd 10 5e eb f0 32 |".t.V.......^..2|
  885. 00000070 e4 cd 16 cd 19 eb fe 54 68 69 73 20 69 73 20 6e |.......This is n|
  886. 00000080 6f 74 20 61 20 62 6f 6f 74 61 62 6c 65 20 64 69 |ot a bootable di|
  887. 00000090 73 6b 2e 20 20 50 6c 65 61 73 65 20 69 6e 73 65 |sk. Please inse|
  888. 000000a0 72 74 20 61 20 62 6f 6f 74 61 62 6c 65 20 66 6c |rt a bootable fl|
  889. 000000b0 6f 70 70 79 20 61 6e 64 0d 0a 70 72 65 73 73 20 |oppy and..press |
  890. 000000c0 61 6e 79 20 6b 65 79 20 74 6f 20 74 72 79 20 61 |any key to try a|
  891. 000000d0 67 61 69 6e 20 2e 2e 2e 20 0d 0a 00 00 00 00 00 |gain ... .......|
  892. 000000e0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................|
  893. *
  894. 000001f0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 55 aa |..............U.|
  895. 00000200
  896.  
  897. =================== df -Th:
  898.  
  899. Filesystem Type Size Used Avail Use% Mounted on
  900. udev devtmpfs 1.9G 0 1.9G 0% /dev
  901. tmpfs tmpfs 382M 6.2M 376M 2% /run
  902. /dev/sdb1 vfat 932G 1.5G 930G 1% /cdrom
  903. /dev/loop0 squashfs 1.4G 1.4G 0 100% /rofs
  904. aufs aufs 1.9G 67M 1.8G 4% /
  905. tmpfs tmpfs 1.9G 19M 1.9G 1% /dev/shm
  906. tmpfs tmpfs 5.0M 4.0K 5.0M 1% /run/lock
  907. tmpfs tmpfs 1.9G 0 1.9G 0% /sys/fs/cgroup
  908. tmpfs tmpfs 1.9G 24K 1.9G 1% /tmp
  909. tmpfs tmpfs 382M 80K 382M 1% /run/user/999
  910. /dev/sda2 fuseblk 100M 34M 67M 34% /mnt/boot-sav/sda2
  911. /dev/sda3 fuseblk 329G 253G 77G 77% /mnt/boot-sav/sda3
  912. /dev/sda4 ext4 116G 3.5G 106G 4% /mnt/boot-sav/sda4
  913. /dev/sda5 vfat 188M 3.6M 184M 2% /mnt/boot-sav/sda5
  914.  
  915. =================== fdisk -l:
  916. Disk /dev/ram0: 64 MiB, 67108864 bytes, 131072 sectors
  917. Units: sectors of 1 * 512 = 512 bytes
  918. Sector size (logical/physical): 512 bytes / 4096 bytes
  919. I/O size (minimum/optimal): 4096 bytes / 4096 bytes
  920.  
  921.  
  922. Disk /dev/ram1: 64 MiB, 67108864 bytes, 131072 sectors
  923. Units: sectors of 1 * 512 = 512 bytes
  924. Sector size (logical/physical): 512 bytes / 4096 bytes
  925. I/O size (minimum/optimal): 4096 bytes / 4096 bytes
  926.  
  927.  
  928. Disk /dev/ram2: 64 MiB, 67108864 bytes, 131072 sectors
  929. Units: sectors of 1 * 512 = 512 bytes
  930. Sector size (logical/physical): 512 bytes / 4096 bytes
  931. I/O size (minimum/optimal): 4096 bytes / 4096 bytes
  932.  
  933.  
  934. Disk /dev/ram3: 64 MiB, 67108864 bytes, 131072 sectors
  935. Units: sectors of 1 * 512 = 512 bytes
  936. Sector size (logical/physical): 512 bytes / 4096 bytes
  937. I/O size (minimum/optimal): 4096 bytes / 4096 bytes
  938.  
  939.  
  940. Disk /dev/ram4: 64 MiB, 67108864 bytes, 131072 sectors
  941. Units: sectors of 1 * 512 = 512 bytes
  942. Sector size (logical/physical): 512 bytes / 4096 bytes
  943. I/O size (minimum/optimal): 4096 bytes / 4096 bytes
  944.  
  945.  
  946. Disk /dev/ram5: 64 MiB, 67108864 bytes, 131072 sectors
  947. Units: sectors of 1 * 512 = 512 bytes
  948. Sector size (logical/physical): 512 bytes / 4096 bytes
  949. I/O size (minimum/optimal): 4096 bytes / 4096 bytes
  950.  
  951.  
  952. Disk /dev/ram6: 64 MiB, 67108864 bytes, 131072 sectors
  953. Units: sectors of 1 * 512 = 512 bytes
  954. Sector size (logical/physical): 512 bytes / 4096 bytes
  955. I/O size (minimum/optimal): 4096 bytes / 4096 bytes
  956.  
  957.  
  958. Disk /dev/ram7: 64 MiB, 67108864 bytes, 131072 sectors
  959. Units: sectors of 1 * 512 = 512 bytes
  960. Sector size (logical/physical): 512 bytes / 4096 bytes
  961. I/O size (minimum/optimal): 4096 bytes / 4096 bytes
  962.  
  963.  
  964. Disk /dev/ram8: 64 MiB, 67108864 bytes, 131072 sectors
  965. Units: sectors of 1 * 512 = 512 bytes
  966. Sector size (logical/physical): 512 bytes / 4096 bytes
  967. I/O size (minimum/optimal): 4096 bytes / 4096 bytes
  968.  
  969.  
  970. Disk /dev/ram9: 64 MiB, 67108864 bytes, 131072 sectors
  971. Units: sectors of 1 * 512 = 512 bytes
  972. Sector size (logical/physical): 512 bytes / 4096 bytes
  973. I/O size (minimum/optimal): 4096 bytes / 4096 bytes
  974.  
  975.  
  976. Disk /dev/ram10: 64 MiB, 67108864 bytes, 131072 sectors
  977. Units: sectors of 1 * 512 = 512 bytes
  978. Sector size (logical/physical): 512 bytes / 4096 bytes
  979. I/O size (minimum/optimal): 4096 bytes / 4096 bytes
  980.  
  981.  
  982. Disk /dev/ram11: 64 MiB, 67108864 bytes, 131072 sectors
  983. Units: sectors of 1 * 512 = 512 bytes
  984. Sector size (logical/physical): 512 bytes / 4096 bytes
  985. I/O size (minimum/optimal): 4096 bytes / 4096 bytes
  986.  
  987.  
  988. Disk /dev/ram12: 64 MiB, 67108864 bytes, 131072 sectors
  989. Units: sectors of 1 * 512 = 512 bytes
  990. Sector size (logical/physical): 512 bytes / 4096 bytes
  991. I/O size (minimum/optimal): 4096 bytes / 4096 bytes
  992.  
  993.  
  994. Disk /dev/ram13: 64 MiB, 67108864 bytes, 131072 sectors
  995. Units: sectors of 1 * 512 = 512 bytes
  996. Sector size (logical/physical): 512 bytes / 4096 bytes
  997. I/O size (minimum/optimal): 4096 bytes / 4096 bytes
  998.  
  999.  
  1000. Disk /dev/ram14: 64 MiB, 67108864 bytes, 131072 sectors
  1001. Units: sectors of 1 * 512 = 512 bytes
  1002. Sector size (logical/physical): 512 bytes / 4096 bytes
  1003. I/O size (minimum/optimal): 4096 bytes / 4096 bytes
  1004.  
  1005.  
  1006. Disk /dev/ram15: 64 MiB, 67108864 bytes, 131072 sectors
  1007. Units: sectors of 1 * 512 = 512 bytes
  1008. Sector size (logical/physical): 512 bytes / 4096 bytes
  1009. I/O size (minimum/optimal): 4096 bytes / 4096 bytes
  1010.  
  1011.  
  1012. Disk /dev/loop0: 1.4 GiB, 1497772032 bytes, 2925336 sectors
  1013. Units: sectors of 1 * 512 = 512 bytes
  1014. Sector size (logical/physical): 512 bytes / 512 bytes
  1015. I/O size (minimum/optimal): 512 bytes / 512 bytes
  1016.  
  1017.  
  1018. Disk /dev/sda: 465.8 GiB, 500107862016 bytes, 976773168 sectors
  1019. Units: sectors of 1 * 512 = 512 bytes
  1020. Sector size (logical/physical): 512 bytes / 512 bytes
  1021. I/O size (minimum/optimal): 512 bytes / 512 bytes
  1022. Disklabel type: dos
  1023. Disk identifier: 0xc689332b
  1024.  
  1025. Device Boot Start End Sectors Size Id Type
  1026. /dev/sda1 2046 41945087 41943042 20G 5 Extended
  1027. /dev/sda2 41945088 42149887 204800 100M 7 HPFS/NTFS/exFAT
  1028. /dev/sda3 42149888 731009023 688859136 328.5G 7 HPFS/NTFS/exFAT
  1029. /dev/sda4 731009024 976771071 245762048 117.2G 83 Linux
  1030. /dev/sda5 * 2048 391167 389120 190M ef EFI (FAT-12/16/32)
  1031. /dev/sda6 393216 41945087 41551872 19.8G 82 Linux swap / Solaris
  1032.  
  1033. Partition table entries are not in disk order.
  1034.  
  1035.  
  1036.  
  1037.  
  1038. Disk /dev/sdb: 931.5 GiB, 1000170586112 bytes, 1953458176 sectors
  1039. Units: sectors of 1 * 512 = 512 bytes
  1040. Sector size (logical/physical): 512 bytes / 512 bytes
  1041. I/O size (minimum/optimal): 512 bytes / 512 bytes
  1042. Disklabel type: gpt
  1043. Disk identifier: CF2A5275-A354-424B-BE2E-7D48BF2F455D
  1044.  
  1045. Device Start End Sectors Size Type
  1046. /dev/sdb1 2048 1953458142 1953456095 931.5G Microsoft basic data
  1047.  
  1048.  
  1049.  
  1050. =================== Recommended repair
  1051. The default repair of the Boot-Repair utility will purge (in order to fix packages) and reinstall the grub2 of sda4 into the MBR of sda.
  1052. Grub-efi will not be selected by default because: no-win-efi
  1053. Additional repair will be performed: unhide-bootmenu-10s
  1054.  
  1055.  
  1056. /boot/efi removed in sda4/fstab
  1057. chroot /mnt/boot-sav/sda4 apt-get -y --force-yes update
  1058. Purge the GRUB of sda4
  1059. grub-pc available
  1060.  
  1061. The following additional packages will be installed:
  1062. grub-common grub-efi-amd64-bin grub-gfxpayload-lists grub-pc-bin
  1063. grub2-common shim shim-signed
  1064. Suggested packages:
  1065. multiboot-doc grub-emu xorriso desktop-base
  1066. The following packages will be REMOVED:
  1067. grub-efi-amd64 grub-efi-amd64-signed
  1068. The following NEW packages will be installed:
  1069. grub-gfxpayload-lists grub-pc grub-pc-bin
  1070. The following packages will be upgraded:
  1071. grub-common grub-efi-amd64-bin grub2-common shim shim-signed
  1072. 5 upgraded, 3 newly installed, 2 to remove and 312 not upgraded.
  1073. W: --force-yes is deprecated, use one of the options starting with --allow instead.
  1074. DEBCHECK debOK, grub-pc
  1075. DEBCHECK debOK
  1076. shim-signed available
  1077. linux-signed-generic available
  1078. Please type: sudo chroot "/mnt/boot-sav/sda4" dpkg --configure -ansudo chroot "/mnt/boot-sav/sda4" apt-get install -fynsudo chroot "/mnt/boot-sav/sda4" apt-get purge -y --force-yes grub*-common grub-common:i386 shim-signed linux-signed*
  1079.  
  1080. =================== sda4/etc/grub.d/ :
  1081. drwxr-xr-x 2 root root 4096 Jul 29 23:07 grub.d
  1082. total 4
  1083. -rwxr-xr-x 1 root root 1992 Jan 28 2016 20_memtest86+
  1084.  
  1085.  
  1086. Then type: sudo chroot "/mnt/boot-sav/sda4" apt-get install -y --force-yes grub-pc linux-generic
  1087.  
  1088. =================== sda4/etc/grub.d/ :
  1089. drwxr-xr-x 2 root root 4096 Jul 29 23:15 grub.d
  1090. drwxr-xr-x 2 root root 4096 Jul 29 23:07 grub.d.bak
  1091. total 76
  1092. -rwxr-xr-x 1 root root 9791 Jun 21 04:11 00_header
  1093. -rwxr-xr-x 1 root root 6258 Mar 15 2016 05_debian_theme
  1094. -rwxr-xr-x 1 root root 12512 Jun 21 04:11 10_linux
  1095. -rwxr-xr-x 1 root root 11082 Jun 21 04:11 20_linux_xen
  1096. -rwxr-xr-x 1 root root 11692 Jun 21 04:11 30_os-prober
  1097. -rwxr-xr-x 1 root root 1418 Jun 21 04:11 30_uefi-firmware
  1098. -rwxr-xr-x 1 root root 214 Jun 21 04:11 40_custom
  1099. -rwxr-xr-x 1 root root 216 Jun 21 04:11 41_custom
  1100. -rw-r--r-- 1 root root 483 Jun 21 04:11 README
  1101.  
  1102.  
  1103.  
  1104.  
  1105. =================== sda4/etc/default/grub :
  1106.  
  1107. # If you change this file, run 'update-grub' afterwards to update
  1108. # /boot/grub/grub.cfg.
  1109. # For full documentation of the options in this file, see:
  1110. # info -f grub -n 'Simple configuration'
  1111.  
  1112. GRUB_DEFAULT=0
  1113. GRUB_HIDDEN_TIMEOUT=0
  1114. GRUB_HIDDEN_TIMEOUT_QUIET=true
  1115. GRUB_TIMEOUT=10
  1116. GRUB_DISTRIBUTOR=`lsb_release -i -s 2> /dev/null || echo Debian`
  1117. GRUB_CMDLINE_LINUX_DEFAULT="quiet splash"
  1118. GRUB_CMDLINE_LINUX=""
  1119.  
  1120. # Uncomment to enable BadRAM filtering, modify to suit your needs
  1121. # This works with Linux (no patch required) and with any kernel that obtains
  1122. # the memory map information from GRUB (GNU Mach, kernel of FreeBSD ...)
  1123. #GRUB_BADRAM="0x01234567,0xfefefefe,0x89abcdef,0xefefefef"
  1124.  
  1125. # Uncomment to disable graphical terminal (grub-pc only)
  1126. #GRUB_TERMINAL=console
  1127.  
  1128. # The resolution used on graphical terminal
  1129. # note that you can use only modes which your graphic card supports via VBE
  1130. # you can see them in real GRUB with the command `vbeinfo'
  1131. #GRUB_GFXMODE=640x480
  1132.  
  1133. # Uncomment if you don't want GRUB to pass "root=UUID=xxx" parameter to Linux
  1134. #GRUB_DISABLE_LINUX_UUID=true
  1135.  
  1136. # Uncomment to disable generation of recovery mode menu entries
  1137. #GRUB_DISABLE_RECOVERY="true"
  1138.  
  1139. # Uncomment to get a beep at grub start
  1140. #GRUB_INIT_TUNE="480 440 1"
  1141.  
  1142.  
  1143.  
  1144. Unhide GRUB boot menu in sda4/etc/default/grub
  1145.  
  1146. =================== sda4/etc/grub.d/ :
  1147. drwxr-xr-x 2 root root 4096 Jul 29 23:15 grub.d
  1148. drwxr-xr-x 2 root root 4096 Jul 29 23:07 grub.d.bak
  1149. total 76
  1150. -rwxr-xr-x 1 root root 9791 Jun 21 04:11 00_header
  1151. -rwxr-xr-x 1 root root 6258 Mar 15 2016 05_debian_theme
  1152. -rwxr-xr-x 1 root root 12512 Jun 21 04:11 10_linux
  1153. -rwxr-xr-x 1 root root 11082 Jun 21 04:11 20_linux_xen
  1154. -rwxr-xr-x 1 root root 11692 Jun 21 04:11 30_os-prober
  1155. -rwxr-xr-x 1 root root 1418 Jun 21 04:11 30_uefi-firmware
  1156. -rwxr-xr-x 1 root root 214 Jun 21 04:11 40_custom
  1157. -rwxr-xr-x 1 root root 216 Jun 21 04:11 41_custom
  1158. -rw-r--r-- 1 root root 483 Jun 21 04:11 README
  1159.  
  1160.  
  1161.  
  1162.  
  1163. =================== sda4/etc/default/grub :
  1164.  
  1165. # If you change this file, run 'update-grub' afterwards to update
  1166. # /boot/grub/grub.cfg.
  1167. # For full documentation of the options in this file, see:
  1168. # info -f grub -n 'Simple configuration'
  1169.  
  1170. GRUB_DEFAULT=0
  1171. #GRUB_HIDDEN_TIMEOUT=0
  1172. GRUB_HIDDEN_TIMEOUT_QUIET=true
  1173. GRUB_TIMEOUT=10
  1174. GRUB_DISTRIBUTOR=`lsb_release -i -s 2> /dev/null || echo Debian`
  1175. GRUB_CMDLINE_LINUX_DEFAULT="quiet splash"
  1176. GRUB_CMDLINE_LINUX=""
  1177.  
  1178. # Uncomment to enable BadRAM filtering, modify to suit your needs
  1179. # This works with Linux (no patch required) and with any kernel that obtains
  1180. # the memory map information from GRUB (GNU Mach, kernel of FreeBSD ...)
  1181. #GRUB_BADRAM="0x01234567,0xfefefefe,0x89abcdef,0xefefefef"
  1182.  
  1183. # Uncomment to disable graphical terminal (grub-pc only)
  1184. #GRUB_TERMINAL=console
  1185.  
  1186. # The resolution used on graphical terminal
  1187. # note that you can use only modes which your graphic card supports via VBE
  1188. # you can see them in real GRUB with the command `vbeinfo'
  1189. #GRUB_GFXMODE=640x480
  1190.  
  1191. # Uncomment if you don't want GRUB to pass "root=UUID=xxx" parameter to Linux
  1192. #GRUB_DISABLE_LINUX_UUID=true
  1193.  
  1194. # Uncomment to disable generation of recovery mode menu entries
  1195. #GRUB_DISABLE_RECOVERY="true"
  1196.  
  1197. # Uncomment to get a beep at grub start
  1198. #GRUB_INIT_TUNE="480 440 1"
  1199.  
  1200.  
  1201.  
  1202.  
  1203. *******lspci -nnk | grep -iA3 vga
  1204. 02:00.0 VGA compatible controller [0300]: NVIDIA Corporation GT216M [GeForce GT 330M] [10de:0a29] (rev a2)
  1205. Subsystem: Samsung Electronics Co Ltd GT216M [GeForce GT 330M] [144d:c06a]
  1206. Kernel driver in use: nouveau
  1207. Kernel modules: nvidiafb, nouveau
  1208. *******
  1209.  
  1210. grub-install --version
  1211. grub-install (GRUB) 2.02~beta2-36ubuntu3.12,grub-install (GRUB) 2.
  1212.  
  1213. Reinstall the GRUB of sda4 into the MBR of sda
  1214. Installing for i386-pc platform.
  1215. Installation finished. No error reported.
  1216. grub-install /dev/sda: exit code of grub-install /dev/sda:0
  1217.  
  1218. chroot /mnt/boot-sav/sda4 update-grub
  1219. Generating grub configuration file ...
  1220. Found linux image: /boot/vmlinuz-4.8.0-36-generic
  1221. Found initrd image: /boot/initrd.img-4.8.0-36-generic
  1222. Found linux image: /boot/vmlinuz-4.4.0-87-generic
  1223. Found initrd image: /boot/initrd.img-4.4.0-87-generic
  1224. Unhide GRUB boot menu in sda4/boot/grub/grub.cfg
  1225.  
  1226. Boot successfully repaired.
  1227.  
  1228. You can now reboot your computer.
  1229.  
  1230. Boot-Info_2017-07-29__22h57.txt
  1231. Displaying Boot-Info_2017-07-29__22h57.txt.
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement