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 1 of
  4. the same hard drive for core.img. core.img is at this location and looks
  5. for (,msdos1)/boot/grub. It also embeds following components:
  6. modules
  7. ---------------------------------------------------------------------------
  8. fshelp ext2 part_msdos biosdisk
  9. ---------------------------------------------------------------------------
  10. => No known boot loader is installed in the MBR of /dev/sdb.
  11. sda1: __________________________________________________________________________
  12. File system: ext4
  13. Boot sector type: -
  14. Boot sector info:
  15. Operating System: Ubuntu 16.04.1 LTS
  16. Boot files: /boot/grub/grub.cfg /etc/fstab
  17. /boot/grub/i386-pc/core.img
  18. sda2: __________________________________________________________________________
  19. File system: Extended Partition
  20. Boot sector type: Unknown
  21. Boot sector info:
  22. sda5: __________________________________________________________________________
  23. File system: ext4
  24. Boot sector type: -
  25. Boot sector info:
  26. Operating System:
  27. Boot files:
  28. sda6: __________________________________________________________________________
  29. File system: swap
  30. Boot sector type: -
  31. Boot sector info:
  32. sdb1: __________________________________________________________________________
  33. File system: iso9660
  34. Boot sector type: Unknown
  35. Boot sector info:
  36. Mounting failed: mount: /dev/sdb1 is already mounted or /mnt/BootInfo/sdb1 busy
  37. sdb2: __________________________________________________________________________
  38. File system: vfat
  39. Boot sector type: FAT16
  40. Boot sector info: According to the info in the boot sector, sdb2 starts
  41. at sector 0. But according to the info from fdisk,
  42. sdb2 starts at sector 2888004. According to the info
  43. in the boot sector, sdb2 has 0 sectors.
  44. Mounting failed: mount: /dev/sdb1 is already mounted or /mnt/BootInfo/sdb1 busy
  45. mount: /dev/sdb2 is already mounted or /mnt/BootInfo/sdb2 busy
  46. ============================ Drive/Partition Info: =============================
  47. Drive: sda _____________________________________________________________________
  48. Disk /dev/sda: 931.5 GiB, 1000204886016 bytes, 1953525168 sectors
  49. Units: sectors of 1 * 512 = 512 bytes
  50. Sector size (logical/physical): 512 bytes / 4096 bytes
  51. I/O size (minimum/optimal): 4096 bytes / 4096 bytes
  52. Disklabel type: dos
  53. Partition Boot Start Sector End Sector # of Sectors Id System
  54. /dev/sda1 * 2,048 99,999,743 99,997,696 83 Linux
  55. /dev/sda2 100,001,790 1,953,523,711 1,853,521,922 5 Extended
  56. /dev/sda5 100,001,792 1,937,524,735 1,837,522,944 83 Linux
  57. /dev/sda6 1,937,526,784 1,953,523,711 15,996,928 82 Linux swap / Solaris
  58. Drive: sdb _____________________________________________________________________
  59. Disk /dev/sdb: 7.3 GiB, 7826571264 bytes, 15286272 sectors
  60. Units: sectors of 1 * 512 = 512 bytes
  61. Sector size (logical/physical): 512 bytes / 512 bytes
  62. I/O size (minimum/optimal): 512 bytes / 512 bytes
  63. Disklabel type: dos
  64. Partition Boot Start Sector End Sector # of Sectors Id System
  65. /dev/sdb1 * 0 2,902,111 2,902,112 0 Empty
  66. /dev/sdb2 2,888,004 2,892,739 4,736 ef EFI (FAT-12/16/32)
  67. /dev/sdb1 overlaps with /dev/sdb2
  68. GUID Partition Table detected, but does not seem to be used.
  69. Partition Attrs Start Sector End Sector # of Sectors System
  70. /dev/sdb1 + R 0 2,902,055 2,902,056 Data partition (Windows/Linux)
  71. /dev/sdb2 + R 2,888,004 2,892,739 4,736 Data partition (Windows/Linux)
  72. Attributes: R=Required, N=No Block IO, B=Legacy BIOS Bootable, +=More bits set
  73. "blkid" output: ________________________________________________________________
  74. Device UUID TYPE LABEL
  75. /dev/loop0 squashfs
  76. /dev/sda1 843a9886-9047-400c-9a29-3e6c6e1b9133 ext4
  77. /dev/sda5 85efdfcc-1708-4ce5-b40e-c2acd5573533 ext4
  78. /dev/sda6 5025455d-4187-416b-b488-fcc718f47181 swap
  79. /dev/sdb1 2016-04-20-22-29-52-00 iso9660 Ubuntu 16.04 LTS amd64
  80. /dev/sdb2 B1F5-0A13 vfat
  81. ========================= "ls -l /dev/disk/by-id" output: ======================
  82. total 0
  83. lrwxrwxrwx 1 root root 9 Aug 9 17:11 ata-WDC_WD10EZEX-00BN5A0_WD-WMC3F1385470 -> ../../sda
  84. lrwxrwxrwx 1 root root 10 Aug 9 17:11 ata-WDC_WD10EZEX-00BN5A0_WD-WMC3F1385470-part1 -> ../../sda1
  85. lrwxrwxrwx 1 root root 10 Aug 9 17:11 ata-WDC_WD10EZEX-00BN5A0_WD-WMC3F1385470-part2 -> ../../sda2
  86. lrwxrwxrwx 1 root root 10 Aug 9 17:11 ata-WDC_WD10EZEX-00BN5A0_WD-WMC3F1385470-part5 -> ../../sda5
  87. lrwxrwxrwx 1 root root 10 Aug 9 17:11 ata-WDC_WD10EZEX-00BN5A0_WD-WMC3F1385470-part6 -> ../../sda6
  88. lrwxrwxrwx 1 root root 9 Aug 9 17:09 usb-Kingston_DataTraveler_2.0_08606E6B6612BEB0E7163B37-0:0 -> ../../sdb
  89. lrwxrwxrwx 1 root root 10 Aug 9 17:09 usb-Kingston_DataTraveler_2.0_08606E6B6612BEB0E7163B37-0:0-part1 -> ../../sdb1
  90. lrwxrwxrwx 1 root root 10 Aug 9 17:09 usb-Kingston_DataTraveler_2.0_08606E6B6612BEB0E7163B37-0:0-part2 -> ../../sdb2
  91. lrwxrwxrwx 1 root root 9 Aug 9 17:11 wwn-0x50014ee059134152 -> ../../sda
  92. lrwxrwxrwx 1 root root 10 Aug 9 17:11 wwn-0x50014ee059134152-part1 -> ../../sda1
  93. lrwxrwxrwx 1 root root 10 Aug 9 17:11 wwn-0x50014ee059134152-part2 -> ../../sda2
  94. lrwxrwxrwx 1 root root 10 Aug 9 17:11 wwn-0x50014ee059134152-part5 -> ../../sda5
  95. lrwxrwxrwx 1 root root 10 Aug 9 17:11 wwn-0x50014ee059134152-part6 -> ../../sda6
  96. ================================ Mount points: =================================
  97. Device Mount_Point Type Options
  98. /dev/loop0 /rofs squashfs (ro,noatime)
  99. /dev/sda1 /media/ubuntu/843a9886-9047-400c-9a29-3e6c6e1b9133 ext4 (rw,nosuid,nodev,relatime,data=ordered,uhelper=udisks2)
  100. /dev/sda5 /media/ubuntu/85efdfcc-1708-4ce5-b40e-c2acd5573533 ext4 (rw,nosuid,nodev,relatime,data=ordered,uhelper=udisks2)
  101. /dev/sdb /cdrom iso9660 (ro,noatime)
  102. =========================== sda1/boot/grub/grub.cfg: ===========================
  103. --------------------------------------------------------------------------------
  104. #
  105. # DO NOT EDIT THIS FILE
  106. #
  107. # It is automatically generated by grub-mkconfig using templates
  108. # from /etc/grub.d and settings from /etc/default/grub
  109. #
  110. ### BEGIN /etc/grub.d/00_header ###
  111. if [ -s $prefix/grubenv ]; then
  112. set have_grubenv=true
  113. load_env
  114. fi
  115. if [ "${next_entry}" ] ; then
  116. set default="${next_entry}"
  117. set next_entry=
  118. save_env next_entry
  119. set boot_once=true
  120. else
  121. set default="0"
  122. fi
  123. if [ x"${feature_menuentry_id}" = xy ]; then
  124. menuentry_id_option="--id"
  125. else
  126. menuentry_id_option=""
  127. fi
  128. export menuentry_id_option
  129. if [ "${prev_saved_entry}" ]; then
  130. set saved_entry="${prev_saved_entry}"
  131. save_env saved_entry
  132. set prev_saved_entry=
  133. save_env prev_saved_entry
  134. set boot_once=true
  135. fi
  136. function savedefault {
  137. if [ -z "${boot_once}" ]; then
  138. saved_entry="${chosen}"
  139. save_env saved_entry
  140. fi
  141. }
  142. function recordfail {
  143. set recordfail=1
  144. if [ -n "${have_grubenv}" ]; then if [ -z "${boot_once}" ]; then save_env recordfail; fi; fi
  145. }
  146. function load_video {
  147. if [ x$feature_all_video_module = xy ]; then
  148. insmod all_video
  149. else
  150. insmod efi_gop
  151. insmod efi_uga
  152. insmod ieee1275_fb
  153. insmod vbe
  154. insmod vga
  155. insmod video_bochs
  156. insmod video_cirrus
  157. fi
  158. }
  159. if [ x$feature_default_font_path = xy ] ; then
  160. font=unicode
  161. else
  162. insmod part_msdos
  163. insmod ext2
  164. set root='hd0,msdos1'
  165. if [ x$feature_platform_search_hint = xy ]; then
  166. search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos1 --hint-efi=hd0,msdos1 --hint-baremetal=ahci0,msdos1 843a9886-9047-400c-9a29-3e6c6e1b9133
  167. else
  168. search --no-floppy --fs-uuid --set=root 843a9886-9047-400c-9a29-3e6c6e1b9133
  169. fi
  170. font="/usr/share/grub/unicode.pf2"
  171. fi
  172. if loadfont $font ; then
  173. set gfxmode=auto
  174. load_video
  175. insmod gfxterm
  176. set locale_dir=$prefix/locale
  177. set lang=en_US
  178. insmod gettext
  179. fi
  180. terminal_output gfxterm
  181. if [ "${recordfail}" = 1 ] ; then
  182. set timeout=10
  183. else
  184. if [ x$feature_timeout_style = xy ] ; then
  185. set timeout_style=menu
  186. set timeout=10
  187. # Fallback normal timeout code in case the timeout_style feature is
  188. # unavailable.
  189. else
  190. set timeout=10
  191. fi
  192. fi
  193. ### END /etc/grub.d/00_header ###
  194. ### BEGIN /etc/grub.d/05_debian_theme ###
  195. set menu_color_normal=white/black
  196. set menu_color_highlight=black/light-gray
  197. if background_color 44,0,30,0; then
  198. clear
  199. fi
  200. ### END /etc/grub.d/05_debian_theme ###
  201. ### BEGIN /etc/grub.d/10_linux ###
  202. function gfxmode {
  203. set gfxpayload="${1}"
  204. if [ "${1}" = "keep" ]; then
  205. set vt_handoff=vt.handoff=7
  206. else
  207. set vt_handoff=
  208. fi
  209. }
  210. if [ "${recordfail}" != 1 ]; then
  211. if [ -e ${prefix}/gfxblacklist.txt ]; then
  212. if hwmatch ${prefix}/gfxblacklist.txt 3; then
  213. if [ ${match} = 0 ]; then
  214. set linux_gfx_mode=keep
  215. else
  216. set linux_gfx_mode=text
  217. fi
  218. else
  219. set linux_gfx_mode=text
  220. fi
  221. else
  222. set linux_gfx_mode=keep
  223. fi
  224. else
  225. set linux_gfx_mode=text
  226. fi
  227. export linux_gfx_mode
  228. menuentry 'Ubuntu' --class ubuntu --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-simple-843a9886-9047-400c-9a29-3e6c6e1b9133' {
  229. recordfail
  230. load_video
  231. gfxmode $linux_gfx_mode
  232. insmod gzio
  233. if [ x$grub_platform = xxen ]; then insmod xzio; insmod lzopio; fi
  234. insmod part_msdos
  235. insmod ext2
  236. set root='hd0,msdos1'
  237. if [ x$feature_platform_search_hint = xy ]; then
  238. search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos1 --hint-efi=hd0,msdos1 --hint-baremetal=ahci0,msdos1 843a9886-9047-400c-9a29-3e6c6e1b9133
  239. else
  240. search --no-floppy --fs-uuid --set=root 843a9886-9047-400c-9a29-3e6c6e1b9133
  241. fi
  242. linux /boot/vmlinuz-4.4.0-34-generic root=UUID=843a9886-9047-400c-9a29-3e6c6e1b9133 ro quiet splash $vt_handoff
  243. initrd /boot/initrd.img-4.4.0-34-generic
  244. }
  245. submenu 'Advanced options for Ubuntu' $menuentry_id_option 'gnulinux-advanced-843a9886-9047-400c-9a29-3e6c6e1b9133' {
  246. menuentry 'Ubuntu, with Linux 4.4.0-34-generic' --class ubuntu --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-4.4.0-34-generic-advanced-843a9886-9047-400c-9a29-3e6c6e1b9133' {
  247. recordfail
  248. load_video
  249. gfxmode $linux_gfx_mode
  250. insmod gzio
  251. if [ x$grub_platform = xxen ]; then insmod xzio; insmod lzopio; fi
  252. insmod part_msdos
  253. insmod ext2
  254. set root='hd0,msdos1'
  255. if [ x$feature_platform_search_hint = xy ]; then
  256. search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos1 --hint-efi=hd0,msdos1 --hint-baremetal=ahci0,msdos1 843a9886-9047-400c-9a29-3e6c6e1b9133
  257. else
  258. search --no-floppy --fs-uuid --set=root 843a9886-9047-400c-9a29-3e6c6e1b9133
  259. fi
  260. echo 'Loading Linux 4.4.0-34-generic ...'
  261. linux /boot/vmlinuz-4.4.0-34-generic root=UUID=843a9886-9047-400c-9a29-3e6c6e1b9133 ro quiet splash $vt_handoff
  262. echo 'Loading initial ramdisk ...'
  263. initrd /boot/initrd.img-4.4.0-34-generic
  264. }
  265. menuentry 'Ubuntu, with Linux 4.4.0-34-generic (upstart)' --class ubuntu --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-4.4.0-34-generic-init-upstart-843a9886-9047-400c-9a29-3e6c6e1b9133' {
  266. recordfail
  267. load_video
  268. gfxmode $linux_gfx_mode
  269. insmod gzio
  270. if [ x$grub_platform = xxen ]; then insmod xzio; insmod lzopio; fi
  271. insmod part_msdos
  272. insmod ext2
  273. set root='hd0,msdos1'
  274. if [ x$feature_platform_search_hint = xy ]; then
  275. search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos1 --hint-efi=hd0,msdos1 --hint-baremetal=ahci0,msdos1 843a9886-9047-400c-9a29-3e6c6e1b9133
  276. else
  277. search --no-floppy --fs-uuid --set=root 843a9886-9047-400c-9a29-3e6c6e1b9133
  278. fi
  279. echo 'Loading Linux 4.4.0-34-generic ...'
  280. linux /boot/vmlinuz-4.4.0-34-generic root=UUID=843a9886-9047-400c-9a29-3e6c6e1b9133 ro quiet splash $vt_handoff init=/sbin/upstart
  281. echo 'Loading initial ramdisk ...'
  282. initrd /boot/initrd.img-4.4.0-34-generic
  283. }
  284. menuentry 'Ubuntu, with Linux 4.4.0-34-generic (recovery mode)' --class ubuntu --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-4.4.0-34-generic-recovery-843a9886-9047-400c-9a29-3e6c6e1b9133' {
  285. recordfail
  286. load_video
  287. insmod gzio
  288. if [ x$grub_platform = xxen ]; then insmod xzio; insmod lzopio; fi
  289. insmod part_msdos
  290. insmod ext2
  291. set root='hd0,msdos1'
  292. if [ x$feature_platform_search_hint = xy ]; then
  293. search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos1 --hint-efi=hd0,msdos1 --hint-baremetal=ahci0,msdos1 843a9886-9047-400c-9a29-3e6c6e1b9133
  294. else
  295. search --no-floppy --fs-uuid --set=root 843a9886-9047-400c-9a29-3e6c6e1b9133
  296. fi
  297. echo 'Loading Linux 4.4.0-34-generic ...'
  298. linux /boot/vmlinuz-4.4.0-34-generic root=UUID=843a9886-9047-400c-9a29-3e6c6e1b9133 ro recovery nomodeset
  299. echo 'Loading initial ramdisk ...'
  300. initrd /boot/initrd.img-4.4.0-34-generic
  301. }
  302. 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-843a9886-9047-400c-9a29-3e6c6e1b9133' {
  303. recordfail
  304. load_video
  305. gfxmode $linux_gfx_mode
  306. insmod gzio
  307. if [ x$grub_platform = xxen ]; then insmod xzio; insmod lzopio; fi
  308. insmod part_msdos
  309. insmod ext2
  310. set root='hd0,msdos1'
  311. if [ x$feature_platform_search_hint = xy ]; then
  312. search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos1 --hint-efi=hd0,msdos1 --hint-baremetal=ahci0,msdos1 843a9886-9047-400c-9a29-3e6c6e1b9133
  313. else
  314. search --no-floppy --fs-uuid --set=root 843a9886-9047-400c-9a29-3e6c6e1b9133
  315. fi
  316. echo 'Loading Linux 4.4.0-31-generic ...'
  317. linux /boot/vmlinuz-4.4.0-31-generic root=UUID=843a9886-9047-400c-9a29-3e6c6e1b9133 ro quiet splash $vt_handoff
  318. echo 'Loading initial ramdisk ...'
  319. initrd /boot/initrd.img-4.4.0-31-generic
  320. }
  321. 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-843a9886-9047-400c-9a29-3e6c6e1b9133' {
  322. recordfail
  323. load_video
  324. gfxmode $linux_gfx_mode
  325. insmod gzio
  326. if [ x$grub_platform = xxen ]; then insmod xzio; insmod lzopio; fi
  327. insmod part_msdos
  328. insmod ext2
  329. set root='hd0,msdos1'
  330. if [ x$feature_platform_search_hint = xy ]; then
  331. search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos1 --hint-efi=hd0,msdos1 --hint-baremetal=ahci0,msdos1 843a9886-9047-400c-9a29-3e6c6e1b9133
  332. else
  333. search --no-floppy --fs-uuid --set=root 843a9886-9047-400c-9a29-3e6c6e1b9133
  334. fi
  335. echo 'Loading Linux 4.4.0-31-generic ...'
  336. linux /boot/vmlinuz-4.4.0-31-generic root=UUID=843a9886-9047-400c-9a29-3e6c6e1b9133 ro quiet splash $vt_handoff init=/sbin/upstart
  337. echo 'Loading initial ramdisk ...'
  338. initrd /boot/initrd.img-4.4.0-31-generic
  339. }
  340. 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-843a9886-9047-400c-9a29-3e6c6e1b9133' {
  341. recordfail
  342. load_video
  343. insmod gzio
  344. if [ x$grub_platform = xxen ]; then insmod xzio; insmod lzopio; fi
  345. insmod part_msdos
  346. insmod ext2
  347. set root='hd0,msdos1'
  348. if [ x$feature_platform_search_hint = xy ]; then
  349. search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos1 --hint-efi=hd0,msdos1 --hint-baremetal=ahci0,msdos1 843a9886-9047-400c-9a29-3e6c6e1b9133
  350. else
  351. search --no-floppy --fs-uuid --set=root 843a9886-9047-400c-9a29-3e6c6e1b9133
  352. fi
  353. echo 'Loading Linux 4.4.0-31-generic ...'
  354. linux /boot/vmlinuz-4.4.0-31-generic root=UUID=843a9886-9047-400c-9a29-3e6c6e1b9133 ro recovery nomodeset
  355. echo 'Loading initial ramdisk ...'
  356. initrd /boot/initrd.img-4.4.0-31-generic
  357. }
  358. menuentry 'Ubuntu, with Linux 4.4.0-28-generic' --class ubuntu --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-4.4.0-28-generic-advanced-843a9886-9047-400c-9a29-3e6c6e1b9133' {
  359. recordfail
  360. load_video
  361. gfxmode $linux_gfx_mode
  362. insmod gzio
  363. if [ x$grub_platform = xxen ]; then insmod xzio; insmod lzopio; fi
  364. insmod part_msdos
  365. insmod ext2
  366. set root='hd0,msdos1'
  367. if [ x$feature_platform_search_hint = xy ]; then
  368. search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos1 --hint-efi=hd0,msdos1 --hint-baremetal=ahci0,msdos1 843a9886-9047-400c-9a29-3e6c6e1b9133
  369. else
  370. search --no-floppy --fs-uuid --set=root 843a9886-9047-400c-9a29-3e6c6e1b9133
  371. fi
  372. echo 'Loading Linux 4.4.0-28-generic ...'
  373. linux /boot/vmlinuz-4.4.0-28-generic root=UUID=843a9886-9047-400c-9a29-3e6c6e1b9133 ro quiet splash $vt_handoff
  374. echo 'Loading initial ramdisk ...'
  375. initrd /boot/initrd.img-4.4.0-28-generic
  376. }
  377. menuentry 'Ubuntu, with Linux 4.4.0-28-generic (upstart)' --class ubuntu --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-4.4.0-28-generic-init-upstart-843a9886-9047-400c-9a29-3e6c6e1b9133' {
  378. recordfail
  379. load_video
  380. gfxmode $linux_gfx_mode
  381. insmod gzio
  382. if [ x$grub_platform = xxen ]; then insmod xzio; insmod lzopio; fi
  383. insmod part_msdos
  384. insmod ext2
  385. set root='hd0,msdos1'
  386. if [ x$feature_platform_search_hint = xy ]; then
  387. search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos1 --hint-efi=hd0,msdos1 --hint-baremetal=ahci0,msdos1 843a9886-9047-400c-9a29-3e6c6e1b9133
  388. else
  389. search --no-floppy --fs-uuid --set=root 843a9886-9047-400c-9a29-3e6c6e1b9133
  390. fi
  391. echo 'Loading Linux 4.4.0-28-generic ...'
  392. linux /boot/vmlinuz-4.4.0-28-generic root=UUID=843a9886-9047-400c-9a29-3e6c6e1b9133 ro quiet splash $vt_handoff init=/sbin/upstart
  393. echo 'Loading initial ramdisk ...'
  394. initrd /boot/initrd.img-4.4.0-28-generic
  395. }
  396. menuentry 'Ubuntu, with Linux 4.4.0-28-generic (recovery mode)' --class ubuntu --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-4.4.0-28-generic-recovery-843a9886-9047-400c-9a29-3e6c6e1b9133' {
  397. recordfail
  398. load_video
  399. insmod gzio
  400. if [ x$grub_platform = xxen ]; then insmod xzio; insmod lzopio; fi
  401. insmod part_msdos
  402. insmod ext2
  403. set root='hd0,msdos1'
  404. if [ x$feature_platform_search_hint = xy ]; then
  405. search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos1 --hint-efi=hd0,msdos1 --hint-baremetal=ahci0,msdos1 843a9886-9047-400c-9a29-3e6c6e1b9133
  406. else
  407. search --no-floppy --fs-uuid --set=root 843a9886-9047-400c-9a29-3e6c6e1b9133
  408. fi
  409. echo 'Loading Linux 4.4.0-28-generic ...'
  410. linux /boot/vmlinuz-4.4.0-28-generic root=UUID=843a9886-9047-400c-9a29-3e6c6e1b9133 ro recovery nomodeset
  411. echo 'Loading initial ramdisk ...'
  412. initrd /boot/initrd.img-4.4.0-28-generic
  413. }
  414. }
  415. ### END /etc/grub.d/10_linux ###
  416. ### BEGIN /etc/grub.d/20_linux_xen ###
  417. ### END /etc/grub.d/20_linux_xen ###
  418. ### BEGIN /etc/grub.d/30_os-prober ###
  419. ### END /etc/grub.d/30_os-prober ###
  420. ### BEGIN /etc/grub.d/30_uefi-firmware ###
  421. ### END /etc/grub.d/30_uefi-firmware ###
  422. ### BEGIN /etc/grub.d/40_custom ###
  423. # This file provides an easy way to add custom menu entries. Simply type the
  424. # menu entries you want to add after this comment. Be careful not to change
  425. # the 'exec tail' line above.
  426. ### END /etc/grub.d/40_custom ###
  427. ### BEGIN /etc/grub.d/41_custom ###
  428. if [ -f ${config_directory}/custom.cfg ]; then
  429. source ${config_directory}/custom.cfg
  430. elif [ -z "${config_directory}" -a -f $prefix/custom.cfg ]; then
  431. source $prefix/custom.cfg;
  432. fi
  433. ### END /etc/grub.d/41_custom ###
  434. --------------------------------------------------------------------------------
  435. =============================== sda1/etc/fstab: ================================
  436. --------------------------------------------------------------------------------
  437. # /etc/fstab: static file system information.
  438. #
  439. # Use 'blkid' to print the universally unique identifier for a
  440. # device; this may be used with UUID= as a more robust way to name devices
  441. # that works even if disks are added and removed. See fstab(5).
  442. #
  443. # <file system> <mount point> <type> <options> <dump> <pass>
  444. # / was on /dev/sda1 during installation
  445. UUID=843a9886-9047-400c-9a29-3e6c6e1b9133 / ext4 errors=remount-ro 0 1
  446. # /home was on /dev/sda5 during installation
  447. UUID=85efdfcc-1708-4ce5-b40e-c2acd5573533 /home ext4 defaults 0 2
  448. # swap was on /dev/sda6 during installation
  449. UUID=5025455d-4187-416b-b488-fcc718f47181 none swap sw 0 0
  450. --------------------------------------------------------------------------------
  451. =================== sda1: Location of files loaded by Grub: ====================
  452. GiB - GB File Fragment(s)
  453. 0.000988007 = 0.001060864 boot/grub/grub.cfg 1
  454. 42.158782959 = 45.267648512 boot/grub/i386-pc/core.img 1
  455. 3.249725342 = 3.489366016 boot/vmlinuz-4.4.0-28-generic 1
  456. 1.979850769 = 2.125848576 boot/vmlinuz-4.4.0-31-generic 1
  457. 41.398551941 = 44.451356672 boot/vmlinuz-4.4.0-34-generic 1
  458. 41.398551941 = 44.451356672 vmlinuz 1
  459. 1.979850769 = 2.125848576 vmlinuz.old 1
  460. 40.509349823 = 43.496583168 boot/initrd.img-4.4.0-28-generic 2
  461. 36.219394684 = 38.890278912 boot/initrd.img-4.4.0-31-generic 5
  462. 42.235347748 = 45.349859328 boot/initrd.img-4.4.0-34-generic 4
  463. 42.235347748 = 45.349859328 initrd.img 4
  464. 36.219394684 = 38.890278912 initrd.img.old 5
  465. ======================== Unknown MBRs/Boot Sectors/etc: ========================
  466. Unknown MBR on /dev/sdb
  467. 00000000 45 52 08 00 00 00 90 90 00 00 00 00 00 00 00 00 |ER..............|
  468. 00000010 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................|
  469. 00000020 33 ed fa 8e d5 bc 00 7c fb fc 66 31 db 66 31 c9 |3......|..f1.f1.|
  470. 00000030 66 53 66 51 06 57 8e dd 8e c5 52 be 00 7c bf 00 |fSfQ.W....R..|..|
  471. 00000040 06 b9 00 01 f3 a5 ea 4b 06 00 00 52 b4 41 bb aa |.......K...R.A..|
  472. 00000050 55 31 c9 30 f6 f9 cd 13 72 16 81 fb 55 aa 75 10 |U1.0....r...U.u.|
  473. 00000060 83 e1 01 74 0b 66 c7 06 f1 06 b4 42 eb 15 eb 00 |...t.f.....B....|
  474. 00000070 5a 51 b4 08 cd 13 83 e1 3f 5b 51 0f b6 c6 40 50 |ZQ......?[Q...@P|
  475. 00000080 f7 e1 53 52 50 bb 00 7c b9 04 00 66 a1 b0 07 e8 |..SRP..|...f....|
  476. 00000090 44 00 0f 82 80 00 66 40 80 c7 02 e2 f2 66 81 3e |[email protected].>|
  477. 000000a0 40 7c fb c0 78 70 75 09 fa bc ec 7b ea 44 7c 00 |@|..xpu....{.D|.|
  478. 000000b0 00 e8 83 00 69 73 6f 6c 69 6e 75 78 2e 62 69 6e |....isolinux.bin|
  479. 000000c0 20 6d 69 73 73 69 6e 67 20 6f 72 20 63 6f 72 72 | missing or corr|
  480. 000000d0 75 70 74 2e 0d 0a 66 60 66 31 d2 66 03 06 f8 7b |upt...f`f1.f...{|
  481. 000000e0 66 13 16 fc 7b 66 52 66 50 06 53 6a 01 6a 10 89 |f...{fRfP.Sj.j..|
  482. 000000f0 e6 66 f7 36 e8 7b c0 e4 06 88 e1 88 c5 92 f6 36 |.f.6.{.........6|
  483. 00000100 ee 7b 88 c6 08 e1 41 b8 01 02 8a 16 f2 7b cd 13 |.{....A......{..|
  484. 00000110 8d 64 10 66 61 c3 e8 1e 00 4f 70 65 72 61 74 69 |.d.fa....Operati|
  485. 00000120 6e 67 20 73 79 73 74 65 6d 20 6c 6f 61 64 20 65 |ng system load e|
  486. 00000130 72 72 6f 72 2e 0d 0a 5e ac b4 0e 8a 3e 62 04 b3 |rror...^....>b..|
  487. 00000140 07 cd 10 3c 0a 75 f1 cd 18 f4 eb fd 00 00 00 00 |...<.u..........|
  488. 00000150 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................|
  489. 00000160 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................|
  490. 00000170 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................|
  491. 00000180 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................|
  492. 00000190 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................|
  493. 000001a0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................|
  494. 000001b0 28 db 2b 00 00 00 00 00 70 8e 0e 0e 00 00 80 00 |(.+.....p.......|
  495. 000001c0 01 00 00 58 e0 fa 00 00 00 00 60 48 2c 00 00 fe |...X......`H,...|
  496. 000001d0 ff ff ef fe ff ff 44 11 2c 00 80 12 00 00 00 00 |......D.,.......|
  497. 000001e0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................|
  498. 000001f0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 55 aa |..............U.|
  499. 00000200
  500. /dev/sdb1: unknown GPT attributes
  501. 1000000000000001
  502. /dev/sdb2: unknown GPT attributes
  503. 1000000000000001
  504. Unknown BootLoader on sda2
  505. 00000000 28 00 d0 00 98 02 01 00 00 00 40 00 00 00 08 00 |(.........@.....|
  506. 00000010 c3 00 00 00 00 00 00 00 bd 24 d2 01 00 00 00 00 |.........$......|
  507. 00000020 b7 7d 02 00 00 00 05 00 d0 00 c0 00 00 00 00 00 |.}..............|
  508. 00000030 2f 06 01 00 00 00 05 00 7d d5 f9 56 a9 9a d0 01 |/.......}..V....|
  509. 00000040 4f c6 be fb ac 3c d0 01 6e 09 b2 5a a9 9a d0 01 |O....<..n..Z....|
  510. 00000050 7d d5 f9 56 a9 9a d0 01 00 30 00 00 00 00 00 00 |}..V.....0......|
  511. 00000060 c3 2f 00 00 00 00 00 00 20 00 00 00 00 00 00 00 |./...... .......|
  512. 00000070 3f 01 70 00 61 00 63 00 6b 00 61 00 67 00 65 00 |?.p.a.c.k.a.g.e.|
  513. 00000080 5f 00 32 00 35 00 5f 00 66 00 6f 00 72 00 5f 00 |_.2.5._.f.o.r._.|
  514. 00000090 6b 00 62 00 33 00 30 00 33 00 35 00 31 00 33 00 |k.b.3.0.3.5.1.3.|
  515. 000000a0 31 00 5f 00 62 00 66 00 7e 00 33 00 31 00 62 00 |1._.b.f.~.3.1.b.|
  516. 000000b0 66 00 33 00 38 00 35 00 36 00 61 00 64 00 33 00 |f.3.8.5.6.a.d.3.|
  517. 000000c0 36 00 34 00 65 00 33 00 35 00 7e 00 61 00 6d 00 |6.4.e.3.5.~.a.m.|
  518. 000000d0 64 00 36 00 34 00 7e 00 7e 00 36 00 2e 00 31 00 |d.6.4.~.~.6...1.|
  519. 000000e0 2e 00 31 00 2e 00 31 00 2e 00 63 00 61 00 74 00 |..1...1...c.a.t.|
  520. 000000f0 9e 95 6c 89 00 00 00 00 79 95 6c 89 00 00 00 00 |..l.....y.l.....|
  521. 00000100 79 95 6c 89 00 00 00 00 40 00 00 00 00 00 00 00 |y.l.....@.......|
  522. 00000110 01 00 00 00 18 00 00 00 00 00 00 00 00 00 00 00 |................|
  523. 00000120 03 00 02 00 28 00 00 00 28 00 18 00 18 00 01 00 |....(...(.......|
  524. 00000130 00 00 00 00 06 00 02 00 6d 9f 00 00 00 00 00 00 |........m.......|
  525. 00000140 25 92 11 00 00 00 00 00 46 49 4c 45 30 00 03 00 |%.......FILE0...|
  526. 00000150 40 e2 67 5a 00 00 00 00 05 00 02 00 38 00 01 00 |@.gZ........8...|
  527. 00000160 ac 95 6c 89 00 00 00 00 9e 95 6c 89 00 00 00 00 |..l.......l.....|
  528. 00000170 9e 95 6c 89 00 00 00 00 30 00 00 00 00 00 00 00 |..l.....0.......|
  529. 00000180 01 00 00 00 18 00 00 00 00 00 00 00 00 00 00 00 |................|
  530. 00000190 16 00 15 00 28 00 08 00 28 00 08 00 b8 00 01 00 |....(...(.......|
  531. 000001a0 00 00 00 00 00 00 00 00 04 00 00 00 00 00 00 00 |................|
  532. 000001b0 c0 90 0d 00 00 00 00 00 b7 7d 00 00 01 00 00 fe |.........}......|
  533. 000001c0 ff ff 83 fe ff ff 02 00 00 00 00 60 86 6d 00 fe |...........`.m..|
  534. 000001d0 ff ff 05 fe ff ff 02 60 86 6d 00 20 f4 00 00 00 |.......`.m. ....|
  535. 000001e0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................|
  536. 000001f0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 55 aa |..............U.|
  537. 00000200
  538. Unknown BootLoader on sdb1
  539. 00000000 45 52 08 00 00 00 90 90 00 00 00 00 00 00 00 00 |ER..............|
  540. 00000010 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................|
  541. 00000020 33 ed fa 8e d5 bc 00 7c fb fc 66 31 db 66 31 c9 |3......|..f1.f1.|
  542. 00000030 66 53 66 51 06 57 8e dd 8e c5 52 be 00 7c bf 00 |fSfQ.W....R..|..|
  543. 00000040 06 b9 00 01 f3 a5 ea 4b 06 00 00 52 b4 41 bb aa |.......K...R.A..|
  544. 00000050 55 31 c9 30 f6 f9 cd 13 72 16 81 fb 55 aa 75 10 |U1.0....r...U.u.|
  545. 00000060 83 e1 01 74 0b 66 c7 06 f1 06 b4 42 eb 15 eb 00 |...t.f.....B....|
  546. 00000070 5a 51 b4 08 cd 13 83 e1 3f 5b 51 0f b6 c6 40 50 |ZQ......?[Q...@P|
  547. 00000080 f7 e1 53 52 50 bb 00 7c b9 04 00 66 a1 b0 07 e8 |..SRP..|...f....|
  548. 00000090 44 00 0f 82 80 00 66 40 80 c7 02 e2 f2 66 81 3e |[email protected].>|
  549. 000000a0 40 7c fb c0 78 70 75 09 fa bc ec 7b ea 44 7c 00 |@|..xpu....{.D|.|
  550. 000000b0 00 e8 83 00 69 73 6f 6c 69 6e 75 78 2e 62 69 6e |....isolinux.bin|
  551. 000000c0 20 6d 69 73 73 69 6e 67 20 6f 72 20 63 6f 72 72 | missing or corr|
  552. 000000d0 75 70 74 2e 0d 0a 66 60 66 31 d2 66 03 06 f8 7b |upt...f`f1.f...{|
  553. 000000e0 66 13 16 fc 7b 66 52 66 50 06 53 6a 01 6a 10 89 |f...{fRfP.Sj.j..|
  554. 000000f0 e6 66 f7 36 e8 7b c0 e4 06 88 e1 88 c5 92 f6 36 |.f.6.{.........6|
  555. 00000100 ee 7b 88 c6 08 e1 41 b8 01 02 8a 16 f2 7b cd 13 |.{....A......{..|
  556. 00000110 8d 64 10 66 61 c3 e8 1e 00 4f 70 65 72 61 74 69 |.d.fa....Operati|
  557. 00000120 6e 67 20 73 79 73 74 65 6d 20 6c 6f 61 64 20 65 |ng system load e|
  558. 00000130 72 72 6f 72 2e 0d 0a 5e ac b4 0e 8a 3e 62 04 b3 |rror...^....>b..|
  559. 00000140 07 cd 10 3c 0a 75 f1 cd 18 f4 eb fd 00 00 00 00 |...<.u..........|
  560. 00000150 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................|
  561. *
  562. 000001b0 28 db 2b 00 00 00 00 00 70 8e 0e 0e 00 00 80 00 |(.+.....p.......|
  563. 000001c0 01 00 00 58 e0 fa 00 00 00 00 60 48 2c 00 00 fe |...X......`H,...|
  564. 000001d0 ff ff ef fe ff ff 44 11 2c 00 80 12 00 00 00 00 |......D.,.......|
  565. 000001e0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................|
  566. 000001f0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 55 aa |..............U.|
  567. 00000200
  568. =============================== StdErr Messages: ===============================
  569. File descriptor 9 (/proc/6931/mounts) leaked on lvs invocation. Parent PID 21703: bash
  570. File descriptor 63 (pipe:[76131]) leaked on lvs invocation. Parent PID 21703: bash
  571. ADDITIONAL INFORMATION :
  572. =================== log of boot-repair 2016-08-09__17h08 ===================
  573. boot-repair version : 4ppa38
  574. boot-sav version : 4ppa38
  575. glade2script version : 3.2.3~ppa1
  576. boot-sav-extra version : 4ppa38
  577. grub-probe: error: cannot find a GRUB drive for /dev/sdb1. Check your device.map.
  578. Warning: The driver descriptor says the physical block size is 2048 bytes, but Linux says it is 512 bytes.
  579. Warning: The driver descriptor says the physical block size is 2048 bytes, but Linux says it is 512 bytes.
  580. boot-repair is executed in live-session (Ubuntu 16.04 LTS, xenial, Ubuntu, x86_64)
  581. CPU op-mode(s): 32-bit, 64-bit
  582. file=/cdrom/preseed/ubuntu.seed boot=casper initrd=/casper/initrd.lz quiet splash --- maybe-ubiquity
  583. ls: cannot access '/home/usr/.config': No such file or directory
  584. mount: /dev/sdb2 is already mounted or /mnt/boot-sav/sdb2 busy
  585. mount /dev/sdb2 : Error code 32
  586. mount -r /dev/sdb2 /mnt/boot-sav/sdb2
  587. mount: /dev/sdb2 is already mounted or /mnt/boot-sav/sdb2 busy
  588. mount -r /dev/sdb2 : Error code 32
  589. Partition 2 does not start on physical sector boundary.
  590. =================== os-prober:
  591. /dev/sda1:Ubuntu 16.04.1 LTS (16.04):Ubuntu:linux
  592. =================== blkid:
  593. /dev/sda1: UUID="843a9886-9047-400c-9a29-3e6c6e1b9133" TYPE="ext4" PARTUUID="581f61fe-01"
  594. /dev/sda5: UUID="85efdfcc-1708-4ce5-b40e-c2acd5573533" TYPE="ext4" PARTUUID="581f61fe-05"
  595. /dev/loop0: TYPE="squashfs"
  596. /dev/sda6: UUID="5025455d-4187-416b-b488-fcc718f47181" TYPE="swap" PARTUUID="581f61fe-06"
  597. /dev/sdb1: UUID="2016-04-20-22-29-52-00" LABEL="Ubuntu 16.04 LTS amd64" TYPE="iso9660" PTUUID="0e0e8e70" PTTYPE="dos" PARTUUID="0e0e8e70-01"
  598. /dev/sdb2: SEC_TYPE="msdos" UUID="B1F5-0A13" TYPE="vfat" PARTUUID="0e0e8e70-02"
  599. 1 disks with OS, 1 OS : 1 Linux, 0 MacOS, 0 Windows, 0 unknown type OS.
  600. mount: /dev/sdb2 is already mounted or /mnt/boot-sav/sdb2 busy
  601. mount /dev/sdb2 : Error code 32
  602. mount -r /dev/sdb2 /mnt/boot-sav/sdb2
  603. mount: /dev/sdb2 is already mounted or /mnt/boot-sav/sdb2 busy
  604. mount -r /dev/sdb2 : Error code 32
  605. dd: invalid number: ‘0’
  606. Warning: /var/log/boot-sav/log/2016-08-09__17h08boot-repair13/sdb/current_mbr.img could not be created. Please report this message to [email protected]
  607. Partition 2 does not start on physical sector boundary.
  608. Partition 2 does not start on physical sector boundary.
  609. =================== /media/ubuntu/843a9886-9047-400c-9a29-3e6c6e1b9133/etc/grub.d/ :
  610. drwxr-xr-x 2 root root 4096 Aug 5 06:16 grub.d
  611. total 76
  612. -rwxr-xr-x 1 root root 9791 Apr 15 22:00 00_header
  613. -rwxr-xr-x 1 root root 6258 Mar 15 18:08 05_debian_theme
  614. -rwxr-xr-x 1 root root 12261 Apr 15 22:00 10_linux
  615. -rwxr-xr-x 1 root root 11082 Apr 15 22:00 20_linux_xen
  616. -rwxr-xr-x 1 root root 1992 Jan 28 2016 20_memtest86+
  617. -rwxr-xr-x 1 root root 11692 Apr 15 22:00 30_os-prober
  618. -rwxr-xr-x 1 root root 1418 Apr 15 22:00 30_uefi-firmware
  619. -rwxr-xr-x 1 root root 214 Apr 15 22:00 40_custom
  620. -rwxr-xr-x 1 root root 216 Apr 15 22:00 41_custom
  621. -rw-r--r-- 1 root root 483 Apr 15 22:00 README
  622. =================== /media/ubuntu/843a9886-9047-400c-9a29-3e6c6e1b9133/etc/default/grub :
  623. # If you change this file, run 'update-grub' afterwards to update
  624. # /boot/grub/grub.cfg.
  625. # For full documentation of the options in this file, see:
  626. # info -f grub -n 'Simple configuration'
  627. GRUB_DEFAULT=0
  628. GRUB_HIDDEN_TIMEOUT=0
  629. GRUB_HIDDEN_TIMEOUT_QUIET=true
  630. GRUB_TIMEOUT=10
  631. GRUB_DISTRIBUTOR=`lsb_release -i -s 2> /dev/null || echo Debian`
  632. GRUB_CMDLINE_LINUX_DEFAULT="quiet splash"
  633. GRUB_CMDLINE_LINUX=""
  634. # Uncomment to enable BadRAM filtering, modify to suit your needs
  635. # This works with Linux (no patch required) and with any kernel that obtains
  636. # the memory map information from GRUB (GNU Mach, kernel of FreeBSD ...)
  637. #GRUB_BADRAM="0x01234567,0xfefefefe,0x89abcdef,0xefefefef"
  638. # Uncomment to disable graphical terminal (grub-pc only)
  639. #GRUB_TERMINAL=console
  640. # The resolution used on graphical terminal
  641. # note that you can use only modes which your graphic card supports via VBE
  642. # you can see them in real GRUB with the command `vbeinfo'
  643. #GRUB_GFXMODE=640x480
  644. # Uncomment if you don't want GRUB to pass "root=UUID=xxx" parameter to Linux
  645. #GRUB_DISABLE_LINUX_UUID=true
  646. # Uncomment to disable generation of recovery mode menu entries
  647. #GRUB_DISABLE_RECOVERY="true"
  648. # Uncomment to get a beep at grub start
  649. #GRUB_INIT_TUNE="480 440 1"
  650. =================== sda1recordfail=1/grub/grubenv :
  651. recordfail=1
  652. =================== UEFI/Legacy mode:
  653. This live-session is not in EFI-mode.
  654. SecureBoot maybe enabled.
  655. =================== PARTITIONS & DISKS:
  656. sda1 : sda, not-sepboot, grubenv-ng grub2, signed grub-pc , update-grub, 64, with-boot, is-os, not--efi--part, fstab-without-boot, fstab-without-efi, no-nt, no-winload, no-recov-nor-hid, no-bmgr, notwinboot, apt-get, grub-install, with--usr, fstab-without-usr, not-sep-usr, standard, not-far, /media/ubuntu/843a9886-9047-400c-9a29-3e6c6e1b9133.
  657. 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, /media/ubuntu/85efdfcc-1708-4ce5-b40e-c2acd5573533.
  658. sdb2 : sdb, not-sepboot, no-grubenv nogrub, no-docgrub, no-update-grub, 32, no-boot, no-os, not--efi--part, part-has-no-fstab, part-has-no-fstab, no-nt, no-winload, no-recov-nor-hid, no-bmgr, notwinboot, nopakmgr, nogrubinstall, no---usr, part-has-no-fstab, not-sep-usr, standard, not-far, /mnt/boot-sav/sdb2.
  659. sda : not-GPT, BIOSboot-not-needed, has-no-EFIpart, not-usb, has-os, 2048 sectors * 512 bytes
  660. sdb : not-GPT, BIOSboot-not-needed, has-no-EFIpart, usb-disk, no-os, 0 sectors * 512 bytes
  661. =================== parted -l:
  662. Model: ATA WDC WD10EZEX-00B (scsi)
  663. Disk /dev/sda: 1000GB
  664. Sector size (logical/physical): 512B/4096B
  665. Partition Table: msdos
  666. Disk Flags:
  667. Number Start End Size Type File system Flags
  668. 1 1049kB 51.2GB 51.2GB primary ext4 boot
  669. 2 51.2GB 1000GB 949GB extended
  670. 5 51.2GB 992GB 941GB logical ext4
  671. 6 992GB 1000GB 8190MB logical linux-swap(v1)
  672. Model: Kingston DataTraveler 2.0 (scsi)
  673. Disk /dev/sdb: 7827MB
  674. Sector size (logical/physical): 512B/512B
  675. Partition Table: unknown
  676. Disk Flags:
  677. =================== parted -lm:
  678. BYT;
  679. /dev/sda:1000GB:scsi:512:4096:msdos:ATA WDC WD10EZEX-00B:;
  680. 1:1049kB:51.2GB:51.2GB:ext4::boot;
  681. 2:51.2GB:1000GB:949GB:::;
  682. 5:51.2GB:992GB:941GB:ext4::;
  683. 6:992GB:1000GB:8190MB:linux-swap(v1)::;
  684. BYT;
  685. /dev/sdb:7827MB:scsi:512:512:unknown:Kingston DataTraveler 2.0:;
  686. =================== lsblk:
  687. KNAME TYPE FSTYPE SIZE LABEL
  688. sda disk 931.5G
  689. sda1 part ext4 47.7G
  690. sda2 part 1K
  691. sda5 part ext4 876.2G
  692. sda6 part swap 7.6G
  693. sdb disk iso9660 7.3G Ubuntu 16.04 LTS amd64
  694. sdb1 part iso9660 1.4G Ubuntu 16.04 LTS amd64
  695. sdb2 part vfat 2.3M Ubuntu 16.04 LTS amd64
  696. loop0 loop squashfs 1.3G
  697. KNAME ROTA RO RM STATE MOUNTPOINT
  698. sda 1 0 0 running
  699. sda1 1 0 0 /media/ubuntu/843a9886-9047-400c-9a29-3e6c6e1b9133
  700. sda2 1 0 0
  701. sda5 1 0 0 /media/ubuntu/85efdfcc-1708-4ce5-b40e-c2acd5573533
  702. sda6 1 0 0 [SWAP]
  703. sdb 1 0 1 running /cdrom
  704. sdb1 1 0 1
  705. sdb2 1 0 1
  706. loop0 1 1 0 /rofs
  707. =================== mount:
  708. sysfs on /sys type sysfs (rw,nosuid,nodev,noexec,relatime)
  709. proc on /proc type proc (rw,nosuid,nodev,noexec,relatime)
  710. udev on /dev type devtmpfs (rw,nosuid,relatime,size=4040976k,nr_inodes=1010244,mode=755)
  711. devpts on /dev/pts type devpts (rw,nosuid,noexec,relatime,gid=5,mode=620,ptmxmode=000)
  712. tmpfs on /run type tmpfs (rw,nosuid,noexec,relatime,size=811128k,mode=755)
  713. /dev/sdb on /cdrom type iso9660 (ro,noatime)
  714. /dev/loop0 on /rofs type squashfs (ro,noatime)
  715. /cow on / type overlay (rw,relatime,lowerdir=//filesystem.squashfs,upperdir=/cow/upper,workdir=/cow/work)
  716. securityfs on /sys/kernel/security type securityfs (rw,nosuid,nodev,noexec,relatime)
  717. tmpfs on /dev/shm type tmpfs (rw,nosuid,nodev)
  718. tmpfs on /run/lock type tmpfs (rw,nosuid,nodev,noexec,relatime,size=5120k)
  719. tmpfs on /sys/fs/cgroup type tmpfs (ro,nosuid,nodev,noexec,mode=755)
  720. cgroup on /sys/fs/cgroup/systemd type cgroup (rw,nosuid,nodev,noexec,relatime,xattr,release_agent=/lib/systemd/systemd-cgroups-agent,name=systemd,nsroot=/)
  721. pstore on /sys/fs/pstore type pstore (rw,nosuid,nodev,noexec,relatime)
  722. cgroup on /sys/fs/cgroup/net_cls,net_prio type cgroup (rw,nosuid,nodev,noexec,relatime,net_cls,net_prio,nsroot=/)
  723. cgroup on /sys/fs/cgroup/devices type cgroup (rw,nosuid,nodev,noexec,relatime,devices,nsroot=/)
  724. cgroup on /sys/fs/cgroup/perf_event type cgroup (rw,nosuid,nodev,noexec,relatime,perf_event,nsroot=/)
  725. cgroup on /sys/fs/cgroup/blkio type cgroup (rw,nosuid,nodev,noexec,relatime,blkio,nsroot=/)
  726. cgroup on /sys/fs/cgroup/cpuset type cgroup (rw,nosuid,nodev,noexec,relatime,cpuset,nsroot=/)
  727. cgroup on /sys/fs/cgroup/memory type cgroup (rw,nosuid,nodev,noexec,relatime,memory,nsroot=/)
  728. cgroup on /sys/fs/cgroup/cpu,cpuacct type cgroup (rw,nosuid,nodev,noexec,relatime,cpu,cpuacct,nsroot=/)
  729. cgroup on /sys/fs/cgroup/pids type cgroup (rw,nosuid,nodev,noexec,relatime,pids,nsroot=/)
  730. cgroup on /sys/fs/cgroup/hugetlb type cgroup (rw,nosuid,nodev,noexec,relatime,hugetlb,nsroot=/)
  731. cgroup on /sys/fs/cgroup/freezer type cgroup (rw,nosuid,nodev,noexec,relatime,freezer,nsroot=/)
  732. systemd-1 on /proc/sys/fs/binfmt_misc type autofs (rw,relatime,fd=36,pgrp=1,timeout=0,minproto=5,maxproto=5,direct)
  733. mqueue on /dev/mqueue type mqueue (rw,relatime)
  734. debugfs on /sys/kernel/debug type debugfs (rw,relatime)
  735. hugetlbfs on /dev/hugepages type hugetlbfs (rw,relatime)
  736. tracefs on /sys/kernel/debug/tracing type tracefs (rw,relatime)
  737. fusectl on /sys/fs/fuse/connections type fusectl (rw,relatime)
  738. tmpfs on /tmp type tmpfs (rw,nosuid,nodev,relatime)
  739. tmpfs on /run/user/999 type tmpfs (rw,nosuid,nodev,relatime,size=811128k,mode=700,uid=999,gid=999)
  740. gvfsd-fuse on /run/user/999/gvfs type fuse.gvfsd-fuse (rw,nosuid,nodev,relatime,user_id=999,group_id=999)
  741. /dev/sda5 on /media/ubuntu/85efdfcc-1708-4ce5-b40e-c2acd5573533 type ext4 (rw,nosuid,nodev,relatime,data=ordered,uhelper=udisks2)
  742. /dev/sda1 on /media/ubuntu/843a9886-9047-400c-9a29-3e6c6e1b9133 type ext4 (rw,nosuid,nodev,relatime,data=ordered,uhelper=udisks2)
  743. =================== ls:
  744. /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 sda6 size slaves stat subsystem trace uevent
  745. /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 sdb2 size slaves stat subsystem trace uevent
  746. /dev (filtered): autofs block bsg btrfs-control bus char console core cpu cpu_dma_latency cuse disk dri ecryptfs fb0 fd full fuse hidraw0 hidraw1 hidraw2 hidraw3 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 lp0 mapper mcelog media0 mei0 mem memory_bandwidth mqueue net network_latency network_throughput null parport0 port ppp psaux ptmx pts random rfkill rtc rtc0 sda sda1 sda2 sda5 sda6 sdb sdb1 sdb2 sg0 sg1 shm snapshot snd stderr stdin stdout uhid uinput urandom userio v4l vfio vga_arbiter vhci vhost-net video0 watchdog watchdog0 zero
  747. ls /dev/mapper: control
  748. =================== hexdump -n512 -C /dev/sdb2
  749. 00000000 eb 3c 90 6d 6b 66 73 2e 66 61 74 00 02 04 01 00 |.<.mkfs.fat.....|
  750. 00000010 02 00 02 80 12 f8 04 00 20 00 40 00 00 00 00 00 |........ .@.....|
  751. 00000020 00 00 00 00 80 00 29 13 0a f5 b1 4e 4f 20 4e 41 |......)....NO NA|
  752. 00000030 4d 45 20 20 20 20 46 41 54 31 32 20 20 20 0e 1f |ME FAT12 ..|
  753. 00000040 be 5b 7c ac 22 c0 74 0b 56 b4 0e bb 07 00 cd 10 |.[|.".t.V.......|
  754. 00000050 5e eb f0 32 e4 cd 16 cd 19 eb fe 54 68 69 73 20 |^..2.......This |
  755. 00000060 69 73 20 6e 6f 74 20 61 20 62 6f 6f 74 61 62 6c |is not a bootabl|
  756. 00000070 65 20 64 69 73 6b 2e 20 20 50 6c 65 61 73 65 20 |e disk. Please |
  757. 00000080 69 6e 73 65 72 74 20 61 20 62 6f 6f 74 61 62 6c |insert a bootabl|
  758. 00000090 65 20 66 6c 6f 70 70 79 20 61 6e 64 0d 0a 70 72 |e floppy and..pr|
  759. 000000a0 65 73 73 20 61 6e 79 20 6b 65 79 20 74 6f 20 74 |ess any key to t|
  760. 000000b0 72 79 20 61 67 61 69 6e 20 2e 2e 2e 20 0d 0a 00 |ry again ... ...|
  761. 000000c0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................|
  762. *
  763. 000001f0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 55 aa |..............U.|
  764. 00000200
  765. Partition 2 does not start on physical sector boundary.
  766. =================== df -Th:
  767. Filesystem Type Size Used Avail Use% Mounted on
  768. udev devtmpfs 3.9G 0 3.9G 0% /dev
  769. tmpfs tmpfs 793M 9.5M 783M 2% /run
  770. /dev/sdb iso9660 1.4G 1.4G 0 100% /cdrom
  771. /dev/loop0 squashfs 1.4G 1.4G 0 100% /rofs
  772. /cow overlay 3.9G 106M 3.8G 3% /
  773. tmpfs tmpfs 3.9G 300K 3.9G 1% /dev/shm
  774. tmpfs tmpfs 5.0M 8.0K 5.0M 1% /run/lock
  775. tmpfs tmpfs 3.9G 0 3.9G 0% /sys/fs/cgroup
  776. tmpfs tmpfs 3.9G 24K 3.9G 1% /tmp
  777. tmpfs tmpfs 793M 76K 793M 1% /run/user/999
  778. /dev/sda5 ext4 863G 384G 436G 47% /media/ubuntu/85efdfcc-1708-4ce5-b40e-c2acd5573533
  779. /dev/sda1 ext4 47G 7.2G 38G 16% /media/ubuntu/843a9886-9047-400c-9a29-3e6c6e1b9133
  780. =================== fdisk -l:
  781. Disk /dev/ram0: 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/ram1: 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/ram2: 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/ram3: 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/ram4: 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/ram5: 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/ram6: 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/ram7: 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/ram8: 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/ram9: 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/ram10: 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/ram11: 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/ram12: 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/ram13: 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/ram14: 64 MiB, 67108864 bytes, 131072 sectors
  838. Units: sectors of 1 * 512 = 512 bytes
  839. Sector size (logical/physical): 512 bytes / 4096 bytes
  840. I/O size (minimum/optimal): 4096 bytes / 4096 bytes
  841. Disk /dev/ram15: 64 MiB, 67108864 bytes, 131072 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. Disk /dev/loop0: 1.3 GiB, 1433468928 bytes, 2799744 sectors
  846. Units: sectors of 1 * 512 = 512 bytes
  847. Sector size (logical/physical): 512 bytes / 512 bytes
  848. I/O size (minimum/optimal): 512 bytes / 512 bytes
  849. Disk /dev/sda: 931.5 GiB, 1000204886016 bytes, 1953525168 sectors
  850. Units: sectors of 1 * 512 = 512 bytes
  851. Sector size (logical/physical): 512 bytes / 4096 bytes
  852. I/O size (minimum/optimal): 4096 bytes / 4096 bytes
  853. Disklabel type: dos
  854. Disk identifier: 0x581f61fe
  855. Device Boot Start End Sectors Size Id Type
  856. /dev/sda1 * 2048 99999743 99997696 47.7G 83 Linux
  857. /dev/sda2 100001790 1953523711 1853521922 883.8G 5 Extended
  858. /dev/sda5 100001792 1937524735 1837522944 876.2G 83 Linux
  859. /dev/sda6 1937526784 1953523711 15996928 7.6G 82 Linux swap / Solaris
  860. Disk /dev/sdb: 7.3 GiB, 7826571264 bytes, 15286272 sectors
  861. Units: sectors of 1 * 512 = 512 bytes
  862. Sector size (logical/physical): 512 bytes / 512 bytes
  863. I/O size (minimum/optimal): 512 bytes / 512 bytes
  864. Disklabel type: dos
  865. Disk identifier: 0x0e0e8e70
  866. Device Boot Start End Sectors Size Id Type
  867. /dev/sdb1 * 0 2902111 2902112 1.4G 0 Empty
  868. /dev/sdb2 2888004 2892739 4736 2.3M ef EFI (FAT-12/16/32)
  869. =================== Recommended repair
  870. The default repair of the Boot-Repair utility will purge (in order to) and reinstall the grub2 of sda1 into the MBRs of all disks (except USB without OS).
  871. The boot flag will be placed on sdb2.
  872. Additional repair will be performed: unhide-bootmenu-10s
  873. parted /dev/sdb set 2 boot on
  874. Warning: The driver descriptor says the physical block size is 2048 bytes, but
  875. Linux says it is 512 bytes.
  876. Partition 2 does not start on physical sector boundary.
  877. parted /dev/sdb set 1 boot off
  878. Warning: The driver descriptor says the physical block size is 2048 bytes, but
  879. Linux says it is 512 bytes.
  880. [debug]/media/ubuntu/843a9886-9047-400c-9a29-3e6c6e1b9133/etc/fstab unchanged for /boot
  881. chroot /media/ubuntu/843a9886-9047-400c-9a29-3e6c6e1b9133 apt-get -y --force-yes update
  882. Purge the GRUB of sda1
  883. grub-pc available
  884. The following packages were automatically installed and are no longer required:
  885. linux-headers-4.4.0-28 linux-headers-4.4.0-28-generic
  886. linux-image-4.4.0-28-generic linux-image-extra-4.4.0-28-generic
  887. Use 'sudo apt autoremove' to remove them.
  888. 0 upgraded, 0 newly installed, 1 reinstalled, 0 to remove and 22 not upgraded.
  889. W: --force-yes is deprecated, use one of the options starting with --allow instead.
  890. DEBCHECK debOK, grub-pc
  891. DEBCHECK debOK
  892. shim-signed available
  893. linux-signed-generic available
  894. Please type: sudo chroot "/media/ubuntu/843a9886-9047-400c-9a29-3e6c6e1b9133" dpkg --configure -ansudo chroot "/media/ubuntu/843a9886-9047-400c-9a29-3e6c6e1b9133" apt-get install -fynsudo chroot "/media/ubuntu/843a9886-9047-400c-9a29-3e6c6e1b9133" apt-get purge -y --force-yes grub*-common grub-common:i386 shim-signed linux-signed*
  895. =================== /media/ubuntu/843a9886-9047-400c-9a29-3e6c6e1b9133/etc/grub.d/ :
  896. drwxr-xr-x 2 root root 4096 Aug 9 17:10 grub.d
  897. total 4
  898. -rwxr-xr-x 1 root root 1992 Jan 28 2016 20_memtest86+
  899. Then type: sudo chroot "/media/ubuntu/843a9886-9047-400c-9a29-3e6c6e1b9133" apt-get install -y --force-yes grub-pc linux-generic
  900. =================== /media/ubuntu/843a9886-9047-400c-9a29-3e6c6e1b9133/etc/grub.d/ :
  901. drwxr-xr-x 2 root root 4096 Aug 9 17:10 grub.d
  902. drwxr-xr-x 2 root root 4096 Aug 9 17:10 grub.d.bak
  903. total 72
  904. -rwxr-xr-x 1 root root 9791 Jul 23 00:09 00_header
  905. -rwxr-xr-x 1 root root 6258 Mar 15 18:08 05_debian_theme
  906. -rwxr-xr-x 1 root root 12261 Jul 23 00:09 10_linux
  907. -rwxr-xr-x 1 root root 11082 Jul 23 00:09 20_linux_xen
  908. -rwxr-xr-x 1 root root 11692 Jul 23 00:09 30_os-prober
  909. -rwxr-xr-x 1 root root 1418 Jul 23 00:09 30_uefi-firmware
  910. -rwxr-xr-x 1 root root 214 Jul 23 00:09 40_custom
  911. -rwxr-xr-x 1 root root 216 Jul 23 00:09 41_custom
  912. -rw-r--r-- 1 root root 483 Jul 23 00:09 README
  913. =================== /media/ubuntu/843a9886-9047-400c-9a29-3e6c6e1b9133/etc/default/grub :
  914. # If you change this file, run 'update-grub' afterwards to update
  915. # /boot/grub/grub.cfg.
  916. # For full documentation of the options in this file, see:
  917. # info -f grub -n 'Simple configuration'
  918. GRUB_DEFAULT=0
  919. GRUB_HIDDEN_TIMEOUT=0
  920. GRUB_HIDDEN_TIMEOUT_QUIET=true
  921. GRUB_TIMEOUT=10
  922. GRUB_DISTRIBUTOR=`lsb_release -i -s 2> /dev/null || echo Debian`
  923. GRUB_CMDLINE_LINUX_DEFAULT="quiet splash"
  924. GRUB_CMDLINE_LINUX=""
  925. # Uncomment to enable BadRAM filtering, modify to suit your needs
  926. # This works with Linux (no patch required) and with any kernel that obtains
  927. # the memory map information from GRUB (GNU Mach, kernel of FreeBSD ...)
  928. #GRUB_BADRAM="0x01234567,0xfefefefe,0x89abcdef,0xefefefef"
  929. # Uncomment to disable graphical terminal (grub-pc only)
  930. #GRUB_TERMINAL=console
  931. # The resolution used on graphical terminal
  932. # note that you can use only modes which your graphic card supports via VBE
  933. # you can see them in real GRUB with the command `vbeinfo'
  934. #GRUB_GFXMODE=640x480
  935. # Uncomment if you don't want GRUB to pass "root=UUID=xxx" parameter to Linux
  936. #GRUB_DISABLE_LINUX_UUID=true
  937. # Uncomment to disable generation of recovery mode menu entries
  938. #GRUB_DISABLE_RECOVERY="true"
  939. # Uncomment to get a beep at grub start
  940. #GRUB_INIT_TUNE="480 440 1"
  941. Unhide GRUB boot menu in sda1/etc/default/grub
  942. =================== /media/ubuntu/843a9886-9047-400c-9a29-3e6c6e1b9133/etc/grub.d/ :
  943. drwxr-xr-x 2 root root 4096 Aug 9 17:10 grub.d
  944. drwxr-xr-x 2 root root 4096 Aug 9 17:10 grub.d.bak
  945. total 72
  946. -rwxr-xr-x 1 root root 9791 Jul 23 00:09 00_header
  947. -rwxr-xr-x 1 root root 6258 Mar 15 18:08 05_debian_theme
  948. -rwxr-xr-x 1 root root 12261 Jul 23 00:09 10_linux
  949. -rwxr-xr-x 1 root root 11082 Jul 23 00:09 20_linux_xen
  950. -rwxr-xr-x 1 root root 11692 Jul 23 00:09 30_os-prober
  951. -rwxr-xr-x 1 root root 1418 Jul 23 00:09 30_uefi-firmware
  952. -rwxr-xr-x 1 root root 214 Jul 23 00:09 40_custom
  953. -rwxr-xr-x 1 root root 216 Jul 23 00:09 41_custom
  954. -rw-r--r-- 1 root root 483 Jul 23 00:09 README
  955. =================== /media/ubuntu/843a9886-9047-400c-9a29-3e6c6e1b9133/etc/default/grub :
  956. # If you change this file, run 'update-grub' afterwards to update
  957. # /boot/grub/grub.cfg.
  958. # For full documentation of the options in this file, see:
  959. # info -f grub -n 'Simple configuration'
  960. GRUB_DEFAULT=0
  961. #GRUB_HIDDEN_TIMEOUT=0
  962. GRUB_HIDDEN_TIMEOUT_QUIET=true
  963. GRUB_TIMEOUT=10
  964. GRUB_DISTRIBUTOR=`lsb_release -i -s 2> /dev/null || echo Debian`
  965. GRUB_CMDLINE_LINUX_DEFAULT="quiet splash"
  966. GRUB_CMDLINE_LINUX=""
  967. # Uncomment to enable BadRAM filtering, modify to suit your needs
  968. # This works with Linux (no patch required) and with any kernel that obtains
  969. # the memory map information from GRUB (GNU Mach, kernel of FreeBSD ...)
  970. #GRUB_BADRAM="0x01234567,0xfefefefe,0x89abcdef,0xefefefef"
  971. # Uncomment to disable graphical terminal (grub-pc only)
  972. #GRUB_TERMINAL=console
  973. # The resolution used on graphical terminal
  974. # note that you can use only modes which your graphic card supports via VBE
  975. # you can see them in real GRUB with the command `vbeinfo'
  976. #GRUB_GFXMODE=640x480
  977. # Uncomment if you don't want GRUB to pass "root=UUID=xxx" parameter to Linux
  978. #GRUB_DISABLE_LINUX_UUID=true
  979. # Uncomment to disable generation of recovery mode menu entries
  980. #GRUB_DISABLE_RECOVERY="true"
  981. # Uncomment to get a beep at grub start
  982. #GRUB_INIT_TUNE="480 440 1"
  983. Reinstall the GRUB of sda1 into all MBRs of disks with OS or not-USB
  984. lspci: Unable to load libkmod resources: error -12
  985. *******lspci -nnk | grep -iA3 vga
  986. 01:00.0 VGA compatible controller [0300]: NVIDIA Corporation GK107 [GeForce GTX 650] [10de:0fc6] (rev a1)
  987. Subsystem: Gigabyte Technology Co., Ltd GK107 [GeForce GTX 650] [1458:3555]
  988. Kernel driver in use: nouveau
  989. 01:00.1 Audio device [0403]: NVIDIA Corporation GK107 HDMI Audio Controller [10de:0e1b] (rev a1)
  990. *******
  991. grub-install --version
  992. grub-install (GRUB) 2.02~beta2-36ubuntu3.2,grub-install (GRUB) 2.
  993. Reinstall the GRUB of sda1 into the MBR of sdb
  994. Installing for i386-pc platform.
  995. grub-install: warning: Attempting to install GRUB to a disk with multiple partition labels. This is not supported yet..
  996. grub-install: error: embedding is not possible, but this is required for cross-disk install.
  997. grub-install /dev/sdb: exit code of grub-install /dev/sdb:1
  998. lspci: Unable to load libkmod resources: error -12
  999. *******lspci -nnk | grep -iA3 vga
  1000. 01:00.0 VGA compatible controller [0300]: NVIDIA Corporation GK107 [GeForce GTX 650] [10de:0fc6] (rev a1)
  1001. Subsystem: Gigabyte Technology Co., Ltd GK107 [GeForce GTX 650] [1458:3555]
  1002. Kernel driver in use: nouveau
  1003. 01:00.1 Audio device [0403]: NVIDIA Corporation GK107 HDMI Audio Controller [10de:0e1b] (rev a1)
  1004. *******
  1005. grub-install --version
  1006. grub-install (GRUB) 2.02~beta2-36ubuntu3.2,grub-install (GRUB) 2.
  1007. Reinstall the GRUB of sda1 into the MBR of sda
  1008. Installing for i386-pc platform.
  1009. Installation finished. No error reported.
  1010. grub-install /dev/sda: exit code of grub-install /dev/sda:0
  1011. chroot /media/ubuntu/843a9886-9047-400c-9a29-3e6c6e1b9133 update-grub
  1012. Generating grub configuration file ...
  1013. Found linux image: /boot/vmlinuz-4.4.0-34-generic
  1014. Found initrd image: /boot/initrd.img-4.4.0-34-generic
  1015. Found linux image: /boot/vmlinuz-4.4.0-31-generic
  1016. Found initrd image: /boot/initrd.img-4.4.0-31-generic
  1017. Found linux image: /boot/vmlinuz-4.4.0-28-generic
  1018. Found initrd image: /boot/initrd.img-4.4.0-28-generic
  1019. grub-probe: error: cannot find a GRUB drive for /dev/sdb1. Check your device.map.
  1020. mount: /dev/sdb2 is already mounted or /mnt/boot-sav/sdb2 busy
  1021. mount /dev/sdb2 : Error code 32
  1022. mount -r /dev/sdb2 /mnt/boot-sav/sdb2
  1023. mount: /dev/sdb2 is already mounted or /mnt/boot-sav/sdb2 busy
  1024. mount -r /dev/sdb2 : Error code 32
  1025. Unhide GRUB boot menu in sda1/boot/grub/grub.cfg
  1026. An error occurred during the repair.
  1027. You can now reboot your computer.
  1028. Please do not forget to make your BIOS boot on sda (1000GB) disk!
  1029. paste.ubuntu.com ko (), using paste.debian
  1030. paste.debian.net ko (), using paste2