1. Boot Info Script 0.61.full + Boot-Repair extra info [Boot-Info December 25th 2012]
  2. ============================= Boot Info Summary: ===============================
  3. => Grub2 (v2.00) is installed in the MBR of /dev/sda and looks at sector
  4. 788748288 of the same hard drive for core.img. core.img is at this
  5. location and looks in partition 1 for (,gpt7)/boot/grub.
  6. sda1: __________________________________________________________________________
  7. File system: ntfs
  8. Boot sector type: Windows Vista/7: NTFS
  9. Boot sector info: No errors found in the Boot Parameter Block.
  10. Operating System:
  11. Boot files:
  12. sda2: __________________________________________________________________________
  13. File system:
  14. Boot sector type: -
  15. Boot sector info:
  16. Mounting failed: mount: unknown filesystem type ''
  17. sda3: __________________________________________________________________________
  18. File system: ntfs
  19. Boot sector type: Windows Vista/7: 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. sda4: __________________________________________________________________________
  24. File system: ntfs
  25. Boot sector type: Windows Vista/7: NTFS
  26. Boot sector info: No errors found in the Boot Parameter Block.
  27. Operating System:
  28. Boot files:
  29. sda5: __________________________________________________________________________
  30. File system: ntfs
  31. Boot sector type: Windows Vista/7: NTFS
  32. Boot sector info: No errors found in the Boot Parameter Block.
  33. Operating System:
  34. Boot files: /bootmgr /boot/bcd
  35. sda6: __________________________________________________________________________
  36. File system: BIOS Boot partition
  37. Boot sector type: Grub2's core.img
  38. Boot sector info:
  39. sda7: __________________________________________________________________________
  40. File system: ext4
  41. Boot sector type: Grub2 (v1.99-2.00)
  42. Boot sector info: Grub2 (v2.00) is installed in the boot sector of sda7
  43. and looks at sector 889913424 of the same hard drive
  44. for core.img. core.img is at this location and looks
  45. in partition 1 for (,gpt7)/boot/grub.
  46. Operating System: Linux Mint 14 Nadia
  47. Boot files: /boot/grub/grub.cfg /etc/fstab
  48. /boot/grub/i386-pc/core.img
  49. sda8: __________________________________________________________________________
  50. File system: swap
  51. Boot sector type: -
  52. Boot sector info:
  53. ============================ Drive/Partition Info: =============================
  54. Drive: sda _____________________________________________________________________
  55. Disk /dev/sda: 500.1 GB, 500107862016 bytes
  56. 255 heads, 63 sectors/track, 60801 cylinders, total 976773168 sectors
  57. Units = sectors of 1 * 512 = 512 bytes
  58. Sector size (logical/physical): 512 bytes / 4096 bytes
  59. Partition Boot Start Sector End Sector # of Sectors Id System
  60. /dev/sda1 1 976,773,167 976,773,167 ee GPT
  61. GUID Partition Table detected.
  62. Partition Start Sector End Sector # of Sectors System
  63. /dev/sda1 2,048 411,647 409,600 EFI System partition
  64. /dev/sda2 411,648 673,791 262,144 Microsoft Reserved Partition (Windows)
  65. /dev/sda3 673,792 391,383,039 390,709,248 Data partition (Windows/Linux)
  66. /dev/sda4 391,383,040 788,748,023 397,364,984 Data partition (Windows/Linux)
  67. /dev/sda5 924,344,320 976,773,119 52,428,800 Windows Recovery Environment (Windows)
  68. /dev/sda6 788,748,288 788,750,335 2,048 BIOS Boot partition
  69. /dev/sda7 788,750,336 911,996,927 123,246,592 Data partition (Windows/Linux)
  70. /dev/sda8 911,996,928 924,344,319 12,347,392 Swap partition (Linux)
  71. "blkid" output: ________________________________________________________________
  72. Device UUID TYPE LABEL
  73. /dev/loop0 squashfs
  74. /dev/sda1 BA0884A9088465EB ntfs
  75. /dev/sda3 8AF24081F240738B ntfs OS
  76. /dev/sda4 7C5A04CA5A04835E ntfs DATA
  77. /dev/sda5 AC7A43BA7A438056 ntfs Recovery
  78. /dev/sda7 c942ebc8-5bd6-4264-9601-2fbbb2dd1cdd ext4
  79. /dev/sda8 eb8c774b-c6da-4a71-9de4-41997049193d swap
  80. /dev/sr0 iso9660 Linux Mint 14 KDE 64-bit
  81. ================================ Mount points: =================================
  82. Device Mount_Point Type Options
  83. /dev/loop0 /rofs squashfs (ro,noatime)
  84. /dev/sr0 /cdrom iso9660 (ro,noatime)
  85. =========================== sda7/boot/grub/grub.cfg: ===========================
  86. --------------------------------------------------------------------------------
  87. #
  88. # DO NOT EDIT THIS FILE
  89. #
  90. # It is automatically generated by grub-mkconfig using templates
  91. # from /etc/grub.d and settings from /etc/default/grub
  92. #
  93. ### BEGIN /etc/grub.d/00_header ###
  94. if [ -s $prefix/grubenv ]; then
  95. set have_grubenv=true
  96. load_env
  97. fi
  98. set default="0"
  99. if [ x"${feature_menuentry_id}" = xy ]; then
  100. menuentry_id_option="--id"
  101. else
  102. menuentry_id_option=""
  103. fi
  104. export menuentry_id_option
  105. if [ "${prev_saved_entry}" ]; then
  106. set saved_entry="${prev_saved_entry}"
  107. save_env saved_entry
  108. set prev_saved_entry=
  109. save_env prev_saved_entry
  110. set boot_once=true
  111. fi
  112. function savedefault {
  113. if [ -z "${boot_once}" ]; then
  114. saved_entry="${chosen}"
  115. save_env saved_entry
  116. fi
  117. }
  118. function recordfail {
  119. set recordfail=1
  120. if [ -n "${have_grubenv}" ]; then if [ -z "${boot_once}" ]; then save_env recordfail; fi; fi
  121. }
  122. function load_video {
  123. if [ x$feature_all_video_module = xy ]; then
  124. insmod all_video
  125. else
  126. insmod efi_gop
  127. insmod efi_uga
  128. insmod ieee1275_fb
  129. insmod vbe
  130. insmod vga
  131. insmod video_bochs
  132. insmod video_cirrus
  133. fi
  134. }
  135. if [ x$feature_default_font_path = xy ] ; then
  136. font=unicode
  137. else
  138. insmod part_gpt
  139. insmod ext2
  140. set root='hd0,gpt7'
  141. if [ x$feature_platform_search_hint = xy ]; then
  142. search --no-floppy --fs-uuid --set=root --hint-bios=hd0,gpt7 --hint-efi=hd0,gpt7 --hint-baremetal=ahci0,gpt7 c942ebc8-5bd6-4264-9601-2fbbb2dd1cdd
  143. else
  144. search --no-floppy --fs-uuid --set=root c942ebc8-5bd6-4264-9601-2fbbb2dd1cdd
  145. fi
  146. font="/usr/share/grub/unicode.pf2"
  147. fi
  148. if loadfont $font ; then
  149. set gfxmode=auto
  150. load_video
  151. insmod gfxterm
  152. set locale_dir=$prefix/locale
  153. set lang=en_US
  154. insmod gettext
  155. fi
  156. terminal_output gfxterm
  157. if [ "${recordfail}" = 1 ]; then
  158. set timeout=10
  159. else
  160. set timeout=10
  161. fi
  162. ### END /etc/grub.d/00_header ###
  163. ### BEGIN /etc/grub.d/05_debian_theme ###
  164. set menu_color_normal=white/black
  165. set menu_color_highlight=black/light-gray
  166. if background_color 0,0,0; then
  167. clear
  168. fi
  169. ### END /etc/grub.d/05_debian_theme ###
  170. ### BEGIN /etc/grub.d/10_linux ###
  171. function gfxmode {
  172. set gfxpayload="${1}"
  173. if [ "${1}" = "keep" ]; then
  174. set vt_handoff=vt.handoff=7
  175. else
  176. set vt_handoff=
  177. fi
  178. }
  179. if [ "${recordfail}" != 1 ]; then
  180. if [ -e ${prefix}/gfxblacklist.txt ]; then
  181. if hwmatch ${prefix}/gfxblacklist.txt 3; then
  182. if [ ${match} = 0 ]; then
  183. set linux_gfx_mode=keep
  184. else
  185. set linux_gfx_mode=text
  186. fi
  187. else
  188. set linux_gfx_mode=text
  189. fi
  190. else
  191. set linux_gfx_mode=keep
  192. fi
  193. else
  194. set linux_gfx_mode=text
  195. fi
  196. export linux_gfx_mode
  197. if [ "${linux_gfx_mode}" != "text" ]; then load_video; fi
  198. menuentry 'LinuxMint' --class linuxmint --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-simple-c942ebc8-5bd6-4264-9601-2fbbb2dd1cdd' {
  199. recordfail
  200. gfxmode $linux_gfx_mode
  201. insmod gzio
  202. insmod part_gpt
  203. insmod ext2
  204. set root='hd0,gpt7'
  205. if [ x$feature_platform_search_hint = xy ]; then
  206. search --no-floppy --fs-uuid --set=root --hint-bios=hd0,gpt7 --hint-efi=hd0,gpt7 --hint-baremetal=ahci0,gpt7 c942ebc8-5bd6-4264-9601-2fbbb2dd1cdd
  207. else
  208. search --no-floppy --fs-uuid --set=root c942ebc8-5bd6-4264-9601-2fbbb2dd1cdd
  209. fi
  210. linux /boot/vmlinuz-3.5.0-17-generic root=UUID=c942ebc8-5bd6-4264-9601-2fbbb2dd1cdd ro quiet splash $vt_handoff
  211. initrd /boot/initrd.img-3.5.0-17-generic
  212. }
  213. submenu 'Advanced options for LinuxMint' $menuentry_id_option 'gnulinux-advanced-c942ebc8-5bd6-4264-9601-2fbbb2dd1cdd' {
  214. menuentry 'LinuxMint, with Linux 3.5.0-17-generic' --class linuxmint --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-3.5.0-17-generic-advanced-c942ebc8-5bd6-4264-9601-2fbbb2dd1cdd' {
  215. recordfail
  216. gfxmode $linux_gfx_mode
  217. insmod gzio
  218. insmod part_gpt
  219. insmod ext2
  220. set root='hd0,gpt7'
  221. if [ x$feature_platform_search_hint = xy ]; then
  222. search --no-floppy --fs-uuid --set=root --hint-bios=hd0,gpt7 --hint-efi=hd0,gpt7 --hint-baremetal=ahci0,gpt7 c942ebc8-5bd6-4264-9601-2fbbb2dd1cdd
  223. else
  224. search --no-floppy --fs-uuid --set=root c942ebc8-5bd6-4264-9601-2fbbb2dd1cdd
  225. fi
  226. echo 'Loading Linux 3.5.0-17-generic ...'
  227. linux /boot/vmlinuz-3.5.0-17-generic root=UUID=c942ebc8-5bd6-4264-9601-2fbbb2dd1cdd ro quiet splash $vt_handoff
  228. echo 'Loading initial ramdisk ...'
  229. initrd /boot/initrd.img-3.5.0-17-generic
  230. }
  231. menuentry 'LinuxMint, with Linux 3.5.0-17-generic (recovery mode)' --class linuxmint --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-3.5.0-17-generic-recovery-c942ebc8-5bd6-4264-9601-2fbbb2dd1cdd' {
  232. recordfail
  233. insmod gzio
  234. insmod part_gpt
  235. insmod ext2
  236. set root='hd0,gpt7'
  237. if [ x$feature_platform_search_hint = xy ]; then
  238. search --no-floppy --fs-uuid --set=root --hint-bios=hd0,gpt7 --hint-efi=hd0,gpt7 --hint-baremetal=ahci0,gpt7 c942ebc8-5bd6-4264-9601-2fbbb2dd1cdd
  239. else
  240. search --no-floppy --fs-uuid --set=root c942ebc8-5bd6-4264-9601-2fbbb2dd1cdd
  241. fi
  242. echo 'Loading Linux 3.5.0-17-generic ...'
  243. linux /boot/vmlinuz-3.5.0-17-generic root=UUID=c942ebc8-5bd6-4264-9601-2fbbb2dd1cdd ro recovery nomodeset
  244. echo 'Loading initial ramdisk ...'
  245. initrd /boot/initrd.img-3.5.0-17-generic
  246. }
  247. }
  248. ### END /etc/grub.d/10_linux ###
  249. ### BEGIN /etc/grub.d/20_linux_xen ###
  250. ### END /etc/grub.d/20_linux_xen ###
  251. ### BEGIN /etc/grub.d/30_os-prober ###
  252. menuentry 'Windows 7 (loader) (on /dev/sda3)' --class windows --class os $menuentry_id_option 'osprober-chain-8AF24081F240738B' {
  253. insmod part_gpt
  254. insmod ntfs
  255. set root='hd0,gpt3'
  256. if [ x$feature_platform_search_hint = xy ]; then
  257. search --no-floppy --fs-uuid --set=root --hint-bios=hd0,gpt3 --hint-efi=hd0,gpt3 --hint-baremetal=ahci0,gpt3 8AF24081F240738B
  258. else
  259. search --no-floppy --fs-uuid --set=root 8AF24081F240738B
  260. fi
  261. chainloader +1
  262. }
  263. menuentry 'Windows Recovery Environment (loader) (on /dev/sda5)' --class windows --class os $menuentry_id_option 'osprober-chain-AC7A43BA7A438056' {
  264. insmod part_gpt
  265. insmod ntfs
  266. set root='hd0,gpt5'
  267. if [ x$feature_platform_search_hint = xy ]; then
  268. search --no-floppy --fs-uuid --set=root --hint-bios=hd0,gpt5 --hint-efi=hd0,gpt5 --hint-baremetal=ahci0,gpt5 AC7A43BA7A438056
  269. else
  270. search --no-floppy --fs-uuid --set=root AC7A43BA7A438056
  271. fi
  272. drivemap -s (hd0) ${root}
  273. chainloader +1
  274. }
  275. ### END /etc/grub.d/30_os-prober ###
  276. ### BEGIN /etc/grub.d/30_uefi-firmware ###
  277. ### END /etc/grub.d/30_uefi-firmware ###
  278. ### BEGIN /etc/grub.d/40_custom ###
  279. # This file provides an easy way to add custom menu entries. Simply type the
  280. # menu entries you want to add after this comment. Be careful not to change
  281. # the 'exec tail' line above.
  282. ### END /etc/grub.d/40_custom ###
  283. ### BEGIN /etc/grub.d/41_custom ###
  284. if [ -f ${config_directory}/custom.cfg ]; then
  285. source ${config_directory}/custom.cfg
  286. elif [ -z "${config_directory}" -a -f $prefix/custom.cfg ]; then
  287. source $prefix/custom.cfg;
  288. fi
  289. ### END /etc/grub.d/41_custom ###
  290. --------------------------------------------------------------------------------
  291. =============================== sda7/etc/fstab: ================================
  292. --------------------------------------------------------------------------------
  293. # /etc/fstab: static file system information.
  294. #
  295. # Use 'blkid' to print the universally unique identifier for a
  296. # device; this may be used with UUID= as a more robust way to name devices
  297. # that works even if disks are added and removed. See fstab(5).
  298. #
  299. # <file system> <mount point> <type> <options> <dump> <pass>
  300. proc /proc proc nodev,noexec,nosuid 0 0
  301. # / was on /dev/sda7 during installation
  302. UUID=c942ebc8-5bd6-4264-9601-2fbbb2dd1cdd / ext4 errors=remount-ro 0 1
  303. # swap was on /dev/sda8 during installation
  304. UUID=eb8c774b-c6da-4a71-9de4-41997049193d none swap sw 0 0
  305. --------------------------------------------------------------------------------
  306. =================== sda7: Location of files loaded by Grub: ====================
  307. GiB - GB File Fragment(s)
  308. 392.249519348 = 421.174714368 boot/grub/grub.cfg 1
  309. 377.040019989 = 404.843638784 boot/initrd.img-3.5.0-17-generic 1
  310. 392.239219666 = 421.163655168 boot/vmlinuz-3.5.0-17-generic 1
  311. 377.040019989 = 404.843638784 initrd.img 1
  312. 392.239219666 = 421.163655168 vmlinuz 1
  313. =============================== StdErr Messages: ===============================
  314. cat: write error: Broken pipe
  315. cat: write error: Broken pipe
  316. File descriptor 9 (/proc/5565/mounts) leaked on lvscan invocation. Parent PID 30139: bash
  317. No volume groups found
  318. ADDITIONAL INFORMATION :
  319. =================== log of boot-repair 2012-12-29__23h45 ===================
  320. boot-repair version : 3.197~ppa13~quantal
  321. boot-sav version : 3.197~ppa13~quantal
  322. glade2script version : 3.2.2~ppa45~quantal
  323. boot-sav-extra version : 3.197~ppa13~quantal
  324. boot-repair is executed in live-session (Linux Mint 14 Nadia, nadia, LinuxMint, x86_64)
  325. CPU op-mode(s): 32-bit, 64-bit
  326. file=/cdrom/preseed/mint.seed boot=casper initrd=/casper/initrd.lz quiet splash -- BOOT_IMAGE=/casper/vmlinuz
  327. WARNING: GPT (GUID Partition Table) detected on '/dev/sda'! The util fdisk doesn't support GPT. Use GNU Parted.
  328. =================== os-prober:
  329. /dev/sda3:Windows 7 (loader):Windows:chain
  330. /dev/sda5:Windows Recovery Environment (loader):Windows1:chain
  331. /dev/sda7:Linux Mint 14 Nadia (14):LinuxMint:linux
  332. =================== blkid:
  333. /dev/loop0: TYPE="squashfs"
  334. /dev/sda1: UUID="BA0884A9088465EB" TYPE="ntfs"
  335. /dev/sda3: LABEL="OS" UUID="8AF24081F240738B" TYPE="ntfs"
  336. /dev/sda4: LABEL="DATA" UUID="7C5A04CA5A04835E" TYPE="ntfs"
  337. /dev/sda5: LABEL="Recovery" UUID="AC7A43BA7A438056" TYPE="ntfs"
  338. /dev/sda7: UUID="c942ebc8-5bd6-4264-9601-2fbbb2dd1cdd" TYPE="ext4"
  339. /dev/sda8: UUID="eb8c774b-c6da-4a71-9de4-41997049193d" TYPE="swap"
  340. /dev/sr0: LABEL="Linux Mint 14 KDE 64-bit" TYPE="iso9660"
  341. 1 disks with OS, 3 OS : 1 Linux, 0 MacOS, 2 Windows, 0 unknown type OS.
  342. WARNING: GPT (GUID Partition Table) detected on '/dev/sda'! The util sfdisk doesn't support GPT. Use GNU Parted.
  343. WARNING: GPT (GUID Partition Table) detected on '/dev/sda'! The util fdisk doesn't support GPT. Use GNU Parted.
  344. Presence of EFI/Microsoft file detected: /mnt/boot-sav/sda3/EFI/Microsoft/Boot/bootmgfw.efi
  345. Presence of EFI/Boot file detected: /mnt/boot-sav/sda3/EFI/Boot/bootx64.efi
  346. =================== sda7/etc/default/grub :
  347. # If you change this file, run 'update-grub' afterwards to update
  348. # /boot/grub/grub.cfg.
  349. # For full documentation of the options in this file, see:
  350. # info -f grub -n 'Simple configuration'
  351. GRUB_DEFAULT=0
  352. #GRUB_HIDDEN_TIMEOUT=0
  353. GRUB_HIDDEN_TIMEOUT_QUIET=true
  354. GRUB_TIMEOUT=10
  355. GRUB_DISTRIBUTOR=`lsb_release -i -s 2> /dev/null || echo Debian`
  356. GRUB_CMDLINE_LINUX_DEFAULT="quiet splash"
  357. GRUB_CMDLINE_LINUX=""
  358. # Uncomment to enable BadRAM filtering, modify to suit your needs
  359. # This works with Linux (no patch required) and with any kernel that obtains
  360. # the memory map information from GRUB (GNU Mach, kernel of FreeBSD ...)
  361. #GRUB_BADRAM="0x01234567,0xfefefefe,0x89abcdef,0xefefefef"
  362. # Uncomment to disable graphical terminal (grub-pc only)
  363. #GRUB_TERMINAL=console
  364. # The resolution used on graphical terminal
  365. # note that you can use only modes which your graphic card supports via VBE
  366. # you can see them in real GRUB with the command `vbeinfo'
  367. #GRUB_GFXMODE=640x480
  368. # Uncomment if you don't want GRUB to pass "root=UUID=xxx" parameter to Linux
  369. #GRUB_DISABLE_LINUX_UUID=true
  370. # Uncomment to disable generation of recovery mode menu entries
  371. #GRUB_DISABLE_RECOVERY="true"
  372. # Uncomment to get a beep at grub start
  373. #GRUB_INIT_TUNE="480 440 1"
  374. =================== sda7/etc/grub.d/ :
  375. drwxr-xr-x 2 root root 4096 Nov 19 14:34 grub.d
  376. total 88
  377. -rwxr-xr-x 1 root root 7541 Oct 14 17:36 00_header
  378. -rwxr-xr-x 1 root root 5488 Oct 4 09:30 05_debian_theme
  379. -rwxr-xr-x 1 root root 1183 Oct 23 2011 06_mint_theme
  380. -rwxr-xr-x 1 root root 10891 Oct 14 17:36 10_linux
  381. -rwxr-xr-x 1 root root 10634 Oct 1 13:44 10_lupin
  382. -rwxr-xr-x 1 root root 10258 Oct 14 17:36 20_linux_xen
  383. -rwxr-xr-x 1 root root 1688 Oct 11 14:10 20_memtest86+
  384. -rwxr-xr-x 1 root root 10976 Oct 14 17:36 30_os-prober
  385. -rwxr-xr-x 1 root root 1426 Oct 14 17:36 30_uefi-firmware
  386. -rwxr-xr-x 1 root root 214 Oct 14 17:36 40_custom
  387. -rwxr-xr-x 1 root root 216 Oct 14 17:36 41_custom
  388. -rw-r--r-- 1 root root 483 Oct 14 17:36 README
  389. =================== UEFI/Legacy mode:
  390. BIOS is EFI-compatible, but it is not setup in EFI-mode for this live-session.
  391. SecureBoot maybe enabled.
  392. =================== PARTITIONS & DISKS:
  393. 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, no-bmgr, notwinboot, nopakmgr, nogrubinstall, no---usr, part-has-no-fstab, not-sep-usr, standard, not-far, /mnt/boot-sav/sda1.
  394. sda3 : 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, bootmgr, is-winboot, nopakmgr, nogrubinstall, no---usr, part-has-no-fstab, not-sep-usr, standard, farbios, /mnt/boot-sav/sda3.
  395. sda4 : 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, no-bmgr, notwinboot, nopakmgr, nogrubinstall, no---usr, part-has-no-fstab, not-sep-usr, standard, farbios, /mnt/boot-sav/sda4.
  396. sda5 : 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, no-winload, recovery-or-hidden, bootmgr, is-winboot, nopakmgr, nogrubinstall, no---usr, part-has-no-fstab, not-sep-usr, standard, farbios, /mnt/boot-sav/sda5.
  397. sda7 : 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/sda7.
  398. sda : GPT, BIOS_boot, has-no-EFIpart, not-usb, has-os, 2048 sectors * 512 bytes
  399. =================== parted -l:
  400. Model: ATA Hitachi HTS54505 (scsi)
  401. Disk /dev/sda: 500GB
  402. Sector size (logical/physical): 512B/4096B
  403. Partition Table: gpt
  404. Number Start End Size File system Name Flags
  405. 1 1049kB 211MB 210MB ntfs EFI system partition boot
  406. 2 211MB 345MB 134MB Microsoft reserved partition msftres
  407. 3 345MB 200GB 200GB ntfs Basic data partition
  408. 4 200GB 404GB 203GB ntfs Basic data partition
  409. 6 404GB 404GB 1049kB bios_grub
  410. 7 404GB 467GB 63.1GB ext4
  411. 8 467GB 473GB 6322MB linux-swap(v1)
  412. 5 473GB 500GB 26.8GB ntfs Basic data partition diag
  413. Warning: Unable to open /dev/sr0 read-write (Read-only file system). /dev/sr0
  414. has been opened read-only.
  415. Error: Invalid partition table - recursive partition on /dev/sr0.
  416. =================== parted -lm:
  417. BYT;
  418. /dev/sda:500GB:scsi:512:4096:gpt:ATA Hitachi HTS54505;
  419. 1:1049kB:211MB:210MB:ntfs:EFI system partition:boot;
  420. 2:211MB:345MB:134MB::Microsoft reserved partition:msftres;
  421. 3:345MB:200GB:200GB:ntfs:Basic data partition:;
  422. 4:200GB:404GB:203GB:ntfs:Basic data partition:;
  423. 6:404GB:404GB:1049kB:::bios_grub;
  424. 7:404GB:467GB:63.1GB:ext4::;
  425. 8:467GB:473GB:6322MB:linux-swap(v1)::;
  426. 5:473GB:500GB:26.8GB:ntfs:Basic data partition:diag;
  427. Warning: Unable to open /dev/sr0 read-write (Read-only file system). /dev/sr0
  428. has been opened read-only.
  429. Error: Invalid partition table - recursive partition on /dev/sr0.
  430. =================== mount:
  431. aufs on / type aufs (rw)
  432. proc on /proc type proc (rw,noexec,nosuid,nodev)
  433. sysfs on /sys type sysfs (rw,noexec,nosuid,nodev)
  434. udev on /dev type devtmpfs (rw,mode=0755)
  435. devpts on /dev/pts type devpts (rw,noexec,nosuid,gid=5,mode=0620)
  436. tmpfs on /run type tmpfs (rw,noexec,nosuid,size=10%,mode=0755)
  437. /dev/sr0 on /cdrom type iso9660 (ro,noatime)
  438. /dev/loop0 on /rofs type squashfs (ro,noatime)
  439. none on /sys/fs/fuse/connections type fusectl (rw)
  440. none on /sys/kernel/debug type debugfs (rw)
  441. none on /sys/kernel/security type securityfs (rw)
  442. tmpfs on /tmp type tmpfs (rw,nosuid,nodev)
  443. none on /run/lock type tmpfs (rw,noexec,nosuid,nodev,size=5242880)
  444. none on /run/shm type tmpfs (rw,nosuid,nodev)
  445. none on /run/user type tmpfs (rw,noexec,nosuid,nodev,size=104857600,mode=0755)
  446. /dev/sda1 on /mnt/boot-sav/sda1 type fuseblk (rw,nosuid,nodev,allow_other,blksize=4096)
  447. /dev/sda3 on /mnt/boot-sav/sda3 type fuseblk (rw,nosuid,nodev,allow_other,blksize=4096)
  448. /dev/sda4 on /mnt/boot-sav/sda4 type fuseblk (rw,nosuid,nodev,allow_other,blksize=4096)
  449. /dev/sda5 on /mnt/boot-sav/sda5 type fuseblk (rw,nosuid,nodev,allow_other,blksize=4096)
  450. /dev/sda7 on /mnt/boot-sav/sda7 type ext4 (rw)
  451. =================== ls:
  452. /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 sda3 sda4 sda5 sda6 sda7 sda8 size slaves stat subsystem trace uevent
  453. /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
  454. /dev (filtered): alarm ashmem autofs binder block bsg btrfs-control bus cdrom cdrw char console core cpu cpu_dma_latency disk dri dvd dvdrw ecryptfs fb0 fb1 fd full fuse hidraw0 hpet input kmsg kvm log mapper mcelog mei mem net network_latency network_throughput null oldmem port ppp psaux ptmx pts random rfkill rtc rtc0 sda sda1 sda2 sda3 sda4 sda5 sda6 sda7 sda8 sg0 sg1 shm snapshot snd sr0 stderr stdin stdout uinput urandom v4l vga_arbiter vhost-net video0 zero
  455. ls /dev/mapper: control
  456. WARNING: GPT (GUID Partition Table) detected on '/dev/sda'! The util fdisk doesn't support GPT. Use GNU Parted.
  457. =================== df -Th:
  458. Filesystem Type Size Used Avail Use% Mounted on
  459. aufs aufs 2.9G 355M 2.6G 13% /
  460. udev devtmpfs 2.9G 12K 2.9G 1% /dev
  461. tmpfs tmpfs 1.2G 1016K 1.2G 1% /run
  462. /dev/sr0 iso9660 1.1G 1.1G 0 100% /cdrom
  463. /dev/loop0 squashfs 1007M 1007M 0 100% /rofs
  464. tmpfs tmpfs 2.9G 56K 2.9G 1% /tmp
  465. none tmpfs 5.0M 0 5.0M 0% /run/lock
  466. none tmpfs 2.9G 172K 2.9G 1% /run/shm
  467. none tmpfs 100M 12K 100M 1% /run/user
  468. /dev/sda1 fuseblk 200M 16M 185M 8% /mnt/boot-sav/sda1
  469. /dev/sda3 fuseblk 187G 166G 22G 89% /mnt/boot-sav/sda3
  470. /dev/sda4 fuseblk 190G 128G 63G 68% /mnt/boot-sav/sda4
  471. /dev/sda5 fuseblk 25G 18G 7.1G 72% /mnt/boot-sav/sda5
  472. /dev/sda7 ext4 58G 3.6G 52G 7% /mnt/boot-sav/sda7
  473. =================== fdisk -l:
  474. Disk /dev/sda: 500.1 GB, 500107862016 bytes
  475. 255 heads, 63 sectors/track, 60801 cylinders, total 976773168 sectors
  476. Units = sectors of 1 * 512 = 512 bytes
  477. Sector size (logical/physical): 512 bytes / 4096 bytes
  478. I/O size (minimum/optimal): 4096 bytes / 4096 bytes
  479. Disk identifier: 0x527cd163
  480. Device Boot Start End Blocks Id System
  481. /dev/sda1 1 976773167 488386583+ ee GPT
  482. Partition 1 does not start on physical sector boundary.
  483. =================== Default settings
  484. Recommended-Repair
  485. This setting would reinstall the grub2 of sda7 into the MBR of sda.
  486. Additional repair would be performed: unhide-bootmenu-10s
  487. =================== Settings chosen by the user
  488. Custom-Repair
  489. This setting will purge () and reinstall the grub2 of sda7 into the MBR of sda.
  490. Additional repair will be performed: unhide-bootmenu-10s repair-filesystems
  491. Force Unmount all blkid partitions (for fsck) except / /boot /cdrom /dev /etc /home /opt /pas /proc /rofs /sys /tmp /usr /var
  492. WARNING: GPT (GUID Partition Table) detected on '/dev/sda'! The util fdisk doesn't support GPT. Use GNU Parted.
  493. fsck -fyM /dev/sda1
  494. fsck from util-linux 2.20.1
  495. WARNING: GPT (GUID Partition Table) detected on '/dev/sda'! The util fdisk doesn't support GPT. Use GNU Parted.
  496. fsck -fyM /dev/sda3
  497. fsck from util-linux 2.20.1
  498. WARNING: GPT (GUID Partition Table) detected on '/dev/sda'! The util fdisk doesn't support GPT. Use GNU Parted.
  499. fsck -fyM /dev/sda4
  500. fsck from util-linux 2.20.1
  501. WARNING: GPT (GUID Partition Table) detected on '/dev/sda'! The util fdisk doesn't support GPT. Use GNU Parted.
  502. fsck -fyM /dev/sda5
  503. fsck from util-linux 2.20.1
  504. WARNING: GPT (GUID Partition Table) detected on '/dev/sda'! The util fdisk doesn't support GPT. Use GNU Parted.
  505. fsck -fyM /dev/sda7
  506. fsck from util-linux 2.20.1
  507. chroot /mnt/boot-sav/sda7 apt-get -y --force-yes update
  508. Purge the GRUB of sda7
  509. grub-pc available
  510. 0 upgraded, 0 newly installed, 1 reinstalled, 0 to remove and 329 not upgraded.
  511. DEBCHECK debOK, grub-pc
  512. DEBCHECK debOK
  513. shim-signed available
  514. linux-signed-generic available
  515. Please type: sudo chroot "/mnt/boot-sav/sda7" dpkg --configure -ansudo chroot "/mnt/boot-sav/sda7" apt-get install -fynsudo chroot "/mnt/boot-sav/sda7" apt-get purge -y --force-yes grub*-common lupin-s* shim-signed linux-signed*
  516. =================== sda7/etc/grub.d/ :
  517. drwxr-xr-x 2 root root 4096 Dec 29 23:52 grub.d
  518. total 8
  519. -rwxr-xr-x 1 root root 1183 Oct 23 2011 06_mint_theme
  520. -rwxr-xr-x 1 root root 1688 Oct 11 14:10 20_memtest86+
  521. Then type: sudo chroot "/mnt/boot-sav/sda7" apt-get install -y --force-yes grub-pc linux
  522. =================== sda7/etc/default/grub :
  523. # If you change this file, run 'update-grub' afterwards to update
  524. # /boot/grub/grub.cfg.
  525. # For full documentation of the options in this file, see:
  526. # info -f grub -n 'Simple configuration'
  527. GRUB_DEFAULT=0
  528. GRUB_HIDDEN_TIMEOUT=0
  529. GRUB_HIDDEN_TIMEOUT_QUIET=true
  530. GRUB_TIMEOUT=10
  531. GRUB_DISTRIBUTOR=`lsb_release -i -s 2> /dev/null || echo Debian`
  532. GRUB_CMDLINE_LINUX_DEFAULT="quiet splash"
  533. GRUB_CMDLINE_LINUX=""
  534. # Uncomment to enable BadRAM filtering, modify to suit your needs
  535. # This works with Linux (no patch required) and with any kernel that obtains
  536. # the memory map information from GRUB (GNU Mach, kernel of FreeBSD ...)
  537. #GRUB_BADRAM="0x01234567,0xfefefefe,0x89abcdef,0xefefefef"
  538. # Uncomment to disable graphical terminal (grub-pc only)
  539. #GRUB_TERMINAL=console
  540. # The resolution used on graphical terminal
  541. # note that you can use only modes which your graphic card supports via VBE
  542. # you can see them in real GRUB with the command `vbeinfo'
  543. #GRUB_GFXMODE=640x480
  544. # Uncomment if you don't want GRUB to pass "root=UUID=xxx" parameter to Linux
  545. #GRUB_DISABLE_LINUX_UUID=true
  546. # Uncomment to disable generation of recovery mode menu entries
  547. #GRUB_DISABLE_RECOVERY="true"
  548. # Uncomment to get a beep at grub start
  549. #GRUB_INIT_TUNE="480 440 1"
  550. =================== sda7/etc/grub.d/ :
  551. drwxr-xr-x 2 root root 4096 Dec 29 23:53 grub.d
  552. drwxr-xr-x 2 root root 4096 Dec 29 23:52 grub.d.bak
  553. total 68
  554. -rwxr-xr-x 1 root root 7541 Oct 14 17:36 00_header
  555. -rwxr-xr-x 1 root root 5488 Oct 4 09:30 05_debian_theme
  556. -rwxr-xr-x 1 root root 10891 Oct 14 17:36 10_linux
  557. -rwxr-xr-x 1 root root 10258 Oct 14 17:36 20_linux_xen
  558. -rwxr-xr-x 1 root root 10976 Oct 14 17:36 30_os-prober
  559. -rwxr-xr-x 1 root root 1426 Oct 14 17:36 30_uefi-firmware
  560. -rwxr-xr-x 1 root root 214 Oct 14 17:36 40_custom
  561. -rwxr-xr-x 1 root root 216 Oct 14 17:36 41_custom
  562. -rw-r--r-- 1 root root 483 Oct 14 17:36 README
  563. Unhide GRUB boot menu in sda7/etc/default/grub
  564. =================== sda7/etc/default/grub :
  565. # If you change this file, run 'update-grub' afterwards to update
  566. # /boot/grub/grub.cfg.
  567. # For full documentation of the options in this file, see:
  568. # info -f grub -n 'Simple configuration'
  569. GRUB_DEFAULT=0
  570. #GRUB_HIDDEN_TIMEOUT=0
  571. GRUB_HIDDEN_TIMEOUT_QUIET=true
  572. GRUB_TIMEOUT=10
  573. GRUB_DISTRIBUTOR=`lsb_release -i -s 2> /dev/null || echo Debian`
  574. GRUB_CMDLINE_LINUX_DEFAULT="quiet splash"
  575. GRUB_CMDLINE_LINUX=""
  576. # Uncomment to enable BadRAM filtering, modify to suit your needs
  577. # This works with Linux (no patch required) and with any kernel that obtains
  578. # the memory map information from GRUB (GNU Mach, kernel of FreeBSD ...)
  579. #GRUB_BADRAM="0x01234567,0xfefefefe,0x89abcdef,0xefefefef"
  580. # Uncomment to disable graphical terminal (grub-pc only)
  581. #GRUB_TERMINAL=console
  582. # The resolution used on graphical terminal
  583. # note that you can use only modes which your graphic card supports via VBE
  584. # you can see them in real GRUB with the command `vbeinfo'
  585. #GRUB_GFXMODE=640x480
  586. # Uncomment if you don't want GRUB to pass "root=UUID=xxx" parameter to Linux
  587. #GRUB_DISABLE_LINUX_UUID=true
  588. # Uncomment to disable generation of recovery mode menu entries
  589. #GRUB_DISABLE_RECOVERY="true"
  590. # Uncomment to get a beep at grub start
  591. #GRUB_INIT_TUNE="480 440 1"
  592. =================== sda7/etc/grub.d/ :
  593. drwxr-xr-x 2 root root 4096 Dec 29 23:53 grub.d
  594. drwxr-xr-x 2 root root 4096 Dec 29 23:52 grub.d.bak
  595. total 68
  596. -rwxr-xr-x 1 root root 7541 Oct 14 17:36 00_header
  597. -rwxr-xr-x 1 root root 5488 Oct 4 09:30 05_debian_theme
  598. -rwxr-xr-x 1 root root 10891 Oct 14 17:36 10_linux
  599. -rwxr-xr-x 1 root root 10258 Oct 14 17:36 20_linux_xen
  600. -rwxr-xr-x 1 root root 10976 Oct 14 17:36 30_os-prober
  601. -rwxr-xr-x 1 root root 1426 Oct 14 17:36 30_uefi-firmware
  602. -rwxr-xr-x 1 root root 214 Oct 14 17:36 40_custom
  603. -rwxr-xr-x 1 root root 216 Oct 14 17:36 41_custom
  604. -rw-r--r-- 1 root root 483 Oct 14 17:36 README
  605. grub-install (GRUB) 2.00-7ubuntu11,grub-install (GRUB) 2.
  606. Reinstall the GRUB of sda7 into the MBR of sda
  607. Installation finished. No error reported.
  608. grub-install /dev/sda: exit code of grub-install /dev/sda:0
  609. chroot /mnt/boot-sav/sda7 update-grub
  610. Generating grub.cfg ...
  611. Found linux image: /boot/vmlinuz-3.5.0-17-generic
  612. Found initrd image: /boot/initrd.img-3.5.0-17-generic
  613. Found Windows 7 (loader) on /dev/sda3
  614. Found Windows Recovery Environment (loader) on /dev/sda5
  615. Unhide GRUB boot menu in sda7/boot/grub/grub.cfg
  616. Boot successfully repaired.
  617. You can now reboot your computer.