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 (,msdos5)/boot/grub. It also embeds following components:
  6. modules
  7. ---------------------------------------------------------------------------
  8. fshelp ext2 part_msdos biosdisk
  9. ---------------------------------------------------------------------------
  10. sda1: __________________________________________________________________________
  11. File system: ntfs
  12. Boot sector type: Windows 7/2008: NTFS
  13. Boot sector info: No errors found in the Boot Parameter Block.
  14. Operating System: Windows 7
  15. Boot files: /bootmgr /Boot/BCD /Windows/System32/winload.exe
  16. /ntldr /NTDETECT.COM
  17. sda2: __________________________________________________________________________
  18. File system: Extended Partition
  19. Boot sector type: -
  20. Boot sector info:
  21. sda5: __________________________________________________________________________
  22. File system: ext4
  23. Boot sector type: -
  24. Boot sector info:
  25. Operating System: Debian GNU/Linux 8 (jessie)
  26. Boot files: /boot/grub/grub.cfg /etc/fstab
  27. /boot/grub/i386-pc/core.img
  28. sda6: __________________________________________________________________________
  29. File system: swap
  30. Boot sector type: -
  31. Boot sector info:
  32. ============================ Drive/Partition Info: =============================
  33. Drive: sda _____________________________________________________________________
  34. Disk /dev/sda: 931.5 GiB, 1000204886016 bytes, 1953525168 sectors
  35. Units: sectors of 1 * 512 = 512 bytes
  36. Sector size (logical/physical): 512 bytes / 512 bytes
  37. I/O size (minimum/optimal): 512 bytes / 512 bytes
  38. Partition Boot Start Sector End Sector # of Sectors Id System
  39. /dev/sda1 * 63 1,380,063,999 1,380,063,937 7 NTFS / exFAT / HPFS
  40. /dev/sda2 1,380,065,278 1,953,523,711 573,458,434 5 Extended
  41. /dev/sda5 1,380,065,280 1,936,750,591 556,685,312 83 Linux
  42. /dev/sda6 1,936,752,640 1,953,523,711 16,771,072 82 Linux swap / Solaris
  43. "blkid" output: ________________________________________________________________
  44. Device UUID TYPE LABEL
  45. /dev/sda1 E60C31480C311551 ntfs
  46. /dev/sda5 9f32324c-fbcd-4237-8608-2a33381b4495 ext4
  47. /dev/sda6 d3ec038e-1d55-4bed-84e1-808d8435a751 swap
  48. /dev/sr0 2012-10-19-19-34-03-00 iso9660 HP PS6520
  49. ========================= "ls -l /dev/disk/by-id" output: ======================
  50. total 0
  51. lrwxrwxrwx 1 root root 9 Feb 4 21:45 ata-HL-DT-ST_DVDRAM_GH22NS40_K2N9A9E0748 -> ../../sr0
  52. lrwxrwxrwx 1 root root 9 Feb 4 21:55 ata-ST31000528AS_9VP2Q5L6 -> ../../sda
  53. lrwxrwxrwx 1 root root 10 Feb 4 21:55 ata-ST31000528AS_9VP2Q5L6-part1 -> ../../sda1
  54. lrwxrwxrwx 1 root root 10 Feb 4 21:55 ata-ST31000528AS_9VP2Q5L6-part2 -> ../../sda2
  55. lrwxrwxrwx 1 root root 10 Feb 4 21:55 ata-ST31000528AS_9VP2Q5L6-part5 -> ../../sda5
  56. lrwxrwxrwx 1 root root 10 Feb 4 21:55 ata-ST31000528AS_9VP2Q5L6-part6 -> ../../sda6
  57. lrwxrwxrwx 1 root root 9 Feb 4 21:45 usb-Generic_Storage_Device_00000000000006-0:0 -> ../../sdb
  58. lrwxrwxrwx 1 root root 9 Feb 4 21:55 wwn-0x5000c50019e4f64b -> ../../sda
  59. lrwxrwxrwx 1 root root 10 Feb 4 21:55 wwn-0x5000c50019e4f64b-part1 -> ../../sda1
  60. lrwxrwxrwx 1 root root 10 Feb 4 21:55 wwn-0x5000c50019e4f64b-part2 -> ../../sda2
  61. lrwxrwxrwx 1 root root 10 Feb 4 21:55 wwn-0x5000c50019e4f64b-part5 -> ../../sda5
  62. lrwxrwxrwx 1 root root 10 Feb 4 21:55 wwn-0x5000c50019e4f64b-part6 -> ../../sda6
  63. lrwxrwxrwx 1 root root 9 Feb 4 21:45 wwn-0x5001480000000000 -> ../../sr0
  64. ================================ Mount points: =================================
  65. Device Mount_Point Type Options
  66. /dev/sda5 / ext4 (rw,relatime,errors=remount-ro,data=ordered)
  67. /dev/sr0 /media/cdrom0 iso9660 (ro,nosuid,nodev,noexec,relatime,user)
  68. =========================== sda5/boot/grub/grub.cfg: ===========================
  69. --------------------------------------------------------------------------------
  70. #
  71. # DO NOT EDIT THIS FILE
  72. #
  73. # It is automatically generated by grub-mkconfig using templates
  74. # from /etc/grub.d and settings from /etc/default/grub
  75. #
  76. ### BEGIN /etc/grub.d/00_header ###
  77. if [ -s $prefix/grubenv ]; then
  78. set have_grubenv=true
  79. load_env
  80. fi
  81. if [ "${next_entry}" ] ; then
  82. set default="${next_entry}"
  83. set next_entry=
  84. save_env next_entry
  85. set boot_once=true
  86. else
  87. set default="6"
  88. fi
  89. if [ x"${feature_menuentry_id}" = xy ]; then
  90. menuentry_id_option="--id"
  91. else
  92. menuentry_id_option=""
  93. fi
  94. export menuentry_id_option
  95. if [ "${prev_saved_entry}" ]; then
  96. set saved_entry="${prev_saved_entry}"
  97. save_env saved_entry
  98. set prev_saved_entry=
  99. save_env prev_saved_entry
  100. set boot_once=true
  101. fi
  102. function savedefault {
  103. if [ -z "${boot_once}" ]; then
  104. saved_entry="${chosen}"
  105. save_env saved_entry
  106. fi
  107. }
  108. function load_video {
  109. if [ x$feature_all_video_module = xy ]; then
  110. insmod all_video
  111. else
  112. insmod efi_gop
  113. insmod efi_uga
  114. insmod ieee1275_fb
  115. insmod vbe
  116. insmod vga
  117. insmod video_bochs
  118. insmod video_cirrus
  119. fi
  120. }
  121. if [ x$feature_default_font_path = xy ] ; then
  122. font=unicode
  123. else
  124. insmod part_msdos
  125. insmod ext2
  126. set root='hd0,msdos5'
  127. if [ x$feature_platform_search_hint = xy ]; then
  128. search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos5 --hint-efi=hd0,msdos5 --hint-baremetal=ahci0,msdos5 9f32324c-fbcd-4237-8608-2a33381b4495
  129. else
  130. search --no-floppy --fs-uuid --set=root 9f32324c-fbcd-4237-8608-2a33381b4495
  131. fi
  132. font="/usr/share/grub/unicode.pf2"
  133. fi
  134. if loadfont $font ; then
  135. set gfxmode=auto
  136. load_video
  137. insmod gfxterm
  138. set locale_dir=$prefix/locale
  139. set lang=it_IT
  140. insmod gettext
  141. fi
  142. terminal_output gfxterm
  143. insmod part_msdos
  144. insmod ext2
  145. set root='hd0,msdos5'
  146. if [ x$feature_platform_search_hint = xy ]; then
  147. search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos5 --hint-efi=hd0,msdos5 --hint-baremetal=ahci0,msdos5 9f32324c-fbcd-4237-8608-2a33381b4495
  148. else
  149. search --no-floppy --fs-uuid --set=root 9f32324c-fbcd-4237-8608-2a33381b4495
  150. fi
  151. insmod png
  152. background_image -m stretch /usr/share/images/desktop-base/background.png
  153. if [ "${recordfail}" = 1 ] ; then
  154. set timeout=10
  155. else
  156. if [ x$feature_timeout_style = xy ] ; then
  157. set timeout_style=menu
  158. set timeout=10
  159. # Fallback normal timeout code in case the timeout_style feature is
  160. # unavailable.
  161. else
  162. set timeout=10
  163. fi
  164. fi
  165. ### END /etc/grub.d/00_header ###
  166. ### BEGIN /etc/grub.d/05_debian_theme ###
  167. insmod part_msdos
  168. insmod ext2
  169. set root='hd0,msdos5'
  170. if [ x$feature_platform_search_hint = xy ]; then
  171. search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos5 --hint-efi=hd0,msdos5 --hint-baremetal=ahci0,msdos5 9f32324c-fbcd-4237-8608-2a33381b4495
  172. else
  173. search --no-floppy --fs-uuid --set=root 9f32324c-fbcd-4237-8608-2a33381b4495
  174. fi
  175. insmod png
  176. if background_image /usr/share/images/desktop-base/background.png; then
  177. true
  178. else
  179. set menu_color_normal=cyan/blue
  180. set menu_color_highlight=white/blue
  181. fi
  182. ### END /etc/grub.d/05_debian_theme ###
  183. ### BEGIN /etc/grub.d/10_linux ###
  184. function gfxmode {
  185. set gfxpayload="${1}"
  186. }
  187. set linux_gfx_mode=
  188. export linux_gfx_mode
  189. menuentry 'Debian GNU/Linux' --class debian --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-simple-9f32324c-fbcd-4237-8608-2a33381b4495' {
  190. load_video
  191. insmod gzio
  192. if [ x$grub_platform = xxen ]; then insmod xzio; insmod lzopio; fi
  193. insmod part_msdos
  194. insmod ext2
  195. set root='hd0,msdos5'
  196. if [ x$feature_platform_search_hint = xy ]; then
  197. search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos5 --hint-efi=hd0,msdos5 --hint-baremetal=ahci0,msdos5 9f32324c-fbcd-4237-8608-2a33381b4495
  198. else
  199. search --no-floppy --fs-uuid --set=root 9f32324c-fbcd-4237-8608-2a33381b4495
  200. fi
  201. echo 'Loading Linux 3.16.0-4-amd64 ...'
  202. linux /boot/vmlinuz-3.16.0-4-amd64 root=UUID=9f32324c-fbcd-4237-8608-2a33381b4495 ro initrd=/install/gtk/initrd.gz quiet
  203. echo 'Loading initial ramdisk ...'
  204. initrd /boot/initrd.img-3.16.0-4-amd64
  205. }
  206. submenu 'Advanced options for Debian GNU/Linux' $menuentry_id_option 'gnulinux-advanced-9f32324c-fbcd-4237-8608-2a33381b4495' {
  207. menuentry 'Debian GNU/Linux, with Linux 3.16.0-4-amd64' --class debian --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-3.16.0-4-amd64-advanced-9f32324c-fbcd-4237-8608-2a33381b4495' {
  208. load_video
  209. insmod gzio
  210. if [ x$grub_platform = xxen ]; then insmod xzio; insmod lzopio; fi
  211. insmod part_msdos
  212. insmod ext2
  213. set root='hd0,msdos5'
  214. if [ x$feature_platform_search_hint = xy ]; then
  215. search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos5 --hint-efi=hd0,msdos5 --hint-baremetal=ahci0,msdos5 9f32324c-fbcd-4237-8608-2a33381b4495
  216. else
  217. search --no-floppy --fs-uuid --set=root 9f32324c-fbcd-4237-8608-2a33381b4495
  218. fi
  219. echo 'Loading Linux 3.16.0-4-amd64 ...'
  220. linux /boot/vmlinuz-3.16.0-4-amd64 root=UUID=9f32324c-fbcd-4237-8608-2a33381b4495 ro initrd=/install/gtk/initrd.gz quiet
  221. echo 'Loading initial ramdisk ...'
  222. initrd /boot/initrd.img-3.16.0-4-amd64
  223. }
  224. menuentry 'Debian GNU/Linux, with Linux 3.16.0-4-amd64 (recovery mode)' --class debian --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-3.16.0-4-amd64-recovery-9f32324c-fbcd-4237-8608-2a33381b4495' {
  225. load_video
  226. insmod gzio
  227. if [ x$grub_platform = xxen ]; then insmod xzio; insmod lzopio; fi
  228. insmod part_msdos
  229. insmod ext2
  230. set root='hd0,msdos5'
  231. if [ x$feature_platform_search_hint = xy ]; then
  232. search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos5 --hint-efi=hd0,msdos5 --hint-baremetal=ahci0,msdos5 9f32324c-fbcd-4237-8608-2a33381b4495
  233. else
  234. search --no-floppy --fs-uuid --set=root 9f32324c-fbcd-4237-8608-2a33381b4495
  235. fi
  236. echo 'Loading Linux 3.16.0-4-amd64 ...'
  237. linux /boot/vmlinuz-3.16.0-4-amd64 root=UUID=9f32324c-fbcd-4237-8608-2a33381b4495 ro single initrd=/install/gtk/initrd.gz
  238. echo 'Loading initial ramdisk ...'
  239. initrd /boot/initrd.img-3.16.0-4-amd64
  240. }
  241. }
  242. ### END /etc/grub.d/10_linux ###
  243. ### BEGIN /etc/grub.d/20_linux_xen ###
  244. ### END /etc/grub.d/20_linux_xen ###
  245. ### BEGIN /etc/grub.d/20_memtest86+ ###
  246. menuentry "Memory test (memtest86+)" {
  247. insmod part_msdos
  248. insmod ext2
  249. set root='hd0,msdos5'
  250. if [ x$feature_platform_search_hint = xy ]; then
  251. search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos5 --hint-efi=hd0,msdos5 --hint-baremetal=ahci0,msdos5 9f32324c-fbcd-4237-8608-2a33381b4495
  252. else
  253. search --no-floppy --fs-uuid --set=root 9f32324c-fbcd-4237-8608-2a33381b4495
  254. fi
  255. linux16 /boot/memtest86+.bin
  256. }
  257. menuentry "Memory test (memtest86+, serial console 115200)" {
  258. insmod part_msdos
  259. insmod ext2
  260. set root='hd0,msdos5'
  261. if [ x$feature_platform_search_hint = xy ]; then
  262. search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos5 --hint-efi=hd0,msdos5 --hint-baremetal=ahci0,msdos5 9f32324c-fbcd-4237-8608-2a33381b4495
  263. else
  264. search --no-floppy --fs-uuid --set=root 9f32324c-fbcd-4237-8608-2a33381b4495
  265. fi
  266. linux16 /boot/memtest86+.bin console=ttyS0,115200n8
  267. }
  268. menuentry "Memory test (memtest86+, experimental multiboot)" {
  269. insmod part_msdos
  270. insmod ext2
  271. set root='hd0,msdos5'
  272. if [ x$feature_platform_search_hint = xy ]; then
  273. search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos5 --hint-efi=hd0,msdos5 --hint-baremetal=ahci0,msdos5 9f32324c-fbcd-4237-8608-2a33381b4495
  274. else
  275. search --no-floppy --fs-uuid --set=root 9f32324c-fbcd-4237-8608-2a33381b4495
  276. fi
  277. multiboot /boot/memtest86+_multiboot.bin
  278. }
  279. menuentry "Memory test (memtest86+, serial console 115200, experimental multiboot)" {
  280. insmod part_msdos
  281. insmod ext2
  282. set root='hd0,msdos5'
  283. if [ x$feature_platform_search_hint = xy ]; then
  284. search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos5 --hint-efi=hd0,msdos5 --hint-baremetal=ahci0,msdos5 9f32324c-fbcd-4237-8608-2a33381b4495
  285. else
  286. search --no-floppy --fs-uuid --set=root 9f32324c-fbcd-4237-8608-2a33381b4495
  287. fi
  288. multiboot /boot/memtest86+_multiboot.bin console=ttyS0,115200n8
  289. }
  290. ### END /etc/grub.d/20_memtest86+ ###
  291. ### BEGIN /etc/grub.d/30_os-prober ###
  292. menuentry 'Windows 7 (loader) (on /dev/sda1)' --class windows --class os $menuentry_id_option 'osprober-chain-E60C31480C311551' {
  293. insmod part_msdos
  294. insmod ntfs
  295. set root='hd0,msdos1'
  296. if [ x$feature_platform_search_hint = xy ]; then
  297. search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos1 --hint-efi=hd0,msdos1 --hint-baremetal=ahci0,msdos1 E60C31480C311551
  298. else
  299. search --no-floppy --fs-uuid --set=root E60C31480C311551
  300. fi
  301. parttool ${root} hidden-
  302. chainloader +1
  303. }
  304. ### END /etc/grub.d/30_os-prober ###
  305. ### BEGIN /etc/grub.d/30_uefi-firmware ###
  306. ### END /etc/grub.d/30_uefi-firmware ###
  307. ### BEGIN /etc/grub.d/40_custom ###
  308. # This file provides an easy way to add custom menu entries. Simply type the
  309. # menu entries you want to add after this comment. Be careful not to change
  310. # the 'exec tail' line above.
  311. ### END /etc/grub.d/40_custom ###
  312. ### BEGIN /etc/grub.d/41_custom ###
  313. if [ -f ${config_directory}/custom.cfg ]; then
  314. source ${config_directory}/custom.cfg
  315. elif [ -z "${config_directory}" -a -f $prefix/custom.cfg ]; then
  316. source $prefix/custom.cfg;
  317. fi
  318. ### END /etc/grub.d/41_custom ###
  319. --------------------------------------------------------------------------------
  320. =============================== sda5/etc/fstab: ================================
  321. --------------------------------------------------------------------------------
  322. # /etc/fstab: static file system information.
  323. #
  324. # Use 'blkid' to print the universally unique identifier for a
  325. # device; this may be used with UUID= as a more robust way to name devices
  326. # that works even if disks are added and removed. See fstab(5).
  327. #
  328. # <file system> <mount point> <type> <options> <dump> <pass>
  329. # / was on /dev/sda5 during installation
  330. UUID=9f32324c-fbcd-4237-8608-2a33381b4495 / ext4 errors=remount-ro 0 1
  331. # swap was on /dev/sda6 during installation
  332. UUID=d3ec038e-1d55-4bed-84e1-808d8435a751 none swap sw 0 0
  333. /dev/sr0 /media/cdrom0 udf,iso9660 user,noauto 0 0
  334. --------------------------------------------------------------------------------
  335. =================== sda5: Location of files loaded by Grub: ====================
  336. GiB - GB File Fragment(s)
  337. 886.193534851 = 951.543062528 boot/grub/grub.cfg 1
  338. 780.209007263 = 837.743042560 boot/grub/i386-pc/core.img 1
  339. 694.750831604 = 745.983025152 boot/vmlinuz-3.16.0-4-amd64 1
  340. 694.750831604 = 745.983025152 vmlinuz 1
  341. 882.447578430 = 947.520872448 boot/initrd.img-3.16.0-4-amd64 2
  342. 882.447578430 = 947.520872448 initrd.img 2
  343. ========= Devices which don't seem to have a corresponding hard drive: =========
  344. sdb
  345. ADDITIONAL INFORMATION :
  346. =================== log of boot-repair 2017-02-04__21h54 ===================
  347. boot-repair version : 4ppa40
  348. boot-sav version : 4ppa40
  349. glade2script version : 3.2.3~ppa1
  350. boot-sav-extra version : 4ppa40
  351. Warning: Unable to open /dev/sr0 read-write (Read-only file system). /dev/sr0 has been opened read-only.
  352. Error: The partition's data region doesn't occupy the entire partition.
  353. Warning: Unable to open /dev/sr0 read-write (Read-only file system). /dev/sr0 has been opened read-only.
  354. Error: The partition's data region doesn't occupy the entire partition.
  355. boot-repair is executed in installed-session (Debian GNU/Linux 8.6 (jessie), jessie, Debian, x86_64)
  356. CPU op-mode(s): 32-bit, 64-bit
  357. BOOT_IMAGE=/boot/vmlinuz-3.16.0-4-amd64 root=UUID=9f32324c-fbcd-4237-8608-2a33381b4495 ro initrd=/install/gtk/initrd.gz quiet
  358. The disk contains an unclean file system (0, 1).
  359. The file system wasn't safely closed on Windows. Fixing.
  360. =================== os-prober:
  361. /dev/sda5:Sistema operativo ora in uso - Debian GNU/Linux 8.6 (jessie) CurrentSession:linux
  362. /dev/sda1:Windows 7 (loader):Windows:chain
  363. =================== blkid:
  364. /dev/sr0: UUID="2012-10-19-19-34-03-00" LABEL="HP PS6520" TYPE="iso9660" PTTYPE="mac"
  365. /dev/sda1: UUID="E60C31480C311551" TYPE="ntfs" PARTUUID="a00fa00f-01"
  366. /dev/sda5: UUID="9f32324c-fbcd-4237-8608-2a33381b4495" TYPE="ext4" PARTUUID="a00fa00f-05"
  367. /dev/sda6: UUID="d3ec038e-1d55-4bed-84e1-808d8435a751" TYPE="swap" PARTUUID="a00fa00f-06"
  368. 1 disks with OS, 2 OS : 1 Linux, 0 MacOS, 1 Windows, 0 unknown type OS.
  369. sfdisk: Warning: extended partition does not start at a cylinder boundary.
  370. DOS and Linux will interpret the contents differently.
  371. =================== /etc/grub.d/ :
  372. drwxr-xr-x 2 root root 4096 gen 16 2016 grub.d
  373. totale 76
  374. -rwxr-xr-x 1 root root 9424 mar 23 2015 00_header
  375. -rwxr-xr-x 1 root root 6058 mar 23 2015 05_debian_theme
  376. -rwxr-xr-x 1 root root 12261 mar 23 2015 10_linux
  377. -rwxr-xr-x 1 root root 11082 mar 23 2015 20_linux_xen
  378. -rwxr-xr-x 1 root root 1570 set 10 2014 20_memtest86+
  379. -rwxr-xr-x 1 root root 11692 mar 23 2015 30_os-prober
  380. -rwxr-xr-x 1 root root 1416 mar 23 2015 30_uefi-firmware
  381. -rwxr-xr-x 1 root root 214 mar 23 2015 40_custom
  382. -rwxr-xr-x 1 root root 216 mar 23 2015 41_custom
  383. -rw-r--r-- 1 root root 483 mar 23 2015 README
  384. =================== /etc/default/grub :
  385. # If you change this file, run 'update-grub' afterwards to update
  386. # /boot/grub/grub.cfg.
  387. # For full documentation of the options in this file, see:
  388. # info -f grub -n 'Simple configuration'
  389. GRUB_DEFAULT=6
  390. GRUB_TIMEOUT=5
  391. GRUB_DISTRIBUTOR=`lsb_release -i -s 2> /dev/null || echo Debian`
  392. GRUB_CMDLINE_LINUX_DEFAULT="quiet"
  393. GRUB_CMDLINE_LINUX="initrd=/install/gtk/initrd.gz"
  394. GRUB_BACKGROUND="/usr/share/images/desktop-base/background.png"
  395. # Uncomment to enable BadRAM filtering, modify to suit your needs
  396. # This works with Linux (no patch required) and with any kernel that obtains
  397. # the memory map information from GRUB (GNU Mach, kernel of FreeBSD ...)
  398. #GRUB_BADRAM="0x01234567,0xfefefefe,0x89abcdef,0xefefefef"
  399. # Uncomment to disable graphical terminal (grub-pc only)
  400. #GRUB_TERMINAL=console
  401. # The resolution used on graphical terminal
  402. # note that you can use only modes which your graphic card supports via VBE
  403. # you can see them in real GRUB with the command `vbeinfo'
  404. #GRUB_GFXMODE=640x480
  405. # Uncomment if you don't want GRUB to pass "root=UUID=xxx" parameter to Linux
  406. #GRUB_DISABLE_LINUX_UUID=true
  407. # Uncomment to disable generation of recovery mode menu entries
  408. #GRUB_DISABLE_RECOVERY="true"
  409. # Uncomment to get a beep at grub start
  410. #GRUB_INIT_TUNE="480 440 1"
  411. =================== UEFI/Legacy mode:
  412. This installed-session is not EFI-compatible.
  413. SecureBoot disabled.
  414. =================== PARTITIONS & DISKS:
  415. sda5 : 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, .
  416. sda1 : 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, ntldr, haswinload, no-recov-nor-hid, bootmgr, is-winboot, nopakmgr, nogrubinstall, no---usr, part-has-no-fstab, not-sep-usr, standard, farbios, /mnt/boot-sav/sda1.
  417. sda : not-GPT, BIOSboot-not-needed, has-no-EFIpart, not-usb, has-os, 63 sectors * 512 bytes
  418. =================== parted -l:
  419. Model: ATA ST31000528AS (scsi)
  420. Disk /dev/sda: 1000GB
  421. Sector size (logical/physical): 512B/512B
  422. Partition Table: msdos
  423. Disk Flags:
  424. Number Start End Size Type File system Flags
  425. 1 32.3kB 707GB 707GB primary ntfs boot
  426. 2 707GB 1000GB 294GB extended
  427. 5 707GB 992GB 285GB logical ext4
  428. 6 992GB 1000GB 8587MB logical linux-swap(v1)
  429. Model: HL-DT-ST DVDRAM GH22NS40 (scsi)
  430. Disk /dev/sr0: 486MB
  431. Sector size (logical/physical): 2048B/2048B
  432. Partition Table: unknown
  433. Disk Flags:
  434. =================== parted -lm:
  435. BYT;
  436. /dev/sda:1000GB:scsi:512:512:msdos:ATA ST31000528AS:;
  437. 1:32.3kB:707GB:707GB:ntfs::boot;
  438. 2:707GB:1000GB:294GB:::;
  439. 5:707GB:992GB:285GB:ext4::;
  440. 6:992GB:1000GB:8587MB:linux-swap(v1)::;
  441. BYT;
  442. /dev/sr0:486MB:scsi:2048:2048:unknown:HL-DT-ST DVDRAM GH22NS40:;
  443. =================== lsblk:
  444. KNAME TYPE FSTYPE SIZE LABEL
  445. sda disk 931,5G
  446. sda1 part ntfs 658,1G
  447. sda2 part 1K
  448. sda5 part ext4 265,5G
  449. sda6 part swap 8G
  450. sr0 rom iso9660 463,1M HP PS6520
  451. KNAME ROTA RO RM STATE MOUNTPOINT
  452. sda 1 0 0 running
  453. sda1 1 0 0 /mnt/boot-sav/sda1
  454. sda2 1 0 0
  455. sda5 1 0 0 /
  456. sda6 1 0 0 [SWAP]
  457. sr0 1 0 1 running /media/cdrom0
  458. =================== mount:
  459. sysfs on /sys type sysfs (rw,nosuid,nodev,noexec,relatime)
  460. proc on /proc type proc (rw,nosuid,nodev,noexec,relatime)
  461. udev on /dev type devtmpfs (rw,relatime,size=10240k,nr_inodes=505158,mode=755)
  462. devpts on /dev/pts type devpts (rw,nosuid,noexec,relatime,gid=5,mode=620,ptmxmode=000)
  463. tmpfs on /run type tmpfs (rw,nosuid,relatime,size=811652k,mode=755)
  464. /dev/sda5 on / type ext4 (rw,relatime,errors=remount-ro,data=ordered)
  465. securityfs on /sys/kernel/security type securityfs (rw,nosuid,nodev,noexec,relatime)
  466. tmpfs on /dev/shm type tmpfs (rw,nosuid,nodev)
  467. tmpfs on /run/lock type tmpfs (rw,nosuid,nodev,noexec,relatime,size=5120k)
  468. tmpfs on /sys/fs/cgroup type tmpfs (ro,nosuid,nodev,noexec,mode=755)
  469. cgroup on /sys/fs/cgroup/systemd type cgroup (rw,nosuid,nodev,noexec,relatime,xattr,release_agent=/lib/systemd/systemd-cgroups-agent,name=systemd)
  470. pstore on /sys/fs/pstore type pstore (rw,nosuid,nodev,noexec,relatime)
  471. cgroup on /sys/fs/cgroup/cpuset type cgroup (rw,nosuid,nodev,noexec,relatime,cpuset)
  472. cgroup on /sys/fs/cgroup/cpu,cpuacct type cgroup (rw,nosuid,nodev,noexec,relatime,cpu,cpuacct)
  473. cgroup on /sys/fs/cgroup/devices type cgroup (rw,nosuid,nodev,noexec,relatime,devices)
  474. cgroup on /sys/fs/cgroup/freezer type cgroup (rw,nosuid,nodev,noexec,relatime,freezer)
  475. cgroup on /sys/fs/cgroup/net_cls,net_prio type cgroup (rw,nosuid,nodev,noexec,relatime,net_cls,net_prio)
  476. cgroup on /sys/fs/cgroup/blkio type cgroup (rw,nosuid,nodev,noexec,relatime,blkio)
  477. cgroup on /sys/fs/cgroup/perf_event type cgroup (rw,nosuid,nodev,noexec,relatime,perf_event)
  478. tmpfs on /etc/machine-id type tmpfs (ro,relatime,size=811652k,mode=755)
  479. systemd-1 on /proc/sys/fs/binfmt_misc type autofs (rw,relatime,fd=22,pgrp=1,timeout=300,minproto=5,maxproto=5,direct)
  480. hugetlbfs on /dev/hugepages type hugetlbfs (rw,relatime)
  481. debugfs on /sys/kernel/debug type debugfs (rw,relatime)
  482. mqueue on /dev/mqueue type mqueue (rw,relatime)
  483. fusectl on /sys/fs/fuse/connections type fusectl (rw,relatime)
  484. rpc_pipefs on /run/rpc_pipefs type rpc_pipefs (rw,relatime)
  485. binfmt_misc on /proc/sys/fs/binfmt_misc type binfmt_misc (rw,relatime)
  486. tmpfs on /run/user/1000 type tmpfs (rw,nosuid,nodev,relatime,size=405828k,mode=700,uid=1000,gid=1000)
  487. gvfsd-fuse on /run/user/1000/gvfs type fuse.gvfsd-fuse (rw,nosuid,nodev,relatime,user_id=1000,group_id=1000)
  488. /dev/sr0 on /media/cdrom0 type iso9660 (ro,nosuid,nodev,noexec,relatime,user)
  489. /dev/sda1 on /mnt/boot-sav/sda1 type fuseblk (rw,relatime,user_id=0,group_id=0,allow_other,blksize=4096)
  490. =================== ls:
  491. /sys/block/sda (filtered): alignment_offset bdi capability dev device discard_alignment events events_async events_poll_msecs ext_range holders inflight power queue range removable ro sda1 sda2 sda5 sda6 size slaves stat subsystem trace uevent
  492. /sys/block/sdb (filtered): alignment_offset bdi capability dev device discard_alignment events events_async events_poll_msecs ext_range holders inflight power queue range removable ro size slaves stat subsystem trace uevent
  493. /sys/block/sr0 (filtered): alignment_offset bdi capability dev device discard_alignment events events_async events_poll_msecs ext_range holders inflight power queue range removable ro size slaves stat subsystem trace uevent
  494. /dev (filtered): autofs block bsg btrfs-control bus cdrom cdrw char console core cpu cpu_dma_latency cuse disk dri dvb dvd dvdrw fb0 fd full fuse hidraw0 hidraw1 hidraw2 hidraw3 hpet hugepages initctl input kmsg kvm lirc0 log lp0 mapper mcelog mem mqueue net network_latency network_throughput null parport0 port ppp psaux ptmx pts radio0 random rfkill rtc rtc0 sda sda1 sda2 sda5 sda6 sdb sg0 sg1 sg2 shm snapshot snd sr0 stderr stdin stdout uhid uinput urandom usb v4l vbi0 vfio vga_arbiter vhci vhost-net video0 watchdog watchdog0 xconsole zero
  495. ls /dev/mapper: control
  496. ls: impossibile accedere a : File o directory non esistente
  497. =================== hexdump -n512 -C /dev/sda1
  498. 00000000 eb 52 90 4e 54 46 53 20 20 20 20 00 02 08 00 00 |.R.NTFS .....|
  499. 00000010 00 00 00 00 00 f8 00 00 3f 00 ff 00 3f 00 00 00 |........?...?...|
  500. 00000020 00 00 00 00 80 00 80 00 c0 1a 42 52 00 00 00 00 |..........BR....|
  501. 00000030 00 00 0c 00 00 00 00 00 ac 01 47 07 00 00 00 00 |..........G.....|
  502. 00000040 f6 00 00 00 01 00 00 00 51 15 31 0c 48 31 0c e6 |........Q.1.H1..|
  503. 00000050 00 00 00 00 fa 33 c0 8e d0 bc 00 7c fb 68 c0 07 |.....3.....|.h..|
  504. 00000060 1f 1e 68 66 00 cb 88 16 0e 00 66 81 3e 03 00 4e |..hf......f.>..N|
  505. 00000070 54 46 53 75 15 b4 41 bb aa 55 cd 13 72 0c 81 fb |TFSu..A..U..r...|
  506. 00000080 55 aa 75 06 f7 c1 01 00 75 03 e9 dd 00 1e 83 ec |U.u.....u.......|
  507. 00000090 18 68 1a 00 b4 48 8a 16 0e 00 8b f4 16 1f cd 13 |.h...H..........|
  508. 000000a0 9f 83 c4 18 9e 58 1f 72 e1 3b 06 0b 00 75 db a3 |.....X.r.;...u..|
  509. 000000b0 0f 00 c1 2e 0f 00 04 1e 5a 33 db b9 00 20 2b c8 |........Z3... +.|
  510. 000000c0 66 ff 06 11 00 03 16 0f 00 8e c2 ff 06 16 00 e8 |f...............|
  511. 000000d0 4b 00 2b c8 77 ef b8 00 bb cd 1a 66 23 c0 75 2d |K.+.w......f#.u-|
  512. 000000e0 66 81 fb 54 43 50 41 75 24 81 f9 02 01 72 1e 16 |f..TCPAu$....r..|
  513. 000000f0 68 07 bb 16 68 70 0e 16 68 09 00 66 53 66 53 66 |h...hp..h..fSfSf|
  514. 00000100 55 16 16 16 68 b8 01 66 61 0e 07 cd 1a 33 c0 bf |U...h..fa....3..|
  515. 00000110 28 10 b9 d8 0f fc f3 aa e9 5f 01 90 90 66 60 1e |(........_...f`.|
  516. 00000120 06 66 a1 11 00 66 03 06 1c 00 1e 66 68 00 00 00 |.f...f.....fh...|
  517. 00000130 00 66 50 06 53 68 01 00 68 10 00 b4 42 8a 16 0e |.fP.Sh..h...B...|
  518. 00000140 00 16 1f 8b f4 cd 13 66 59 5b 5a 66 59 66 59 1f |.......fY[ZfYfY.|
  519. 00000150 0f 82 16 00 66 ff 06 11 00 03 16 0f 00 8e c2 ff |....f...........|
  520. 00000160 0e 16 00 75 bc 07 1f 66 61 c3 a0 f8 01 e8 09 00 |...u...fa.......|
  521. 00000170 a0 fb 01 e8 03 00 f4 eb fd b4 01 8b f0 ac 3c 00 |..............<.|
  522. 00000180 74 09 b4 0e bb 07 00 cd 10 eb f2 c3 0d 0a 41 20 |t.............A |
  523. 00000190 64 69 73 6b 20 72 65 61 64 20 65 72 72 6f 72 20 |disk read error |
  524. 000001a0 6f 63 63 75 72 72 65 64 00 0d 0a 42 4f 4f 54 4d |occurred...BOOTM|
  525. 000001b0 47 52 20 69 73 20 6d 69 73 73 69 6e 67 00 0d 0a |GR is missing...|
  526. 000001c0 42 4f 4f 54 4d 47 52 20 69 73 20 63 6f 6d 70 72 |BOOTMGR is compr|
  527. 000001d0 65 73 73 65 64 00 0d 0a 50 72 65 73 73 20 43 74 |essed...Press Ct|
  528. 000001e0 72 6c 2b 41 6c 74 2b 44 65 6c 20 74 6f 20 72 65 |rl+Alt+Del to re|
  529. 000001f0 73 74 61 72 74 0d 0a 00 8c a9 be d6 00 00 55 aa |start.........U.|
  530. 00000200
  531. =================== df -Th:
  532. Filesystem Type Size Used Avail Use% Mounted on
  533. /dev/sda5 ext4 262G 56G 193G 23% /
  534. udev devtmpfs 10M 0 10M 0% /dev
  535. tmpfs tmpfs 793M 9.2M 784M 2% /run
  536. tmpfs tmpfs 2.0G 148K 2.0G 1% /dev/shm
  537. tmpfs tmpfs 5.0M 0 5.0M 0% /run/lock
  538. tmpfs tmpfs 2.0G 0 2.0G 0% /sys/fs/cgroup
  539. tmpfs tmpfs 397M 20K 397M 1% /run/user/1000
  540. /dev/sr0 iso9660 464M 464M 0 100% /media/cdrom0
  541. /dev/sda1 fuseblk 659G 193G 466G 30% /mnt/boot-sav/sda1
  542. =================== fdisk -l:
  543. Disk /dev/sda: 931.5 GiB, 1000204886016 bytes, 1953525168 sectors
  544. Units: sectors of 1 * 512 = 512 bytes
  545. Sector size (logical/physical): 512 bytes / 512 bytes
  546. I/O size (minimum/optimal): 512 bytes / 512 bytes
  547. Disklabel type: dos
  548. Disk identifier: 0xa00fa00f
  549. Device Boot Start End Sectors Size Id Type
  550. /dev/sda1 * 63 1380063999 1380063937 658.1G 7 HPFS/NTFS/exFAT
  551. /dev/sda2 1380065278 1953523711 573458434 273.5G 5 Extended
  552. /dev/sda5 1380065280 1936750591 556685312 265.5G 83 Linux
  553. /dev/sda6 1936752640 1953523711 16771072 8G 82 Linux swap / Solaris
  554. =================== Recommended repair
  555. The default repair of the Boot-Repair utility will reinstall the grub2 of sda5 into the MBR of sda.
  556. Additional repair will be performed: unhide-bootmenu-10s
  557. Unhide GRUB boot menu in sda5/etc/default/grub
  558. *******lspci -nnk | grep -iA3 vga
  559. 01:00.0 VGA compatible controller [0300]: NVIDIA Corporation GT216 [GeForce GT 220] [10de:0a20] (rev a2)
  560. Subsystem: ASUSTeK Computer Inc. Device [1043:830f]
  561. Kernel driver in use: nouveau
  562. 01:00.1 Audio device [0403]: NVIDIA Corporation GT216 HDMI Audio Controller [10de:0be2] (rev a1)
  563. *******
  564. grub-install --version
  565. grub-install (GRUB) 2.02~beta2-22+deb8u1,grub-install (GRUB) 2.
  566. Reinstall the GRUB of sda5 into the MBR of sda
  567. Installing for i386-pc platform.
  568. Installation finished. No error reported.
  569. grub-install /dev/sda: exit code of grub-install /dev/sda:0
  570. update-grub
  571. Generating grub configuration file ...
  572. Found background: /usr/share/images/desktop-base/background.png
  573. Found background image: /usr/share/images/desktop-base/background.png
  574. Found linux image: /boot/vmlinuz-3.16.0-4-amd64
  575. Found initrd image: /boot/initrd.img-3.16.0-4-amd64
  576. Found memtest86+ image: /boot/memtest86+.bin
  577. Found memtest86+ multiboot image: /boot/memtest86+_multiboot.bin
  578. Found Windows 7 (loader) on /dev/sda1
  579. Unhide GRUB boot menu in sda5/boot/grub/grub.cfg
  580. Procedura di boot riparata.
  581. Ora è possibile riavviare il computer.
  582. I file di boot del [Sistema operativo ora in uso - Debian GNU/Linux 8.6 (jessie)] sono lontani dall'inizio del disco. Il tuo BIOS potrebbe non rilevarli. Potrebbe essere utile riprovare dopo la creazione di una partizione /boot (EXT4, >200MB, inizio del disco). Ciò può essere effettuato tramite l'uso di strumenti come gParted. Quindi seleziona questa partizione utilizzando l'opzione [Partizione /boot separata:] di [Riparazione del boot]. (https://help.ubuntu.com/community/BootPartition)
  583. paste.debian.net ko (http://paste.debian.net/), using paste2