1. Boot Info Script cfd9efe + Boot-Repair extra info [Boot-Info 26Apr2016]
  2. ============================= Boot Info Summary: ===============================
  3. => Grub2 (v2.00) is installed in the MBR of /dev/sda and looks at sector
  4. 976771072 of the same hard drive for core.img. core.img is at this
  5. location and looks for (,gpt2)/boot/grub. It also embeds following
  6. components:
  7. modules
  8. ---------------------------------------------------------------------------
  9. fshelp ext2 part_gpt biosdisk
  10. ---------------------------------------------------------------------------
  11. => Syslinux MBR (5.00 and higher) is installed in the MBR of /dev/sdb.
  12. => No known boot loader is installed in the MBR of /dev/sdc.
  13. sda1: __________________________________________________________________________
  14. File system: vfat
  15. Boot sector type: FAT32
  16. Boot sector info: No errors found in the Boot Parameter Block.
  17. Operating System:
  18. Boot files: /EFI/Boot/bootx64.efi /EFI/ubuntu/MokManager.efi
  19. /EFI/ubuntu/fwupx64.efi /EFI/ubuntu/grubx64.efi
  20. /EFI/ubuntu/shimx64.efi
  21. /EFI/Microsoft/Boot/bootmgfw.efi
  22. /EFI/Microsoft/Boot/bootx64.efi /grub/i386-pc/core.img
  23. sda2: __________________________________________________________________________
  24. File system: swap
  25. Boot sector type: -
  26. Boot sector info:
  27. sda3: __________________________________________________________________________
  28. File system: ext4
  29. Boot sector type: -
  30. Boot sector info:
  31. Operating System: Ubuntu 16.04.1 LTS
  32. Boot files: /boot/grub/grub.cfg /etc/fstab
  33. /boot/grub/i386-pc/core.img
  34. sda4: __________________________________________________________________________
  35. File system: ext4
  36. Boot sector type: -
  37. Boot sector info:
  38. Operating System:
  39. Boot files:
  40. sda5: __________________________________________________________________________
  41. File system: BIOS Boot partition
  42. Boot sector type: Grub2's core.img
  43. Boot sector info:
  44. sdb1: __________________________________________________________________________
  45. File system: vfat
  46. Boot sector type: SYSLINUX 6.03
  47. Boot sector info: Syslinux looks at sector 16392 of /dev/sdb1 for its
  48. second stage. The integrity check of Syslinux failed.
  49. No errors found in the Boot Parameter Block.
  50. Operating System:
  51. Boot files: /boot/grub/grub.cfg /syslinux.cfg /casper/vmlinuz.efi
  52. /EFI/BOOT/grubx64.efi /ldlinux.sys
  53. sdc1: __________________________________________________________________________
  54. File system:
  55. Boot sector type: Unknown
  56. Boot sector info:
  57. Mounting failed: mount: unknown filesystem type ''
  58. sdc2: __________________________________________________________________________
  59. File system:
  60. Boot sector type: Unknown
  61. Boot sector info:
  62. Mounting failed: mount: unknown filesystem type ''
  63. mount: unknown filesystem type ''
  64. sdc3: __________________________________________________________________________
  65. File system:
  66. Boot sector type: Unknown
  67. Boot sector info:
  68. Mounting failed: mount: unknown filesystem type ''
  69. mount: unknown filesystem type ''
  70. mount: unknown filesystem type ''
  71. sdc4: __________________________________________________________________________
  72. File system:
  73. Boot sector type: Unknown
  74. Boot sector info:
  75. Mounting failed: mount: unknown filesystem type ''
  76. mount: unknown filesystem type ''
  77. mount: unknown filesystem type ''
  78. mount: unknown filesystem type ''
  79. ============================ Drive/Partition Info: =============================
  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 / 4096 bytes
  84. I/O size (minimum/optimal): 4096 bytes / 4096 bytes
  85. Disklabel type: gpt
  86. Partition Boot Start Sector End Sector # of Sectors Id System
  87. /dev/sda1 1 976,773,167 976,773,167 ee GPT
  88. GUID Partition Table detected.
  89. Partition Attrs Start Sector End Sector # of Sectors System
  90. /dev/sda1 2,048 487,423 485,376 EFI System partition
  91. /dev/sda2 487,424 16,488,447 16,001,024 Swap partition (Linux)
  92. /dev/sda3 16,488,448 76,488,703 60,000,256 Data partition (Linux)
  93. /dev/sda4 76,488,704 976,771,071 900,282,368 Data partition (Linux)
  94. /dev/sda5 976,771,072 976,773,119 2,048 BIOS Boot partition
  95. Attributes: R=Required, N=No Block IO, B=Legacy BIOS Bootable, +=More bits set
  96. Drive: sdb _____________________________________________________________________
  97. Disk /dev/sdb: 3.7 GiB, 4004511744 bytes, 7821312 sectors
  98. Units: sectors of 1 * 512 = 512 bytes
  99. Sector size (logical/physical): 512 bytes / 512 bytes
  100. I/O size (minimum/optimal): 512 bytes / 512 bytes
  101. Disklabel type: dos
  102. Partition Boot Start Sector End Sector # of Sectors Id System
  103. /dev/sdb1 * 2,048 7,821,311 7,819,264 c W95 FAT32 (LBA)
  104. Drive: sdc _____________________________________________________________________
  105. Disk /dev/sdc: 29.8 GiB, 32017047552 bytes, 62533296 sectors
  106. Units: sectors of 1 * 512 = 512 bytes
  107. Sector size (logical/physical): 512 bytes / 512 bytes
  108. I/O size (minimum/optimal): 512 bytes / 512 bytes
  109. Partition Boot Start Sector End Sector # of Sectors Id System
  110. Invalid MBR Signature found.
  111. /dev/sdc1 ? 224 16,318,687 16,318,464 40 Venix 80286
  112. /dev/sdc2 11,403,264 31,326,207 19,922,944 0 Empty
  113. /dev/sdc3 0 4,294,901,759 4,294,901,760 0 Empty
  114. /dev/sdc4 ? 1,069,547,528 5,364,514,795 4,294,967,268 e4 SpeedStor
  115. /dev/sdc1 overlaps with /dev/sdc2
  116. /dev/sdc1 overlaps with /dev/sdc3
  117. /dev/sdc2 overlaps with /dev/sdc3
  118. /dev/sdc3 ends after the last sector of /dev/sdc
  119. /dev/sdc3 overlaps with /dev/sdc4
  120. /dev/sdc4 ends after the last sector of /dev/sdc
  121. "blkid" output: ________________________________________________________________
  122. Device UUID TYPE LABEL
  123. /dev/loop0 squashfs
  124. /dev/sda1 D6AD-E8A6 vfat
  125. /dev/sda2 ad91ffcc-79ba-40b6-a304-db1b1a259288 swap
  126. /dev/sda3 eec25470-e967-45a4-a7e5-fe37d3656578 ext4
  127. /dev/sda4 dd116a41-8722-4b22-9fa5-1f4235622cf6 ext4
  128. /dev/sda5
  129. /dev/sdb1 DC69-62D5 vfat UBUNTU 16_0
  130. ========================= "ls -l /dev/disk/by-id" output: ======================
  131. total 0
  132. lrwxrwxrwx 1 root root 9 Nov 5 13:35 ata-HGST_HTS725050A7E630_TF0500WJ0S1JAL -> ../../sda
  133. lrwxrwxrwx 1 root root 10 Nov 5 13:35 ata-HGST_HTS725050A7E630_TF0500WJ0S1JAL-part1 -> ../../sda1
  134. lrwxrwxrwx 1 root root 10 Nov 5 13:35 ata-HGST_HTS725050A7E630_TF0500WJ0S1JAL-part2 -> ../../sda2
  135. lrwxrwxrwx 1 root root 10 Nov 5 13:35 ata-HGST_HTS725050A7E630_TF0500WJ0S1JAL-part3 -> ../../sda3
  136. lrwxrwxrwx 1 root root 10 Nov 5 13:35 ata-HGST_HTS725050A7E630_TF0500WJ0S1JAL-part4 -> ../../sda4
  137. lrwxrwxrwx 1 root root 10 Nov 5 13:36 ata-HGST_HTS725050A7E630_TF0500WJ0S1JAL-part5 -> ../../sda5
  138. lrwxrwxrwx 1 root root 9 Nov 5 13:35 ata-LITEONIT_LMS-32L6M-HP_002417103067 -> ../../sdc
  139. lrwxrwxrwx 1 root root 9 Nov 5 13:21 ata-hp_DVDRAM_GU90N_KX2E5683354 -> ../../sr0
  140. lrwxrwxrwx 1 root root 9 Nov 5 13:35 usb-SanDisk_Cruzer_Blade_20051536101D9E017601-0:0 -> ../../sdb
  141. lrwxrwxrwx 1 root root 10 Nov 5 13:35 usb-SanDisk_Cruzer_Blade_20051536101D9E017601-0:0-part1 -> ../../sdb1
  142. lrwxrwxrwx 1 root root 9 Nov 5 13:35 wwn-0x5000cca7c5ca7a44 -> ../../sda
  143. lrwxrwxrwx 1 root root 10 Nov 5 13:35 wwn-0x5000cca7c5ca7a44-part1 -> ../../sda1
  144. lrwxrwxrwx 1 root root 10 Nov 5 13:35 wwn-0x5000cca7c5ca7a44-part2 -> ../../sda2
  145. lrwxrwxrwx 1 root root 10 Nov 5 13:35 wwn-0x5000cca7c5ca7a44-part3 -> ../../sda3
  146. lrwxrwxrwx 1 root root 10 Nov 5 13:35 wwn-0x5000cca7c5ca7a44-part4 -> ../../sda4
  147. lrwxrwxrwx 1 root root 10 Nov 5 13:36 wwn-0x5000cca7c5ca7a44-part5 -> ../../sda5
  148. lrwxrwxrwx 1 root root 9 Nov 5 13:21 wwn-0x5001480000000000 -> ../../sr0
  149. lrwxrwxrwx 1 root root 9 Nov 5 13:35 wwn-0x50023031001c9011 -> ../../sdc
  150. ================================ Mount points: =================================
  151. Device Mount_Point Type Options
  152. /dev/loop0 /rofs squashfs (ro,noatime)
  153. /dev/sdb1 /cdrom vfat (ro,noatime,fmask=0022,dmask=0022,codepage=437,iocharset=iso8859-1,shortname=mixed,errors=remount-ro)
  154. =================== sda1: Location of files loaded by Grub: ====================
  155. GiB - GB File Fragment(s)
  156. ?? = ?? grub/i386-pc/core.img 1
  157. =========================== sda3/boot/grub/grub.cfg: ===========================
  158. --------------------------------------------------------------------------------
  159. #
  160. # DO NOT EDIT THIS FILE
  161. #
  162. # It is automatically generated by grub-mkconfig using templates
  163. # from /etc/grub.d and settings from /etc/default/grub
  164. #
  165. ### BEGIN /etc/grub.d/00_header ###
  166. if [ -s $prefix/grubenv ]; then
  167. set have_grubenv=true
  168. load_env
  169. fi
  170. if [ "${next_entry}" ] ; then
  171. set default="${next_entry}"
  172. set next_entry=
  173. save_env next_entry
  174. set boot_once=true
  175. else
  176. set default="0"
  177. fi
  178. if [ x"${feature_menuentry_id}" = xy ]; then
  179. menuentry_id_option="--id"
  180. else
  181. menuentry_id_option=""
  182. fi
  183. export menuentry_id_option
  184. if [ "${prev_saved_entry}" ]; then
  185. set saved_entry="${prev_saved_entry}"
  186. save_env saved_entry
  187. set prev_saved_entry=
  188. save_env prev_saved_entry
  189. set boot_once=true
  190. fi
  191. function savedefault {
  192. if [ -z "${boot_once}" ]; then
  193. saved_entry="${chosen}"
  194. save_env saved_entry
  195. fi
  196. }
  197. function recordfail {
  198. set recordfail=1
  199. if [ -n "${have_grubenv}" ]; then if [ -z "${boot_once}" ]; then save_env recordfail; fi; fi
  200. }
  201. function load_video {
  202. if [ x$feature_all_video_module = xy ]; then
  203. insmod all_video
  204. else
  205. insmod efi_gop
  206. insmod efi_uga
  207. insmod ieee1275_fb
  208. insmod vbe
  209. insmod vga
  210. insmod video_bochs
  211. insmod video_cirrus
  212. fi
  213. }
  214. if [ x$feature_default_font_path = xy ] ; then
  215. font=unicode
  216. else
  217. insmod part_gpt
  218. insmod ext2
  219. set root='hd0,gpt3'
  220. if [ x$feature_platform_search_hint = xy ]; then
  221. search --no-floppy --fs-uuid --set=root --hint-bios=hd0,gpt3 --hint-efi=hd0,gpt3 --hint-baremetal=ahci0,gpt3 eec25470-e967-45a4-a7e5-fe37d3656578
  222. else
  223. search --no-floppy --fs-uuid --set=root eec25470-e967-45a4-a7e5-fe37d3656578
  224. fi
  225. font="/usr/share/grub/unicode.pf2"
  226. fi
  227. if loadfont $font ; then
  228. set gfxmode=auto
  229. load_video
  230. insmod gfxterm
  231. set locale_dir=$prefix/locale
  232. set lang=en_US
  233. insmod gettext
  234. fi
  235. terminal_output gfxterm
  236. if [ "${recordfail}" = 1 ] ; then
  237. set timeout=10
  238. else
  239. if [ x$feature_timeout_style = xy ] ; then
  240. set timeout_style=menu
  241. set timeout=10
  242. # Fallback normal timeout code in case the timeout_style feature is
  243. # unavailable.
  244. else
  245. set timeout=10
  246. fi
  247. fi
  248. ### END /etc/grub.d/00_header ###
  249. ### BEGIN /etc/grub.d/05_debian_theme ###
  250. set menu_color_normal=white/black
  251. set menu_color_highlight=black/light-gray
  252. if background_color 44,0,30,0; then
  253. clear
  254. fi
  255. ### END /etc/grub.d/05_debian_theme ###
  256. ### BEGIN /etc/grub.d/10_linux ###
  257. function gfxmode {
  258. set gfxpayload="${1}"
  259. if [ "${1}" = "keep" ]; then
  260. set vt_handoff=vt.handoff=7
  261. else
  262. set vt_handoff=
  263. fi
  264. }
  265. if [ "${recordfail}" != 1 ]; then
  266. if [ -e ${prefix}/gfxblacklist.txt ]; then
  267. if hwmatch ${prefix}/gfxblacklist.txt 3; then
  268. if [ ${match} = 0 ]; then
  269. set linux_gfx_mode=keep
  270. else
  271. set linux_gfx_mode=text
  272. fi
  273. else
  274. set linux_gfx_mode=text
  275. fi
  276. else
  277. set linux_gfx_mode=keep
  278. fi
  279. else
  280. set linux_gfx_mode=text
  281. fi
  282. export linux_gfx_mode
  283. menuentry 'Ubuntu' --class ubuntu --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-simple-eec25470-e967-45a4-a7e5-fe37d3656578' {
  284. recordfail
  285. load_video
  286. gfxmode $linux_gfx_mode
  287. insmod gzio
  288. if [ x$grub_platform = xxen ]; then insmod xzio; insmod lzopio; fi
  289. insmod part_gpt
  290. insmod ext2
  291. set root='hd0,gpt3'
  292. if [ x$feature_platform_search_hint = xy ]; then
  293. search --no-floppy --fs-uuid --set=root --hint-bios=hd0,gpt3 --hint-efi=hd0,gpt3 --hint-baremetal=ahci0,gpt3 eec25470-e967-45a4-a7e5-fe37d3656578
  294. else
  295. search --no-floppy --fs-uuid --set=root eec25470-e967-45a4-a7e5-fe37d3656578
  296. fi
  297. linux /boot/vmlinuz-4.4.0-31-generic.efi.signed root=UUID=eec25470-e967-45a4-a7e5-fe37d3656578 ro quiet splash $vt_handoff
  298. initrd /boot/initrd.img-4.4.0-31-generic
  299. }
  300. submenu 'Advanced options for Ubuntu' $menuentry_id_option 'gnulinux-advanced-eec25470-e967-45a4-a7e5-fe37d3656578' {
  301. menuentry 'Ubuntu, with Linux 4.4.0-31-generic' --class ubuntu --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-4.4.0-31-generic-advanced-eec25470-e967-45a4-a7e5-fe37d3656578' {
  302. recordfail
  303. load_video
  304. gfxmode $linux_gfx_mode
  305. insmod gzio
  306. if [ x$grub_platform = xxen ]; then insmod xzio; insmod lzopio; fi
  307. insmod part_gpt
  308. insmod ext2
  309. set root='hd0,gpt3'
  310. if [ x$feature_platform_search_hint = xy ]; then
  311. search --no-floppy --fs-uuid --set=root --hint-bios=hd0,gpt3 --hint-efi=hd0,gpt3 --hint-baremetal=ahci0,gpt3 eec25470-e967-45a4-a7e5-fe37d3656578
  312. else
  313. search --no-floppy --fs-uuid --set=root eec25470-e967-45a4-a7e5-fe37d3656578
  314. fi
  315. echo 'Loading Linux 4.4.0-31-generic ...'
  316. linux /boot/vmlinuz-4.4.0-31-generic.efi.signed root=UUID=eec25470-e967-45a4-a7e5-fe37d3656578 ro quiet splash $vt_handoff
  317. echo 'Loading initial ramdisk ...'
  318. initrd /boot/initrd.img-4.4.0-31-generic
  319. }
  320. menuentry 'Ubuntu, with Linux 4.4.0-31-generic (upstart)' --class ubuntu --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-4.4.0-31-generic-init-upstart-eec25470-e967-45a4-a7e5-fe37d3656578' {
  321. recordfail
  322. load_video
  323. gfxmode $linux_gfx_mode
  324. insmod gzio
  325. if [ x$grub_platform = xxen ]; then insmod xzio; insmod lzopio; fi
  326. insmod part_gpt
  327. insmod ext2
  328. set root='hd0,gpt3'
  329. if [ x$feature_platform_search_hint = xy ]; then
  330. search --no-floppy --fs-uuid --set=root --hint-bios=hd0,gpt3 --hint-efi=hd0,gpt3 --hint-baremetal=ahci0,gpt3 eec25470-e967-45a4-a7e5-fe37d3656578
  331. else
  332. search --no-floppy --fs-uuid --set=root eec25470-e967-45a4-a7e5-fe37d3656578
  333. fi
  334. echo 'Loading Linux 4.4.0-31-generic ...'
  335. linux /boot/vmlinuz-4.4.0-31-generic.efi.signed root=UUID=eec25470-e967-45a4-a7e5-fe37d3656578 ro quiet splash $vt_handoff init=/sbin/upstart
  336. echo 'Loading initial ramdisk ...'
  337. initrd /boot/initrd.img-4.4.0-31-generic
  338. }
  339. menuentry 'Ubuntu, with Linux 4.4.0-31-generic (recovery mode)' --class ubuntu --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-4.4.0-31-generic-recovery-eec25470-e967-45a4-a7e5-fe37d3656578' {
  340. recordfail
  341. load_video
  342. insmod gzio
  343. if [ x$grub_platform = xxen ]; then insmod xzio; insmod lzopio; fi
  344. insmod part_gpt
  345. insmod ext2
  346. set root='hd0,gpt3'
  347. if [ x$feature_platform_search_hint = xy ]; then
  348. search --no-floppy --fs-uuid --set=root --hint-bios=hd0,gpt3 --hint-efi=hd0,gpt3 --hint-baremetal=ahci0,gpt3 eec25470-e967-45a4-a7e5-fe37d3656578
  349. else
  350. search --no-floppy --fs-uuid --set=root eec25470-e967-45a4-a7e5-fe37d3656578
  351. fi
  352. echo 'Loading Linux 4.4.0-31-generic ...'
  353. linux /boot/vmlinuz-4.4.0-31-generic.efi.signed root=UUID=eec25470-e967-45a4-a7e5-fe37d3656578 ro recovery nomodeset
  354. echo 'Loading initial ramdisk ...'
  355. initrd /boot/initrd.img-4.4.0-31-generic
  356. }
  357. }
  358. ### END /etc/grub.d/10_linux ###
  359. ### BEGIN /etc/grub.d/20_linux_xen ###
  360. ### END /etc/grub.d/20_linux_xen ###
  361. ### BEGIN /etc/grub.d/20_memtest86+ ###
  362. ### END /etc/grub.d/20_memtest86+ ###
  363. ### BEGIN /etc/grub.d/25_custom ###
  364. menuentry "EFI/ubuntu/fwupx64.efi" {
  365. search --fs-uuid --no-floppy --set=root D6AD-E8A6
  366. chainloader (${root})/EFI/ubuntu/fwupx64.efi
  367. }
  368. menuentry "EFI/ubuntu/MokManager.efi" {
  369. search --fs-uuid --no-floppy --set=root D6AD-E8A6
  370. chainloader (${root})/EFI/ubuntu/MokManager.efi
  371. }
  372. ### END /etc/grub.d/25_custom ###
  373. ### BEGIN /etc/grub.d/30_os-prober ###
  374. ### END /etc/grub.d/30_os-prober ###
  375. ### BEGIN /etc/grub.d/30_uefi-firmware ###
  376. menuentry 'System setup' $menuentry_id_option 'uefi-firmware' {
  377. fwsetup
  378. }
  379. ### END /etc/grub.d/30_uefi-firmware ###
  380. ### BEGIN /etc/grub.d/40_custom ###
  381. # This file provides an easy way to add custom menu entries. Simply type the
  382. # menu entries you want to add after this comment. Be careful not to change
  383. # the 'exec tail' line above.
  384. ### END /etc/grub.d/40_custom ###
  385. ### BEGIN /etc/grub.d/41_custom ###
  386. if [ -f ${config_directory}/custom.cfg ]; then
  387. source ${config_directory}/custom.cfg
  388. elif [ -z "${config_directory}" -a -f $prefix/custom.cfg ]; then
  389. source $prefix/custom.cfg;
  390. fi
  391. ### END /etc/grub.d/41_custom ###
  392. --------------------------------------------------------------------------------
  393. =============================== sda3/etc/fstab: ================================
  394. --------------------------------------------------------------------------------
  395. # /etc/fstab: static file system information.
  396. #
  397. # Use 'blkid' to print the universally unique identifier for a
  398. # device; this may be used with UUID= as a more robust way to name devices
  399. # that works even if disks are added and removed. See fstab(5).
  400. #
  401. # <file system> <mount point> <type> <options> <dump> <pass>
  402. # / was on /dev/sda3 during installation
  403. UUID=eec25470-e967-45a4-a7e5-fe37d3656578 / ext4 errors=remount-ro 0 1
  404. # /boot/efi was on /dev/sda1 during installation
  405. #UUID=D6AD-E8A6 /boot/efi vfat umask=0077 0 1
  406. # /home was on /dev/sda4 during installation
  407. UUID=dd116a41-8722-4b22-9fa5-1f4235622cf6 /home ext4 defaults 0 2
  408. # swap was on /dev/sda2 during installation
  409. UUID=ad91ffcc-79ba-40b6-a304-db1b1a259288 none swap sw 0 0
  410. UUID=D6AD-E8A6 /boot/efi vfat defaults 0 1
  411. --------------------------------------------------------------------------------
  412. =================== sda3: Location of files loaded by Grub: ====================
  413. GiB - GB File Fragment(s)
  414. 28.003353119 = 30.068371456 boot/grub/grub.cfg 1
  415. 28.020832062 = 30.087139328 boot/grub/i386-pc/core.img 1
  416. 9.150115967 = 9.824862208 boot/vmlinuz-4.4.0-31-generic 1
  417. 28.001567841 = 30.066454528 boot/vmlinuz-4.4.0-31-generic.efi.signed 1
  418. 9.150115967 = 9.824862208 vmlinuz 1
  419. 9.364513397 = 10.055069696 boot/initrd.img-4.4.0-31-generic 2
  420. 9.364513397 = 10.055069696 initrd.img 2
  421. =========================== sdb1/boot/grub/grub.cfg: ===========================
  422. --------------------------------------------------------------------------------
  423. if loadfont /boot/grub/font.pf2 ; then
  424. set gfxmode=auto
  425. insmod efi_gop
  426. insmod efi_uga
  427. insmod gfxterm
  428. terminal_output gfxterm
  429. fi
  430. set menu_color_normal=white/black
  431. set menu_color_highlight=black/light-gray
  432. menuentry "Try Ubuntu without installing" {
  433. set gfxpayload=keep
  434. linux /casper/vmlinuz.efi file=/cdrom/preseed/ubuntu.seed boot=casper quiet splash ---
  435. initrd /casper/initrd.lz
  436. }
  437. menuentry "Install Ubuntu" {
  438. set gfxpayload=keep
  439. linux /casper/vmlinuz.efi file=/cdrom/preseed/ubuntu.seed boot=casper only-ubiquity quiet splash ---
  440. initrd /casper/initrd.lz
  441. }
  442. menuentry "OEM install (for manufacturers)" {
  443. set gfxpayload=keep
  444. linux /casper/vmlinuz.efi file=/cdrom/preseed/ubuntu.seed boot=casper only-ubiquity quiet splash oem-config/enable=true ---
  445. initrd /casper/initrd.lz
  446. }
  447. menuentry "Check disc for defects" {
  448. set gfxpayload=keep
  449. linux /casper/vmlinuz.efi boot=casper integrity-check quiet splash ---
  450. initrd /casper/initrd.lz
  451. }
  452. --------------------------------------------------------------------------------
  453. ============================== sdb1/syslinux.cfg: ==============================
  454. --------------------------------------------------------------------------------
  455. DEFAULT loadconfig
  456. LABEL loadconfig
  457. CONFIG /isolinux/isolinux.cfg
  458. APPEND /isolinux/
  459. --------------------------------------------------------------------------------
  460. =================== sdb1: Location of files loaded by Grub: ====================
  461. GiB - GB File Fragment(s)
  462. ?? = ?? boot/grub/grub.cfg 1
  463. ================= sdb1: Location of files loaded by Syslinux: ==================
  464. GiB - GB File Fragment(s)
  465. ?? = ?? syslinux.cfg 1
  466. ?? = ?? ldlinux.sys 1
  467. ======================== Unknown MBRs/Boot Sectors/etc: ========================
  468. Unknown MBR on /dev/sdc
  469. 00000000 49 6e 74 65 6c 20 49 4d 53 4d 20 4e 56 20 43 61 |Intel IMSM NV Ca|
  470. 00000010 63 68 65 20 43 66 67 2e 20 53 69 67 2e 20 20 20 |che Cfg. Sig. |
  471. 00000020 06 00 aa 00 4a 01 00 00 01 00 01 00 00 00 00 ba |....J...........|
  472. 00000030 f1 02 01 00 00 00 00 00 00 00 03 00 00 00 00 00 |................|
  473. 00000040 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................|
  474. 00000050 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................|
  475. 00000060 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................|
  476. 00000070 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................|
  477. 00000080 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................|
  478. 00000090 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................|
  479. 000000a0 00 00 00 00 00 00 00 00 00 00 f5 55 18 b8 01 00 |...........U....|
  480. 000000b0 03 00 54 46 30 35 30 30 57 4a 30 53 31 4a 41 4c |..TF0500WJ0S1JAL|
  481. 000000c0 00 00 00 00 00 00 d7 00 00 00 00 00 00 00 00 00 |................|
  482. 000000d0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................|
  483. 000000e0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................|
  484. 000000f0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................|
  485. 00000100 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................|
  486. 00000110 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................|
  487. 00000120 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................|
  488. 00000130 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................|
  489. 00000140 00 00 00 00 00 00 00 00 00 00 00 c2 00 00 00 7e |...............~|
  490. 00000150 01 00 00 00 00 00 00 00 78 01 00 3a 02 00 00 00 |........x..:....|
  491. 00000160 ee 02 00 b1 03 00 00 fe f0 02 20 00 00 00 00 00 |.......... .....|
  492. 00000170 01 00 00 00 00 00 80 7a a2 00 ff f5 ff ff ff ff |.......z........|
  493. 00000180 ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff |................|
  494. 00000190 ff ff ff ff ff ff 30 01 00 00 00 00 80 01 20 01 |......0....... .|
  495. 000001a0 00 00 d0 d4 2e 00 00 20 00 00 00 00 00 00 20 00 |....... ...... .|
  496. 000001b0 00 00 20 00 00 00 00 00 00 00 00 bb f1 02 a0 00 |.. .............|
  497. 000001c0 00 00 40 00 00 00 e0 00 00 00 00 00 f9 00 00 00 |..@.............|
  498. 000001d0 00 00 00 00 00 00 00 00 ae 00 00 00 30 01 00 00 |............0...|
  499. 000001e0 f7 5d 00 00 00 00 00 00 00 00 00 00 ff ff 08 00 |.]..............|
  500. 000001f0 c1 3f e4 ff ff ff 08 00 c0 3f e4 ff ff ff 08 00 |.?.......?......|
  501. 00000200
  502. Unknown BootLoader on sdc1
  503. Unknown BootLoader on sdc2
  504. Unknown BootLoader on sdc3
  505. Unknown BootLoader on sdc4
  506. =============================== StdErr Messages: ===============================
  507. hexdump: /dev/sdc1: No such file or directory
  508. hexdump: /dev/sdc1: No such file or directory
  509. hexdump: /dev/sdc2: No such file or directory
  510. hexdump: /dev/sdc2: No such file or directory
  511. hexdump: /dev/sdc3: No such file or directory
  512. hexdump: /dev/sdc3: No such file or directory
  513. hexdump: /dev/sdc4: No such file or directory
  514. hexdump: /dev/sdc4: No such file or directory
  515. File descriptor 9 (/proc/9349/mounts) leaked on lvs invocation. Parent PID 19725: bash
  516. File descriptor 63 (pipe:[81405]) leaked on lvs invocation. Parent PID 19725: bash
  517. ADDITIONAL INFORMATION :
  518. =================== log of boot-repair 2016-11-05__13h35 ===================
  519. boot-repair version : 4ppa38
  520. boot-sav version : 4ppa38
  521. glade2script version : 3.2.3~ppa1
  522. boot-sav-extra version : 4ppa38
  523. Error: /dev/sdc: unrecognised disk label
  524. Error: /dev/sdc: unrecognised disk label
  525. boot-repair is executed in live-session (Ubuntu 16.04.1 LTS, xenial, Ubuntu, x86_64)
  526. CPU op-mode(s): 32-bit, 64-bit
  527. BOOT_IMAGE=/casper/vmlinuz.efi file=/cdrom/preseed/ubuntu.seed boot=casper quiet splash ---
  528. ls: cannot access '/home/usr/.config': No such file or directory
  529. NTFS signature is missing.
  530. Failed to mount '/dev/sda5': Invalid argument
  531. The device '/dev/sda5' doesn't seem to have a valid NTFS.
  532. Maybe the wrong device is used? Or the whole disk instead of a
  533. partition (e.g. /dev/sda, not /dev/sda1)? Or the other way around?
  534. mount /dev/sda5 : Error code 12
  535. mount -r /dev/sda5 /mnt/boot-sav/sda5
  536. NTFS signature is missing.
  537. Failed to mount '/dev/sda5': Invalid argument
  538. The device '/dev/sda5' doesn't seem to have a valid NTFS.
  539. Maybe the wrong device is used? Or the whole disk instead of a
  540. partition (e.g. /dev/sda, not /dev/sda1)? Or the other way around?
  541. mount -r /dev/sda5 : Error code 12
  542. =================== os-prober:
  543. /dev/sda3:Ubuntu 16.04.1 LTS (16.04):Ubuntu:linux
  544. =================== blkid:
  545. /dev/sda1: UUID="D6AD-E8A6" TYPE="vfat" PARTUUID="1c854e5e-11e8-44b3-820b-1c3e78b376d7"
  546. /dev/sda3: UUID="eec25470-e967-45a4-a7e5-fe37d3656578" TYPE="ext4" PARTUUID="6614cbe5-acc1-4143-ad28-0ec944b5e0ee"
  547. /dev/sda4: UUID="dd116a41-8722-4b22-9fa5-1f4235622cf6" TYPE="ext4" PARTUUID="2d7eac53-be8d-4da7-b90d-16a0b7539b0e"
  548. /dev/sdb1: LABEL="UBUNTU 16_0" UUID="DC69-62D5" TYPE="vfat" PARTUUID="0053722e-01"
  549. /dev/loop0: TYPE="squashfs"
  550. /dev/sda2: UUID="ad91ffcc-79ba-40b6-a304-db1b1a259288" TYPE="swap" PARTUUID="d1ad3457-ec58-4612-bde1-814d511e9e92"
  551. /dev/sda5: PARTUUID="2b43b0a6-6ad5-4384-af30-66a0513ea234"
  552. 1 disks with OS, 1 OS : 1 Linux, 0 MacOS, 0 Windows, 0 unknown type OS.
  553. NTFS signature is missing.
  554. Failed to mount '/dev/sda5': Invalid argument
  555. The device '/dev/sda5' doesn't seem to have a valid NTFS.
  556. Maybe the wrong device is used? Or the whole disk instead of a
  557. partition (e.g. /dev/sda, not /dev/sda1)? Or the other way around?
  558. mount /dev/sda5 : Error code 12
  559. mount -r /dev/sda5 /mnt/boot-sav/sda5
  560. NTFS signature is missing.
  561. Failed to mount '/dev/sda5': Invalid argument
  562. The device '/dev/sda5' doesn't seem to have a valid NTFS.
  563. Maybe the wrong device is used? Or the whole disk instead of a
  564. partition (e.g. /dev/sda, not /dev/sda1)? Or the other way around?
  565. mount -r /dev/sda5 : Error code 12
  566. Presence of EFI/Microsoft file detected: /mnt/boot-sav/sda1/EFI/Microsoft/Boot/bootmgfw.efi
  567. Presence of EFI/Microsoft file detected: /mnt/boot-sav/sda1/EFI/Microsoft/Boot/bootx64.efi
  568. Presence of EFI/Boot file detected: /mnt/boot-sav/sda1/EFI/Boot/bootx64.efi
  569. =================== sda3/etc/grub.d/ :
  570. drwxr-xr-x 2 root root 4096 Nov 5 12:28 grub.d
  571. total 80
  572. -rwxr-xr-x 1 root root 9791 Jun 17 09:10 00_header
  573. -rwxr-xr-x 1 root root 6258 Mar 15 2016 05_debian_theme
  574. -rwxr-xr-x 1 root root 12261 Jun 17 09:10 10_linux
  575. -rwxr-xr-x 1 root root 11082 Jun 17 09:10 20_linux_xen
  576. -rwxr-xr-x 1 root root 1992 Jan 28 2016 20_memtest86+
  577. -rwxr-xr-x 1 root root 305 Nov 5 12:28 25_custom
  578. -rwxr-xr-x 1 root root 11692 Jun 17 09:10 30_os-prober
  579. -rwxr-xr-x 1 root root 1418 Jun 17 09:10 30_uefi-firmware
  580. -rwxr-xr-x 1 root root 214 Jun 17 09:10 40_custom
  581. -rwxr-xr-x 1 root root 216 Jun 17 09:10 41_custom
  582. -rw-r--r-- 1 root root 483 Jun 17 09:10 README
  583. =================== sda3/etc/default/grub :
  584. # If you change this file, run 'update-grub' afterwards to update
  585. # /boot/grub/grub.cfg.
  586. # For full documentation of the options in this file, see:
  587. # info -f grub -n 'Simple configuration'
  588. GRUB_DEFAULT=0
  589. #GRUB_HIDDEN_TIMEOUT=0
  590. GRUB_HIDDEN_TIMEOUT_QUIET=true
  591. GRUB_TIMEOUT=10
  592. GRUB_DISTRIBUTOR=`lsb_release -i -s 2> /dev/null || echo Debian`
  593. GRUB_CMDLINE_LINUX_DEFAULT="quiet splash"
  594. GRUB_CMDLINE_LINUX=""
  595. # Uncomment to enable BadRAM filtering, modify to suit your needs
  596. # This works with Linux (no patch required) and with any kernel that obtains
  597. # the memory map information from GRUB (GNU Mach, kernel of FreeBSD ...)
  598. #GRUB_BADRAM="0x01234567,0xfefefefe,0x89abcdef,0xefefefef"
  599. # Uncomment to disable graphical terminal (grub-pc only)
  600. #GRUB_TERMINAL=console
  601. # The resolution used on graphical terminal
  602. # note that you can use only modes which your graphic card supports via VBE
  603. # you can see them in real GRUB with the command `vbeinfo'
  604. #GRUB_GFXMODE=640x480
  605. # Uncomment if you don't want GRUB to pass "root=UUID=xxx" parameter to Linux
  606. #GRUB_DISABLE_LINUX_UUID=true
  607. # Uncomment to disable generation of recovery mode menu entries
  608. #GRUB_DISABLE_RECOVERY="true"
  609. # Uncomment to get a beep at grub start
  610. #GRUB_INIT_TUNE="480 440 1"
  611. /boot/efi detected in the fstab of sda3: UUID=D6AD-E8A6 (sda1)
  612. =================== efibootmgr -v
  613. BootCurrent: 0000
  614. Timeout: 0 seconds
  615. No BootOrder is set; firmware will attempt recovery
  616. Boot0000* mSATA Drive BBS(HD,,0x0).......................................................................
  617. Boot0001* Notebook Upgrade Bay BBS(CDROM,,0x0).......................................................................
  618. Boot0002* Notebook RAID Drive BBS(HD,,0x0).......................................................................
  619. Boot0003* USB Hard Drive 1 - SanDisk Cruzer Blade BBS(HD,,0x900).......................................................................
  620. Boot0004* Notebook Ethernet BBS(128,,0x0)........................E..............................................
  621. Boot0005* ubuntu HD(1,GPT,1c854e5e-11e8-44b3-820b-1c3e78b376d7,0x800,0x76800)/File(EFIubuntushimx64.efi)
  622. =================== UEFI/Legacy mode:
  623. BIOS is EFI-compatible, and is setup in EFI-mode for this live-session.
  624. SecureBoot disabled. (maybe sec-boot, Please report this message to [email protected])
  625. =================== PARTITIONS & DISKS:
  626. sda1 : sda, not-sepboot, grubenv-ok 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/sda1.
  627. sda3 : 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, not-far, /mnt/boot-sav/sda3.
  628. sda4 : sda, maybesepboot, no-grubenv nogrub, no-docgrub, no-update-grub, 32, no-boot, no-os, not--efi--part, part-has-no-fstab, part-has-no-fstab, no-nt, no-winload, no-recov-nor-hid, no-bmgr, notwinboot, nopakmgr, nogrubinstall, no---usr, part-has-no-fstab, not-sep-usr, standard, farbios, /mnt/boot-sav/sda4.
  629. sda5 : sda, maybesepboot, no-grubenv nogrub, no-docgrub, no-update-grub, 32, no-boot, no-os, not--efi--part, part-has-no-fstab, part-has-no-fstab, no-nt, no-winload, no-recov-nor-hid, no-bmgr, notwinboot, nopakmgr, nogrubinstall, no---usr, part-has-no-fstab, not-sep-usr, standard, farbios, /mnt/boot-sav/sda5.
  630. sda : GPT, BIOS_boot, has-correctEFI, not-usb, has-os, 2048 sectors * 512 bytes
  631. =================== parted -l:
  632. Model: ATA HGST HTS725050A7 (scsi)
  633. Disk /dev/sda: 500GB
  634. Sector size (logical/physical): 512B/4096B
  635. Partition Table: gpt
  636. Disk Flags:
  637. Number Start End Size File system Name Flags
  638. 1 1049kB 250MB 249MB fat32 boot, esp
  639. 2 250MB 8442MB 8193MB linux-swap(v1)
  640. 3 8442MB 39.2GB 30.7GB ext4
  641. 4 39.2GB 500GB 461GB ext4
  642. 5 500GB 500GB 1049kB bios_grub
  643. Model: SanDisk Cruzer Blade (scsi)
  644. Disk /dev/sdb: 4005MB
  645. Sector size (logical/physical): 512B/512B
  646. Partition Table: msdos
  647. Disk Flags:
  648. Number Start End Size Type File system Flags
  649. 1 1049kB 4005MB 4003MB primary fat32 boot, lba
  650. Model: ATA LITEONIT LMS-32L (scsi)
  651. Disk /dev/sdc: 32.0GB
  652. Sector size (logical/physical): 512B/512B
  653. Partition Table: unknown
  654. Disk Flags:
  655. =================== parted -lm:
  656. BYT;
  657. /dev/sda:500GB:scsi:512:4096:gpt:ATA HGST HTS725050A7:;
  658. 1:1049kB:250MB:249MB:fat32::boot, esp;
  659. 2:250MB:8442MB:8193MB:linux-swap(v1)::;
  660. 3:8442MB:39.2GB:30.7GB:ext4::;
  661. 4:39.2GB:500GB:461GB:ext4::;
  662. 5:500GB:500GB:1049kB:::bios_grub;
  663. BYT;
  664. /dev/sdb:4005MB:scsi:512:512:msdos:SanDisk Cruzer Blade:;
  665. 1:1049kB:4005MB:4003MB:fat32::boot, lba;
  666. BYT;
  667. /dev/sdc:32.0GB:scsi:512:512:unknown:ATA LITEONIT LMS-32L:;
  668. =================== lsblk:
  669. KNAME TYPE FSTYPE SIZE LABEL
  670. sda disk 465.8G
  671. sda1 part vfat 237M
  672. sda2 part swap 7.6G
  673. sda3 part ext4 28.6G
  674. sda4 part ext4 429.3G
  675. sda5 part 1M
  676. sdb disk 3.7G
  677. sdb1 part vfat 3.7G UBUNTU 16_0
  678. sdc disk 29.8G
  679. sr0 rom 1024M
  680. loop0 loop squashfs 1.4G
  681. KNAME ROTA RO RM STATE MOUNTPOINT
  682. sda 1 0 0 running
  683. sda1 1 0 0 /mnt/boot-sav/sda1
  684. sda2 1 0 0 [SWAP]
  685. sda3 1 0 0 /mnt/boot-sav/sda3
  686. sda4 1 0 0 /mnt/boot-sav/sda4
  687. sda5 1 0 0
  688. sdb 1 0 1 running
  689. sdb1 1 0 1 /cdrom
  690. sdc 0 0 0 running
  691. sr0 1 0 1 running
  692. loop0 1 1 0 /rofs
  693. =================== mount:
  694. sysfs on /sys type sysfs (rw,nosuid,nodev,noexec,relatime)
  695. proc on /proc type proc (rw,nosuid,nodev,noexec,relatime)
  696. udev on /dev type devtmpfs (rw,nosuid,relatime,size=3972088k,nr_inodes=993022,mode=755)
  697. devpts on /dev/pts type devpts (rw,nosuid,noexec,relatime,gid=5,mode=620,ptmxmode=000)
  698. tmpfs on /run type tmpfs (rw,nosuid,noexec,relatime,size=797344k,mode=755)
  699. /dev/sdb1 on /cdrom type vfat (ro,noatime,fmask=0022,dmask=0022,codepage=437,iocharset=iso8859-1,shortname=mixed,errors=remount-ro)
  700. /dev/loop0 on /rofs type squashfs (ro,noatime)
  701. /cow on / type overlay (rw,relatime,lowerdir=//filesystem.squashfs,upperdir=/cow/upper,workdir=/cow/work)
  702. securityfs on /sys/kernel/security type securityfs (rw,nosuid,nodev,noexec,relatime)
  703. tmpfs on /dev/shm type tmpfs (rw,nosuid,nodev)
  704. tmpfs on /run/lock type tmpfs (rw,nosuid,nodev,noexec,relatime,size=5120k)
  705. tmpfs on /sys/fs/cgroup type tmpfs (ro,nosuid,nodev,noexec,mode=755)
  706. cgroup on /sys/fs/cgroup/systemd type cgroup (rw,nosuid,nodev,noexec,relatime,xattr,release_agent=/lib/systemd/systemd-cgroups-agent,name=systemd)
  707. pstore on /sys/fs/pstore type pstore (rw,nosuid,nodev,noexec,relatime)
  708. efivarfs on /sys/firmware/efi/efivars type efivarfs (rw,nosuid,nodev,noexec,relatime)
  709. cgroup on /sys/fs/cgroup/net_cls,net_prio type cgroup (rw,nosuid,nodev,noexec,relatime,net_cls,net_prio)
  710. cgroup on /sys/fs/cgroup/devices type cgroup (rw,nosuid,nodev,noexec,relatime,devices)
  711. cgroup on /sys/fs/cgroup/cpuset type cgroup (rw,nosuid,nodev,noexec,relatime,cpuset)
  712. cgroup on /sys/fs/cgroup/perf_event type cgroup (rw,nosuid,nodev,noexec,relatime,perf_event)
  713. cgroup on /sys/fs/cgroup/hugetlb type cgroup (rw,nosuid,nodev,noexec,relatime,hugetlb)
  714. cgroup on /sys/fs/cgroup/freezer type cgroup (rw,nosuid,nodev,noexec,relatime,freezer)
  715. cgroup on /sys/fs/cgroup/memory type cgroup (rw,nosuid,nodev,noexec,relatime,memory)
  716. cgroup on /sys/fs/cgroup/cpu,cpuacct type cgroup (rw,nosuid,nodev,noexec,relatime,cpu,cpuacct)
  717. cgroup on /sys/fs/cgroup/pids type cgroup (rw,nosuid,nodev,noexec,relatime,pids)
  718. cgroup on /sys/fs/cgroup/blkio type cgroup (rw,nosuid,nodev,noexec,relatime,blkio)
  719. systemd-1 on /proc/sys/fs/binfmt_misc type autofs (rw,relatime,fd=29,pgrp=1,timeout=0,minproto=5,maxproto=5,direct)
  720. debugfs on /sys/kernel/debug type debugfs (rw,relatime)
  721. hugetlbfs on /dev/hugepages type hugetlbfs (rw,relatime)
  722. mqueue on /dev/mqueue type mqueue (rw,relatime)
  723. tracefs on /sys/kernel/debug/tracing type tracefs (rw,relatime)
  724. fusectl on /sys/fs/fuse/connections type fusectl (rw,relatime)
  725. tmpfs on /tmp type tmpfs (rw,nosuid,nodev,relatime)
  726. tmpfs on /run/user/999 type tmpfs (rw,nosuid,nodev,relatime,size=797344k,mode=700,uid=999,gid=999)
  727. gvfsd-fuse on /run/user/999/gvfs type fuse.gvfsd-fuse (rw,nosuid,nodev,relatime,user_id=999,group_id=999)
  728. /dev/sda1 on /mnt/boot-sav/sda1 type vfat (rw,relatime,fmask=0022,dmask=0022,codepage=437,iocharset=iso8859-1,shortname=mixed,errors=remount-ro)
  729. /dev/sda3 on /mnt/boot-sav/sda3 type ext4 (rw,relatime,data=ordered)
  730. /dev/sda4 on /mnt/boot-sav/sda4 type ext4 (rw,relatime,data=ordered)
  731. =================== ls:
  732. /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 sda3 sda4 sda5 size slaves stat subsystem trace uevent
  733. /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
  734. /sys/block/sdc (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
  735. /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
  736. /dev (filtered): autofs block bsg btrfs-control bus cdrom cdrw char console core cpu cpu_dma_latency cuse disk dri dvd dvdrw ecryptfs fb0 fb1 fd freefall full fuse hpet hugepages hwrng i2c-0 i2c-1 i2c-10 i2c-11 i2c-12 i2c-13 i2c-14 i2c-15 i2c-16 i2c-17 i2c-18 i2c-19 i2c-2 i2c-20 i2c-21 i2c-3 i2c-4 i2c-5 i2c-6 i2c-7 i2c-8 i2c-9 initctl input kmsg kvm lightnvm log lp0 mapper mcelog media0 mei0 mem memory_bandwidth mqueue net network_latency network_throughput null parport0 port ppp psaux ptmx ptp0 pts random rfkill rtc rtc0 sda sda1 sda2 sda3 sda4 sda5 sdb sdb1 sdc sg0 sg1 sg2 sg3 shm snapshot snd sr0 stderr stdin stdout tpm0 uhid uinput urandom userio v4l vfio vga_arbiter vhci vhost-net video0 watchdog watchdog0 zero
  737. ls /dev/mapper: control
  738. =================== hexdump -n512 -C /dev/sda1
  739. 00000000 eb 58 90 6d 6b 66 73 2e 66 61 74 00 02 01 20 00 |.X.mkfs.fat... .|
  740. 00000010 02 00 00 00 00 f8 00 00 3f 00 ff 00 00 08 00 00 |........?.......|
  741. 00000020 00 68 07 00 96 0e 00 00 00 00 00 00 02 00 00 00 |.h..............|
  742. 00000030 01 00 06 00 00 00 00 00 00 00 00 00 00 00 00 00 |................|
  743. 00000040 80 01 29 a6 e8 ad d6 4e 4f 20 4e 41 4d 45 20 20 |..)....NO NAME |
  744. 00000050 20 20 46 41 54 33 32 20 20 20 0e 1f be 77 7c ac | FAT32 ...w|.|
  745. 00000060 22 c0 74 0b 56 b4 0e bb 07 00 cd 10 5e eb f0 32 |".t.V.......^..2|
  746. 00000070 e4 cd 16 cd 19 eb fe 54 68 69 73 20 69 73 20 6e |.......This is n|
  747. 00000080 6f 74 20 61 20 62 6f 6f 74 61 62 6c 65 20 64 69 |ot a bootable di|
  748. 00000090 73 6b 2e 20 20 50 6c 65 61 73 65 20 69 6e 73 65 |sk. Please inse|
  749. 000000a0 72 74 20 61 20 62 6f 6f 74 61 62 6c 65 20 66 6c |rt a bootable fl|
  750. 000000b0 6f 70 70 79 20 61 6e 64 0d 0a 70 72 65 73 73 20 |oppy and..press |
  751. 000000c0 61 6e 79 20 6b 65 79 20 74 6f 20 74 72 79 20 61 |any key to try a|
  752. 000000d0 67 61 69 6e 20 2e 2e 2e 20 0d 0a 00 00 00 00 00 |gain ... .......|
  753. 000000e0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................|
  754. *
  755. 000001f0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 55 aa |..............U.|
  756. 00000200
  757. =================== df -Th:
  758. Filesystem Type Size Used Avail Use% Mounted on
  759. udev devtmpfs 3.8G 0 3.8G 0% /dev
  760. tmpfs tmpfs 779M 9.6M 770M 2% /run
  761. /dev/sdb1 vfat 3.8G 1.5G 2.4G 38% /cdrom
  762. /dev/loop0 squashfs 1.4G 1.4G 0 100% /rofs
  763. /cow overlay 3.9G 101M 3.8G 3% /
  764. tmpfs tmpfs 3.9G 176K 3.9G 1% /dev/shm
  765. tmpfs tmpfs 5.0M 4.0K 5.0M 1% /run/lock
  766. tmpfs tmpfs 3.9G 0 3.9G 0% /sys/fs/cgroup
  767. tmpfs tmpfs 3.9G 152K 3.9G 1% /tmp
  768. tmpfs tmpfs 779M 92K 779M 1% /run/user/999
  769. /dev/sda1 vfat 234M 13M 222M 6% /mnt/boot-sav/sda1
  770. /dev/sda3 ext4 29G 3.4G 24G 13% /mnt/boot-sav/sda3
  771. /dev/sda4 ext4 423G 71M 401G 1% /mnt/boot-sav/sda4
  772. =================== fdisk -l:
  773. Disk /dev/ram0: 64 MiB, 67108864 bytes, 131072 sectors
  774. Units: sectors of 1 * 512 = 512 bytes
  775. Sector size (logical/physical): 512 bytes / 4096 bytes
  776. I/O size (minimum/optimal): 4096 bytes / 4096 bytes
  777. Disk /dev/ram1: 64 MiB, 67108864 bytes, 131072 sectors
  778. Units: sectors of 1 * 512 = 512 bytes
  779. Sector size (logical/physical): 512 bytes / 4096 bytes
  780. I/O size (minimum/optimal): 4096 bytes / 4096 bytes
  781. Disk /dev/ram2: 64 MiB, 67108864 bytes, 131072 sectors
  782. Units: sectors of 1 * 512 = 512 bytes
  783. Sector size (logical/physical): 512 bytes / 4096 bytes
  784. I/O size (minimum/optimal): 4096 bytes / 4096 bytes
  785. Disk /dev/ram3: 64 MiB, 67108864 bytes, 131072 sectors
  786. Units: sectors of 1 * 512 = 512 bytes
  787. Sector size (logical/physical): 512 bytes / 4096 bytes
  788. I/O size (minimum/optimal): 4096 bytes / 4096 bytes
  789. Disk /dev/ram4: 64 MiB, 67108864 bytes, 131072 sectors
  790. Units: sectors of 1 * 512 = 512 bytes
  791. Sector size (logical/physical): 512 bytes / 4096 bytes
  792. I/O size (minimum/optimal): 4096 bytes / 4096 bytes
  793. Disk /dev/ram5: 64 MiB, 67108864 bytes, 131072 sectors
  794. Units: sectors of 1 * 512 = 512 bytes
  795. Sector size (logical/physical): 512 bytes / 4096 bytes
  796. I/O size (minimum/optimal): 4096 bytes / 4096 bytes
  797. Disk /dev/ram6: 64 MiB, 67108864 bytes, 131072 sectors
  798. Units: sectors of 1 * 512 = 512 bytes
  799. Sector size (logical/physical): 512 bytes / 4096 bytes
  800. I/O size (minimum/optimal): 4096 bytes / 4096 bytes
  801. Disk /dev/ram7: 64 MiB, 67108864 bytes, 131072 sectors
  802. Units: sectors of 1 * 512 = 512 bytes
  803. Sector size (logical/physical): 512 bytes / 4096 bytes
  804. I/O size (minimum/optimal): 4096 bytes / 4096 bytes
  805. Disk /dev/ram8: 64 MiB, 67108864 bytes, 131072 sectors
  806. Units: sectors of 1 * 512 = 512 bytes
  807. Sector size (logical/physical): 512 bytes / 4096 bytes
  808. I/O size (minimum/optimal): 4096 bytes / 4096 bytes
  809. Disk /dev/ram9: 64 MiB, 67108864 bytes, 131072 sectors
  810. Units: sectors of 1 * 512 = 512 bytes
  811. Sector size (logical/physical): 512 bytes / 4096 bytes
  812. I/O size (minimum/optimal): 4096 bytes / 4096 bytes
  813. Disk /dev/ram10: 64 MiB, 67108864 bytes, 131072 sectors
  814. Units: sectors of 1 * 512 = 512 bytes
  815. Sector size (logical/physical): 512 bytes / 4096 bytes
  816. I/O size (minimum/optimal): 4096 bytes / 4096 bytes
  817. Disk /dev/ram11: 64 MiB, 67108864 bytes, 131072 sectors
  818. Units: sectors of 1 * 512 = 512 bytes
  819. Sector size (logical/physical): 512 bytes / 4096 bytes
  820. I/O size (minimum/optimal): 4096 bytes / 4096 bytes
  821. Disk /dev/ram12: 64 MiB, 67108864 bytes, 131072 sectors
  822. Units: sectors of 1 * 512 = 512 bytes
  823. Sector size (logical/physical): 512 bytes / 4096 bytes
  824. I/O size (minimum/optimal): 4096 bytes / 4096 bytes
  825. Disk /dev/ram13: 64 MiB, 67108864 bytes, 131072 sectors
  826. Units: sectors of 1 * 512 = 512 bytes
  827. Sector size (logical/physical): 512 bytes / 4096 bytes
  828. I/O size (minimum/optimal): 4096 bytes / 4096 bytes
  829. Disk /dev/ram14: 64 MiB, 67108864 bytes, 131072 sectors
  830. Units: sectors of 1 * 512 = 512 bytes
  831. Sector size (logical/physical): 512 bytes / 4096 bytes
  832. I/O size (minimum/optimal): 4096 bytes / 4096 bytes
  833. Disk /dev/ram15: 64 MiB, 67108864 bytes, 131072 sectors
  834. Units: sectors of 1 * 512 = 512 bytes
  835. Sector size (logical/physical): 512 bytes / 4096 bytes
  836. I/O size (minimum/optimal): 4096 bytes / 4096 bytes
  837. Disk /dev/loop0: 1.4 GiB, 1459982336 bytes, 2851528 sectors
  838. Units: sectors of 1 * 512 = 512 bytes
  839. Sector size (logical/physical): 512 bytes / 512 bytes
  840. I/O size (minimum/optimal): 512 bytes / 512 bytes
  841. Disk /dev/sda: 465.8 GiB, 500107862016 bytes, 976773168 sectors
  842. Units: sectors of 1 * 512 = 512 bytes
  843. Sector size (logical/physical): 512 bytes / 4096 bytes
  844. I/O size (minimum/optimal): 4096 bytes / 4096 bytes
  845. Disklabel type: gpt
  846. Disk identifier: 428528CE-05B6-45DC-9011-BB349A4208B0
  847. Device Start End Sectors Size Type
  848. /dev/sda1 2048 487423 485376 237M EFI System
  849. /dev/sda2 487424 16488447 16001024 7.6G Linux swap
  850. /dev/sda3 16488448 76488703 60000256 28.6G Linux filesystem
  851. /dev/sda4 76488704 976771071 900282368 429.3G Linux filesystem
  852. /dev/sda5 976771072 976773119 2048 1M BIOS boot
  853. Disk /dev/sdb: 3.7 GiB, 4004511744 bytes, 7821312 sectors
  854. Units: sectors of 1 * 512 = 512 bytes
  855. Sector size (logical/physical): 512 bytes / 512 bytes
  856. I/O size (minimum/optimal): 512 bytes / 512 bytes
  857. Disklabel type: dos
  858. Disk identifier: 0x0053722e
  859. Device Boot Start End Sectors Size Id Type
  860. /dev/sdb1 * 2048 7821311 7819264 3.7G c W95 FAT32 (LBA)
  861. Disk /dev/sdc: 29.8 GiB, 32017047552 bytes, 62533296 sectors
  862. Units: sectors of 1 * 512 = 512 bytes
  863. Sector size (logical/physical): 512 bytes / 512 bytes
  864. I/O size (minimum/optimal): 512 bytes / 512 bytes
  865. =================== Recommended repair
  866. The default repair of the Boot-Repair utility will reinstall the grub-efi-amd64-signed of sda3, using the following options: sda1/boot/efi,
  867. Additional repair will be performed: unhide-bootmenu-10s use-standard-efi-file rename-ms-efi
  868. rm /mnt/boot-sav/sda1/efi/Microsoft/Boot/bootmgfw.efi /mnt/boot-sav/sda1/efi/Microsoft/Boot/bootmgfw.efi.grb
  869. rm /mnt/boot-sav/sda1/efi/Microsoft/Boot/bootx64.efi /mnt/boot-sav/sda1/efi/Microsoft/Boot/bootx64.efi.grb
  870. rm /mnt/boot-sav/sda1/efi/Boot/bootx64.efi /mnt/boot-sav/sda1/efi/Boot/bootx64.efi.grb
  871. Mount sda1 on /mnt/boot-sav/sda3/boot/efi
  872. ls sda1/efi: /ubuntu/shimx64.efi /ubuntu/MokManager.efi /ubuntu/grubx64.efi /ubuntu/grub.cfg /ubuntu/fwupx64.efi /ubuntu/fw /Microsoft/Boot
  873. ls sda1: EFI
  874. grub . Please report this message to [email protected]
  875. *******lspci -nnk | grep -iA3 vga
  876. 00:02.0 VGA compatible controller [0300]: Intel Corporation 4th Gen Core Processor Integrated Graphics Controller [8086:0416] (rev 06)
  877. DeviceName: 128
  878. Subsystem: Hewlett-Packard Company 4th Gen Core Processor Integrated Graphics Controller [103c:1909]
  879. Kernel driver in use: i915
  880. --
  881. 01:00.0 VGA compatible controller [0300]: NVIDIA Corporation GK208GLM [Quadro K610M] [10de:12b9] (rev a1)
  882. Subsystem: Hewlett-Packard Company GK208GLM [Quadro K610M] [103c:1909]
  883. Kernel driver in use: nouveau
  884. Kernel modules: nvidiafb, nouveau
  885. *******
  886. grub-install --version
  887. grub-install (GRUB) 2.02~beta2-36ubuntu3.1,grub-install (GRUB) 2.
  888. chroot /mnt/boot-sav/sda3 efibootmgr -v
  889. BootCurrent: 0000
  890. Timeout: 0 seconds
  891. No BootOrder is set; firmware will attempt recovery
  892. Boot0000* mSATA Drive BBS(HD,,0x0).......................................................................
  893. Boot0001* Notebook Upgrade Bay BBS(CDROM,,0x0).......................................................................
  894. Boot0002* Notebook RAID Drive BBS(HD,,0x0).......................................................................
  895. Boot0003* USB Hard Drive 1 - SanDisk Cruzer Blade BBS(HD,,0x900).......................................................................
  896. Boot0004* Notebook Ethernet BBS(128,,0x0)........................E..............................................
  897. Boot0005* ubuntu HD(1,GPT,1c854e5e-11e8-44b3-820b-1c3e78b376d7,0x800,0x76800)/File(EFIubuntushimx64.efi)
  898. chroot /mnt/boot-sav/sda3 uname -r
  899. Kernel: 4.4.0-31-generic
  900. Reinstall the grub-efi-amd64-signed of sda3
  901. Installing for x86_64-efi platform.
  902. Installation finished. No error reported.
  903. grub-install --efi-directory=/boot/efi --target=x86_64-efi --uefi-secure-boot : exit code of grub-install :0
  904. mv 25_custom
  905. ls sda1/efi: /ubuntu/shimx64.efi /ubuntu/MokManager.efi /ubuntu/grubx64.efi /ubuntu/grub.cfg /ubuntu/fwupx64.efi /ubuntu/fw /Microsoft/Boot
  906. ls sda1: EFI
  907. grub . Please report this message to [email protected]
  908. df /dev/sda1
  909. cp /mnt/boot-sav/sda3/boot/efi/EFI/ubuntu/shimx64.efi /mnt/boot-sav/sda3/boot/efi/EFI/Microsoft/Boot/bootmgfw.efi (& .grb)
  910. df /dev/sda1
  911. cp /mnt/boot-sav/sda3/boot/efi/EFI/ubuntu/shimx64.efi /mnt/boot-sav/sda3/boot/efi/EFI/Microsoft/Boot/bootx64.efi (& .grb)
  912. df /dev/sda1
  913. cp /mnt/boot-sav/sda3/boot/efi/EFI/ubuntu/shimx64.efi /mnt/boot-sav/sda3/boot/efi/EFI/Boot/bootx64.efi (& .grb)
  914. ls sda1/efi: /Microsoft/Boot/bootx64.efi.grb /Microsoft/Boot/bootx64.efi /Microsoft/Boot/bootmgfw.efi.grb /Microsoft/Boot/bootmgfw.efi /ubuntu/shimx64.efi /ubuntu/MokManager.efi /ubuntu/grubx64.efi /ubuntu/grub.cfg /ubuntu/fwupx64.efi /ubuntu/fw /Microsoft/Boot /Boot/bootx64.efi.grb /Boot/bootx64.efi
  915. ls sda1: EFI
  916. grub . Please report this message to [email protected]
  917. Add /mnt/boot-sav/sda3/boot/efi efi entries in /mnt/boot-sav/sda3/etc/grub.d/25_custom
  918. Adding custom /mnt/boot-sav/sda3/boot/efi/EFI/ubuntu/fwupx64.efi
  919. Adding custom /mnt/boot-sav/sda3/boot/efi/EFI/ubuntu/MokManager.efi
  920. chroot /mnt/boot-sav/sda3 efibootmgr -v
  921. BootCurrent: 0000
  922. Timeout: 0 seconds
  923. BootOrder: 0005
  924. Boot0000* mSATA Drive BBS(HD,,0x0).......................................................................
  925. Boot0001* Notebook Upgrade Bay BBS(CDROM,,0x0).......................................................................
  926. Boot0002* Notebook RAID Drive BBS(HD,,0x0).......................................................................
  927. Boot0003* USB Hard Drive 1 - SanDisk Cruzer Blade BBS(HD,,0x900).......................................................................
  928. Boot0004* Notebook Ethernet BBS(128,,0x0)........................E..............................................
  929. Boot0005* ubuntu HD(1,GPT,1c854e5e-11e8-44b3-820b-1c3e78b376d7,0x800,0x76800)/File(EFIubuntushimx64.efi)
  930. chroot /mnt/boot-sav/sda3 update-grub
  931. Generating grub configuration file ...
  932. Found linux image: /boot/vmlinuz-4.4.0-31-generic
  933. Found initrd image: /boot/initrd.img-4.4.0-31-generic
  934. Adding boot menu entry for EFI firmware configuration
  935. NTFS signature is missing.
  936. Failed to mount '/dev/sda5': Invalid argument
  937. The device '/dev/sda5' doesn't seem to have a valid NTFS.
  938. Maybe the wrong device is used? Or the whole disk instead of a
  939. partition (e.g. /dev/sda, not /dev/sda1)? Or the other way around?
  940. mount /dev/sda5 : Error code 12
  941. mount -r /dev/sda5 /mnt/boot-sav/sda5
  942. NTFS signature is missing.
  943. Failed to mount '/dev/sda5': Invalid argument
  944. The device '/dev/sda5' doesn't seem to have a valid NTFS.
  945. Maybe the wrong device is used? Or the whole disk instead of a
  946. partition (e.g. /dev/sda, not /dev/sda1)? Or the other way around?
  947. mount -r /dev/sda5 : Error code 12
  948. Unhide GRUB boot menu in sda3/boot/grub/grub.cfg
  949. Boot successfully repaired.
  950. You can now reboot your computer.
  951. paste.ubuntu.com ko (), using paste.debian
  952. paste.debian.net ko (), using paste2