Advertisement
Rovivan

Boot repair log

Apr 25th, 2018
130
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 32.98 KB | None | 0 0
  1. Boot Info Script 8f991e4 + Boot-Repair extra info [Boot-Info 25oct2017]
  2.  
  3.  
  4. ============================= Boot Info Summary: ===============================
  5.  
  6. => Grub2 (v2.00) is installed in the MBR of /dev/sda and looks at sector 1 of
  7. the same hard drive for core.img. core.img is at this location and looks
  8. for (,msdos1)/boot/grub. It also embeds following components:
  9.  
  10. modules
  11. ---------------------------------------------------------------------------
  12. fshelp ext2 part_msdos biosdisk
  13. ---------------------------------------------------------------------------
  14. => Syslinux MBR (5.00 and higher) is installed in the MBR of /dev/sdb.
  15.  
  16. sda1: __________________________________________________________________________
  17.  
  18. File system: ext4
  19. Boot sector type: -
  20. Boot sector info:
  21. Operating System: Ubuntu 16.04.4 LTS
  22. Boot files: /boot/grub/grub.cfg /etc/fstab
  23. /boot/grub/i386-pc/core.img
  24.  
  25. sda2: __________________________________________________________________________
  26.  
  27. File system: Extended Partition
  28. Boot sector type: Unknown
  29. Boot sector info:
  30.  
  31. sda5: __________________________________________________________________________
  32.  
  33. File system: swap
  34. Boot sector type: -
  35. Boot sector info:
  36.  
  37. sdb1: __________________________________________________________________________
  38.  
  39. File system: vfat
  40. Boot sector type: SYSLINUX 6.03 2014-10-06................................................2....0............A20 gate n
  41. Boot sector info: Syslinux looks at sector 1484800 of /dev/sdb1 for its
  42. second stage. SYSLINUX is installed in the directory.
  43. No errors found in the Boot Parameter Block.
  44. Operating System:
  45. Boot files: /boot/grub/grub.cfg /syslinux/syslinux.cfg
  46. /casper/vmlinuz.efi /EFI/BOOT/grubx64.efi /ldlinux.sys
  47.  
  48. ============================ Drive/Partition Info: =============================
  49.  
  50. Drive: sda _____________________________________________________________________
  51. Disk /dev/sda: 931.5 GiB, 1000204886016 bytes, 1953525168 sectors
  52. Units: sectors of 1 * 512 = 512 bytes
  53. Sector size (logical/physical): 512 bytes / 4096 bytes
  54. I/O size (minimum/optimal): 4096 bytes / 4096 bytes
  55. Disklabel type: dos
  56.  
  57. Partition Boot Start Sector End Sector # of Sectors Id System
  58.  
  59. /dev/sda1 * 2,048 1,945,602,047 1,945,600,000 83 Linux
  60. /dev/sda2 1,945,604,094 1,953,523,711 7,919,618 5 Extended
  61. /dev/sda5 1,945,604,096 1,953,523,711 7,919,616 82 Linux swap / Solaris
  62.  
  63.  
  64. Drive: sdb _____________________________________________________________________
  65. Disk /dev/sdb: 14.5 GiB, 15597568000 bytes, 30464000 sectors
  66. Units: sectors of 1 * 512 = 512 bytes
  67. Sector size (logical/physical): 512 bytes / 512 bytes
  68. I/O size (minimum/optimal): 512 bytes / 512 bytes
  69. Disklabel type: dos
  70.  
  71. Partition Boot Start Sector End Sector # of Sectors Id System
  72.  
  73. /dev/sdb1 * 32 30,463,999 30,463,968 c W95 FAT32 (LBA)
  74.  
  75.  
  76. "blkid" output: ________________________________________________________________
  77.  
  78. Device UUID TYPE LABEL
  79.  
  80. /dev/loop0 squashfs
  81. /dev/sda1 1a67280d-f437-49ae-8ef1-c7abe3f64b4f ext4
  82. /dev/sda5 64d93ed2-72a3-43d6-964e-b6e42d3af505 swap
  83. /dev/sdb1 0CCF-0AE9 vfat MYLINUXLIVE
  84. /dev/zram0 490e21e1-a750-4a2e-8298-c69d37fcaa73 swap
  85. /dev/zram1 326ab786-2dc4-4f68-bd42-4b8525624ad5 swap
  86. /dev/zram2 0f594bb4-ea68-4fe6-a6eb-86624a8a61ad swap
  87. /dev/zram3 a435e366-96dc-4b9d-ba13-db838db8224d swap
  88.  
  89. ========================= "ls -l /dev/disk/by-id" output: ======================
  90.  
  91. total 0
  92. lrwxrwxrwx 1 root root 9 Apr 25 18:52 ata-HL-DT-ST_DVD+_-RW_GU90N_KY1H6T12833 -> ../../sr0
  93. lrwxrwxrwx 1 root root 9 Apr 25 18:54 ata-ST1000LM035-1RK172_WDECVXWY -> ../../sda
  94. lrwxrwxrwx 1 root root 10 Apr 25 18:54 ata-ST1000LM035-1RK172_WDECVXWY-part1 -> ../../sda1
  95. lrwxrwxrwx 1 root root 10 Apr 25 18:54 ata-ST1000LM035-1RK172_WDECVXWY-part2 -> ../../sda2
  96. lrwxrwxrwx 1 root root 10 Apr 25 18:54 ata-ST1000LM035-1RK172_WDECVXWY-part5 -> ../../sda5
  97. lrwxrwxrwx 1 root root 9 Apr 25 18:53 usb-SanDisk_Cruzer_Blade_4C530001241220102491-0:0 -> ../../sdb
  98. lrwxrwxrwx 1 root root 10 Apr 25 18:53 usb-SanDisk_Cruzer_Blade_4C530001241220102491-0:0-part1 -> ../../sdb1
  99. lrwxrwxrwx 1 root root 9 Apr 25 18:54 wwn-0x5000c500aa20a4c3 -> ../../sda
  100. lrwxrwxrwx 1 root root 10 Apr 25 18:54 wwn-0x5000c500aa20a4c3-part1 -> ../../sda1
  101. lrwxrwxrwx 1 root root 10 Apr 25 18:54 wwn-0x5000c500aa20a4c3-part2 -> ../../sda2
  102. lrwxrwxrwx 1 root root 10 Apr 25 18:54 wwn-0x5000c500aa20a4c3-part5 -> ../../sda5
  103. lrwxrwxrwx 1 root root 9 Apr 25 18:52 wwn-0x5001480000000000 -> ../../sr0
  104.  
  105. ================================ Mount points: =================================
  106.  
  107. Device Mount_Point Type Options
  108.  
  109. /dev/loop0 /rofs squashfs (ro,noatime)
  110. /dev/sdb1 /cdrom vfat (ro,noatime,fmask=0022,dmask=0022,codepage=437,iocharset=iso8859-1,shortname=mixed,errors=remount-ro)
  111.  
  112.  
  113. =========================== sda1/boot/grub/grub.cfg: ===========================
  114.  
  115. --------------------------------------------------------------------------------
  116. #
  117. # DO NOT EDIT THIS FILE
  118. #
  119. # It is automatically generated by grub-mkconfig using templates
  120. # from /etc/grub.d and settings from /etc/default/grub
  121. #
  122.  
  123. ### BEGIN /etc/grub.d/00_header ###
  124. if [ -s $prefix/grubenv ]; then
  125. set have_grubenv=true
  126. load_env
  127. fi
  128. if [ "${next_entry}" ] ; then
  129. set default="${next_entry}"
  130. set next_entry=
  131. save_env next_entry
  132. set boot_once=true
  133. else
  134. set default="0"
  135. fi
  136.  
  137. if [ x"${feature_menuentry_id}" = xy ]; then
  138. menuentry_id_option="--id"
  139. else
  140. menuentry_id_option=""
  141. fi
  142.  
  143. export menuentry_id_option
  144.  
  145. if [ "${prev_saved_entry}" ]; then
  146. set saved_entry="${prev_saved_entry}"
  147. save_env saved_entry
  148. set prev_saved_entry=
  149. save_env prev_saved_entry
  150. set boot_once=true
  151. fi
  152.  
  153. function savedefault {
  154. if [ -z "${boot_once}" ]; then
  155. saved_entry="${chosen}"
  156. save_env saved_entry
  157. fi
  158. }
  159. function recordfail {
  160. set recordfail=1
  161. if [ -n "${have_grubenv}" ]; then if [ -z "${boot_once}" ]; then save_env recordfail; fi; fi
  162. }
  163. function load_video {
  164. if [ x$feature_all_video_module = xy ]; then
  165. insmod all_video
  166. else
  167. insmod efi_gop
  168. insmod efi_uga
  169. insmod ieee1275_fb
  170. insmod vbe
  171. insmod vga
  172. insmod video_bochs
  173. insmod video_cirrus
  174. fi
  175. }
  176.  
  177. if [ x$feature_default_font_path = xy ] ; then
  178. font=unicode
  179. else
  180. insmod part_msdos
  181. insmod ext2
  182. set root='hd0,msdos1'
  183. if [ x$feature_platform_search_hint = xy ]; then
  184. search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos1 --hint-efi=hd0,msdos1 --hint-baremetal=ahci0,msdos1 1a67280d-f437-49ae-8ef1-c7abe3f64b4f
  185. else
  186. search --no-floppy --fs-uuid --set=root 1a67280d-f437-49ae-8ef1-c7abe3f64b4f
  187. fi
  188. font="/usr/share/grub/unicode.pf2"
  189. fi
  190.  
  191. if loadfont $font ; then
  192. set gfxmode=auto
  193. load_video
  194. insmod gfxterm
  195. set locale_dir=$prefix/locale
  196. set lang=C
  197. insmod gettext
  198. fi
  199. terminal_output gfxterm
  200. if [ "${recordfail}" = 1 ] ; then
  201. set timeout=10
  202. else
  203. if [ x$feature_timeout_style = xy ] ; then
  204. set timeout_style=menu
  205. set timeout=10
  206. # Fallback normal timeout code in case the timeout_style feature is
  207. # unavailable.
  208. else
  209. set timeout=10
  210. fi
  211. fi
  212. ### END /etc/grub.d/00_header ###
  213.  
  214. ### BEGIN /etc/grub.d/05_debian_theme ###
  215. set menu_color_normal=white/black
  216. set menu_color_highlight=black/light-gray
  217. if background_color 44,0,30,0; then
  218. clear
  219. fi
  220. ### END /etc/grub.d/05_debian_theme ###
  221.  
  222. ### BEGIN /etc/grub.d/10_linux ###
  223. function gfxmode {
  224. set gfxpayload="${1}"
  225. if [ "${1}" = "keep" ]; then
  226. set vt_handoff=vt.handoff=7
  227. else
  228. set vt_handoff=
  229. fi
  230. }
  231. if [ "${recordfail}" != 1 ]; then
  232. if [ -e ${prefix}/gfxblacklist.txt ]; then
  233. if hwmatch ${prefix}/gfxblacklist.txt 3; then
  234. if [ ${match} = 0 ]; then
  235. set linux_gfx_mode=keep
  236. else
  237. set linux_gfx_mode=text
  238. fi
  239. else
  240. set linux_gfx_mode=text
  241. fi
  242. else
  243. set linux_gfx_mode=keep
  244. fi
  245. else
  246. set linux_gfx_mode=text
  247. fi
  248. export linux_gfx_mode
  249. menuentry 'Ubuntu' --class ubuntu --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-simple-1a67280d-f437-49ae-8ef1-c7abe3f64b4f' {
  250. recordfail
  251. load_video
  252. gfxmode $linux_gfx_mode
  253. insmod gzio
  254. if [ x$grub_platform = xxen ]; then insmod xzio; insmod lzopio; fi
  255. insmod part_msdos
  256. insmod ext2
  257. set root='hd0,msdos1'
  258. if [ x$feature_platform_search_hint = xy ]; then
  259. search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos1 --hint-efi=hd0,msdos1 --hint-baremetal=ahci0,msdos1 1a67280d-f437-49ae-8ef1-c7abe3f64b4f
  260. else
  261. search --no-floppy --fs-uuid --set=root 1a67280d-f437-49ae-8ef1-c7abe3f64b4f
  262. fi
  263. linux /boot/vmlinuz-4.13.0-36-generic root=UUID=1a67280d-f437-49ae-8ef1-c7abe3f64b4f ro quiet splash $vt_handoff
  264. initrd /boot/initrd.img-4.13.0-36-generic
  265. }
  266. submenu 'Advanced options for Ubuntu' $menuentry_id_option 'gnulinux-advanced-1a67280d-f437-49ae-8ef1-c7abe3f64b4f' {
  267. menuentry 'Ubuntu, with Linux 4.13.0-36-generic' --class ubuntu --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-4.13.0-36-generic-advanced-1a67280d-f437-49ae-8ef1-c7abe3f64b4f' {
  268. recordfail
  269. load_video
  270. gfxmode $linux_gfx_mode
  271. insmod gzio
  272. if [ x$grub_platform = xxen ]; then insmod xzio; insmod lzopio; fi
  273. insmod part_msdos
  274. insmod ext2
  275. set root='hd0,msdos1'
  276. if [ x$feature_platform_search_hint = xy ]; then
  277. search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos1 --hint-efi=hd0,msdos1 --hint-baremetal=ahci0,msdos1 1a67280d-f437-49ae-8ef1-c7abe3f64b4f
  278. else
  279. search --no-floppy --fs-uuid --set=root 1a67280d-f437-49ae-8ef1-c7abe3f64b4f
  280. fi
  281. echo 'Loading Linux 4.13.0-36-generic ...'
  282. linux /boot/vmlinuz-4.13.0-36-generic root=UUID=1a67280d-f437-49ae-8ef1-c7abe3f64b4f ro quiet splash $vt_handoff
  283. echo 'Loading initial ramdisk ...'
  284. initrd /boot/initrd.img-4.13.0-36-generic
  285. }
  286. menuentry 'Ubuntu, with Linux 4.13.0-36-generic (upstart)' --class ubuntu --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-4.13.0-36-generic-init-upstart-1a67280d-f437-49ae-8ef1-c7abe3f64b4f' {
  287. recordfail
  288. load_video
  289. gfxmode $linux_gfx_mode
  290. insmod gzio
  291. if [ x$grub_platform = xxen ]; then insmod xzio; insmod lzopio; fi
  292. insmod part_msdos
  293. insmod ext2
  294. set root='hd0,msdos1'
  295. if [ x$feature_platform_search_hint = xy ]; then
  296. search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos1 --hint-efi=hd0,msdos1 --hint-baremetal=ahci0,msdos1 1a67280d-f437-49ae-8ef1-c7abe3f64b4f
  297. else
  298. search --no-floppy --fs-uuid --set=root 1a67280d-f437-49ae-8ef1-c7abe3f64b4f
  299. fi
  300. echo 'Loading Linux 4.13.0-36-generic ...'
  301. linux /boot/vmlinuz-4.13.0-36-generic root=UUID=1a67280d-f437-49ae-8ef1-c7abe3f64b4f ro quiet splash $vt_handoff init=/sbin/upstart
  302. echo 'Loading initial ramdisk ...'
  303. initrd /boot/initrd.img-4.13.0-36-generic
  304. }
  305. menuentry 'Ubuntu, with Linux 4.13.0-36-generic (recovery mode)' --class ubuntu --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-4.13.0-36-generic-recovery-1a67280d-f437-49ae-8ef1-c7abe3f64b4f' {
  306. recordfail
  307. load_video
  308. insmod gzio
  309. if [ x$grub_platform = xxen ]; then insmod xzio; insmod lzopio; fi
  310. insmod part_msdos
  311. insmod ext2
  312. set root='hd0,msdos1'
  313. if [ x$feature_platform_search_hint = xy ]; then
  314. search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos1 --hint-efi=hd0,msdos1 --hint-baremetal=ahci0,msdos1 1a67280d-f437-49ae-8ef1-c7abe3f64b4f
  315. else
  316. search --no-floppy --fs-uuid --set=root 1a67280d-f437-49ae-8ef1-c7abe3f64b4f
  317. fi
  318. echo 'Loading Linux 4.13.0-36-generic ...'
  319. linux /boot/vmlinuz-4.13.0-36-generic root=UUID=1a67280d-f437-49ae-8ef1-c7abe3f64b4f ro recovery nomodeset
  320. echo 'Loading initial ramdisk ...'
  321. initrd /boot/initrd.img-4.13.0-36-generic
  322. }
  323. }
  324.  
  325. ### END /etc/grub.d/10_linux ###
  326.  
  327. ### BEGIN /etc/grub.d/20_linux_xen ###
  328.  
  329. ### END /etc/grub.d/20_linux_xen ###
  330.  
  331. ### BEGIN /etc/grub.d/20_memtest86+ ###
  332. menuentry 'Memory test (memtest86+)' {
  333. insmod part_msdos
  334. insmod ext2
  335. set root='hd0,msdos1'
  336. if [ x$feature_platform_search_hint = xy ]; then
  337. search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos1 --hint-efi=hd0,msdos1 --hint-baremetal=ahci0,msdos1 1a67280d-f437-49ae-8ef1-c7abe3f64b4f
  338. else
  339. search --no-floppy --fs-uuid --set=root 1a67280d-f437-49ae-8ef1-c7abe3f64b4f
  340. fi
  341. knetbsd /boot/memtest86+.elf
  342. }
  343. menuentry 'Memory test (memtest86+, serial console 115200)' {
  344. insmod part_msdos
  345. insmod ext2
  346. set root='hd0,msdos1'
  347. if [ x$feature_platform_search_hint = xy ]; then
  348. search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos1 --hint-efi=hd0,msdos1 --hint-baremetal=ahci0,msdos1 1a67280d-f437-49ae-8ef1-c7abe3f64b4f
  349. else
  350. search --no-floppy --fs-uuid --set=root 1a67280d-f437-49ae-8ef1-c7abe3f64b4f
  351. fi
  352. linux16 /boot/memtest86+.bin console=ttyS0,115200n8
  353. }
  354. ### END /etc/grub.d/20_memtest86+ ###
  355.  
  356. ### BEGIN /etc/grub.d/30_os-prober ###
  357. ### END /etc/grub.d/30_os-prober ###
  358.  
  359. ### BEGIN /etc/grub.d/30_uefi-firmware ###
  360. ### END /etc/grub.d/30_uefi-firmware ###
  361.  
  362. ### BEGIN /etc/grub.d/40_custom ###
  363. # This file provides an easy way to add custom menu entries. Simply type the
  364. # menu entries you want to add after this comment. Be careful not to change
  365. # the 'exec tail' line above.
  366. ### END /etc/grub.d/40_custom ###
  367.  
  368. ### BEGIN /etc/grub.d/41_custom ###
  369. if [ -f ${config_directory}/custom.cfg ]; then
  370. source ${config_directory}/custom.cfg
  371. elif [ -z "${config_directory}" -a -f $prefix/custom.cfg ]; then
  372. source $prefix/custom.cfg;
  373. fi
  374. ### END /etc/grub.d/41_custom ###
  375. --------------------------------------------------------------------------------
  376.  
  377. =============================== sda1/etc/fstab: ================================
  378.  
  379. --------------------------------------------------------------------------------
  380. # /etc/fstab: static file system information.
  381. #
  382. # Use 'blkid' to print the universally unique identifier for a
  383. # device; this may be used with UUID= as a more robust way to name devices
  384. # that works even if disks are added and removed. See fstab(5).
  385. #
  386. # <file system> <mount point> <type> <options> <dump> <pass>
  387. # / was on /dev/sda1 during installation
  388. UUID=1a67280d-f437-49ae-8ef1-c7abe3f64b4f / ext4 errors=remount-ro 0 1
  389. # swap was on /dev/sda5 during installation
  390. UUID=64d93ed2-72a3-43d6-964e-b6e42d3af505 none swap sw 0 0
  391. --------------------------------------------------------------------------------
  392.  
  393. =================== sda1: Location of files loaded by Grub: ====================
  394.  
  395. GiB - GB File Fragment(s)
  396.  
  397. 592.133968353 = 635.799007232 boot/grub/grub.cfg 1
  398. 592.143154144 = 635.808870400 boot/grub/i386-pc/core.img 1
  399. 1.383155823 = 1.485152256 boot/vmlinuz-4.13.0-36-generic 2
  400. 1.383155823 = 1.485152256 vmlinuz 2
  401. 384.398502350 = 412.744749056 boot/initrd.img-4.13.0-36-generic 2
  402. 384.398502350 = 412.744749056 initrd.img 2
  403.  
  404. =========================== sdb1/boot/grub/grub.cfg: ===========================
  405.  
  406. --------------------------------------------------------------------------------
  407.  
  408. if loadfont /boot/grub/font.pf2 ; then
  409. set gfxmode=auto
  410. insmod efi_gop
  411. insmod efi_uga
  412. insmod gfxterm
  413. terminal_output gfxterm
  414. fi
  415.  
  416. set menu_color_normal=white/black
  417. set menu_color_highlight=black/light-gray
  418.  
  419. menuentry "Boot-Repair-Disk session" {
  420. set gfxpayload=keep
  421. linux /casper/vmlinuz.efi file=/cdrom/preseed/lubuntu.seed boot=casper quiet splash --
  422. initrd /casper/initrd.lz
  423. }
  424. --------------------------------------------------------------------------------
  425.  
  426. ========================= sdb1/syslinux/syslinux.cfg: ==========================
  427.  
  428. --------------------------------------------------------------------------------
  429. # D-I config version 2.0
  430. # search path for the c32 support libraries (libcom32, libutil etc.)
  431. path
  432. include menu.cfg
  433. default vesamenu.c32
  434. prompt 0
  435. timeout 300
  436. ui gfxboot bootlogo
  437. --------------------------------------------------------------------------------
  438.  
  439. =================== sdb1: Location of files loaded by Grub: ====================
  440.  
  441. GiB - GB File Fragment(s)
  442.  
  443. ?? = ?? boot/grub/grub.cfg 1
  444.  
  445. ================= sdb1: Location of files loaded by Syslinux: ==================
  446.  
  447. GiB - GB File Fragment(s)
  448.  
  449. ?? = ?? syslinux/syslinux.cfg 1
  450. ?? = ?? ldlinux.sys 1
  451. ?? = ?? ldlinux.c32 1
  452. ?? = ?? syslinux/chain.c32 1
  453. ?? = ?? syslinux/gfxboot.c32 1
  454. ?? = ?? syslinux/ldlinux.c32 1
  455. ?? = ?? syslinux/libcom32.c32 1
  456. ?? = ?? syslinux/libutil.c32 1
  457. ?? = ?? syslinux/vesamenu.c32 1
  458.  
  459. ============== sdb1: Version of COM32(R) files used by Syslinux: ===============
  460.  
  461. ldlinux.c32 : not a COM32/COM32R module
  462. syslinux/chain.c32 : not a COM32/COM32R module
  463. syslinux/gfxboot.c32 : not a COM32/COM32R module
  464. syslinux/ldlinux.c32 : not a COM32/COM32R module
  465. syslinux/libcom32.c32 : not a COM32/COM32R module
  466. syslinux/libutil.c32 : not a COM32/COM32R module
  467. syslinux/vesamenu.c32 : not a COM32/COM32R module
  468.  
  469. ======================== Unknown MBRs/Boot Sectors/etc: ========================
  470.  
  471. Unknown BootLoader on sda2
  472.  
  473. 00000000 33 cc 55 aa 33 cc 55 aa 33 cc 55 aa 33 cc 55 aa |3.U.3.U.3.U.3.U.|
  474. *
  475. 000001b0 33 cc 55 aa 33 cc 55 aa 33 cc 55 aa 33 cc 00 fe |3.U.3.U.3.U.3...|
  476. 000001c0 ff ff 82 fe ff ff 02 00 00 00 00 d8 78 00 00 00 |............x...|
  477. 000001d0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................|
  478. *
  479. 000001f0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 55 aa |..............U.|
  480. 00000200
  481.  
  482.  
  483.  
  484. ADDITIONAL INFORMATION :
  485. =================== log of boot-repair 20180425_1853 ===================
  486. boot-repair version : 4ppa62
  487. boot-sav version : 4ppa62
  488. boot-sav-extra version : 4ppa62
  489. glade2script version : 3.2.3~ppa4
  490. Partition 2 does not start on physical sector boundary.
  491. boot-repair is executed in live-session (Boot-Repair-Disk 64bit 1oct2017, zesty, Ubuntu, x86_64)
  492. CPU op-mode(s): 32-bit, 64-bit
  493. file=/cdrom/preseed/lubuntu.seed boot=casper initrd=/casper/initrd.lz quiet splash --
  494. ls: cannot access '/home/usr/.config': No such file or directory
  495.  
  496. =================== os-prober:
  497. /dev/sda1:Ubuntu 16.04.4 LTS (16.04):Ubuntu:linux
  498.  
  499. =================== blkid:
  500. /dev/sda1: UUID="1a67280d-f437-49ae-8ef1-c7abe3f64b4f" TYPE="ext4" PARTUUID="7239f632-01"
  501. /dev/sdb1: LABEL="MYLINUXLIVE" UUID="0CCF-0AE9" TYPE="vfat" PARTUUID="b935dbfb-01"
  502. /dev/loop0: TYPE="squashfs"
  503. /dev/sda5: UUID="64d93ed2-72a3-43d6-964e-b6e42d3af505" TYPE="swap" PARTUUID="7239f632-05"
  504. /dev/zram0: UUID="490e21e1-a750-4a2e-8298-c69d37fcaa73" TYPE="swap"
  505. /dev/zram1: UUID="326ab786-2dc4-4f68-bd42-4b8525624ad5" TYPE="swap"
  506. /dev/zram2: UUID="0f594bb4-ea68-4fe6-a6eb-86624a8a61ad" TYPE="swap"
  507. /dev/zram3: UUID="a435e366-96dc-4b9d-ba13-db838db8224d" TYPE="swap"
  508.  
  509.  
  510. 1 disks with OS, 1 OS : 1 Linux, 0 MacOS, 0 Windows, 0 unknown type OS.
  511.  
  512. Partition 2 does not start on physical sector boundary.
  513. Partition 2 does not start on physical sector boundary.
  514.  
  515. =================== sda1/etc/grub.d/ :
  516. drwxr-xr-x 2 root root 4096 Feb 28 18:41 grub.d
  517. total 80
  518. -rwxr-xr-x 1 root root 9791 Feb 8 14:55 00_header
  519. -rwxr-xr-x 1 root root 6258 Jan 24 21:21 05_debian_theme
  520. -rwxr-xr-x 1 root root 12512 Feb 8 14:55 10_linux
  521. -rwxr-xr-x 1 root root 11082 Feb 8 14:55 20_linux_xen
  522. -rwxr-xr-x 1 root root 1992 Jan 28 2016 20_memtest86+
  523. -rwxr-xr-x 1 root root 11692 Feb 8 14:55 30_os-prober
  524. -rwxr-xr-x 1 root root 1418 Feb 8 14:55 30_uefi-firmware
  525. -rwxr-xr-x 1 root root 214 Feb 8 14:55 40_custom
  526. -rwxr-xr-x 1 root root 216 Feb 8 14:55 41_custom
  527. -rw-r--r-- 1 root root 483 Feb 8 14:55 README
  528.  
  529.  
  530.  
  531.  
  532. =================== sda1/etc/default/grub :
  533.  
  534. # If you change this file, run 'update-grub' afterwards to update
  535. # /boot/grub/grub.cfg.
  536. # For full documentation of the options in this file, see:
  537. # info -f grub -n 'Simple configuration'
  538.  
  539. GRUB_DEFAULT=0
  540. GRUB_HIDDEN_TIMEOUT=0
  541. GRUB_HIDDEN_TIMEOUT_QUIET=true
  542. GRUB_TIMEOUT=10
  543. GRUB_DISTRIBUTOR=`lsb_release -i -s 2> /dev/null || echo Debian`
  544. GRUB_CMDLINE_LINUX_DEFAULT="quiet splash"
  545. GRUB_CMDLINE_LINUX=""
  546.  
  547. # Uncomment to enable BadRAM filtering, modify to suit your needs
  548. # This works with Linux (no patch required) and with any kernel that obtains
  549. # the memory map information from GRUB (GNU Mach, kernel of FreeBSD ...)
  550. #GRUB_BADRAM="0x01234567,0xfefefefe,0x89abcdef,0xefefefef"
  551.  
  552. # Uncomment to disable graphical terminal (grub-pc only)
  553. #GRUB_TERMINAL=console
  554.  
  555. # The resolution used on graphical terminal
  556. # note that you can use only modes which your graphic card supports via VBE
  557. # you can see them in real GRUB with the command `vbeinfo'
  558. #GRUB_GFXMODE=640x480
  559.  
  560. # Uncomment if you don't want GRUB to pass "root=UUID=xxx" parameter to Linux
  561. #GRUB_DISABLE_LINUX_UUID=true
  562.  
  563. # Uncomment to disable generation of recovery mode menu entries
  564. #GRUB_DISABLE_RECOVERY="true"
  565.  
  566. # Uncomment to get a beep at grub start
  567. #GRUB_INIT_TUNE="480 440 1"
  568.  
  569.  
  570.  
  571.  
  572. =================== UEFI/Legacy mode:
  573. This live-session is not in EFI-mode.
  574. EFI in dmesg.
  575. [ 0.000000] ACPI: UEFI 0x00000000A8673348 000042 (v01 00000000 00000000)
  576. SecureBoot maybe enabled.
  577.  
  578.  
  579. =================== PARTITIONS & DISKS:
  580. sda1 : sda, not-sepboot, grubenv-ok grub2, grub-pc , update-grub, 64, with-boot, is-os, not--efi--part, fstab-without-boot, fstab-without-efi, no-nt, no-winload, no-recov-nor-hid, no-bmgr, notwinboot, apt-get, grub-install, with--usr, fstab-without-usr, not-sep-usr, standard, farbios, notbiosboot, /mnt/boot-sav/sda1.
  581.  
  582. sda : not-GPT, BIOSboot-not-needed, has-no-EFIpart, not-usb, not-mmc, has-os, 2048 sectors * 512 bytes
  583.  
  584.  
  585. =================== parted -lm:
  586.  
  587. BYT;
  588. /dev/sda:1000GB:scsi:512:4096:msdos:ATA ST1000LM035-1RK1:;
  589. 1:1049kB:996GB:996GB:ext4::boot;
  590. 2:996GB:1000GB:4055MB:::;
  591. 5:996GB:1000GB:4055MB:linux-swap(v1)::;
  592.  
  593. BYT;
  594. /dev/sdb:15.6GB:scsi:512:512:msdos:SanDisk Cruzer Blade:;
  595. 1:16.4kB:15.6GB:15.6GB:fat32::boot, lba;
  596.  
  597. BYT;
  598. /dev/zram3:488MB:unknown:4096:4096:loop:Unknown:;
  599. 1:0.00B:488MB:488MB:linux-swap(v1)::;
  600.  
  601. BYT;
  602. /dev/zram1:488MB:unknown:4096:4096:loop:Unknown:;
  603. 1:0.00B:488MB:488MB:linux-swap(v1)::;
  604.  
  605. BYT;
  606. /dev/zram2:488MB:unknown:4096:4096:loop:Unknown:;
  607. 1:0.00B:488MB:488MB:linux-swap(v1)::;
  608.  
  609. BYT;
  610. /dev/zram0:488MB:unknown:4096:4096:loop:Unknown:;
  611. 1:0.00B:488MB:488MB:linux-swap(v1)::;
  612.  
  613. =================== lsblk:
  614. KNAME TYPE FSTYPE SIZE LABEL
  615. loop0 loop squashfs 629.3M
  616. sda disk 931.5G
  617. sda1 part ext4 927.8G
  618. sda2 part 1K
  619. sda5 part swap 3.8G
  620. sdb disk 14.5G
  621. sdb1 part vfat 14.5G MYLINUXLIVE
  622. sr0 rom 1024M
  623. zram0 disk 465.5M
  624. zram1 disk 465.5M
  625. zram2 disk 465.5M
  626. zram3 disk 465.5M
  627.  
  628. KNAME ROTA RO RM STATE MOUNTPOINT
  629. loop0 1 1 0 /rofs
  630. sda 1 0 0 running
  631. sda1 1 0 0 /mnt/boot-sav/sda1
  632. sda2 1 0 0
  633. sda5 1 0 0 [SWAP]
  634. sdb 1 0 1 running
  635. sdb1 1 0 1 /cdrom
  636. sr0 1 0 1 running
  637. zram0 0 0 0 [SWAP]
  638. zram1 0 0 0 [SWAP]
  639. zram2 0 0 0 [SWAP]
  640. zram3 0 0 0 [SWAP]
  641.  
  642.  
  643. =================== mount:
  644. sysfs on /sys type sysfs (rw,nosuid,nodev,noexec,relatime)
  645. proc on /proc type proc (rw,nosuid,nodev,noexec,relatime)
  646. udev on /dev type devtmpfs (rw,nosuid,relatime,size=1879380k,nr_inodes=469845,mode=755)
  647. devpts on /dev/pts type devpts (rw,nosuid,noexec,relatime,gid=5,mode=620,ptmxmode=000)
  648. tmpfs on /run type tmpfs (rw,nosuid,noexec,relatime,size=381316k,mode=755)
  649. /dev/sdb1 on /cdrom type vfat (ro,noatime,fmask=0022,dmask=0022,codepage=437,iocharset=iso8859-1,shortname=mixed,errors=remount-ro)
  650. /dev/loop0 on /rofs type squashfs (ro,noatime)
  651. /cow on / type overlay (rw,relatime,lowerdir=//filesystem.squashfs,upperdir=/cow/upper,workdir=/cow/work)
  652. securityfs on /sys/kernel/security type securityfs (rw,nosuid,nodev,noexec,relatime)
  653. tmpfs on /dev/shm type tmpfs (rw,nosuid,nodev)
  654. tmpfs on /run/lock type tmpfs (rw,nosuid,nodev,noexec,relatime,size=5120k)
  655. tmpfs on /sys/fs/cgroup type tmpfs (ro,nosuid,nodev,noexec,mode=755)
  656. cgroup on /sys/fs/cgroup/unified type cgroup2 (rw,nosuid,nodev,noexec,relatime)
  657. cgroup on /sys/fs/cgroup/systemd type cgroup (rw,nosuid,nodev,noexec,relatime,xattr,name=systemd)
  658. pstore on /sys/fs/pstore type pstore (rw,nosuid,nodev,noexec,relatime)
  659. cgroup on /sys/fs/cgroup/rdma type cgroup (rw,nosuid,nodev,noexec,relatime,rdma)
  660. cgroup on /sys/fs/cgroup/hugetlb type cgroup (rw,nosuid,nodev,noexec,relatime,hugetlb)
  661. cgroup on /sys/fs/cgroup/pids type cgroup (rw,nosuid,nodev,noexec,relatime,pids)
  662. cgroup on /sys/fs/cgroup/cpu,cpuacct type cgroup (rw,nosuid,nodev,noexec,relatime,cpu,cpuacct)
  663. cgroup on /sys/fs/cgroup/blkio type cgroup (rw,nosuid,nodev,noexec,relatime,blkio)
  664. cgroup on /sys/fs/cgroup/net_cls,net_prio type cgroup (rw,nosuid,nodev,noexec,relatime,net_cls,net_prio)
  665. cgroup on /sys/fs/cgroup/perf_event type cgroup (rw,nosuid,nodev,noexec,relatime,perf_event)
  666. cgroup on /sys/fs/cgroup/devices type cgroup (rw,nosuid,nodev,noexec,relatime,devices)
  667. cgroup on /sys/fs/cgroup/memory type cgroup (rw,nosuid,nodev,noexec,relatime,memory)
  668. cgroup on /sys/fs/cgroup/cpuset type cgroup (rw,nosuid,nodev,noexec,relatime,cpuset)
  669. cgroup on /sys/fs/cgroup/freezer type cgroup (rw,nosuid,nodev,noexec,relatime,freezer)
  670. systemd-1 on /proc/sys/fs/binfmt_misc type autofs (rw,relatime,fd=33,pgrp=1,timeout=0,minproto=5,maxproto=5,direct,pipe_ino=1615)
  671. mqueue on /dev/mqueue type mqueue (rw,relatime)
  672. debugfs on /sys/kernel/debug type debugfs (rw,relatime)
  673. fusectl on /sys/fs/fuse/connections type fusectl (rw,relatime)
  674. hugetlbfs on /dev/hugepages type hugetlbfs (rw,relatime,pagesize=2M)
  675. configfs on /sys/kernel/config type configfs (rw,relatime)
  676. tmpfs on /tmp type tmpfs (rw,nosuid,nodev,relatime)
  677. tmpfs on /run/user/999 type tmpfs (rw,nosuid,nodev,relatime,size=381312k,mode=700,uid=999,gid=999)
  678. gvfsd-fuse on /run/user/999/gvfs type fuse.gvfsd-fuse (rw,nosuid,nodev,relatime,user_id=999,group_id=999)
  679. /dev/sda1 on /mnt/boot-sav/sda1 type ext4 (rw,relatime,data=ordered)
  680.  
  681.  
  682. =================== ls:
  683. /sys/block/sda (filtered): alignment_offset bdi capability dev device discard_alignment events events_async events_poll_msecs ext_range holders inflight integrity power queue range removable ro sda1 sda2 sda5 size slaves stat subsystem trace uevent
  684. /sys/block/sdb (filtered): alignment_offset bdi capability dev device discard_alignment events events_async events_poll_msecs ext_range holders inflight integrity power queue range removable ro sdb1 size slaves stat subsystem trace uevent
  685. /sys/block/sr0 (filtered): alignment_offset bdi capability dev device discard_alignment events events_async events_poll_msecs ext_range holders inflight integrity power queue range removable ro size slaves stat subsystem trace uevent
  686. /dev (filtered): acpi_thermal_rel autofs block bsg btrfs-control bus cdrom cdrw char console core cpu cpu_dma_latency cuse disk dri drm_dp_aux0 dvd dvdrw ecryptfs fb0 fd full fuse gpiochip0 hidraw0 hpet hugepages hwrng i2c-0 i2c-1 i2c-2 i2c-3 i2c-4 i2c-5 initctl input kmsg kvm lightnvm log mapper mcelog media0 mei0 mem memory_bandwidth mqueue net network_latency network_throughput null port ppp psaux ptmx pts random rfkill rtc rtc0 sda sda1 sda2 sda5 sdb sdb1 sg0 sg1 sg2 shm snapshot snd sr0 stderr stdin stdout uhid uinput urandom userio v4l v4l-touch0 vfio vga_arbiter vhci vhost-net vhost-vsock video0 zero
  687. ls /dev/mapper: control
  688. Partition 2 does not start on physical sector boundary.
  689.  
  690. =================== df -Th:
  691.  
  692. Filesystem Type Size Used Avail Use% Mounted on
  693. udev devtmpfs 1.8G 0 1.8G 0% /dev
  694. tmpfs tmpfs 373M 6.2M 367M 2% /run
  695. /dev/sdb1 vfat 15G 960M 14G 7% /cdrom
  696. /dev/loop0 squashfs 630M 630M 0 100% /rofs
  697. /cow overlay 1.9G 5.0M 1.9G 1% /
  698. tmpfs tmpfs 1.9G 0 1.9G 0% /dev/shm
  699. tmpfs tmpfs 5.0M 4.0K 5.0M 1% /run/lock
  700. tmpfs tmpfs 1.9G 0 1.9G 0% /sys/fs/cgroup
  701. tmpfs tmpfs 1.9G 4.0K 1.9G 1% /tmp
  702. tmpfs tmpfs 373M 4.0K 373M 1% /run/user/999
  703. /dev/sda1 ext4 914G 3.8G 863G 1% /mnt/boot-sav/sda1
  704.  
  705. =================== fdisk -l:
  706. Disk /dev/loop0: 629.3 MiB, 659873792 bytes, 1288816 sectors
  707. Units: sectors of 1 * 512 = 512 bytes
  708. Sector size (logical/physical): 512 bytes / 512 bytes
  709. I/O size (minimum/optimal): 512 bytes / 512 bytes
  710.  
  711.  
  712. Disk /dev/sda: 931.5 GiB, 1000204886016 bytes, 1953525168 sectors
  713. Units: sectors of 1 * 512 = 512 bytes
  714. Sector size (logical/physical): 512 bytes / 4096 bytes
  715. I/O size (minimum/optimal): 4096 bytes / 4096 bytes
  716. Disklabel type: dos
  717. Disk identifier: 0x7239f632
  718.  
  719. Device Boot Start End Sectors Size Id Type
  720. /dev/sda1 * 2048 1945602047 1945600000 927.8G 83 Linux
  721. /dev/sda2 1945604094 1953523711 7919618 3.8G 5 Extended
  722. /dev/sda5 1945604096 1953523711 7919616 3.8G 82 Linux swap / Solaris
  723.  
  724.  
  725.  
  726.  
  727.  
  728. Disk /dev/sdb: 14.5 GiB, 15597568000 bytes, 30464000 sectors
  729. Units: sectors of 1 * 512 = 512 bytes
  730. Sector size (logical/physical): 512 bytes / 512 bytes
  731. I/O size (minimum/optimal): 512 bytes / 512 bytes
  732. Disklabel type: dos
  733. Disk identifier: 0xb935dbfb
  734.  
  735. Device Boot Start End Sectors Size Id Type
  736. /dev/sdb1 * 32 30463999 30463968 14.5G c W95 FAT32 (LBA)
  737.  
  738.  
  739. Disk /dev/zram0: 465.5 MiB, 488083456 bytes, 119161 sectors
  740. Units: sectors of 1 * 4096 = 4096 bytes
  741. Sector size (logical/physical): 4096 bytes / 4096 bytes
  742. I/O size (minimum/optimal): 4096 bytes / 4096 bytes
  743.  
  744.  
  745. Disk /dev/zram1: 465.5 MiB, 488083456 bytes, 119161 sectors
  746. Units: sectors of 1 * 4096 = 4096 bytes
  747. Sector size (logical/physical): 4096 bytes / 4096 bytes
  748. I/O size (minimum/optimal): 4096 bytes / 4096 bytes
  749.  
  750.  
  751. Disk /dev/zram2: 465.5 MiB, 488083456 bytes, 119161 sectors
  752. Units: sectors of 1 * 4096 = 4096 bytes
  753. Sector size (logical/physical): 4096 bytes / 4096 bytes
  754. I/O size (minimum/optimal): 4096 bytes / 4096 bytes
  755.  
  756.  
  757. Disk /dev/zram3: 465.5 MiB, 488083456 bytes, 119161 sectors
  758. Units: sectors of 1 * 4096 = 4096 bytes
  759. Sector size (logical/physical): 4096 bytes / 4096 bytes
  760. I/O size (minimum/optimal): 4096 bytes / 4096 bytes
  761.  
  762.  
  763. ping: google.com: Temporary failure in name resolution
  764.  
  765. =================== Recommended repair
  766. The default repair of the Boot-Repair utility will reinstall the grub2 of sda1 into the MBR of sda.
  767. Additional repair will be performed: unhide-bootmenu-10s
  768.  
  769.  
  770. Unhide GRUB boot menu in sda1/etc/default/grub
  771. lspci: Unable to load libkmod resources: error -12
  772.  
  773. *******lspci -nnk | grep -iA3 vga
  774. 00:02.0 VGA compatible controller [0300]: Intel Corporation Sky Lake Integrated Graphics [8086:1916] (rev 07)
  775. DeviceName: Onboard IGD
  776. Subsystem: Dell Skylake Integrated Graphics [1028:078c]
  777. Kernel driver in use: i915
  778. *******
  779.  
  780. grub-install --version
  781. grub-install (GRUB) 2.02~beta2-36ubuntu3.17,grub-install (GRUB) 2.
  782.  
  783. Reinstall the GRUB of sda1 into the MBR of sda
  784. Installing for i386-pc platform.
  785. Installation finished. No error reported.
  786. grub-install /dev/sda: exit code of grub-install /dev/sda:0
  787.  
  788. chroot /mnt/boot-sav/sda1 update-grub
  789. Generating grub configuration file ...
  790. Found linux image: /boot/vmlinuz-4.13.0-36-generic
  791. Found initrd image: /boot/initrd.img-4.13.0-36-generic
  792. Found memtest86+ image: /boot/memtest86+.elf
  793. Found memtest86+ image: /boot/memtest86+.bin
  794. Unhide GRUB boot menu in sda1/boot/grub/grub.cfg
  795.  
  796. Boot successfully repaired.
  797.  
  798. You can now reboot your computer.
  799.  
  800.  
  801. The boot files of [Ubuntu 16.04.4 LTS] are far from the start of the disk. Your BIOS may not detect them. You may want to retry after creating a /boot partition (EXT4, >200MB, start of the disk). This can be performed via tools such as gParted. Then select this partition via the [Separate /boot partition:] option of [Boot Repair]. (https://help.ubuntu.com/community/BootPartition)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement