Advertisement
Guest User

Untitled

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