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 (,msdos4)/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: ntfs
  13. Boot sector type: Windows 8/2012: NTFS
  14. Boot sector info: No errors found in the Boot Parameter Block.
  15. Operating System:
  16. Boot files: /bootmgr /Boot/BCD
  17. sda2: __________________________________________________________________________
  18. File system: ntfs
  19. Boot sector type: Windows 7/2008: NTFS
  20. Boot sector info: No errors found in the Boot Parameter Block.
  21. Operating System:
  22. Boot files: /bootmgr /Boot/BCD /Windows/System32/winload.exe
  23. sda3: __________________________________________________________________________
  24. File system: ntfs
  25. Boot sector type: Windows 8/2012: NTFS
  26. Boot sector info: No errors found in the Boot Parameter Block.
  27. Operating System:
  28. Boot files:
  29. sda4: __________________________________________________________________________
  30. File system: ext4
  31. Boot sector type: -
  32. Boot sector info:
  33. Operating System: Ubuntu 14.04.4 LTS
  34. Boot files: /boot/grub/grub.cfg /etc/fstab
  35. /boot/grub/i386-pc/core.img
  36. sdb1: __________________________________________________________________________
  37. File system: iso9660
  38. Boot sector type: Unknown
  39. Boot sector info:
  40. Mounting failed: mount: /dev/sdb1 is already mounted or /mnt/BootInfo/sdb1 busy
  41. sdb2: __________________________________________________________________________
  42. File system: vfat
  43. Boot sector type: FAT16
  44. Boot sector info: According to the info in the boot sector, sdb2 starts
  45. at sector 0. But according to the info from fdisk,
  46. sdb2 starts at sector 2888004. According to the info
  47. in the boot sector, sdb2 has 0 sectors.
  48. Mounting failed: mount: /dev/sdb1 is already mounted or /mnt/BootInfo/sdb1 busy
  49. mount: /dev/sdb2 is already mounted or /mnt/BootInfo/sdb2 busy
  50. ============================ Drive/Partition Info: =============================
  51. Drive: sda _____________________________________________________________________
  52. Disk /dev/sda: 119.2 GiB, 128035676160 bytes, 250069680 sectors
  53. Units: sectors of 1 * 512 = 512 bytes
  54. Sector size (logical/physical): 512 bytes / 512 bytes
  55. I/O size (minimum/optimal): 512 bytes / 512 bytes
  56. Disklabel type: dos
  57. Partition Boot Start Sector End Sector # of Sectors Id System
  58. /dev/sda1 * 2,048 206,847 204,800 7 NTFS / exFAT / HPFS
  59. /dev/sda2 206,848 185,340,172 185,133,325 7 NTFS / exFAT / HPFS
  60. /dev/sda3 185,341,952 187,150,335 1,808,384 27 Hidden NTFS (Recovery Environment)
  61. /dev/sda4 187,154,432 250,069,679 62,915,248 83 Linux
  62. Drive: sdb _____________________________________________________________________
  63. Disk /dev/sdb: 7.3 GiB, 7807401984 bytes, 15248832 sectors
  64. Units: sectors of 1 * 512 = 512 bytes
  65. Sector size (logical/physical): 512 bytes / 512 bytes
  66. I/O size (minimum/optimal): 512 bytes / 512 bytes
  67. Disklabel type: dos
  68. Partition Boot Start Sector End Sector # of Sectors Id System
  69. /dev/sdb1 * 0 2,902,111 2,902,112 0 Empty
  70. /dev/sdb2 2,888,004 2,892,739 4,736 ef EFI (FAT-12/16/32)
  71. /dev/sdb1 overlaps with /dev/sdb2
  72. GUID Partition Table detected, but does not seem to be used.
  73. Partition Attrs Start Sector End Sector # of Sectors System
  74. /dev/sdb1 + R 0 2,902,055 2,902,056 Data partition (Windows/Linux)
  75. /dev/sdb2 + R 2,888,004 2,892,739 4,736 Data partition (Windows/Linux)
  76. Attributes: R=Required, N=No Block IO, B=Legacy BIOS Bootable, +=More bits set
  77. "blkid" output: ________________________________________________________________
  78. Device UUID TYPE LABEL
  79. /dev/loop0 squashfs
  80. /dev/sda1 024E0E204E0E0D5B ntfs Järjestelmän varaama
  81. /dev/sda2 6A840F0B840EDA09 ntfs
  82. /dev/sda3 409CBCAD9CBC9EBA ntfs
  83. /dev/sda4 8fa29d30-36b6-43a3-bbef-4c7e762a2d5f ext4
  84. /dev/sdb1 2016-04-20-22-29-52-00 iso9660 Ubuntu 16.04 LTS amd64
  85. /dev/sdb2 B1F5-0A13 vfat
  86. ========================= "ls -l /dev/disk/by-id" output: ======================
  87. total 0
  88. lrwxrwxrwx 1 root root 9 Jun 4 09:29 ata-SAMSUNG_MZMPC128HBFU-000H1_S0Y8NSAC401509 -> ../../sda
  89. lrwxrwxrwx 1 root root 10 Jun 4 09:29 ata-SAMSUNG_MZMPC128HBFU-000H1_S0Y8NSAC401509-part1 -> ../../sda1
  90. lrwxrwxrwx 1 root root 10 Jun 4 09:29 ata-SAMSUNG_MZMPC128HBFU-000H1_S0Y8NSAC401509-part2 -> ../../sda2
  91. lrwxrwxrwx 1 root root 10 Jun 4 09:29 ata-SAMSUNG_MZMPC128HBFU-000H1_S0Y8NSAC401509-part3 -> ../../sda3
  92. lrwxrwxrwx 1 root root 10 Jun 4 09:29 ata-SAMSUNG_MZMPC128HBFU-000H1_S0Y8NSAC401509-part4 -> ../../sda4
  93. lrwxrwxrwx 1 root root 9 Jun 4 09:29 usb-Kingston_DataTraveler_2.0_C86000886148EEB1BA26E389-0:0 -> ../../sdb
  94. lrwxrwxrwx 1 root root 10 Jun 4 09:29 usb-Kingston_DataTraveler_2.0_C86000886148EEB1BA26E389-0:0-part1 -> ../../sdb1
  95. lrwxrwxrwx 1 root root 10 Jun 4 09:29 usb-Kingston_DataTraveler_2.0_C86000886148EEB1BA26E389-0:0-part2 -> ../../sdb2
  96. lrwxrwxrwx 1 root root 9 Jun 4 09:29 wwn-0x5002538043584d30 -> ../../sda
  97. lrwxrwxrwx 1 root root 10 Jun 4 09:29 wwn-0x5002538043584d30-part1 -> ../../sda1
  98. lrwxrwxrwx 1 root root 10 Jun 4 09:29 wwn-0x5002538043584d30-part2 -> ../../sda2
  99. lrwxrwxrwx 1 root root 10 Jun 4 09:29 wwn-0x5002538043584d30-part3 -> ../../sda3
  100. lrwxrwxrwx 1 root root 10 Jun 4 09:29 wwn-0x5002538043584d30-part4 -> ../../sda4
  101. ================================ Mount points: =================================
  102. Device Mount_Point Type Options
  103. /dev/loop0 /rofs squashfs (ro,noatime)
  104. /dev/sdb /cdrom iso9660 (ro,noatime)
  105. =========================== sda4/boot/grub/grub.cfg: ===========================
  106. --------------------------------------------------------------------------------
  107. #
  108. # DO NOT EDIT THIS FILE
  109. #
  110. # It is automatically generated by grub-mkconfig using templates
  111. # from /etc/grub.d and settings from /etc/default/grub
  112. #
  113. ### BEGIN /etc/grub.d/00_header ###
  114. if [ -s $prefix/grubenv ]; then
  115. set have_grubenv=true
  116. load_env
  117. fi
  118. if [ "${next_entry}" ] ; then
  119. set default="${next_entry}"
  120. set next_entry=
  121. save_env next_entry
  122. set boot_once=true
  123. else
  124. set default="0"
  125. fi
  126. if [ x"${feature_menuentry_id}" = xy ]; then
  127. menuentry_id_option="--id"
  128. else
  129. menuentry_id_option=""
  130. fi
  131. export menuentry_id_option
  132. if [ "${prev_saved_entry}" ]; then
  133. set saved_entry="${prev_saved_entry}"
  134. save_env saved_entry
  135. set prev_saved_entry=
  136. save_env prev_saved_entry
  137. set boot_once=true
  138. fi
  139. function savedefault {
  140. if [ -z "${boot_once}" ]; then
  141. saved_entry="${chosen}"
  142. save_env saved_entry
  143. fi
  144. }
  145. function recordfail {
  146. set recordfail=1
  147. if [ -n "${have_grubenv}" ]; then if [ -z "${boot_once}" ]; then save_env recordfail; fi; fi
  148. }
  149. function load_video {
  150. if [ x$feature_all_video_module = xy ]; then
  151. insmod all_video
  152. else
  153. insmod efi_gop
  154. insmod efi_uga
  155. insmod ieee1275_fb
  156. insmod vbe
  157. insmod vga
  158. insmod video_bochs
  159. insmod video_cirrus
  160. fi
  161. }
  162. if [ x$feature_default_font_path = xy ] ; then
  163. font=unicode
  164. else
  165. insmod part_msdos
  166. insmod ext2
  167. set root='hd0,msdos4'
  168. if [ x$feature_platform_search_hint = xy ]; then
  169. search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos4 --hint-efi=hd0,msdos4 --hint-baremetal=ahci0,msdos4 8fa29d30-36b6-43a3-bbef-4c7e762a2d5f
  170. else
  171. search --no-floppy --fs-uuid --set=root 8fa29d30-36b6-43a3-bbef-4c7e762a2d5f
  172. fi
  173. font="/usr/share/grub/unicode.pf2"
  174. fi
  175. if loadfont $font ; then
  176. set gfxmode=auto
  177. load_video
  178. insmod gfxterm
  179. set locale_dir=$prefix/locale
  180. set lang=en_US
  181. insmod gettext
  182. fi
  183. terminal_output gfxterm
  184. if [ "${recordfail}" = 1 ] ; then
  185. set timeout=10
  186. else
  187. if [ x$feature_timeout_style = xy ] ; then
  188. set timeout_style=menu
  189. set timeout=10
  190. # Fallback normal timeout code in case the timeout_style feature is
  191. # unavailable.
  192. else
  193. set timeout=10
  194. fi
  195. fi
  196. ### END /etc/grub.d/00_header ###
  197. ### BEGIN /etc/grub.d/05_debian_theme ###
  198. set menu_color_normal=white/black
  199. set menu_color_highlight=black/light-gray
  200. if background_color 44,0,30,0; then
  201. clear
  202. fi
  203. ### END /etc/grub.d/05_debian_theme ###
  204. ### BEGIN /etc/grub.d/10_linux ###
  205. function gfxmode {
  206. set gfxpayload="${1}"
  207. if [ "${1}" = "keep" ]; then
  208. set vt_handoff=vt.handoff=7
  209. else
  210. set vt_handoff=
  211. fi
  212. }
  213. if [ "${recordfail}" != 1 ]; then
  214. if [ -e ${prefix}/gfxblacklist.txt ]; then
  215. if hwmatch ${prefix}/gfxblacklist.txt 3; then
  216. if [ ${match} = 0 ]; then
  217. set linux_gfx_mode=keep
  218. else
  219. set linux_gfx_mode=text
  220. fi
  221. else
  222. set linux_gfx_mode=text
  223. fi
  224. else
  225. set linux_gfx_mode=keep
  226. fi
  227. else
  228. set linux_gfx_mode=text
  229. fi
  230. export linux_gfx_mode
  231. menuentry 'Ubuntu' --class ubuntu --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-simple-8fa29d30-36b6-43a3-bbef-4c7e762a2d5f' {
  232. recordfail
  233. load_video
  234. gfxmode $linux_gfx_mode
  235. insmod gzio
  236. insmod part_msdos
  237. insmod ext2
  238. set root='hd0,msdos4'
  239. if [ x$feature_platform_search_hint = xy ]; then
  240. search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos4 --hint-efi=hd0,msdos4 --hint-baremetal=ahci0,msdos4 8fa29d30-36b6-43a3-bbef-4c7e762a2d5f
  241. else
  242. search --no-floppy --fs-uuid --set=root 8fa29d30-36b6-43a3-bbef-4c7e762a2d5f
  243. fi
  244. linux /boot/vmlinuz-3.13.0-79-generic root=UUID=8fa29d30-36b6-43a3-bbef-4c7e762a2d5f ro quiet splash $vt_handoff
  245. initrd /boot/initrd.img-3.13.0-79-generic
  246. }
  247. submenu 'Advanced options for Ubuntu' $menuentry_id_option 'gnulinux-advanced-8fa29d30-36b6-43a3-bbef-4c7e762a2d5f' {
  248. menuentry 'Ubuntu, with Linux 3.13.0-79-generic' --class ubuntu --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-3.13.0-79-generic-advanced-8fa29d30-36b6-43a3-bbef-4c7e762a2d5f' {
  249. recordfail
  250. load_video
  251. gfxmode $linux_gfx_mode
  252. insmod gzio
  253. insmod part_msdos
  254. insmod ext2
  255. set root='hd0,msdos4'
  256. if [ x$feature_platform_search_hint = xy ]; then
  257. search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos4 --hint-efi=hd0,msdos4 --hint-baremetal=ahci0,msdos4 8fa29d30-36b6-43a3-bbef-4c7e762a2d5f
  258. else
  259. search --no-floppy --fs-uuid --set=root 8fa29d30-36b6-43a3-bbef-4c7e762a2d5f
  260. fi
  261. echo 'Loading Linux 3.13.0-79-generic ...'
  262. linux /boot/vmlinuz-3.13.0-79-generic root=UUID=8fa29d30-36b6-43a3-bbef-4c7e762a2d5f ro quiet splash $vt_handoff
  263. echo 'Loading initial ramdisk ...'
  264. initrd /boot/initrd.img-3.13.0-79-generic
  265. }
  266. menuentry 'Ubuntu, with Linux 3.13.0-79-generic (recovery mode)' --class ubuntu --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-3.13.0-79-generic-recovery-8fa29d30-36b6-43a3-bbef-4c7e762a2d5f' {
  267. recordfail
  268. load_video
  269. insmod gzio
  270. insmod part_msdos
  271. insmod ext2
  272. set root='hd0,msdos4'
  273. if [ x$feature_platform_search_hint = xy ]; then
  274. search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos4 --hint-efi=hd0,msdos4 --hint-baremetal=ahci0,msdos4 8fa29d30-36b6-43a3-bbef-4c7e762a2d5f
  275. else
  276. search --no-floppy --fs-uuid --set=root 8fa29d30-36b6-43a3-bbef-4c7e762a2d5f
  277. fi
  278. echo 'Loading Linux 3.13.0-79-generic ...'
  279. linux /boot/vmlinuz-3.13.0-79-generic root=UUID=8fa29d30-36b6-43a3-bbef-4c7e762a2d5f ro recovery nomodeset
  280. echo 'Loading initial ramdisk ...'
  281. initrd /boot/initrd.img-3.13.0-79-generic
  282. }
  283. menuentry 'Ubuntu, with Linux 3.13.0-61-generic' --class ubuntu --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-3.13.0-61-generic-advanced-8fa29d30-36b6-43a3-bbef-4c7e762a2d5f' {
  284. recordfail
  285. load_video
  286. gfxmode $linux_gfx_mode
  287. insmod gzio
  288. insmod part_msdos
  289. insmod ext2
  290. set root='hd0,msdos4'
  291. if [ x$feature_platform_search_hint = xy ]; then
  292. search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos4 --hint-efi=hd0,msdos4 --hint-baremetal=ahci0,msdos4 8fa29d30-36b6-43a3-bbef-4c7e762a2d5f
  293. else
  294. search --no-floppy --fs-uuid --set=root 8fa29d30-36b6-43a3-bbef-4c7e762a2d5f
  295. fi
  296. echo 'Loading Linux 3.13.0-61-generic ...'
  297. linux /boot/vmlinuz-3.13.0-61-generic root=UUID=8fa29d30-36b6-43a3-bbef-4c7e762a2d5f ro quiet splash $vt_handoff
  298. echo 'Loading initial ramdisk ...'
  299. initrd /boot/initrd.img-3.13.0-61-generic
  300. }
  301. menuentry 'Ubuntu, with Linux 3.13.0-61-generic (recovery mode)' --class ubuntu --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-3.13.0-61-generic-recovery-8fa29d30-36b6-43a3-bbef-4c7e762a2d5f' {
  302. recordfail
  303. load_video
  304. insmod gzio
  305. insmod part_msdos
  306. insmod ext2
  307. set root='hd0,msdos4'
  308. if [ x$feature_platform_search_hint = xy ]; then
  309. search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos4 --hint-efi=hd0,msdos4 --hint-baremetal=ahci0,msdos4 8fa29d30-36b6-43a3-bbef-4c7e762a2d5f
  310. else
  311. search --no-floppy --fs-uuid --set=root 8fa29d30-36b6-43a3-bbef-4c7e762a2d5f
  312. fi
  313. echo 'Loading Linux 3.13.0-61-generic ...'
  314. linux /boot/vmlinuz-3.13.0-61-generic root=UUID=8fa29d30-36b6-43a3-bbef-4c7e762a2d5f ro recovery nomodeset
  315. echo 'Loading initial ramdisk ...'
  316. initrd /boot/initrd.img-3.13.0-61-generic
  317. }
  318. menuentry 'Ubuntu, with Linux 3.11.0-26-generic' --class ubuntu --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-3.11.0-26-generic-advanced-8fa29d30-36b6-43a3-bbef-4c7e762a2d5f' {
  319. recordfail
  320. load_video
  321. gfxmode $linux_gfx_mode
  322. insmod gzio
  323. insmod part_msdos
  324. insmod ext2
  325. set root='hd0,msdos4'
  326. if [ x$feature_platform_search_hint = xy ]; then
  327. search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos4 --hint-efi=hd0,msdos4 --hint-baremetal=ahci0,msdos4 8fa29d30-36b6-43a3-bbef-4c7e762a2d5f
  328. else
  329. search --no-floppy --fs-uuid --set=root 8fa29d30-36b6-43a3-bbef-4c7e762a2d5f
  330. fi
  331. echo 'Loading Linux 3.11.0-26-generic ...'
  332. linux /boot/vmlinuz-3.11.0-26-generic root=UUID=8fa29d30-36b6-43a3-bbef-4c7e762a2d5f ro quiet splash $vt_handoff
  333. echo 'Loading initial ramdisk ...'
  334. initrd /boot/initrd.img-3.11.0-26-generic
  335. }
  336. menuentry 'Ubuntu, with Linux 3.11.0-26-generic (recovery mode)' --class ubuntu --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-3.11.0-26-generic-recovery-8fa29d30-36b6-43a3-bbef-4c7e762a2d5f' {
  337. recordfail
  338. load_video
  339. insmod gzio
  340. insmod part_msdos
  341. insmod ext2
  342. set root='hd0,msdos4'
  343. if [ x$feature_platform_search_hint = xy ]; then
  344. search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos4 --hint-efi=hd0,msdos4 --hint-baremetal=ahci0,msdos4 8fa29d30-36b6-43a3-bbef-4c7e762a2d5f
  345. else
  346. search --no-floppy --fs-uuid --set=root 8fa29d30-36b6-43a3-bbef-4c7e762a2d5f
  347. fi
  348. echo 'Loading Linux 3.11.0-26-generic ...'
  349. linux /boot/vmlinuz-3.11.0-26-generic root=UUID=8fa29d30-36b6-43a3-bbef-4c7e762a2d5f ro recovery nomodeset
  350. echo 'Loading initial ramdisk ...'
  351. initrd /boot/initrd.img-3.11.0-26-generic
  352. }
  353. menuentry 'Ubuntu, with Linux 3.8.0-31-generic' --class ubuntu --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-3.8.0-31-generic-advanced-8fa29d30-36b6-43a3-bbef-4c7e762a2d5f' {
  354. recordfail
  355. load_video
  356. gfxmode $linux_gfx_mode
  357. insmod gzio
  358. insmod part_msdos
  359. insmod ext2
  360. set root='hd0,msdos4'
  361. if [ x$feature_platform_search_hint = xy ]; then
  362. search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos4 --hint-efi=hd0,msdos4 --hint-baremetal=ahci0,msdos4 8fa29d30-36b6-43a3-bbef-4c7e762a2d5f
  363. else
  364. search --no-floppy --fs-uuid --set=root 8fa29d30-36b6-43a3-bbef-4c7e762a2d5f
  365. fi
  366. echo 'Loading Linux 3.8.0-31-generic ...'
  367. linux /boot/vmlinuz-3.8.0-31-generic root=UUID=8fa29d30-36b6-43a3-bbef-4c7e762a2d5f ro quiet splash $vt_handoff
  368. echo 'Loading initial ramdisk ...'
  369. initrd /boot/initrd.img-3.8.0-31-generic
  370. }
  371. menuentry 'Ubuntu, with Linux 3.8.0-31-generic (recovery mode)' --class ubuntu --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-3.8.0-31-generic-recovery-8fa29d30-36b6-43a3-bbef-4c7e762a2d5f' {
  372. recordfail
  373. load_video
  374. insmod gzio
  375. insmod part_msdos
  376. insmod ext2
  377. set root='hd0,msdos4'
  378. if [ x$feature_platform_search_hint = xy ]; then
  379. search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos4 --hint-efi=hd0,msdos4 --hint-baremetal=ahci0,msdos4 8fa29d30-36b6-43a3-bbef-4c7e762a2d5f
  380. else
  381. search --no-floppy --fs-uuid --set=root 8fa29d30-36b6-43a3-bbef-4c7e762a2d5f
  382. fi
  383. echo 'Loading Linux 3.8.0-31-generic ...'
  384. linux /boot/vmlinuz-3.8.0-31-generic root=UUID=8fa29d30-36b6-43a3-bbef-4c7e762a2d5f ro recovery nomodeset
  385. echo 'Loading initial ramdisk ...'
  386. initrd /boot/initrd.img-3.8.0-31-generic
  387. }
  388. menuentry 'Ubuntu, with Linux 3.5.0-27-generic' --class ubuntu --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-3.5.0-27-generic-advanced-8fa29d30-36b6-43a3-bbef-4c7e762a2d5f' {
  389. recordfail
  390. load_video
  391. gfxmode $linux_gfx_mode
  392. insmod gzio
  393. insmod part_msdos
  394. insmod ext2
  395. set root='hd0,msdos4'
  396. if [ x$feature_platform_search_hint = xy ]; then
  397. search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos4 --hint-efi=hd0,msdos4 --hint-baremetal=ahci0,msdos4 8fa29d30-36b6-43a3-bbef-4c7e762a2d5f
  398. else
  399. search --no-floppy --fs-uuid --set=root 8fa29d30-36b6-43a3-bbef-4c7e762a2d5f
  400. fi
  401. echo 'Loading Linux 3.5.0-27-generic ...'
  402. linux /boot/vmlinuz-3.5.0-27-generic root=UUID=8fa29d30-36b6-43a3-bbef-4c7e762a2d5f ro quiet splash $vt_handoff
  403. echo 'Loading initial ramdisk ...'
  404. initrd /boot/initrd.img-3.5.0-27-generic
  405. }
  406. menuentry 'Ubuntu, with Linux 3.5.0-27-generic (recovery mode)' --class ubuntu --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-3.5.0-27-generic-recovery-8fa29d30-36b6-43a3-bbef-4c7e762a2d5f' {
  407. recordfail
  408. load_video
  409. insmod gzio
  410. insmod part_msdos
  411. insmod ext2
  412. set root='hd0,msdos4'
  413. if [ x$feature_platform_search_hint = xy ]; then
  414. search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos4 --hint-efi=hd0,msdos4 --hint-baremetal=ahci0,msdos4 8fa29d30-36b6-43a3-bbef-4c7e762a2d5f
  415. else
  416. search --no-floppy --fs-uuid --set=root 8fa29d30-36b6-43a3-bbef-4c7e762a2d5f
  417. fi
  418. echo 'Loading Linux 3.5.0-27-generic ...'
  419. linux /boot/vmlinuz-3.5.0-27-generic root=UUID=8fa29d30-36b6-43a3-bbef-4c7e762a2d5f ro recovery nomodeset
  420. echo 'Loading initial ramdisk ...'
  421. initrd /boot/initrd.img-3.5.0-27-generic
  422. }
  423. }
  424. ### END /etc/grub.d/10_linux ###
  425. ### BEGIN /etc/grub.d/20_linux_xen ###
  426. ### END /etc/grub.d/20_linux_xen ###
  427. ### BEGIN /etc/grub.d/20_memtest86+ ###
  428. ### END /etc/grub.d/20_memtest86+ ###
  429. ### BEGIN /etc/grub.d/30_os-prober ###
  430. ### END /etc/grub.d/30_os-prober ###
  431. ### BEGIN /etc/grub.d/30_uefi-firmware ###
  432. menuentry 'System setup' $menuentry_id_option 'uefi-firmware' {
  433. fwsetup
  434. }
  435. ### END /etc/grub.d/30_uefi-firmware ###
  436. ### BEGIN /etc/grub.d/40_custom ###
  437. # This file provides an easy way to add custom menu entries. Simply type the
  438. # menu entries you want to add after this comment. Be careful not to change
  439. # the 'exec tail' line above.
  440. ### END /etc/grub.d/40_custom ###
  441. ### BEGIN /etc/grub.d/41_custom ###
  442. if [ -f ${config_directory}/custom.cfg ]; then
  443. source ${config_directory}/custom.cfg
  444. elif [ -z "${config_directory}" -a -f $prefix/custom.cfg ]; then
  445. source $prefix/custom.cfg;
  446. fi
  447. ### END /etc/grub.d/41_custom ###
  448. --------------------------------------------------------------------------------
  449. =============================== sda4/etc/fstab: ================================
  450. --------------------------------------------------------------------------------
  451. # /etc/fstab: static file system information.
  452. #
  453. # Use 'blkid' to print the universally unique identifier for a
  454. # device; this may be used with UUID= as a more robust way to name devices
  455. # that works even if disks are added and removed. See fstab(5).
  456. #
  457. # <file system> <mount point> <type> <options> <dump> <pass>
  458. # / was on /dev/sda3 during installation
  459. UUID=8fa29d30-36b6-43a3-bbef-4c7e762a2d5f / ext4 errors=remount-ro 0 1
  460. /mnt/4g.swap none swap sw 0 0
  461. --------------------------------------------------------------------------------
  462. =================== sda4: Location of files loaded by Grub: ====================
  463. GiB - GB File Fragment(s)
  464. 107.371181488 = 115.288928256 boot/grub/grub.cfg 1
  465. 107.392974854 = 115.312328704 boot/grub/i386-pc/core.img 1
  466. 106.153686523 = 113.981652992 boot/vmlinuz-3.11.0-26-generic 1
  467. 109.083545685 = 117.127565312 boot/vmlinuz-3.13.0-61-generic 2
  468. 95.896049500 = 102.967599104 boot/vmlinuz-3.13.0-79-generic 2
  469. 96.641525269 = 103.768047616 boot/vmlinuz-3.5.0-27-generic 2
  470. 119.118274689 = 127.902273536 boot/vmlinuz-3.8.0-31-generic 2
  471. 95.896049500 = 102.967599104 vmlinuz 2
  472. 109.083545685 = 117.127565312 vmlinuz.old 2
  473. 107.914676666 = 115.872501760 boot/initrd.img-3.11.0-26-generic 1
  474. 95.142303467 = 102.158270464 boot/initrd.img-3.13.0-61-generic 2
  475. 98.388198853 = 105.643524096 boot/initrd.img-3.13.0-79-generic 3
  476. 109.475757599 = 117.548699648 boot/initrd.img-3.5.0-27-generic 100
  477. 101.030891418 = 108.481093632 boot/initrd.img-3.8.0-31-generic 1
  478. 98.388198853 = 105.643524096 initrd.img 3
  479. 95.142303467 = 102.158270464 initrd.img.old 2
  480. ======================== Unknown MBRs/Boot Sectors/etc: ========================
  481. Unknown MBR on /dev/sdb
  482. 00000000 45 52 08 00 00 00 90 90 00 00 00 00 00 00 00 00 |ER..............|
  483. 00000010 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................|
  484. 00000020 33 ed fa 8e d5 bc 00 7c fb fc 66 31 db 66 31 c9 |3......|..f1.f1.|
  485. 00000030 66 53 66 51 06 57 8e dd 8e c5 52 be 00 7c bf 00 |fSfQ.W....R..|..|
  486. 00000040 06 b9 00 01 f3 a5 ea 4b 06 00 00 52 b4 41 bb aa |.......K...R.A..|
  487. 00000050 55 31 c9 30 f6 f9 cd 13 72 16 81 fb 55 aa 75 10 |U1.0....r...U.u.|
  488. 00000060 83 e1 01 74 0b 66 c7 06 f1 06 b4 42 eb 15 eb 00 |...t.f.....B....|
  489. 00000070 5a 51 b4 08 cd 13 83 e1 3f 5b 51 0f b6 c6 40 50 |ZQ......?[Q...@P|
  490. 00000080 f7 e1 53 52 50 bb 00 7c b9 04 00 66 a1 b0 07 e8 |..SRP..|...f....|
  491. 00000090 44 00 0f 82 80 00 66 40 80 c7 02 e2 f2 66 81 3e |[email protected].>|
  492. 000000a0 40 7c fb c0 78 70 75 09 fa bc ec 7b ea 44 7c 00 |@|..xpu....{.D|.|
  493. 000000b0 00 e8 83 00 69 73 6f 6c 69 6e 75 78 2e 62 69 6e |....isolinux.bin|
  494. 000000c0 20 6d 69 73 73 69 6e 67 20 6f 72 20 63 6f 72 72 | missing or corr|
  495. 000000d0 75 70 74 2e 0d 0a 66 60 66 31 d2 66 03 06 f8 7b |upt...f`f1.f...{|
  496. 000000e0 66 13 16 fc 7b 66 52 66 50 06 53 6a 01 6a 10 89 |f...{fRfP.Sj.j..|
  497. 000000f0 e6 66 f7 36 e8 7b c0 e4 06 88 e1 88 c5 92 f6 36 |.f.6.{.........6|
  498. 00000100 ee 7b 88 c6 08 e1 41 b8 01 02 8a 16 f2 7b cd 13 |.{....A......{..|
  499. 00000110 8d 64 10 66 61 c3 e8 1e 00 4f 70 65 72 61 74 69 |.d.fa....Operati|
  500. 00000120 6e 67 20 73 79 73 74 65 6d 20 6c 6f 61 64 20 65 |ng system load e|
  501. 00000130 72 72 6f 72 2e 0d 0a 5e ac b4 0e 8a 3e 62 04 b3 |rror...^....>b..|
  502. 00000140 07 cd 10 3c 0a 75 f1 cd 18 f4 eb fd 00 00 00 00 |...<.u..........|
  503. 00000150 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................|
  504. 00000160 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................|
  505. 00000170 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................|
  506. 00000180 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................|
  507. 00000190 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................|
  508. 000001a0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................|
  509. 000001b0 28 db 2b 00 00 00 00 00 70 8e 0e 0e 00 00 80 00 |(.+.....p.......|
  510. 000001c0 01 00 00 58 e0 fa 00 00 00 00 60 48 2c 00 00 fe |...X......`H,...|
  511. 000001d0 ff ff ef fe ff ff 44 11 2c 00 80 12 00 00 00 00 |......D.,.......|
  512. 000001e0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................|
  513. 000001f0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 55 aa |..............U.|
  514. 00000200
  515. /dev/sdb1: unknown GPT attributes
  516. 1000000000000001
  517. /dev/sdb2: unknown GPT attributes
  518. 1000000000000001
  519. Unknown BootLoader on sdb1
  520. 00000000 45 52 08 00 00 00 90 90 00 00 00 00 00 00 00 00 |ER..............|
  521. 00000010 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................|
  522. 00000020 33 ed fa 8e d5 bc 00 7c fb fc 66 31 db 66 31 c9 |3......|..f1.f1.|
  523. 00000030 66 53 66 51 06 57 8e dd 8e c5 52 be 00 7c bf 00 |fSfQ.W....R..|..|
  524. 00000040 06 b9 00 01 f3 a5 ea 4b 06 00 00 52 b4 41 bb aa |.......K...R.A..|
  525. 00000050 55 31 c9 30 f6 f9 cd 13 72 16 81 fb 55 aa 75 10 |U1.0....r...U.u.|
  526. 00000060 83 e1 01 74 0b 66 c7 06 f1 06 b4 42 eb 15 eb 00 |...t.f.....B....|
  527. 00000070 5a 51 b4 08 cd 13 83 e1 3f 5b 51 0f b6 c6 40 50 |ZQ......?[Q...@P|
  528. 00000080 f7 e1 53 52 50 bb 00 7c b9 04 00 66 a1 b0 07 e8 |..SRP..|...f....|
  529. 00000090 44 00 0f 82 80 00 66 40 80 c7 02 e2 f2 66 81 3e |[email protected].>|
  530. 000000a0 40 7c fb c0 78 70 75 09 fa bc ec 7b ea 44 7c 00 |@|..xpu....{.D|.|
  531. 000000b0 00 e8 83 00 69 73 6f 6c 69 6e 75 78 2e 62 69 6e |....isolinux.bin|
  532. 000000c0 20 6d 69 73 73 69 6e 67 20 6f 72 20 63 6f 72 72 | missing or corr|
  533. 000000d0 75 70 74 2e 0d 0a 66 60 66 31 d2 66 03 06 f8 7b |upt...f`f1.f...{|
  534. 000000e0 66 13 16 fc 7b 66 52 66 50 06 53 6a 01 6a 10 89 |f...{fRfP.Sj.j..|
  535. 000000f0 e6 66 f7 36 e8 7b c0 e4 06 88 e1 88 c5 92 f6 36 |.f.6.{.........6|
  536. 00000100 ee 7b 88 c6 08 e1 41 b8 01 02 8a 16 f2 7b cd 13 |.{....A......{..|
  537. 00000110 8d 64 10 66 61 c3 e8 1e 00 4f 70 65 72 61 74 69 |.d.fa....Operati|
  538. 00000120 6e 67 20 73 79 73 74 65 6d 20 6c 6f 61 64 20 65 |ng system load e|
  539. 00000130 72 72 6f 72 2e 0d 0a 5e ac b4 0e 8a 3e 62 04 b3 |rror...^....>b..|
  540. 00000140 07 cd 10 3c 0a 75 f1 cd 18 f4 eb fd 00 00 00 00 |...<.u..........|
  541. 00000150 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................|
  542. *
  543. 000001b0 28 db 2b 00 00 00 00 00 70 8e 0e 0e 00 00 80 00 |(.+.....p.......|
  544. 000001c0 01 00 00 58 e0 fa 00 00 00 00 60 48 2c 00 00 fe |...X......`H,...|
  545. 000001d0 ff ff ef fe ff ff 44 11 2c 00 80 12 00 00 00 00 |......D.,.......|
  546. 000001e0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................|
  547. 000001f0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 55 aa |..............U.|
  548. 00000200
  549. =============================== StdErr Messages: ===============================
  550. File descriptor 9 (/proc/5160/mounts) leaked on lvs invocation. Parent PID 17044: bash
  551. File descriptor 63 (pipe:[54913]) leaked on lvs invocation. Parent PID 17044: bash
  552. ADDITIONAL INFORMATION :
  553. =================== log of boot-repair 2016-06-04__09h29 ===================
  554. boot-repair version : 4ppa37
  555. boot-sav version : 4ppa37
  556. glade2script version : 3.2.3~ppa1
  557. boot-sav-extra version : 4ppa37
  558. grub-probe: error: cannot find a GRUB drive for /dev/sdb1. Check your device.map.
  559. Warning: The driver descriptor says the physical block size is 2048 bytes, but Linux says it is 512 bytes.
  560. Warning: The driver descriptor says the physical block size is 2048 bytes, but Linux says it is 512 bytes.
  561. boot-repair is executed in live-session (Ubuntu 16.04 LTS, xenial, Ubuntu, x86_64)
  562. CPU op-mode(s): 32-bit, 64-bit
  563. BOOT_IMAGE=/casper/vmlinuz.efi file=/cdrom/preseed/ubuntu.seed boot=casper quiet splash ---
  564. ls: cannot access '/home/usr/.config': No such file or directory
  565. mount: /dev/sdb2 is already mounted or /mnt/boot-sav/sdb2 busy
  566. mount /dev/sdb2 : Error code 32
  567. mount -r /dev/sdb2 /mnt/boot-sav/sdb2
  568. mount: /dev/sdb2 is already mounted or /mnt/boot-sav/sdb2 busy
  569. mount -r /dev/sdb2 : Error code 32
  570. =================== os-prober:
  571. /dev/sda4:Ubuntu 14.04.4 LTS (14.04):Ubuntu:linux
  572. =================== blkid:
  573. /dev/sda1: LABEL="JM-CM-$rjestelmM-CM-$n varaama" UUID="024E0E204E0E0D5B" TYPE="ntfs" PARTUUID="00039825-01"
  574. /dev/sda2: UUID="6A840F0B840EDA09" TYPE="ntfs" PARTUUID="00039825-02"
  575. /dev/sda3: UUID="409CBCAD9CBC9EBA" TYPE="ntfs" PARTUUID="00039825-03"
  576. /dev/sda4: UUID="8fa29d30-36b6-43a3-bbef-4c7e762a2d5f" TYPE="ext4" PARTUUID="00039825-04"
  577. /dev/loop0: TYPE="squashfs"
  578. /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"
  579. /dev/sdb2: SEC_TYPE="msdos" UUID="B1F5-0A13" TYPE="vfat" PARTUUID="0e0e8e70-02"
  580. 1 disks with OS, 1 OS : 1 Linux, 0 MacOS, 0 Windows, 0 unknown type OS.
  581. mount: /dev/sdb2 is already mounted or /mnt/boot-sav/sdb2 busy
  582. mount /dev/sdb2 : Error code 32
  583. mount -r /dev/sdb2 /mnt/boot-sav/sdb2
  584. mount: /dev/sdb2 is already mounted or /mnt/boot-sav/sdb2 busy
  585. mount -r /dev/sdb2 : Error code 32
  586. Windows not detected by os-prober on sda2.
  587. dd: invalid number: ‘0’
  588. Warning: /var/log/boot-sav/log/2016-06-04__09h29boot-repair07/sdb/current_mbr.img could not be created. Please report this message to [email protected]
  589. =================== sda4/etc/grub.d/ :
  590. drwxr-xr-x 2 root root 4096 Mar 12 12:42 grub.d
  591. total 76
  592. -rwxr-xr-x 1 root root 9791 Dec 17 15:00 00_header
  593. -rwxr-xr-x 1 root root 6058 May 13 2015 05_debian_theme
  594. -rwxr-xr-x 1 root root 11608 Jun 26 2015 10_linux
  595. -rwxr-xr-x 1 root root 10412 Jun 26 2015 20_linux_xen
  596. -rwxr-xr-x 1 root root 1992 Mar 12 2014 20_memtest86+
  597. -rwxr-xr-x 1 root root 11692 Jun 26 2015 30_os-prober
  598. -rwxr-xr-x 1 root root 1416 Jun 26 2015 30_uefi-firmware
  599. -rwxr-xr-x 1 root root 214 Oct 14 2012 40_custom
  600. -rwxr-xr-x 1 root root 216 Oct 14 2012 41_custom
  601. -rw-r--r-- 1 root root 483 Oct 14 2012 README
  602. =================== sda4/etc/default/grub :
  603. # If you change this file, run 'update-grub' afterwards to update
  604. # /boot/grub/grub.cfg.
  605. # For full documentation of the options in this file, see:
  606. # info -f grub -n 'Simple configuration'
  607. GRUB_DEFAULT=0
  608. #GRUB_HIDDEN_TIMEOUT=0
  609. GRUB_HIDDEN_TIMEOUT_QUIET=true
  610. GRUB_TIMEOUT=10
  611. GRUB_DISTRIBUTOR=`lsb_release -i -s 2> /dev/null || echo Debian`
  612. GRUB_CMDLINE_LINUX_DEFAULT="quiet splash"
  613. GRUB_CMDLINE_LINUX=""
  614. # Uncomment to enable BadRAM filtering, modify to suit your needs
  615. # This works with Linux (no patch required) and with any kernel that obtains
  616. # the memory map information from GRUB (GNU Mach, kernel of FreeBSD ...)
  617. #GRUB_BADRAM="0x01234567,0xfefefefe,0x89abcdef,0xefefefef"
  618. # Uncomment to disable graphical terminal (grub-pc only)
  619. #GRUB_TERMINAL=console
  620. # The resolution used on graphical terminal
  621. # note that you can use only modes which your graphic card supports via VBE
  622. # you can see them in real GRUB with the command `vbeinfo'
  623. #GRUB_GFXMODE=640x480
  624. # Uncomment if you don't want GRUB to pass "root=UUID=xxx" parameter to Linux
  625. #GRUB_DISABLE_LINUX_UUID=true
  626. # Uncomment to disable generation of recovery mode menu entries
  627. #GRUB_DISABLE_RECOVERY="true"
  628. # Uncomment to get a beep at grub start
  629. #GRUB_INIT_TUNE="480 440 1"
  630. =================== efibootmgr -v
  631. BootCurrent: 0002
  632. Timeout: 0 seconds
  633. BootOrder: 0002
  634. Boot0001* USB Drive (UEFI) - Hard Drive BBS(HD,,0x0)AMGOAMNO........o.S.A.M.S.U.N.G. .M.Z.M.P.C.1.2.8.H.B.F.U.-.0.0.0.H.1....................A...........................>..Gd-.;.A..MQ..L.0.S.8.Y.S.N.C.A.0.4.5.1.9.0. . . . . . ......AMBOAMNO........{.K.i.n.g.s.t.o.n.D.a.t.a.T.r.a.v.e.l.e.r. .2...0.P.M.A.P....................A.......................N..Gd-.;.A..MQ..L.K.i.n.g.s.t.o.n.D.a.t.a.T.r.a.v.e.l.e.r. .2...0.P.M.A.P......AMBO
  635. Boot0002* USB Drive (UEFI) - KingstonDataTraveler 2.0PMAP PciRoot(0x0)/Pci(0x14,0x0)/USB(3,0)/HD(1,MBR,0x112,0x2c1144,0x1280)AMBO
  636. Boot0003* USB Drive (UEFI) - Hard Drive BBS(HD,,0x0)AMGOAMNO..........K.i.n.g.s.t.o.n.D.a.t.a.T.r.a.v.e.l.e.r. .G.3. .1...0.0....................A.............................N..Gd-.;.A..MQ..L.K.i.n.g.s.t.o.n.D.a.t.a.T.r.a.v.e.l.e.r. .G.3. .1...0.0......AMBOAMNO........o.S.A.M.S.U.N.G. .M.Z.M.P.C.1.2.8.H.B.F.U.-.0.0.0.H.1....................A...........................>..Gd-.;.A..MQ..L.0.S.8.Y.S.N.C.A.0.4.5.1.9.0. . . . . . ......AMBO
  637. =================== UEFI/Legacy mode:
  638. BIOS is EFI-compatible, and is setup in EFI-mode for this live-session.
  639. SecureBoot disabled. (maybe sec-boot, Please report this message to [email protected])
  640. =================== PARTITIONS & DISKS:
  641. sda1 : sda, not-sepboot, no-grubenv nogrub, no-docgrub, no-update-grub, 32, no-boot, no-os, not--efi--part, part-has-no-fstab, part-has-no-fstab, no-nt, no-winload, no-recov-nor-hid, bootmgr, is-winboot, nopakmgr, nogrubinstall, no---usr, part-has-no-fstab, not-sep-usr, standard, not-far, /mnt/boot-sav/sda1.
  642. sda2 : sda, not-sepboot, no-grubenv nogrub, no-docgrub, no-update-grub, 32, no-boot, is-os, not--efi--part, part-has-no-fstab, part-has-no-fstab, no-nt, haswinload, no-recov-nor-hid, no-bmgr, notwinboot, nopakmgr, nogrubinstall, no---usr, part-has-no-fstab, not-sep-usr, standard, not-far, /mnt/boot-sav/sda2.
  643. sda3 : sda, not-sepboot, no-grubenv nogrub, no-docgrub, no-update-grub, 32, no-boot, no-os, not--efi--part, part-has-no-fstab, part-has-no-fstab, no-nt, no-winload, recovery-or-hidden, no-bmgr, notwinboot, nopakmgr, nogrubinstall, no---usr, part-has-no-fstab, not-sep-usr, standard, not-far, /mnt/boot-sav/sda3.
  644. sda4 : sda, not-sepboot, grubenv-ok grub2, grub-pc , update-grub, 64, with-boot, is-os, not--efi--part, fstab-without-boot, fstab-without-efi, no-nt, no-winload, no-recov-nor-hid, no-bmgr, notwinboot, apt-get, grub-install, with--usr, fstab-without-usr, not-sep-usr, standard, farbios, /mnt/boot-sav/sda4.
  645. 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.
  646. sda : not-GPT, BIOSboot-not-needed, has-no-EFIpart, not-usb, has-os, 2048 sectors * 512 bytes
  647. sdb : not-GPT, BIOSboot-not-needed, has-no-EFIpart, usb-disk, no-os, 0 sectors * 512 bytes
  648. =================== parted -l:
  649. Model: ATA SAMSUNG MZMPC128 (scsi)
  650. Disk /dev/sda: 128GB
  651. Sector size (logical/physical): 512B/512B
  652. Partition Table: msdos
  653. Disk Flags:
  654. Number Start End Size Type File system Flags
  655. 1 1049kB 106MB 105MB primary ntfs boot
  656. 2 106MB 94.9GB 94.8GB primary ntfs
  657. 3 94.9GB 95.8GB 926MB primary ntfs diag
  658. 4 95.8GB 128GB 32.2GB primary ext4
  659. Model: Kingston DataTraveler 2.0 (scsi)
  660. Disk /dev/sdb: 7807MB
  661. Sector size (logical/physical): 512B/512B
  662. Partition Table: unknown
  663. Disk Flags:
  664. =================== parted -lm:
  665. BYT;
  666. /dev/sda:128GB:scsi:512:512:msdos:ATA SAMSUNG MZMPC128:;
  667. 1:1049kB:106MB:105MB:ntfs::boot;
  668. 2:106MB:94.9GB:94.8GB:ntfs::;
  669. 3:94.9GB:95.8GB:926MB:ntfs::diag;
  670. 4:95.8GB:128GB:32.2GB:ext4::;
  671. BYT;
  672. /dev/sdb:7807MB:scsi:512:512:unknown:Kingston DataTraveler 2.0:;
  673. =================== lsblk:
  674. KNAME TYPE FSTYPE SIZE LABEL
  675. sda disk 119.2G
  676. sda1 part ntfs 100M Järjestelmän varaama
  677. sda2 part ntfs 88.3G
  678. sda3 part ntfs 883M
  679. sda4 part ext4 30G
  680. sdb disk iso9660 7.3G Ubuntu 16.04 LTS amd64
  681. sdb1 part iso9660 1.4G Ubuntu 16.04 LTS amd64
  682. sdb2 part vfat 2.3M Ubuntu 16.04 LTS amd64
  683. loop0 loop squashfs 1.3G
  684. KNAME ROTA RO RM STATE MOUNTPOINT
  685. sda 0 0 0 running
  686. sda1 0 0 0 /mnt/boot-sav/sda1
  687. sda2 0 0 0 /mnt/boot-sav/sda2
  688. sda3 0 0 0 /mnt/boot-sav/sda3
  689. sda4 0 0 0 /mnt/boot-sav/sda4
  690. sdb 1 0 1 running /cdrom
  691. sdb1 1 0 1
  692. sdb2 1 0 1
  693. loop0 1 1 0 /rofs
  694. =================== mount:
  695. sysfs on /sys type sysfs (rw,nosuid,nodev,noexec,relatime)
  696. proc on /proc type proc (rw,nosuid,nodev,noexec,relatime)
  697. udev on /dev type devtmpfs (rw,nosuid,relatime,size=1953772k,nr_inodes=488443,mode=755)
  698. devpts on /dev/pts type devpts (rw,nosuid,noexec,relatime,gid=5,mode=620,ptmxmode=000)
  699. tmpfs on /run type tmpfs (rw,nosuid,noexec,relatime,size=393684k,mode=755)
  700. /dev/sdb on /cdrom type iso9660 (ro,noatime)
  701. /dev/loop0 on /rofs type squashfs (ro,noatime)
  702. /cow on / type overlay (rw,relatime,lowerdir=//filesystem.squashfs,upperdir=/cow/upper,workdir=/cow/work)
  703. securityfs on /sys/kernel/security type securityfs (rw,nosuid,nodev,noexec,relatime)
  704. tmpfs on /dev/shm type tmpfs (rw,nosuid,nodev)
  705. tmpfs on /run/lock type tmpfs (rw,nosuid,nodev,noexec,relatime,size=5120k)
  706. tmpfs on /sys/fs/cgroup type tmpfs (ro,nosuid,nodev,noexec,mode=755)
  707. cgroup on /sys/fs/cgroup/systemd type cgroup (rw,nosuid,nodev,noexec,relatime,xattr,release_agent=/lib/systemd/systemd-cgroups-agent,name=systemd,nsroot=/)
  708. pstore on /sys/fs/pstore type pstore (rw,nosuid,nodev,noexec,relatime)
  709. efivarfs on /sys/firmware/efi/efivars type efivarfs (rw,nosuid,nodev,noexec,relatime)
  710. cgroup on /sys/fs/cgroup/memory type cgroup (rw,nosuid,nodev,noexec,relatime,memory,nsroot=/)
  711. cgroup on /sys/fs/cgroup/cpuset type cgroup (rw,nosuid,nodev,noexec,relatime,cpuset,nsroot=/)
  712. cgroup on /sys/fs/cgroup/blkio type cgroup (rw,nosuid,nodev,noexec,relatime,blkio,nsroot=/)
  713. cgroup on /sys/fs/cgroup/net_cls,net_prio type cgroup (rw,nosuid,nodev,noexec,relatime,net_cls,net_prio,nsroot=/)
  714. cgroup on /sys/fs/cgroup/cpu,cpuacct type cgroup (rw,nosuid,nodev,noexec,relatime,cpu,cpuacct,nsroot=/)
  715. cgroup on /sys/fs/cgroup/perf_event type cgroup (rw,nosuid,nodev,noexec,relatime,perf_event,nsroot=/)
  716. cgroup on /sys/fs/cgroup/hugetlb type cgroup (rw,nosuid,nodev,noexec,relatime,hugetlb,nsroot=/)
  717. cgroup on /sys/fs/cgroup/pids type cgroup (rw,nosuid,nodev,noexec,relatime,pids,nsroot=/)
  718. cgroup on /sys/fs/cgroup/freezer type cgroup (rw,nosuid,nodev,noexec,relatime,freezer,nsroot=/)
  719. cgroup on /sys/fs/cgroup/devices type cgroup (rw,nosuid,nodev,noexec,relatime,devices,nsroot=/)
  720. systemd-1 on /proc/sys/fs/binfmt_misc type autofs (rw,relatime,fd=29,pgrp=1,timeout=0,minproto=5,maxproto=5,direct)
  721. debugfs on /sys/kernel/debug type debugfs (rw,relatime)
  722. hugetlbfs on /dev/hugepages type hugetlbfs (rw,relatime)
  723. mqueue on /dev/mqueue type mqueue (rw,relatime)
  724. tracefs on /sys/kernel/debug/tracing type tracefs (rw,relatime)
  725. fusectl on /sys/fs/fuse/connections type fusectl (rw,relatime)
  726. tmpfs on /tmp type tmpfs (rw,nosuid,nodev,relatime)
  727. tmpfs on /run/user/999 type tmpfs (rw,nosuid,nodev,relatime,size=393684k,mode=700,uid=999,gid=999)
  728. gvfsd-fuse on /run/user/999/gvfs type fuse.gvfsd-fuse (rw,nosuid,nodev,relatime,user_id=999,group_id=999)
  729. /dev/sda1 on /mnt/boot-sav/sda1 type fuseblk (rw,relatime,user_id=0,group_id=0,allow_other,blksize=4096)
  730. /dev/sda2 on /mnt/boot-sav/sda2 type fuseblk (rw,relatime,user_id=0,group_id=0,allow_other,blksize=4096)
  731. /dev/sda3 on /mnt/boot-sav/sda3 type fuseblk (rw,relatime,user_id=0,group_id=0,allow_other,blksize=4096)
  732. /dev/sda4 on /mnt/boot-sav/sda4 type ext4 (rw,relatime,data=ordered)
  733. =================== ls:
  734. /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 size slaves stat subsystem trace uevent
  735. /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
  736. /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 hpet hugepages hwrng i2c-0 i2c-1 i2c-2 i2c-3 i2c-4 i2c-5 i2c-6 i2c-7 initctl input kmsg lightnvm log mapper mcelog media0 mei0 mem memory_bandwidth mqueue net network_latency network_throughput null port ppp psaux ptmx pts random rfkill rtc rtc0 sda sda1 sda2 sda3 sda4 sdb sdb1 sdb2 sg0 sg1 shm snapshot snd stderr stdin stdout uhid uinput urandom usb userio v4l vfio vga_arbiter vhci vhost-net video0 zero
  737. ls /dev/mapper: control
  738. =================== hexdump -n512 -C /dev/sda1
  739. 00000000 eb 52 90 4e 54 46 53 20 20 20 20 00 02 08 00 00 |.R.NTFS .....|
  740. 00000010 00 00 00 00 00 f8 00 00 3f 00 ff 00 00 08 00 00 |........?.......|
  741. 00000020 00 00 00 00 80 00 80 00 ff 1f 03 00 00 00 00 00 |................|
  742. 00000030 55 21 00 00 00 00 00 00 02 00 00 00 00 00 00 00 |U!..............|
  743. 00000040 f6 00 00 00 01 00 00 00 5b 0d 0e 4e 20 0e 4e 02 |........[..N .N.|
  744. 00000050 00 00 00 00 fa 33 c0 8e d0 bc 00 7c fb 68 c0 07 |.....3.....|.h..|
  745. 00000060 1f 1e 68 66 00 cb 88 16 0e 00 66 81 3e 03 00 4e |..hf......f.>..N|
  746. 00000070 54 46 53 75 15 b4 41 bb aa 55 cd 13 72 0c 81 fb |TFSu..A..U..r...|
  747. 00000080 55 aa 75 06 f7 c1 01 00 75 03 e9 dd 00 1e 83 ec |U.u.....u.......|
  748. 00000090 18 68 1a 00 b4 48 8a 16 0e 00 8b f4 16 1f cd 13 |.h...H..........|
  749. 000000a0 9f 83 c4 18 9e 58 1f 72 e1 3b 06 0b 00 75 db a3 |.....X.r.;...u..|
  750. 000000b0 0f 00 c1 2e 0f 00 04 1e 5a 33 db b9 00 20 2b c8 |........Z3... +.|
  751. 000000c0 66 ff 06 11 00 03 16 0f 00 8e c2 ff 06 16 00 e8 |f...............|
  752. 000000d0 4b 00 2b c8 77 ef b8 00 bb cd 1a 66 23 c0 75 2d |K.+.w......f#.u-|
  753. 000000e0 66 81 fb 54 43 50 41 75 24 81 f9 02 01 72 1e 16 |f..TCPAu$....r..|
  754. 000000f0 68 07 bb 16 68 52 11 16 68 09 00 66 53 66 53 66 |h...hR..h..fSfSf|
  755. 00000100 55 16 16 16 68 b8 01 66 61 0e 07 cd 1a 33 c0 bf |U...h..fa....3..|
  756. 00000110 0a 13 b9 f6 0c fc f3 aa e9 fe 01 90 90 66 60 1e |.............f`.|
  757. 00000120 06 66 a1 11 00 66 03 06 1c 00 1e 66 68 00 00 00 |.f...f.....fh...|
  758. 00000130 00 66 50 06 53 68 01 00 68 10 00 b4 42 8a 16 0e |.fP.Sh..h...B...|
  759. 00000140 00 16 1f 8b f4 cd 13 66 59 5b 5a 66 59 66 59 1f |.......fY[ZfYfY.|
  760. 00000150 0f 82 16 00 66 ff 06 11 00 03 16 0f 00 8e c2 ff |....f...........|
  761. 00000160 0e 16 00 75 bc 07 1f 66 61 c3 a1 f6 01 e8 09 00 |...u...fa.......|
  762. 00000170 a1 fa 01 e8 03 00 f4 eb fd 8b f0 ac 3c 00 74 09 |............<.t.|
  763. 00000180 b4 0e bb 07 00 cd 10 eb f2 c3 0d 0a 41 20 64 69 |............A di|
  764. 00000190 73 6b 20 72 65 61 64 20 65 72 72 6f 72 20 6f 63 |sk read error oc|
  765. 000001a0 63 75 72 72 65 64 00 0d 0a 42 4f 4f 54 4d 47 52 |curred...BOOTMGR|
  766. 000001b0 20 69 73 20 63 6f 6d 70 72 65 73 73 65 64 00 0d | is compressed..|
  767. 000001c0 0a 50 72 65 73 73 20 43 74 72 6c 2b 41 6c 74 2b |.Press Ctrl+Alt+|
  768. 000001d0 44 65 6c 20 74 6f 20 72 65 73 74 61 72 74 0d 0a |Del to restart..|
  769. 000001e0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................|
  770. 000001f0 00 00 00 00 00 00 8a 01 a7 01 bf 01 00 00 55 aa |..............U.|
  771. 00000200
  772. =================== hexdump -n512 -C /dev/sda2
  773. 00000000 eb 52 90 4e 54 46 53 20 20 20 20 00 02 08 00 00 |.R.NTFS .....|
  774. 00000010 00 00 00 00 00 f8 00 00 3f 00 ff 00 00 28 03 00 |........?....(..|
  775. 00000020 00 00 00 00 80 00 80 00 0c e9 08 0b 00 00 00 00 |................|
  776. 00000030 00 00 0c 00 00 00 00 00 02 00 00 00 00 00 00 00 |................|
  777. 00000040 f6 00 00 00 01 00 00 00 09 da 0e 84 0b 0f 84 6a |...............j|
  778. 00000050 00 00 00 00 fa 33 c0 8e d0 bc 00 7c fb 68 c0 07 |.....3.....|.h..|
  779. 00000060 1f 1e 68 66 00 cb 88 16 0e 00 66 81 3e 03 00 4e |..hf......f.>..N|
  780. 00000070 54 46 53 75 15 b4 41 bb aa 55 cd 13 72 0c 81 fb |TFSu..A..U..r...|
  781. 00000080 55 aa 75 06 f7 c1 01 00 75 03 e9 dd 00 1e 83 ec |U.u.....u.......|
  782. 00000090 18 68 1a 00 b4 48 8a 16 0e 00 8b f4 16 1f cd 13 |.h...H..........|
  783. 000000a0 9f 83 c4 18 9e 58 1f 72 e1 3b 06 0b 00 75 db a3 |.....X.r.;...u..|
  784. 000000b0 0f 00 c1 2e 0f 00 04 1e 5a 33 db b9 00 20 2b c8 |........Z3... +.|
  785. 000000c0 66 ff 06 11 00 03 16 0f 00 8e c2 ff 06 16 00 e8 |f...............|
  786. 000000d0 4b 00 2b c8 77 ef b8 00 bb cd 1a 66 23 c0 75 2d |K.+.w......f#.u-|
  787. 000000e0 66 81 fb 54 43 50 41 75 24 81 f9 02 01 72 1e 16 |f..TCPAu$....r..|
  788. 000000f0 68 07 bb 16 68 70 0e 16 68 09 00 66 53 66 53 66 |h...hp..h..fSfSf|
  789. 00000100 55 16 16 16 68 b8 01 66 61 0e 07 cd 1a 33 c0 bf |U...h..fa....3..|
  790. 00000110 28 10 b9 d8 0f fc f3 aa e9 5f 01 90 90 66 60 1e |(........_...f`.|
  791. 00000120 06 66 a1 11 00 66 03 06 1c 00 1e 66 68 00 00 00 |.f...f.....fh...|
  792. 00000130 00 66 50 06 53 68 01 00 68 10 00 b4 42 8a 16 0e |.fP.Sh..h...B...|
  793. 00000140 00 16 1f 8b f4 cd 13 66 59 5b 5a 66 59 66 59 1f |.......fY[ZfYfY.|
  794. 00000150 0f 82 16 00 66 ff 06 11 00 03 16 0f 00 8e c2 ff |....f...........|
  795. 00000160 0e 16 00 75 bc 07 1f 66 61 c3 a0 f8 01 e8 09 00 |...u...fa.......|
  796. 00000170 a0 fb 01 e8 03 00 f4 eb fd b4 01 8b f0 ac 3c 00 |..............<.|
  797. 00000180 74 09 b4 0e bb 07 00 cd 10 eb f2 c3 0d 0a 4c 65 |t.............Le|
  798. 00000190 76 79 6e 20 6c 75 6b 75 76 69 72 68 65 00 0d 0a |vyn lukuvirhe...|
  799. 000001a0 42 4f 4f 54 4d 47 52 20 70 75 75 74 74 75 75 00 |BOOTMGR puuttuu.|
  800. 000001b0 0d 0a 42 4f 4f 54 4d 47 52 20 70 61 6b 61 74 74 |..BOOTMGR pakatt|
  801. 000001c0 75 00 0d 0a 4b 84 79 6e 6e 69 73 74 84 20 75 75 |u...K.ynnist. uu|
  802. 000001d0 64 65 6c 6c 65 65 6e 20 70 61 69 6e 61 6d 61 6c |delleen painamal|
  803. 000001e0 6c 61 20 43 54 52 4c 2b 41 4c 54 2b 44 45 4c 0d |la CTRL+ALT+DEL.|
  804. 000001f0 0a 00 61 72 74 0d 0a 00 8c 9e b0 c2 00 00 55 aa |..art.........U.|
  805. 00000200
  806. =================== hexdump -n512 -C /dev/sda3
  807. 00000000 eb 52 90 4e 54 46 53 20 20 20 20 00 02 08 00 00 |.R.NTFS .....|
  808. 00000010 00 00 00 00 00 f8 00 00 3f 00 ff 00 00 18 0c 0b |........?.......|
  809. 00000020 00 00 00 00 80 00 80 00 ff 97 1b 00 00 00 00 00 |................|
  810. 00000030 55 26 01 00 00 00 00 00 02 00 00 00 00 00 00 00 |U&..............|
  811. 00000040 f6 00 00 00 01 00 00 00 ba 9e bc 9c ad bc 9c 40 |...............@|
  812. 00000050 00 00 00 00 fa 33 c0 8e d0 bc 00 7c fb 68 c0 07 |.....3.....|.h..|
  813. 00000060 1f 1e 68 66 00 cb 88 16 0e 00 66 81 3e 03 00 4e |..hf......f.>..N|
  814. 00000070 54 46 53 75 15 b4 41 bb aa 55 cd 13 72 0c 81 fb |TFSu..A..U..r...|
  815. 00000080 55 aa 75 06 f7 c1 01 00 75 03 e9 dd 00 1e 83 ec |U.u.....u.......|
  816. 00000090 18 68 1a 00 b4 48 8a 16 0e 00 8b f4 16 1f cd 13 |.h...H..........|
  817. 000000a0 9f 83 c4 18 9e 58 1f 72 e1 3b 06 0b 00 75 db a3 |.....X.r.;...u..|
  818. 000000b0 0f 00 c1 2e 0f 00 04 1e 5a 33 db b9 00 20 2b c8 |........Z3... +.|
  819. 000000c0 66 ff 06 11 00 03 16 0f 00 8e c2 ff 06 16 00 e8 |f...............|
  820. 000000d0 4b 00 2b c8 77 ef b8 00 bb cd 1a 66 23 c0 75 2d |K.+.w......f#.u-|
  821. 000000e0 66 81 fb 54 43 50 41 75 24 81 f9 02 01 72 1e 16 |f..TCPAu$....r..|
  822. 000000f0 68 07 bb 16 68 52 11 16 68 09 00 66 53 66 53 66 |h...hR..h..fSfSf|
  823. 00000100 55 16 16 16 68 b8 01 66 61 0e 07 cd 1a 33 c0 bf |U...h..fa....3..|
  824. 00000110 0a 13 b9 f6 0c fc f3 aa e9 fe 01 90 90 66 60 1e |.............f`.|
  825. 00000120 06 66 a1 11 00 66 03 06 1c 00 1e 66 68 00 00 00 |.f...f.....fh...|
  826. 00000130 00 66 50 06 53 68 01 00 68 10 00 b4 42 8a 16 0e |.fP.Sh..h...B...|
  827. 00000140 00 16 1f 8b f4 cd 13 66 59 5b 5a 66 59 66 59 1f |.......fY[ZfYfY.|
  828. 00000150 0f 82 16 00 66 ff 06 11 00 03 16 0f 00 8e c2 ff |....f...........|
  829. 00000160 0e 16 00 75 bc 07 1f 66 61 c3 a1 f6 01 e8 09 00 |...u...fa.......|
  830. 00000170 a1 fa 01 e8 03 00 f4 eb fd 8b f0 ac 3c 00 74 09 |............<.t.|
  831. 00000180 b4 0e bb 07 00 cd 10 eb f2 c3 0d 0a 41 20 64 69 |............A di|
  832. 00000190 73 6b 20 72 65 61 64 20 65 72 72 6f 72 20 6f 63 |sk read error oc|
  833. 000001a0 63 75 72 72 65 64 00 0d 0a 42 4f 4f 54 4d 47 52 |curred...BOOTMGR|
  834. 000001b0 20 69 73 20 63 6f 6d 70 72 65 73 73 65 64 00 0d | is compressed..|
  835. 000001c0 0a 50 72 65 73 73 20 43 74 72 6c 2b 41 6c 74 2b |.Press Ctrl+Alt+|
  836. 000001d0 44 65 6c 20 74 6f 20 72 65 73 74 61 72 74 0d 0a |Del to restart..|
  837. 000001e0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................|
  838. 000001f0 00 00 00 00 00 00 8a 01 a7 01 bf 01 00 00 55 aa |..............U.|
  839. 00000200
  840. =================== hexdump -n512 -C /dev/sdb2
  841. 00000000 eb 3c 90 6d 6b 66 73 2e 66 61 74 00 02 04 01 00 |.<.mkfs.fat.....|
  842. 00000010 02 00 02 80 12 f8 04 00 20 00 40 00 00 00 00 00 |........ .@.....|
  843. 00000020 00 00 00 00 80 00 29 13 0a f5 b1 4e 4f 20 4e 41 |......)....NO NA|
  844. 00000030 4d 45 20 20 20 20 46 41 54 31 32 20 20 20 0e 1f |ME FAT12 ..|
  845. 00000040 be 5b 7c ac 22 c0 74 0b 56 b4 0e bb 07 00 cd 10 |.[|.".t.V.......|
  846. 00000050 5e eb f0 32 e4 cd 16 cd 19 eb fe 54 68 69 73 20 |^..2.......This |
  847. 00000060 69 73 20 6e 6f 74 20 61 20 62 6f 6f 74 61 62 6c |is not a bootabl|
  848. 00000070 65 20 64 69 73 6b 2e 20 20 50 6c 65 61 73 65 20 |e disk. Please |
  849. 00000080 69 6e 73 65 72 74 20 61 20 62 6f 6f 74 61 62 6c |insert a bootabl|
  850. 00000090 65 20 66 6c 6f 70 70 79 20 61 6e 64 0d 0a 70 72 |e floppy and..pr|
  851. 000000a0 65 73 73 20 61 6e 79 20 6b 65 79 20 74 6f 20 74 |ess any key to t|
  852. 000000b0 72 79 20 61 67 61 69 6e 20 2e 2e 2e 20 0d 0a 00 |ry again ... ...|
  853. 000000c0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................|
  854. *
  855. 000001f0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 55 aa |..............U.|
  856. 00000200
  857. =================== df -Th:
  858. Filesystem Type Size Used Avail Use% Mounted on
  859. udev devtmpfs 1.9G 0 1.9G 0% /dev
  860. tmpfs tmpfs 385M 6.3M 379M 2% /run
  861. /dev/sdb iso9660 1.4G 1.4G 0 100% /cdrom
  862. /dev/loop0 squashfs 1.4G 1.4G 0 100% /rofs
  863. /cow overlay 1.9G 62M 1.9G 4% /
  864. tmpfs tmpfs 1.9G 172K 1.9G 1% /dev/shm
  865. tmpfs tmpfs 5.0M 4.0K 5.0M 1% /run/lock
  866. tmpfs tmpfs 1.9G 0 1.9G 0% /sys/fs/cgroup
  867. tmpfs tmpfs 1.9G 256K 1.9G 1% /tmp
  868. tmpfs tmpfs 385M 108K 385M 1% /run/user/999
  869. /dev/sda1 fuseblk 100M 27M 74M 27% /mnt/boot-sav/sda1
  870. /dev/sda2 fuseblk 89G 50G 39G 57% /mnt/boot-sav/sda2
  871. /dev/sda3 fuseblk 883M 528M 356M 60% /mnt/boot-sav/sda3
  872. /dev/sda4 ext4 30G 11G 18G 39% /mnt/boot-sav/sda4
  873. =================== fdisk -l:
  874. Disk /dev/ram0: 64 MiB, 67108864 bytes, 131072 sectors
  875. Units: sectors of 1 * 512 = 512 bytes
  876. Sector size (logical/physical): 512 bytes / 4096 bytes
  877. I/O size (minimum/optimal): 4096 bytes / 4096 bytes
  878. Disk /dev/ram1: 64 MiB, 67108864 bytes, 131072 sectors
  879. Units: sectors of 1 * 512 = 512 bytes
  880. Sector size (logical/physical): 512 bytes / 4096 bytes
  881. I/O size (minimum/optimal): 4096 bytes / 4096 bytes
  882. Disk /dev/ram2: 64 MiB, 67108864 bytes, 131072 sectors
  883. Units: sectors of 1 * 512 = 512 bytes
  884. Sector size (logical/physical): 512 bytes / 4096 bytes
  885. I/O size (minimum/optimal): 4096 bytes / 4096 bytes
  886. Disk /dev/ram3: 64 MiB, 67108864 bytes, 131072 sectors
  887. Units: sectors of 1 * 512 = 512 bytes
  888. Sector size (logical/physical): 512 bytes / 4096 bytes
  889. I/O size (minimum/optimal): 4096 bytes / 4096 bytes
  890. Disk /dev/ram4: 64 MiB, 67108864 bytes, 131072 sectors
  891. Units: sectors of 1 * 512 = 512 bytes
  892. Sector size (logical/physical): 512 bytes / 4096 bytes
  893. I/O size (minimum/optimal): 4096 bytes / 4096 bytes
  894. Disk /dev/ram5: 64 MiB, 67108864 bytes, 131072 sectors
  895. Units: sectors of 1 * 512 = 512 bytes
  896. Sector size (logical/physical): 512 bytes / 4096 bytes
  897. I/O size (minimum/optimal): 4096 bytes / 4096 bytes
  898. Disk /dev/ram6: 64 MiB, 67108864 bytes, 131072 sectors
  899. Units: sectors of 1 * 512 = 512 bytes
  900. Sector size (logical/physical): 512 bytes / 4096 bytes
  901. I/O size (minimum/optimal): 4096 bytes / 4096 bytes
  902. Disk /dev/ram7: 64 MiB, 67108864 bytes, 131072 sectors
  903. Units: sectors of 1 * 512 = 512 bytes
  904. Sector size (logical/physical): 512 bytes / 4096 bytes
  905. I/O size (minimum/optimal): 4096 bytes / 4096 bytes
  906. Disk /dev/ram8: 64 MiB, 67108864 bytes, 131072 sectors
  907. Units: sectors of 1 * 512 = 512 bytes
  908. Sector size (logical/physical): 512 bytes / 4096 bytes
  909. I/O size (minimum/optimal): 4096 bytes / 4096 bytes
  910. Disk /dev/ram9: 64 MiB, 67108864 bytes, 131072 sectors
  911. Units: sectors of 1 * 512 = 512 bytes
  912. Sector size (logical/physical): 512 bytes / 4096 bytes
  913. I/O size (minimum/optimal): 4096 bytes / 4096 bytes
  914. Disk /dev/ram10: 64 MiB, 67108864 bytes, 131072 sectors
  915. Units: sectors of 1 * 512 = 512 bytes
  916. Sector size (logical/physical): 512 bytes / 4096 bytes
  917. I/O size (minimum/optimal): 4096 bytes / 4096 bytes
  918. Disk /dev/ram11: 64 MiB, 67108864 bytes, 131072 sectors
  919. Units: sectors of 1 * 512 = 512 bytes
  920. Sector size (logical/physical): 512 bytes / 4096 bytes
  921. I/O size (minimum/optimal): 4096 bytes / 4096 bytes
  922. Disk /dev/ram12: 64 MiB, 67108864 bytes, 131072 sectors
  923. Units: sectors of 1 * 512 = 512 bytes
  924. Sector size (logical/physical): 512 bytes / 4096 bytes
  925. I/O size (minimum/optimal): 4096 bytes / 4096 bytes
  926. Disk /dev/ram13: 64 MiB, 67108864 bytes, 131072 sectors
  927. Units: sectors of 1 * 512 = 512 bytes
  928. Sector size (logical/physical): 512 bytes / 4096 bytes
  929. I/O size (minimum/optimal): 4096 bytes / 4096 bytes
  930. Disk /dev/ram14: 64 MiB, 67108864 bytes, 131072 sectors
  931. Units: sectors of 1 * 512 = 512 bytes
  932. Sector size (logical/physical): 512 bytes / 4096 bytes
  933. I/O size (minimum/optimal): 4096 bytes / 4096 bytes
  934. Disk /dev/ram15: 64 MiB, 67108864 bytes, 131072 sectors
  935. Units: sectors of 1 * 512 = 512 bytes
  936. Sector size (logical/physical): 512 bytes / 4096 bytes
  937. I/O size (minimum/optimal): 4096 bytes / 4096 bytes
  938. Disk /dev/loop0: 1.3 GiB, 1433468928 bytes, 2799744 sectors
  939. Units: sectors of 1 * 512 = 512 bytes
  940. Sector size (logical/physical): 512 bytes / 512 bytes
  941. I/O size (minimum/optimal): 512 bytes / 512 bytes
  942. Disk /dev/sda: 119.2 GiB, 128035676160 bytes, 250069680 sectors
  943. Units: sectors of 1 * 512 = 512 bytes
  944. Sector size (logical/physical): 512 bytes / 512 bytes
  945. I/O size (minimum/optimal): 512 bytes / 512 bytes
  946. Disklabel type: dos
  947. Disk identifier: 0x00039825
  948. Device Boot Start End Sectors Size Id Type
  949. /dev/sda1 * 2048 206847 204800 100M 7 HPFS/NTFS/exFAT
  950. /dev/sda2 206848 185340172 185133325 88.3G 7 HPFS/NTFS/exFAT
  951. /dev/sda3 185341952 187150335 1808384 883M 27 Hidden NTFS WinRE
  952. /dev/sda4 187154432 250069679 62915248 30G 83 Linux
  953. Disk /dev/sdb: 7.3 GiB, 7807401984 bytes, 15248832 sectors
  954. Units: sectors of 1 * 512 = 512 bytes
  955. Sector size (logical/physical): 512 bytes / 512 bytes
  956. I/O size (minimum/optimal): 512 bytes / 512 bytes
  957. Disklabel type: dos
  958. Disk identifier: 0x0e0e8e70
  959. Device Boot Start End Sectors Size Id Type
  960. /dev/sdb1 * 0 2902111 2902112 1.4G 0 Empty
  961. /dev/sdb2 2888004 2892739 4736 2.3M ef EFI (FAT-12/16/32)
  962. Gtk-Message: GtkDialog mapped without a transient parent. This is discouraged.
  963. =================== Recommended repair
  964. The default repair of the Boot-Repair utility will reinstall the grub2 of sda4 into the MBRs of all disks (except USB without OS).
  965. The boot flag will be placed on sdb2.
  966. Additional repair will be performed: unhide-bootmenu-10s repair-filesystems fix-windows-boot
  967. Gtk-Message: GtkDialog mapped without a transient parent. This is discouraged.
  968. Force Unmount all blkid partitions (for fsck) except / /boot /cdrom /dev /etc /home /opt /pas /proc /rofs /sys /tmp /usr /var
  969. ntfsfix /dev/sda1
  970. Refusing to operate on read-write mounted device /dev/sda1.
  971. ntfsfix /dev/sda2
  972. Refusing to operate on read-write mounted device /dev/sda2.
  973. ntfsfix /dev/sda3
  974. Refusing to operate on read-write mounted device /dev/sda3.
  975. fsck -fyM /dev/sda4
  976. fsck from util-linux 2.27.1
  977. fsck -fyM /dev/sdb2
  978. fsck from util-linux 2.27.1
  979. fsck.fat 3.0.28 (2015-05-16)
  980. /dev/sdb2: 4 files, 1169/1173 clusters
  981. mount: /dev/sdb2 is already mounted or /mnt/boot-sav/sdb2 busy
  982. mount /dev/sdb2 : Error code 32
  983. mount -r /dev/sdb2 /mnt/boot-sav/sdb2
  984. mount: /dev/sdb2 is already mounted or /mnt/boot-sav/sdb2 busy
  985. mount -r /dev/sdb2 : Error code 32
  986. parted /dev/sdb set 2 boot on
  987. Warning: The driver descriptor says the physical block size is 2048 bytes, but
  988. Linux says it is 512 bytes.
  989. parted /dev/sdb set 1 boot off
  990. Warning: The driver descriptor says the physical block size is 2048 bytes, but
  991. Linux says it is 512 bytes.
  992. [debug]/mnt/boot-sav/sda4/etc/fstab unchanged for /boot
  993. Quantity of real Windows: 1
  994. WinSE in sda2
  995. Copied Win boot files from sda1 to sda2
  996. Reinstall the GRUB of sda4 into all MBRs of disks with OS or not-USB
  997. *******lspci -nnk | grep -iA3 vga
  998. 00:02.0 VGA compatible controller [0300]: Intel Corporation 3rd Gen Core processor Graphics Controller [8086:0166] (rev 09)
  999. Subsystem: Hewlett-Packard Company Device [103c:1893]
  1000. Kernel driver in use: i915
  1001. 00:14.0 USB controller [0c03]: Intel Corporation 7 Series/C210 Series Chipset Family USB xHCI Host Controller [8086:1e31] (rev 04)
  1002. *******
  1003. grub-install --version
  1004. grub-install (GRUB) 2.02~beta2-9ubuntu1.7,grub-install (GRUB) 2.
  1005. Reinstall the GRUB of sda4 into the MBR of sdb
  1006. Installing for i386-pc platform.
  1007. grub-install: warning: Attempting to install GRUB to a disk with multiple partition labels. This is not supported yet..
  1008. grub-install: error: embedding is not possible, but this is required for cross-disk install.
  1009. grub-install /dev/sdb: exit code of grub-install /dev/sdb:1
  1010. *******lspci -nnk | grep -iA3 vga
  1011. 00:02.0 VGA compatible controller [0300]: Intel Corporation 3rd Gen Core processor Graphics Controller [8086:0166] (rev 09)
  1012. Subsystem: Hewlett-Packard Company Device [103c:1893]
  1013. Kernel driver in use: i915
  1014. 00:14.0 USB controller [0c03]: Intel Corporation 7 Series/C210 Series Chipset Family USB xHCI Host Controller [8086:1e31] (rev 04)
  1015. *******
  1016. grub-install --version
  1017. grub-install (GRUB) 2.02~beta2-9ubuntu1.7,grub-install (GRUB) 2.
  1018. Reinstall the GRUB of sda4 into the MBR of sda
  1019. Installing for i386-pc platform.
  1020. Installation finished. No error reported.
  1021. grub-install /dev/sda: exit code of grub-install /dev/sda:0
  1022. chroot /mnt/boot-sav/sda4 update-grub
  1023. Generating grub configuration file ...
  1024. Found linux image: /boot/vmlinuz-3.13.0-79-generic
  1025. Found initrd image: /boot/initrd.img-3.13.0-79-generic
  1026. Found linux image: /boot/vmlinuz-3.13.0-61-generic
  1027. Found initrd image: /boot/initrd.img-3.13.0-61-generic
  1028. Found linux image: /boot/vmlinuz-3.11.0-26-generic
  1029. Found initrd image: /boot/initrd.img-3.11.0-26-generic
  1030. Found linux image: /boot/vmlinuz-3.8.0-31-generic
  1031. Found initrd image: /boot/initrd.img-3.8.0-31-generic
  1032. Found linux image: /boot/vmlinuz-3.5.0-27-generic
  1033. Found initrd image: /boot/initrd.img-3.5.0-27-generic
  1034. grub-probe: error: cannot find a GRUB drive for /dev/sdb1. Check your device.map.
  1035. Adding boot menu entry for EFI firmware configuration
  1036. mount: /dev/sdb2 is already mounted or /mnt/boot-sav/sdb2 busy
  1037. mount /dev/sdb2 : Error code 32
  1038. mount -r /dev/sdb2 /mnt/boot-sav/sdb2
  1039. mount: /dev/sdb2 is already mounted or /mnt/boot-sav/sdb2 busy
  1040. mount -r /dev/sdb2 : Error code 32
  1041. Unhide GRUB boot menu in sda4/boot/grub/grub.cfg
  1042. An error occurred during the repair.
  1043. You can now reboot your computer.
  1044. Please do not forget to make your BIOS boot on sda (128GB) disk!
  1045. paste.ubuntu.com ko (), using paste.debian
  1046. paste.debian.net ko (), using paste2