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 2048
  4. of the same hard drive for core.img. core.img is at this location and
  5. looks for (,gpt3)/boot/grub. It also embeds following components:
  6. modules
  7. ---------------------------------------------------------------------------
  8. fshelp ext2 part_gpt biosdisk
  9. ---------------------------------------------------------------------------
  10. => ISOhybrid (Syslinux 4.05 and higher) is installed in the MBR of /dev/sdb.
  11. sda1: __________________________________________________________________________
  12. File system: BIOS Boot partition
  13. Boot sector type: Grub2's core.img
  14. Boot sector info:
  15. sda2: __________________________________________________________________________
  16. File system: swap
  17. Boot sector type: -
  18. Boot sector info:
  19. sda3: __________________________________________________________________________
  20. File system: ext4
  21. Boot sector type: -
  22. Boot sector info:
  23. Operating System: Ubuntu 16.04 LTS
  24. Boot files: /boot/grub/grub.cfg /etc/fstab
  25. /boot/grub/i386-pc/core.img
  26. sda4: __________________________________________________________________________
  27. File system: ext4
  28. Boot sector type: -
  29. Boot sector info:
  30. Operating System:
  31. Boot files:
  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. ============================ Drive/Partition Info: =============================
  38. Drive: sda _____________________________________________________________________
  39. Disk /dev/sda: 298.1 GiB, 320072933376 bytes, 625142448 sectors
  40. Units: sectors of 1 * 512 = 512 bytes
  41. Sector size (logical/physical): 512 bytes / 4096 bytes
  42. I/O size (minimum/optimal): 4096 bytes / 4096 bytes
  43. Disklabel type: gpt
  44. Partition Boot Start Sector End Sector # of Sectors Id System
  45. /dev/sda1 1 625,142,447 625,142,447 ee GPT
  46. GUID Partition Table detected.
  47. Partition Attrs Start Sector End Sector # of Sectors System
  48. /dev/sda1 2,048 391,167 389,120 BIOS Boot partition
  49. /dev/sda2 621,236,224 625,141,759 3,905,536 Swap partition (Linux)
  50. /dev/sda3 391,168 39,452,671 39,061,504 Data partition (Linux)
  51. /dev/sda4 39,452,672 621,236,223 581,783,552 Data partition (Linux)
  52. Attributes: R=Required, N=No Block IO, B=Legacy BIOS Bootable, +=More bits set
  53. Drive: sdb _____________________________________________________________________
  54. Disk /dev/sdb: 30.2 GiB, 32463912960 bytes, 63406080 sectors
  55. Units: sectors of 1 * 512 = 512 bytes
  56. Sector size (logical/physical): 512 bytes / 512 bytes
  57. I/O size (minimum/optimal): 512 bytes / 512 bytes
  58. Disklabel type: dos
  59. Partition Boot Start Sector End Sector # of Sectors Id System
  60. /dev/sdb1 * 64 3,008,767 3,008,704 83 Linux
  61. "blkid" output: ________________________________________________________________
  62. Device UUID TYPE LABEL
  63. /dev/loop0 squashfs
  64. /dev/sda1
  65. /dev/sda2 af8a281c-ec4b-45c1-8524-74036eaa9dc5 swap
  66. /dev/sda3 e946c696-7d09-4cd9-8612-3d264a65d2ce ext4
  67. /dev/sda4 e1b94eed-bec4-47b7-92d6-81a39eb69c0f ext4
  68. /dev/sdb1 2016-04-20-23-11-57-00 iso9660 Kubuntu 16.04 LTS i386
  69. ========================= "ls -l /dev/disk/by-id" output: ======================
  70. total 0
  71. lrwxrwxrwx 1 root root 9 Sep 30 11:41 ata-ST320LT012-9WS14C_S0V0W2EK -> ../../sda
  72. lrwxrwxrwx 1 root root 10 Sep 30 11:41 ata-ST320LT012-9WS14C_S0V0W2EK-part1 -> ../../sda1
  73. lrwxrwxrwx 1 root root 10 Sep 30 11:41 ata-ST320LT012-9WS14C_S0V0W2EK-part2 -> ../../sda2
  74. lrwxrwxrwx 1 root root 10 Sep 30 11:41 ata-ST320LT012-9WS14C_S0V0W2EK-part3 -> ../../sda3
  75. lrwxrwxrwx 1 root root 10 Sep 30 11:41 ata-ST320LT012-9WS14C_S0V0W2EK-part4 -> ../../sda4
  76. lrwxrwxrwx 1 root root 9 Sep 30 11:41 usb-PNY_USB_2.0_FD_AA1B043100000048-0:0 -> ../../sdb
  77. lrwxrwxrwx 1 root root 10 Sep 30 11:41 usb-PNY_USB_2.0_FD_AA1B043100000048-0:0-part1 -> ../../sdb1
  78. lrwxrwxrwx 1 root root 9 Sep 30 11:41 wwn-0x5000c5005adc015a -> ../../sda
  79. lrwxrwxrwx 1 root root 10 Sep 30 11:41 wwn-0x5000c5005adc015a-part1 -> ../../sda1
  80. lrwxrwxrwx 1 root root 10 Sep 30 11:41 wwn-0x5000c5005adc015a-part2 -> ../../sda2
  81. lrwxrwxrwx 1 root root 10 Sep 30 11:41 wwn-0x5000c5005adc015a-part3 -> ../../sda3
  82. lrwxrwxrwx 1 root root 10 Sep 30 11:41 wwn-0x5000c5005adc015a-part4 -> ../../sda4
  83. ================================ Mount points: =================================
  84. Device Mount_Point Type Options
  85. /dev/loop0 /rofs squashfs (ro,noatime)
  86. /dev/sdb /cdrom iso9660 (ro,noatime)
  87. =========================== sda3/boot/grub/grub.cfg: ===========================
  88. --------------------------------------------------------------------------------
  89. #
  90. # DO NOT EDIT THIS FILE
  91. #
  92. # It is automatically generated by grub-mkconfig using templates
  93. # from /etc/grub.d and settings from /etc/default/grub
  94. #
  95. ### BEGIN /etc/grub.d/00_header ###
  96. if [ -s $prefix/grubenv ]; then
  97. set have_grubenv=true
  98. load_env
  99. fi
  100. if [ "${next_entry}" ] ; then
  101. set default="${next_entry}"
  102. set next_entry=
  103. save_env next_entry
  104. set boot_once=true
  105. else
  106. set default="0"
  107. fi
  108. if [ x"${feature_menuentry_id}" = xy ]; then
  109. menuentry_id_option="--id"
  110. else
  111. menuentry_id_option=""
  112. fi
  113. export menuentry_id_option
  114. if [ "${prev_saved_entry}" ]; then
  115. set saved_entry="${prev_saved_entry}"
  116. save_env saved_entry
  117. set prev_saved_entry=
  118. save_env prev_saved_entry
  119. set boot_once=true
  120. fi
  121. function savedefault {
  122. if [ -z "${boot_once}" ]; then
  123. saved_entry="${chosen}"
  124. save_env saved_entry
  125. fi
  126. }
  127. function recordfail {
  128. set recordfail=1
  129. if [ -n "${have_grubenv}" ]; then if [ -z "${boot_once}" ]; then save_env recordfail; fi; fi
  130. }
  131. function load_video {
  132. if [ x$feature_all_video_module = xy ]; then
  133. insmod all_video
  134. else
  135. insmod efi_gop
  136. insmod efi_uga
  137. insmod ieee1275_fb
  138. insmod vbe
  139. insmod vga
  140. insmod video_bochs
  141. insmod video_cirrus
  142. fi
  143. }
  144. if [ x$feature_default_font_path = xy ] ; then
  145. font=unicode
  146. else
  147. insmod part_gpt
  148. insmod ext2
  149. set root='hd0,gpt3'
  150. if [ x$feature_platform_search_hint = xy ]; then
  151. search --no-floppy --fs-uuid --set=root --hint-bios=hd0,gpt3 --hint-efi=hd0,gpt3 --hint-baremetal=ahci0,gpt3 e946c696-7d09-4cd9-8612-3d264a65d2ce
  152. else
  153. search --no-floppy --fs-uuid --set=root e946c696-7d09-4cd9-8612-3d264a65d2ce
  154. fi
  155. font="/usr/share/grub/unicode.pf2"
  156. fi
  157. if loadfont $font ; then
  158. set gfxmode=auto
  159. load_video
  160. insmod gfxterm
  161. set locale_dir=$prefix/locale
  162. set lang=fr_FR
  163. insmod gettext
  164. fi
  165. terminal_output gfxterm
  166. if [ "${recordfail}" = 1 ] ; then
  167. set timeout=30
  168. else
  169. if [ x$feature_timeout_style = xy ] ; then
  170. set timeout_style=hidden
  171. set timeout=0
  172. # Fallback hidden-timeout code in case the timeout_style feature is
  173. # unavailable.
  174. elif sleep --interruptible 0 ; then
  175. set timeout=0
  176. fi
  177. fi
  178. ### END /etc/grub.d/00_header ###
  179. ### BEGIN /etc/grub.d/05_debian_theme ###
  180. set menu_color_normal=white/black
  181. set menu_color_highlight=black/light-gray
  182. #set_background_image "images/tile.png";
  183. set menu_color_normal=white/black
  184. set menu_color_highlight=black/light-gray
  185. if background_color 0,0,0; then
  186. clear
  187. fi
  188. ### END /etc/grub.d/05_debian_theme ###
  189. ### BEGIN /etc/grub.d/10_linux ###
  190. function gfxmode {
  191. set gfxpayload="${1}"
  192. if [ "${1}" = "keep" ]; then
  193. set vt_handoff=vt.handoff=7
  194. else
  195. set vt_handoff=
  196. fi
  197. }
  198. if [ "${recordfail}" != 1 ]; then
  199. if [ -e ${prefix}/gfxblacklist.txt ]; then
  200. if hwmatch ${prefix}/gfxblacklist.txt 3; then
  201. if [ ${match} = 0 ]; then
  202. set linux_gfx_mode=keep
  203. else
  204. set linux_gfx_mode=text
  205. fi
  206. else
  207. set linux_gfx_mode=text
  208. fi
  209. else
  210. set linux_gfx_mode=keep
  211. fi
  212. else
  213. set linux_gfx_mode=text
  214. fi
  215. export linux_gfx_mode
  216. menuentry 'Ubuntu' --class ubuntu --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-simple-e946c696-7d09-4cd9-8612-3d264a65d2ce' {
  217. recordfail
  218. load_video
  219. gfxmode $linux_gfx_mode
  220. insmod gzio
  221. if [ x$grub_platform = xxen ]; then insmod xzio; insmod lzopio; fi
  222. insmod part_gpt
  223. insmod ext2
  224. set root='hd0,gpt3'
  225. if [ x$feature_platform_search_hint = xy ]; then
  226. search --no-floppy --fs-uuid --set=root --hint-bios=hd0,gpt3 --hint-efi=hd0,gpt3 --hint-baremetal=ahci0,gpt3 e946c696-7d09-4cd9-8612-3d264a65d2ce
  227. else
  228. search --no-floppy --fs-uuid --set=root e946c696-7d09-4cd9-8612-3d264a65d2ce
  229. fi
  230. linux /boot/vmlinuz-4.4.0-21-generic root=UUID=e946c696-7d09-4cd9-8612-3d264a65d2ce ro quiet splash $vt_handoff
  231. initrd /boot/initrd.img-4.4.0-21-generic
  232. }
  233. submenu 'Options avancées pour Ubuntu' $menuentry_id_option 'gnulinux-advanced-e946c696-7d09-4cd9-8612-3d264a65d2ce' {
  234. menuentry 'Ubuntu, avec Linux 4.4.0-21-generic' --class ubuntu --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-4.4.0-21-generic-advanced-e946c696-7d09-4cd9-8612-3d264a65d2ce' {
  235. recordfail
  236. load_video
  237. gfxmode $linux_gfx_mode
  238. insmod gzio
  239. if [ x$grub_platform = xxen ]; then insmod xzio; insmod lzopio; fi
  240. insmod part_gpt
  241. insmod ext2
  242. set root='hd0,gpt3'
  243. if [ x$feature_platform_search_hint = xy ]; then
  244. search --no-floppy --fs-uuid --set=root --hint-bios=hd0,gpt3 --hint-efi=hd0,gpt3 --hint-baremetal=ahci0,gpt3 e946c696-7d09-4cd9-8612-3d264a65d2ce
  245. else
  246. search --no-floppy --fs-uuid --set=root e946c696-7d09-4cd9-8612-3d264a65d2ce
  247. fi
  248. echo 'Chargement de Linux 4.4.0-21-generic…'
  249. linux /boot/vmlinuz-4.4.0-21-generic root=UUID=e946c696-7d09-4cd9-8612-3d264a65d2ce ro quiet splash $vt_handoff
  250. echo 'Chargement du disque mémoire initial…'
  251. initrd /boot/initrd.img-4.4.0-21-generic
  252. }
  253. menuentry 'Ubuntu, with Linux 4.4.0-21-generic (recovery mode)' --class ubuntu --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-4.4.0-21-generic-recovery-e946c696-7d09-4cd9-8612-3d264a65d2ce' {
  254. recordfail
  255. load_video
  256. insmod gzio
  257. if [ x$grub_platform = xxen ]; then insmod xzio; insmod lzopio; fi
  258. insmod part_gpt
  259. insmod ext2
  260. set root='hd0,gpt3'
  261. if [ x$feature_platform_search_hint = xy ]; then
  262. search --no-floppy --fs-uuid --set=root --hint-bios=hd0,gpt3 --hint-efi=hd0,gpt3 --hint-baremetal=ahci0,gpt3 e946c696-7d09-4cd9-8612-3d264a65d2ce
  263. else
  264. search --no-floppy --fs-uuid --set=root e946c696-7d09-4cd9-8612-3d264a65d2ce
  265. fi
  266. echo 'Chargement de Linux 4.4.0-21-generic…'
  267. linux /boot/vmlinuz-4.4.0-21-generic root=UUID=e946c696-7d09-4cd9-8612-3d264a65d2ce ro recovery nomodeset
  268. echo 'Chargement du disque mémoire initial…'
  269. initrd /boot/initrd.img-4.4.0-21-generic
  270. }
  271. }
  272. ### END /etc/grub.d/10_linux ###
  273. ### BEGIN /etc/grub.d/20_linux_xen ###
  274. ### END /etc/grub.d/20_linux_xen ###
  275. ### BEGIN /etc/grub.d/20_memtest86+ ###
  276. menuentry 'Memory test (memtest86+)' {
  277. insmod part_gpt
  278. insmod ext2
  279. set root='hd0,gpt3'
  280. if [ x$feature_platform_search_hint = xy ]; then
  281. search --no-floppy --fs-uuid --set=root --hint-bios=hd0,gpt3 --hint-efi=hd0,gpt3 --hint-baremetal=ahci0,gpt3 e946c696-7d09-4cd9-8612-3d264a65d2ce
  282. else
  283. search --no-floppy --fs-uuid --set=root e946c696-7d09-4cd9-8612-3d264a65d2ce
  284. fi
  285. knetbsd /boot/memtest86+.elf
  286. }
  287. menuentry 'Memory test (memtest86+, serial console 115200)' {
  288. insmod part_gpt
  289. insmod ext2
  290. set root='hd0,gpt3'
  291. if [ x$feature_platform_search_hint = xy ]; then
  292. search --no-floppy --fs-uuid --set=root --hint-bios=hd0,gpt3 --hint-efi=hd0,gpt3 --hint-baremetal=ahci0,gpt3 e946c696-7d09-4cd9-8612-3d264a65d2ce
  293. else
  294. search --no-floppy --fs-uuid --set=root e946c696-7d09-4cd9-8612-3d264a65d2ce
  295. fi
  296. linux16 /boot/memtest86+.bin console=ttyS0,115200n8
  297. }
  298. ### END /etc/grub.d/20_memtest86+ ###
  299. ### BEGIN /etc/grub.d/30_os-prober ###
  300. ### END /etc/grub.d/30_os-prober ###
  301. ### BEGIN /etc/grub.d/30_uefi-firmware ###
  302. ### END /etc/grub.d/30_uefi-firmware ###
  303. ### BEGIN /etc/grub.d/40_custom ###
  304. # This file provides an easy way to add custom menu entries. Simply type the
  305. # menu entries you want to add after this comment. Be careful not to change
  306. # the 'exec tail' line above.
  307. ### END /etc/grub.d/40_custom ###
  308. ### BEGIN /etc/grub.d/41_custom ###
  309. if [ -f ${config_directory}/custom.cfg ]; then
  310. source ${config_directory}/custom.cfg
  311. elif [ -z "${config_directory}" -a -f $prefix/custom.cfg ]; then
  312. source $prefix/custom.cfg;
  313. fi
  314. ### END /etc/grub.d/41_custom ###
  315. --------------------------------------------------------------------------------
  316. =============================== sda3/etc/fstab: ================================
  317. --------------------------------------------------------------------------------
  318. # /etc/fstab: static file system information.
  319. #
  320. # Use 'blkid' to print the universally unique identifier for a
  321. # device; this may be used with UUID= as a more robust way to name devices
  322. # that works even if disks are added and removed. See fstab(5).
  323. #
  324. # <file system> <mount point> <type> <options> <dump> <pass>
  325. # / was on /dev/sda3 during installation
  326. UUID=e946c696-7d09-4cd9-8612-3d264a65d2ce / ext4 errors=remount-ro 0 1
  327. # /home was on /dev/sda4 during installation
  328. UUID=e1b94eed-bec4-47b7-92d6-81a39eb69c0f /home ext4 defaults 0 2
  329. # swap was on /dev/sda2 during installation
  330. UUID=af8a281c-ec4b-45c1-8524-74036eaa9dc5 none swap sw 0 0
  331. --------------------------------------------------------------------------------
  332. =================== sda3: Location of files loaded by Grub: ====================
  333. GiB - GB File Fragment(s)
  334. 10.376628876 = 11.141820416 boot/grub/grub.cfg 1
  335. 11.340026855 = 12.176261120 boot/grub/i386-pc/core.img 1
  336. 11.380313873 = 12.219518976 boot/vmlinuz-4.4.0-21-generic 1
  337. 11.380313873 = 12.219518976 vmlinuz 1
  338. 2.670894623 = 2.867851264 boot/initrd.img-4.4.0-21-generic 4
  339. 2.670894623 = 2.867851264 initrd.img 4
  340. ======================== Unknown MBRs/Boot Sectors/etc: ========================
  341. Unknown BootLoader on sdb1
  342. 00000000 01 43 44 30 30 31 01 00 20 20 20 20 20 20 20 20 |.CD001.. |
  343. 00000010 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | |
  344. 00000020 20 20 20 20 20 20 20 20 4b 75 62 75 6e 74 75 20 | Kubuntu |
  345. 00000030 31 36 2e 30 34 20 4c 54 53 20 69 33 38 36 20 20 |16.04 LTS i386 |
  346. 00000040 20 20 20 20 20 20 20 20 00 00 00 00 00 00 00 00 | ........|
  347. 00000050 40 7a 0b 00 00 0b 7a 40 00 00 00 00 00 00 00 00 |@z....z@........|
  348. 00000060 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................|
  349. 00000070 00 00 00 00 00 00 00 00 01 00 00 01 01 00 00 01 |................|
  350. 00000080 00 08 08 00 c2 02 00 00 00 00 02 c2 5e 00 00 00 |............^...|
  351. 00000090 00 00 00 00 00 00 00 5f 00 00 00 00 22 00 23 00 |......._....".#.|
  352. 000000a0 00 00 00 00 00 23 00 08 00 00 00 00 08 00 74 04 |.....#........t.|
  353. 000000b0 14 17 0b 39 00 02 00 00 01 00 00 01 01 00 20 20 |...9.......... |
  354. 000000c0 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | |
  355. *
  356. 000001b0 20 20 20 20 20 20 20 20 20 20 20 20 20 20 58 4f | XO|
  357. 000001c0 52 52 49 53 4f 2d 31 2e 31 2e 38 20 32 30 31 31 |RRISO-1.1.8 2011|
  358. 000001d0 2e 31 31 2e 32 30 2e 31 37 33 30 30 31 2c 20 4c |.11.20.173001, L|
  359. 000001e0 49 42 49 53 4f 42 55 52 4e 2d 31 2e 31 2e 38 2c |IBISOBURN-1.1.8,|
  360. 000001f0 20 4c 49 42 49 53 4f 46 53 2d 31 2e 31 2e 36 2c | LIBISOFS-1.1.6,|
  361. 00000200
  362. =============================== StdErr Messages: ===============================
  363. File descriptor 9 (/proc/5640/mounts) leaked on lvs invocation. Parent PID 12525: bash
  364. File descriptor 63 (pipe:[74260]) leaked on lvs invocation. Parent PID 12525: bash
  365. ADDITIONAL INFORMATION :
  366. =================== log of boot-info 2016-09-30__11h41 ===================
  367. boot-info version : 4ppa38
  368. boot-sav version : 4ppa38
  369. glade2script version : 3.2.3~ppa1
  370. boot-sav-extra version : 4ppa38
  371. boot-info is executed in live-session (Ubuntu 16.04 LTS, xenial, Ubuntu, i686)
  372. CPU op-mode(s): 32-bit, 64-bit
  373. file=/cdrom/preseed/kubuntu.seed boot=casper maybe-ubiquity initrd=/casper/initrd.lz quiet splash --- maybe-ubiquity
  374. ls: cannot access '/home/usr/.config': No such file or directory
  375. mount: /dev/sda1 is write-protected, mounting read-only
  376. NTFS signature is missing.
  377. Failed to mount '/dev/sda1': Invalid argument
  378. The device '/dev/sda1' doesn't seem to have a valid NTFS.
  379. Maybe the wrong device is used? Or the whole disk instead of a
  380. partition (e.g. /dev/sda, not /dev/sda1)? Or the other way around?
  381. mount /dev/sda1 : Error code 12
  382. mount -r /dev/sda1 /mnt/boot-sav/sda1
  383. NTFS signature is missing.
  384. Failed to mount '/dev/sda1': Invalid argument
  385. The device '/dev/sda1' doesn't seem to have a valid NTFS.
  386. Maybe the wrong device is used? Or the whole disk instead of a
  387. partition (e.g. /dev/sda, not /dev/sda1)? Or the other way around?
  388. mount -r /dev/sda1 : Error code 12
  389. =================== os-prober:
  390. /dev/sda3:Ubuntu 16.04 LTS (16.04):Ubuntu:linux
  391. =================== blkid:
  392. /dev/sda3: UUID="e946c696-7d09-4cd9-8612-3d264a65d2ce" TYPE="ext4" PARTUUID="e6f53ef9-34ea-4bf2-a920-c61c621a030c"
  393. /dev/sda4: UUID="e1b94eed-bec4-47b7-92d6-81a39eb69c0f" TYPE="ext4" PARTUUID="0ba810b5-5afb-4347-a2a5-aad06a3dac22"
  394. /dev/loop0: TYPE="squashfs"
  395. /dev/sda2: UUID="af8a281c-ec4b-45c1-8524-74036eaa9dc5" TYPE="swap" PARTUUID="0af83499-bf7a-4621-a78e-ce515dfad11a"
  396. /dev/sdb1: UUID="2016-04-20-23-11-57-00" LABEL="Kubuntu 16.04 LTS i386" TYPE="iso9660" PARTUUID="343bb64d-01"
  397. /dev/sda1: PARTUUID="ab1e05c4-9e4d-4016-9b47-9490ea58363b"
  398. 1 disks with OS, 1 OS : 1 Linux, 0 MacOS, 0 Windows, 0 unknown type OS.
  399. mount: /dev/sda1 is write-protected, mounting read-only
  400. NTFS signature is missing.
  401. Failed to mount '/dev/sda1': Invalid argument
  402. The device '/dev/sda1' doesn't seem to have a valid NTFS.
  403. Maybe the wrong device is used? Or the whole disk instead of a
  404. partition (e.g. /dev/sda, not /dev/sda1)? Or the other way around?
  405. mount /dev/sda1 : Error code 12
  406. mount -r /dev/sda1 /mnt/boot-sav/sda1
  407. NTFS signature is missing.
  408. Failed to mount '/dev/sda1': Invalid argument
  409. The device '/dev/sda1' doesn't seem to have a valid NTFS.
  410. Maybe the wrong device is used? Or the whole disk instead of a
  411. partition (e.g. /dev/sda, not /dev/sda1)? Or the other way around?
  412. mount -r /dev/sda1 : Error code 12
  413. =================== sda3/etc/grub.d/ :
  414. drwxr-xr-x 2 root root 4096 Apr 20 22:16 grub.d
  415. total 76
  416. -rwxr-xr-x 1 root root 9791 Apr 15 22:02 00_header
  417. -rwxr-xr-x 1 root root 6258 Mar 15 2016 05_debian_theme
  418. -rwxr-xr-x 1 root root 12261 Apr 15 22:02 10_linux
  419. -rwxr-xr-x 1 root root 11082 Apr 15 22:02 20_linux_xen
  420. -rwxr-xr-x 1 root root 1992 Jan 28 2016 20_memtest86+
  421. -rwxr-xr-x 1 root root 11692 Apr 15 22:02 30_os-prober
  422. -rwxr-xr-x 1 root root 1418 Apr 15 22:02 30_uefi-firmware
  423. -rwxr-xr-x 1 root root 214 Apr 15 22:02 40_custom
  424. -rwxr-xr-x 1 root root 216 Apr 15 22:02 41_custom
  425. -rw-r--r-- 1 root root 483 Apr 15 22:02 README
  426. =================== sda3/etc/default/grub :
  427. # If you change this file, run 'update-grub' afterwards to update
  428. # /boot/grub/grub.cfg.
  429. # For full documentation of the options in this file, see:
  430. # info -f grub -n 'Simple configuration'
  431. GRUB_DEFAULT=0
  432. GRUB_HIDDEN_TIMEOUT=0
  433. GRUB_HIDDEN_TIMEOUT_QUIET=true
  434. GRUB_TIMEOUT=10
  435. GRUB_DISTRIBUTOR=`lsb_release -i -s 2> /dev/null || echo Debian`
  436. GRUB_CMDLINE_LINUX_DEFAULT="quiet splash"
  437. GRUB_CMDLINE_LINUX=""
  438. # Uncomment to enable BadRAM filtering, modify to suit your needs
  439. # This works with Linux (no patch required) and with any kernel that obtains
  440. # the memory map information from GRUB (GNU Mach, kernel of FreeBSD ...)
  441. #GRUB_BADRAM="0x01234567,0xfefefefe,0x89abcdef,0xefefefef"
  442. # Uncomment to disable graphical terminal (grub-pc only)
  443. #GRUB_TERMINAL=console
  444. # The resolution used on graphical terminal
  445. # note that you can use only modes which your graphic card supports via VBE
  446. # you can see them in real GRUB with the command `vbeinfo'
  447. #GRUB_GFXMODE=640x480
  448. # Uncomment if you don't want GRUB to pass "root=UUID=xxx" parameter to Linux
  449. #GRUB_DISABLE_LINUX_UUID=true
  450. # Uncomment to disable generation of recovery mode menu entries
  451. #GRUB_DISABLE_RECOVERY="true"
  452. # Uncomment to get a beep at grub start
  453. #GRUB_INIT_TUNE="480 440 1"
  454. =================== UEFI/Legacy mode:
  455. This live-session is not EFI-compatible.
  456. SecureBoot maybe enabled.
  457. =================== PARTITIONS & DISKS:
  458. sda3 : sda, not-sepboot, grubenv-ok grub2, signed grub-pc , update-grub, 32, 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, /mnt/boot-sav/sda3.
  459. sda4 : sda, maybesepboot, no-grubenv nogrub, no-docgrub, no-update-grub, 32, no-boot, no-os, not--efi--part, part-has-no-fstab, part-has-no-fstab, no-nt, no-winload, no-recov-nor-hid, no-bmgr, notwinboot, nopakmgr, nogrubinstall, no---usr, part-has-no-fstab, not-sep-usr, standard, farbios, /mnt/boot-sav/sda4.
  460. sda1 : 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, not-far, /mnt/boot-sav/sda1.
  461. sda : GPT, BIOS_boot, has-no-EFIpart, not-usb, has-os, 2048 sectors * 512 bytes
  462. =================== parted -l:
  463. Model: ATA ST320LT012-9WS14 (scsi)
  464. Disk /dev/sda: 320GB
  465. Sector size (logical/physical): 512B/4096B
  466. Partition Table: gpt
  467. Disk Flags:
  468. Number Start End Size File system Name Flags
  469. 1 1049kB 200MB 199MB bios_grub
  470. 3 200MB 20.2GB 20.0GB ext4
  471. 4 20.2GB 318GB 298GB ext4
  472. 2 318GB 320GB 2000MB linux-swap(v1)
  473. Model: PNY USB 2.0 FD (scsi)
  474. Disk /dev/sdb: 32.5GB
  475. Sector size (logical/physical): 512B/512B
  476. Partition Table: msdos
  477. Disk Flags:
  478. Number Start End Size Type File system Flags
  479. 1 32.8kB 1540MB 1540MB primary boot
  480. =================== parted -lm:
  481. BYT;
  482. /dev/sda:320GB:scsi:512:4096:gpt:ATA ST320LT012-9WS14:;
  483. 1:1049kB:200MB:199MB:::bios_grub;
  484. 3:200MB:20.2GB:20.0GB:ext4::;
  485. 4:20.2GB:318GB:298GB:ext4::;
  486. 2:318GB:320GB:2000MB:linux-swap(v1)::;
  487. BYT;
  488. /dev/sdb:32.5GB:scsi:512:512:msdos:PNY USB 2.0 FD:;
  489. 1:32.8kB:1540MB:1540MB:::boot;
  490. =================== lsblk:
  491. KNAME TYPE FSTYPE SIZE LABEL
  492. sda disk 298.1G
  493. sda1 part 190M
  494. sda2 part swap 1.9G
  495. sda3 part ext4 18.6G
  496. sda4 part ext4 277.4G
  497. sdb disk iso9660 30.2G Kubuntu 16.04 LTS i386
  498. sdb1 part iso9660 1.4G Kubuntu 16.04 LTS i386
  499. loop0 loop squashfs 1.4G
  500. KNAME ROTA RO RM STATE MOUNTPOINT
  501. sda 1 0 0 running
  502. sda1 1 0 0
  503. sda2 1 0 0 [SWAP]
  504. sda3 1 0 0 /mnt/boot-sav/sda3
  505. sda4 1 0 0 /mnt/boot-sav/sda4
  506. sdb 1 0 1 running /cdrom
  507. sdb1 1 0 1
  508. loop0 1 1 0 /rofs
  509. =================== mount:
  510. sysfs on /sys type sysfs (rw,nosuid,nodev,noexec,relatime)
  511. proc on /proc type proc (rw,nosuid,nodev,noexec,relatime)
  512. udev on /dev type devtmpfs (rw,nosuid,relatime,size=955776k,nr_inodes=211136,mode=755)
  513. devpts on /dev/pts type devpts (rw,nosuid,noexec,relatime,gid=5,mode=620,ptmxmode=000)
  514. tmpfs on /run type tmpfs (rw,nosuid,noexec,relatime,size=193804k,mode=755)
  515. /dev/sdb on /cdrom type iso9660 (ro,noatime)
  516. /dev/loop0 on /rofs type squashfs (ro,noatime)
  517. /cow on / type overlay (rw,relatime,lowerdir=//filesystem.squashfs,upperdir=/cow/upper,workdir=/cow/work)
  518. securityfs on /sys/kernel/security type securityfs (rw,nosuid,nodev,noexec,relatime)
  519. tmpfs on /dev/shm type tmpfs (rw,nosuid,nodev)
  520. tmpfs on /run/lock type tmpfs (rw,nosuid,nodev,noexec,relatime,size=5120k)
  521. tmpfs on /sys/fs/cgroup type tmpfs (ro,nosuid,nodev,noexec,mode=755)
  522. cgroup on /sys/fs/cgroup/systemd type cgroup (rw,nosuid,nodev,noexec,relatime,xattr,release_agent=/lib/systemd/systemd-cgroups-agent,name=systemd,nsroot=/)
  523. pstore on /sys/fs/pstore type pstore (rw,nosuid,nodev,noexec,relatime)
  524. cgroup on /sys/fs/cgroup/net_cls,net_prio type cgroup (rw,nosuid,nodev,noexec,relatime,net_cls,net_prio,nsroot=/)
  525. cgroup on /sys/fs/cgroup/devices type cgroup (rw,nosuid,nodev,noexec,relatime,devices,nsroot=/)
  526. cgroup on /sys/fs/cgroup/memory type cgroup (rw,nosuid,nodev,noexec,relatime,memory,nsroot=/)
  527. cgroup on /sys/fs/cgroup/cpuset type cgroup (rw,nosuid,nodev,noexec,relatime,cpuset,nsroot=/)
  528. cgroup on /sys/fs/cgroup/cpu,cpuacct type cgroup (rw,nosuid,nodev,noexec,relatime,cpu,cpuacct,nsroot=/)
  529. cgroup on /sys/fs/cgroup/freezer type cgroup (rw,nosuid,nodev,noexec,relatime,freezer,nsroot=/)
  530. cgroup on /sys/fs/cgroup/hugetlb type cgroup (rw,nosuid,nodev,noexec,relatime,hugetlb,nsroot=/)
  531. cgroup on /sys/fs/cgroup/pids type cgroup (rw,nosuid,nodev,noexec,relatime,pids,nsroot=/)
  532. cgroup on /sys/fs/cgroup/perf_event type cgroup (rw,nosuid,nodev,noexec,relatime,perf_event,nsroot=/)
  533. cgroup on /sys/fs/cgroup/blkio type cgroup (rw,nosuid,nodev,noexec,relatime,blkio,nsroot=/)
  534. systemd-1 on /proc/sys/fs/binfmt_misc type autofs (rw,relatime,fd=31,pgrp=1,timeout=0,minproto=5,maxproto=5,direct)
  535. debugfs on /sys/kernel/debug type debugfs (rw,relatime)
  536. mqueue on /dev/mqueue type mqueue (rw,relatime)
  537. hugetlbfs on /dev/hugepages type hugetlbfs (rw,relatime)
  538. tracefs on /sys/kernel/debug/tracing type tracefs (rw,relatime)
  539. fusectl on /sys/fs/fuse/connections type fusectl (rw,relatime)
  540. tmpfs on /tmp type tmpfs (rw,nosuid,nodev,relatime)
  541. tmpfs on /run/user/999 type tmpfs (rw,nosuid,nodev,relatime,size=193804k,mode=700,uid=999,gid=999)
  542. /dev/sda3 on /mnt/boot-sav/sda3 type ext4 (rw,relatime,data=ordered)
  543. /dev/sda4 on /mnt/boot-sav/sda4 type ext4 (rw,relatime,data=ordered)
  544. =================== ls:
  545. /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
  546. /sys/block/sdb (filtered): alignment_offset bdi capability dev device discard_alignment events events_async events_poll_msecs ext_range holders inflight integrity power queue range removable ro sdb1 size slaves stat subsystem trace uevent
  547. /dev (filtered): autofs block bsg btrfs-control bus char console core cpu cpu_dma_latency cuse disk dri ecryptfs fb0 fd full fuse hpet hugepages hwrng i2c-0 i2c-1 i2c-2 i2c-3 i2c-4 i2c-5 i2c-6 initctl input kmsg kvm lightnvm log mapper mcelog media0 mei0 mem memory_bandwidth mqueue net network_latency network_throughput null port ppp psaux ptmx pts random rfkill rtc rtc0 sda sda1 sda2 sda3 sda4 sdb sdb1 sg0 sg1 shm snapshot snd stderr stdin stdout uhid uinput urandom userio v4l vfio vga_arbiter vhci vhost-net video0 zero
  548. ls /dev/mapper: control
  549. =================== df -Th:
  550. Filesystem Type Size Used Avail Use% Mounted on
  551. udev devtmpfs 934M 0 934M 0% /dev
  552. tmpfs tmpfs 190M 8.3M 181M 5% /run
  553. /dev/sdb iso9660 1.5G 1.5G 0 100% /cdrom
  554. /dev/loop0 squashfs 1.4G 1.4G 0 100% /rofs
  555. /cow overlay 947M 485M 463M 52% /
  556. tmpfs tmpfs 947M 212K 947M 1% /dev/shm
  557. tmpfs tmpfs 5.0M 8.0K 5.0M 1% /run/lock
  558. tmpfs tmpfs 947M 0 947M 0% /sys/fs/cgroup
  559. tmpfs tmpfs 947M 16K 947M 1% /tmp
  560. tmpfs tmpfs 190M 20K 190M 1% /run/user/999
  561. /dev/sda3 ext4 19G 4.7G 13G 28% /mnt/boot-sav/sda3
  562. /dev/sda4 ext4 273G 63M 259G 1% /mnt/boot-sav/sda4
  563. =================== fdisk -l:
  564. Disk /dev/ram0: 64 MiB, 67108864 bytes, 131072 sectors
  565. Units: sectors of 1 * 512 = 512 bytes
  566. Sector size (logical/physical): 512 bytes / 4096 bytes
  567. I/O size (minimum/optimal): 4096 bytes / 4096 bytes
  568. Disk /dev/ram1: 64 MiB, 67108864 bytes, 131072 sectors
  569. Units: sectors of 1 * 512 = 512 bytes
  570. Sector size (logical/physical): 512 bytes / 4096 bytes
  571. I/O size (minimum/optimal): 4096 bytes / 4096 bytes
  572. Disk /dev/ram2: 64 MiB, 67108864 bytes, 131072 sectors
  573. Units: sectors of 1 * 512 = 512 bytes
  574. Sector size (logical/physical): 512 bytes / 4096 bytes
  575. I/O size (minimum/optimal): 4096 bytes / 4096 bytes
  576. Disk /dev/ram3: 64 MiB, 67108864 bytes, 131072 sectors
  577. Units: sectors of 1 * 512 = 512 bytes
  578. Sector size (logical/physical): 512 bytes / 4096 bytes
  579. I/O size (minimum/optimal): 4096 bytes / 4096 bytes
  580. Disk /dev/ram4: 64 MiB, 67108864 bytes, 131072 sectors
  581. Units: sectors of 1 * 512 = 512 bytes
  582. Sector size (logical/physical): 512 bytes / 4096 bytes
  583. I/O size (minimum/optimal): 4096 bytes / 4096 bytes
  584. Disk /dev/ram5: 64 MiB, 67108864 bytes, 131072 sectors
  585. Units: sectors of 1 * 512 = 512 bytes
  586. Sector size (logical/physical): 512 bytes / 4096 bytes
  587. I/O size (minimum/optimal): 4096 bytes / 4096 bytes
  588. Disk /dev/ram6: 64 MiB, 67108864 bytes, 131072 sectors
  589. Units: sectors of 1 * 512 = 512 bytes
  590. Sector size (logical/physical): 512 bytes / 4096 bytes
  591. I/O size (minimum/optimal): 4096 bytes / 4096 bytes
  592. Disk /dev/ram7: 64 MiB, 67108864 bytes, 131072 sectors
  593. Units: sectors of 1 * 512 = 512 bytes
  594. Sector size (logical/physical): 512 bytes / 4096 bytes
  595. I/O size (minimum/optimal): 4096 bytes / 4096 bytes
  596. Disk /dev/ram8: 64 MiB, 67108864 bytes, 131072 sectors
  597. Units: sectors of 1 * 512 = 512 bytes
  598. Sector size (logical/physical): 512 bytes / 4096 bytes
  599. I/O size (minimum/optimal): 4096 bytes / 4096 bytes
  600. Disk /dev/ram9: 64 MiB, 67108864 bytes, 131072 sectors
  601. Units: sectors of 1 * 512 = 512 bytes
  602. Sector size (logical/physical): 512 bytes / 4096 bytes
  603. I/O size (minimum/optimal): 4096 bytes / 4096 bytes
  604. Disk /dev/ram10: 64 MiB, 67108864 bytes, 131072 sectors
  605. Units: sectors of 1 * 512 = 512 bytes
  606. Sector size (logical/physical): 512 bytes / 4096 bytes
  607. I/O size (minimum/optimal): 4096 bytes / 4096 bytes
  608. Disk /dev/ram11: 64 MiB, 67108864 bytes, 131072 sectors
  609. Units: sectors of 1 * 512 = 512 bytes
  610. Sector size (logical/physical): 512 bytes / 4096 bytes
  611. I/O size (minimum/optimal): 4096 bytes / 4096 bytes
  612. Disk /dev/ram12: 64 MiB, 67108864 bytes, 131072 sectors
  613. Units: sectors of 1 * 512 = 512 bytes
  614. Sector size (logical/physical): 512 bytes / 4096 bytes
  615. I/O size (minimum/optimal): 4096 bytes / 4096 bytes
  616. Disk /dev/ram13: 64 MiB, 67108864 bytes, 131072 sectors
  617. Units: sectors of 1 * 512 = 512 bytes
  618. Sector size (logical/physical): 512 bytes / 4096 bytes
  619. I/O size (minimum/optimal): 4096 bytes / 4096 bytes
  620. Disk /dev/ram14: 64 MiB, 67108864 bytes, 131072 sectors
  621. Units: sectors of 1 * 512 = 512 bytes
  622. Sector size (logical/physical): 512 bytes / 4096 bytes
  623. I/O size (minimum/optimal): 4096 bytes / 4096 bytes
  624. Disk /dev/ram15: 64 MiB, 67108864 bytes, 131072 sectors
  625. Units: sectors of 1 * 512 = 512 bytes
  626. Sector size (logical/physical): 512 bytes / 4096 bytes
  627. I/O size (minimum/optimal): 4096 bytes / 4096 bytes
  628. Disk /dev/loop0: 1.4 GiB, 1499582464 bytes, 2928872 sectors
  629. Units: sectors of 1 * 512 = 512 bytes
  630. Sector size (logical/physical): 512 bytes / 512 bytes
  631. I/O size (minimum/optimal): 512 bytes / 512 bytes
  632. Disk /dev/sda: 298.1 GiB, 320072933376 bytes, 625142448 sectors
  633. Units: sectors of 1 * 512 = 512 bytes
  634. Sector size (logical/physical): 512 bytes / 4096 bytes
  635. I/O size (minimum/optimal): 4096 bytes / 4096 bytes
  636. Disklabel type: gpt
  637. Disk identifier: 252C7477-7728-4DDC-8CDC-5B11651DEC69
  638. Device Start End Sectors Size Type
  639. /dev/sda1 2048 391167 389120 190M BIOS boot
  640. /dev/sda2 621236224 625141759 3905536 1.9G Linux swap
  641. /dev/sda3 391168 39452671 39061504 18.6G Linux filesystem
  642. /dev/sda4 39452672 621236223 581783552 277.4G Linux filesystem
  643. Partition table entries are not in disk order.
  644. Disk /dev/sdb: 30.2 GiB, 32463912960 bytes, 63406080 sectors
  645. Units: sectors of 1 * 512 = 512 bytes
  646. Sector size (logical/physical): 512 bytes / 512 bytes
  647. I/O size (minimum/optimal): 512 bytes / 512 bytes
  648. Disklabel type: dos
  649. Disk identifier: 0x343bb64d
  650. Device Boot Start End Sectors Size Id Type
  651. /dev/sdb1 * 64 3008767 3008704 1.4G 83 Linux
  652. =================== Suggested repair
  653. The default repair of the Boot-Repair utility would purge (in order to) and reinstall the grub2 of sda3 into the MBR of sda.
  654. Additional repair would be performed: unhide-bootmenu-10s
  655. =================== User settings
  656. The settings chosen by the user will not act on the boot.
  657. paste.ubuntu.com ko (), using paste.debian
  658. paste.debian.net ko (), using paste2