1. Boot Info Script e7fc706 + Boot-Repair extra info [Boot-Info 23Nov2014]
  2. ============================= Boot Info Summary: ===============================
  3. => Syslinux MBR (4.04 and higher) is installed in the MBR of /dev/sda.
  4. => Grub2 (v2.00) is installed in the MBR of /dev/sdb and looks at sector 1 of
  5. the same hard drive for core.img. core.img is at this location and looks
  6. for (,msdos1)/boot/grub.
  7. sda1: __________________________________________________________________________
  8. File system: ext4
  9. Boot sector type: -
  10. Boot sector info:
  11. Operating System: Deepin
  12. Boot files: /boot/grub/grub.cfg /etc/fstab
  13. /boot/grub/i386-pc/core.img
  14. sda2: __________________________________________________________________________
  15. File system: swap
  16. Boot sector type: -
  17. Boot sector info:
  18. sdb1: __________________________________________________________________________
  19. File system: ext4
  20. Boot sector type: -
  21. Boot sector info:
  22. Operating System: Manjaro Linux () ()
  23. Boot files: /boot/grub/grub.cfg /etc/fstab
  24. /boot/syslinux/syslinux.cfg /boot/grub/i386-pc/core.img
  25. sdb2: __________________________________________________________________________
  26. File system: ext4
  27. Boot sector type: -
  28. Boot sector info:
  29. Operating System:
  30. Boot files:
  31. sdb3: __________________________________________________________________________
  32. File system: swap
  33. Boot sector type: -
  34. Boot sector info:
  35. ============================ Drive/Partition Info: =============================
  36. Drive: sda _____________________________________________________________________
  37. Disk /dev/sda: 1000.2 GB, 1000204886016 bytes
  38. 255 heads, 63 sectors/track, 121601 cylinders, total 1953525168 sectors
  39. Units = sectors of 1 * 512 = 512 bytes
  40. Sector size (logical/physical): 512 bytes / 512 bytes
  41. Partition Boot Start Sector End Sector # of Sectors Id System
  42. /dev/sda1 * 2,048 1,933,990,328 1,933,988,281 83 Linux
  43. /dev/sda2 1,933,990,329 1,953,520,064 19,529,736 83 Linux
  44. Drive: sdb _____________________________________________________________________
  45. Disk /dev/sdb: 1000.2 GB, 1000204886016 bytes
  46. 255 heads, 63 sectors/track, 121601 cylinders, total 1953525168 sectors
  47. Units = sectors of 1 * 512 = 512 bytes
  48. Sector size (logical/physical): 512 bytes / 512 bytes
  49. Partition Boot Start Sector End Sector # of Sectors Id System
  50. /dev/sdb1 * 2,048 204,802,047 204,800,000 83 Linux
  51. /dev/sdb2 204,802,048 1,912,565,759 1,707,763,712 83 Linux
  52. /dev/sdb3 1,912,565,760 1,953,523,711 40,957,952 82 Linux swap / Solaris
  53. "blkid" output: ________________________________________________________________
  54. Device UUID TYPE LABEL
  55. /dev/loop0 squashfs
  56. /dev/sda1 1afb857c-7db1-40ee-b88a-a071bdd173d7 ext4
  57. /dev/sda2 6afcc644-20fe-4260-9c59-5834367fbf7d swap
  58. /dev/sdb1 048595e5-9e25-490c-82ad-41ed6c8ae191 ext4 Manjaro
  59. /dev/sdb2 27db76a9-dc7b-49d7-9683-e182bdc91cf0 ext4 Documents
  60. /dev/sdb3 ffd508d4-e53f-4d1c-84cc-ba1349172708 swap
  61. /dev/sr0 iso9660 Boot-Repair-Disk 64bit
  62. /dev/zram0 bc50f1a6-7eee-421c-836d-9c0b32431be0 swap
  63. /dev/zram1 524c6c6a-0121-421d-a9d8-552c909b9a4a swap
  64. /dev/zram2 08071a95-f9d0-462e-ab00-025283a9b98a swap
  65. /dev/zram3 149360dd-c8c6-4f82-9a2e-ae34b2007875 swap
  66. ========================= "ls -l /dev/disk/by-id" output: ======================
  67. total 0
  68. lrwxrwxrwx 1 root root 9 Oct 19 19:56 ata-SAMSUNG_HD103SJ_S2C8JD2Z900521 -> ../../sda
  69. lrwxrwxrwx 1 root root 10 Oct 19 2015 ata-SAMSUNG_HD103SJ_S2C8JD2Z900521-part1 -> ../../sda1
  70. lrwxrwxrwx 1 root root 10 Oct 19 2015 ata-SAMSUNG_HD103SJ_S2C8JD2Z900521-part2 -> ../../sda2
  71. lrwxrwxrwx 1 root root 9 Oct 19 19:56 ata-WL1000GSA6454G_WOCL25001285980 -> ../../sdb
  72. lrwxrwxrwx 1 root root 10 Oct 19 2015 ata-WL1000GSA6454G_WOCL25001285980-part1 -> ../../sdb1
  73. lrwxrwxrwx 1 root root 10 Oct 19 2015 ata-WL1000GSA6454G_WOCL25001285980-part2 -> ../../sdb2
  74. lrwxrwxrwx 1 root root 10 Oct 19 2015 ata-WL1000GSA6454G_WOCL25001285980-part3 -> ../../sdb3
  75. lrwxrwxrwx 1 root root 9 Oct 19 2015 usb-HL-DT-ST_DVD+-RW_GP60N_DA00000000000000089-0:0 -> ../../sr0
  76. lrwxrwxrwx 1 root root 9 Oct 19 19:56 wwn-0x50014ee205851c9b -> ../../sdb
  77. lrwxrwxrwx 1 root root 10 Oct 19 2015 wwn-0x50014ee205851c9b-part1 -> ../../sdb1
  78. lrwxrwxrwx 1 root root 10 Oct 19 2015 wwn-0x50014ee205851c9b-part2 -> ../../sdb2
  79. lrwxrwxrwx 1 root root 10 Oct 19 2015 wwn-0x50014ee205851c9b-part3 -> ../../sdb3
  80. lrwxrwxrwx 1 root root 9 Oct 19 19:56 wwn-0x50024e9004091b3d -> ../../sda
  81. lrwxrwxrwx 1 root root 10 Oct 19 2015 wwn-0x50024e9004091b3d-part1 -> ../../sda1
  82. lrwxrwxrwx 1 root root 10 Oct 19 2015 wwn-0x50024e9004091b3d-part2 -> ../../sda2
  83. ================================ Mount points: =================================
  84. Device Mount_Point Type Options
  85. /dev /mnt/boot-sav/sda1/dev none (rw,bind)
  86. /dev/loop0 /rofs squashfs (ro,noatime)
  87. /dev/pts /mnt/boot-sav/sda1/dev/pts none (rw,bind)
  88. /dev/sda1 /mnt/boot-sav/sda1 ext4 (ro)
  89. /dev/sr0 /cdrom iso9660 (ro,noatime)
  90. =========================== sda1/boot/grub/grub.cfg: ===========================
  91. --------------------------------------------------------------------------------
  92. #
  93. # DO NOT EDIT THIS FILE
  94. #
  95. # It is automatically generated by grub-mkconfig using templates
  96. # from /etc/grub.d and settings from /etc/default/grub
  97. #
  98. ### BEGIN /etc/grub.d/00_header ###
  99. if [ -s $prefix/grubenv ]; then
  100. set have_grubenv=true
  101. load_env
  102. fi
  103. if [ "${next_entry}" ] ; then
  104. set default="${next_entry}"
  105. set next_entry=
  106. save_env next_entry
  107. set boot_once=true
  108. else
  109. set default="Deepin GNU/Linux"
  110. fi
  111. if [ x"${feature_menuentry_id}" = xy ]; then
  112. menuentry_id_option="--id"
  113. else
  114. menuentry_id_option=""
  115. fi
  116. export menuentry_id_option
  117. if [ "${prev_saved_entry}" ]; then
  118. set saved_entry="${prev_saved_entry}"
  119. save_env saved_entry
  120. set prev_saved_entry=
  121. save_env prev_saved_entry
  122. set boot_once=true
  123. fi
  124. function savedefault {
  125. if [ -z "${boot_once}" ]; then
  126. saved_entry="${chosen}"
  127. save_env saved_entry
  128. fi
  129. }
  130. function recordfail {
  131. set recordfail=1
  132. if [ -n "${have_grubenv}" ]; then if [ -z "${boot_once}" ]; then save_env recordfail; fi; fi
  133. }
  134. function load_video {
  135. if [ x$feature_all_video_module = xy ]; then
  136. insmod all_video
  137. else
  138. insmod efi_gop
  139. insmod efi_uga
  140. insmod ieee1275_fb
  141. insmod vbe
  142. insmod vga
  143. insmod video_bochs
  144. insmod video_cirrus
  145. fi
  146. }
  147. if [ x$feature_default_font_path = xy ] ; then
  148. font=unicode
  149. else
  150. insmod part_msdos
  151. insmod ext2
  152. set root='hd0,msdos1'
  153. if [ x$feature_platform_search_hint = xy ]; then
  154. search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos1 --hint-efi=hd0,msdos1 --hint-baremetal=ahci0,msdos1 1afb857c-7db1-40ee-b88a-a071bdd173d7
  155. else
  156. search --no-floppy --fs-uuid --set=root 1afb857c-7db1-40ee-b88a-a071bdd173d7
  157. fi
  158. font="/usr/share/grub/unicode.pf2"
  159. fi
  160. if loadfont $font ; then
  161. set gfxmode=1280x1024
  162. load_video
  163. insmod gfxterm
  164. fi
  165. terminal_output gfxterm
  166. insmod part_msdos
  167. insmod ext2
  168. set root='hd0,msdos1'
  169. if [ x$feature_platform_search_hint = xy ]; then
  170. search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos1 --hint-efi=hd0,msdos1 --hint-baremetal=ahci0,msdos1 1afb857c-7db1-40ee-b88a-a071bdd173d7
  171. else
  172. search --no-floppy --fs-uuid --set=root 1afb857c-7db1-40ee-b88a-a071bdd173d7
  173. fi
  174. insmod gfxmenu
  175. loadfont ($root)/boot/grub/themes/deepin/unifont-regular-16.pf2
  176. insmod png
  177. set theme=($root)/boot/grub/themes/deepin/theme.txt
  178. export theme
  179. if [ "${recordfail}" = 1 ] ; then
  180. set timeout=30
  181. else
  182. if [ x$feature_timeout_style = xy ] ; then
  183. set timeout_style=menu
  184. set timeout=5
  185. # Fallback normal timeout code in case the timeout_style feature is
  186. # unavailable.
  187. else
  188. set timeout=5
  189. fi
  190. fi
  191. ### END /etc/grub.d/00_header ###
  192. ### BEGIN /etc/grub.d/10_linux ###
  193. function gfxmode {
  194. set gfxpayload="${1}"
  195. if [ "${1}" = "keep" ]; then
  196. set vt_handoff=vt.handoff=7
  197. else
  198. set vt_handoff=
  199. fi
  200. }
  201. if [ "${recordfail}" != 1 ]; then
  202. if [ -e ${prefix}/gfxblacklist.txt ]; then
  203. if hwmatch ${prefix}/gfxblacklist.txt 3; then
  204. if [ ${match} = 0 ]; then
  205. set linux_gfx_mode=keep
  206. else
  207. set linux_gfx_mode=text
  208. fi
  209. else
  210. set linux_gfx_mode=text
  211. fi
  212. else
  213. set linux_gfx_mode=keep
  214. fi
  215. else
  216. set linux_gfx_mode=text
  217. fi
  218. export linux_gfx_mode
  219. menuentry 'Deepin GNU/Linux' --class deepin --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-simple-1afb857c-7db1-40ee-b88a-a071bdd173d7' {
  220. recordfail
  221. load_video
  222. gfxmode $linux_gfx_mode
  223. insmod gzio
  224. insmod part_msdos
  225. insmod ext2
  226. set root='hd0,msdos1'
  227. if [ x$feature_platform_search_hint = xy ]; then
  228. search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos1 --hint-efi=hd0,msdos1 --hint-baremetal=ahci0,msdos1 1afb857c-7db1-40ee-b88a-a071bdd173d7
  229. else
  230. search --no-floppy --fs-uuid --set=root 1afb857c-7db1-40ee-b88a-a071bdd173d7
  231. fi
  232. linux /boot/vmlinuz-3.13.0-65-generic root=UUID=1afb857c-7db1-40ee-b88a-a071bdd173d7 ro quiet splash $vt_handoff
  233. initrd /boot/initrd.img-3.13.0-65-generic
  234. }
  235. submenu 'Advanced options for Deepin GNU/Linux' $menuentry_id_option 'gnulinux-advanced-1afb857c-7db1-40ee-b88a-a071bdd173d7' {
  236. menuentry 'Deepin GNU/Linux, with Linux 3.13.0-65-generic' --class deepin --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-3.13.0-65-generic-advanced-1afb857c-7db1-40ee-b88a-a071bdd173d7' {
  237. recordfail
  238. load_video
  239. gfxmode $linux_gfx_mode
  240. insmod gzio
  241. insmod part_msdos
  242. insmod ext2
  243. set root='hd0,msdos1'
  244. if [ x$feature_platform_search_hint = xy ]; then
  245. search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos1 --hint-efi=hd0,msdos1 --hint-baremetal=ahci0,msdos1 1afb857c-7db1-40ee-b88a-a071bdd173d7
  246. else
  247. search --no-floppy --fs-uuid --set=root 1afb857c-7db1-40ee-b88a-a071bdd173d7
  248. fi
  249. echo 'Loading Linux 3.13.0-65-generic ...'
  250. linux /boot/vmlinuz-3.13.0-65-generic root=UUID=1afb857c-7db1-40ee-b88a-a071bdd173d7 ro quiet splash $vt_handoff
  251. echo 'Loading initial ramdisk ...'
  252. initrd /boot/initrd.img-3.13.0-65-generic
  253. }
  254. menuentry 'Deepin GNU/Linux, with Linux 3.13.0-65-generic (recovery mode)' --class deepin --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-3.13.0-65-generic-recovery-1afb857c-7db1-40ee-b88a-a071bdd173d7' {
  255. recordfail
  256. load_video
  257. insmod gzio
  258. insmod part_msdos
  259. insmod ext2
  260. set root='hd0,msdos1'
  261. if [ x$feature_platform_search_hint = xy ]; then
  262. search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos1 --hint-efi=hd0,msdos1 --hint-baremetal=ahci0,msdos1 1afb857c-7db1-40ee-b88a-a071bdd173d7
  263. else
  264. search --no-floppy --fs-uuid --set=root 1afb857c-7db1-40ee-b88a-a071bdd173d7
  265. fi
  266. echo 'Loading Linux 3.13.0-65-generic ...'
  267. linux /boot/vmlinuz-3.13.0-65-generic root=UUID=1afb857c-7db1-40ee-b88a-a071bdd173d7 ro recovery nomodeset
  268. echo 'Loading initial ramdisk ...'
  269. initrd /boot/initrd.img-3.13.0-65-generic
  270. }
  271. menuentry 'Deepin GNU/Linux, with Linux 3.13.0-49-generic' --class deepin --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-3.13.0-49-generic-advanced-1afb857c-7db1-40ee-b88a-a071bdd173d7' {
  272. recordfail
  273. load_video
  274. gfxmode $linux_gfx_mode
  275. insmod gzio
  276. insmod part_msdos
  277. insmod ext2
  278. set root='hd0,msdos1'
  279. if [ x$feature_platform_search_hint = xy ]; then
  280. search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos1 --hint-efi=hd0,msdos1 --hint-baremetal=ahci0,msdos1 1afb857c-7db1-40ee-b88a-a071bdd173d7
  281. else
  282. search --no-floppy --fs-uuid --set=root 1afb857c-7db1-40ee-b88a-a071bdd173d7
  283. fi
  284. echo 'Loading Linux 3.13.0-49-generic ...'
  285. linux /boot/vmlinuz-3.13.0-49-generic root=UUID=1afb857c-7db1-40ee-b88a-a071bdd173d7 ro quiet splash $vt_handoff
  286. echo 'Loading initial ramdisk ...'
  287. initrd /boot/initrd.img-3.13.0-49-generic
  288. }
  289. menuentry 'Deepin GNU/Linux, with Linux 3.13.0-49-generic (recovery mode)' --class deepin --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-3.13.0-49-generic-recovery-1afb857c-7db1-40ee-b88a-a071bdd173d7' {
  290. recordfail
  291. load_video
  292. insmod gzio
  293. insmod part_msdos
  294. insmod ext2
  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 1afb857c-7db1-40ee-b88a-a071bdd173d7
  298. else
  299. search --no-floppy --fs-uuid --set=root 1afb857c-7db1-40ee-b88a-a071bdd173d7
  300. fi
  301. echo 'Loading Linux 3.13.0-49-generic ...'
  302. linux /boot/vmlinuz-3.13.0-49-generic root=UUID=1afb857c-7db1-40ee-b88a-a071bdd173d7 ro recovery nomodeset
  303. echo 'Loading initial ramdisk ...'
  304. initrd /boot/initrd.img-3.13.0-49-generic
  305. }
  306. }
  307. ### END /etc/grub.d/10_linux ###
  308. ### BEGIN /etc/grub.d/10_lupin ###
  309. ### END /etc/grub.d/10_lupin ###
  310. ### BEGIN /etc/grub.d/20_linux_xen ###
  311. ### END /etc/grub.d/20_linux_xen ###
  312. ### BEGIN /etc/grub.d/30_os-prober ###
  313. menuentry 'Manjaro Linux (15.09) (on /dev/sdb1)' --class gnu-linux --class gnu --class os $menuentry_id_option 'osprober-gnulinux-simple-048595e5-9e25-490c-82ad-41ed6c8ae191' {
  314. insmod part_msdos
  315. insmod ext2
  316. set root='hd1,msdos1'
  317. if [ x$feature_platform_search_hint = xy ]; then
  318. search --no-floppy --fs-uuid --set=root --hint-bios=hd1,msdos1 --hint-efi=hd1,msdos1 --hint-baremetal=ahci1,msdos1 048595e5-9e25-490c-82ad-41ed6c8ae191
  319. else
  320. search --no-floppy --fs-uuid --set=root 048595e5-9e25-490c-82ad-41ed6c8ae191
  321. fi
  322. linux /boot/vmlinuz-4.1-x86_64 root=UUID=048595e5-9e25-490c-82ad-41ed6c8ae191 rw quiet splash
  323. initrd /boot/intel-ucode.img
  324. }
  325. submenu 'Advanced options for Manjaro Linux (15.09) (on /dev/sdb1)' $menuentry_id_option 'osprober-gnulinux-advanced-048595e5-9e25-490c-82ad-41ed6c8ae191' {
  326. menuentry 'Manjaro Linux (on /dev/sdb1)' --class gnu-linux --class gnu --class os $menuentry_id_option 'osprober-gnulinux-/boot/vmlinuz-4.1-x86_64--048595e5-9e25-490c-82ad-41ed6c8ae191' {
  327. insmod part_msdos
  328. insmod ext2
  329. set root='hd1,msdos1'
  330. if [ x$feature_platform_search_hint = xy ]; then
  331. search --no-floppy --fs-uuid --set=root --hint-bios=hd1,msdos1 --hint-efi=hd1,msdos1 --hint-baremetal=ahci1,msdos1 048595e5-9e25-490c-82ad-41ed6c8ae191
  332. else
  333. search --no-floppy --fs-uuid --set=root 048595e5-9e25-490c-82ad-41ed6c8ae191
  334. fi
  335. linux /boot/vmlinuz-4.1-x86_64 root=UUID=048595e5-9e25-490c-82ad-41ed6c8ae191 rw quiet splash
  336. initrd /boot/intel-ucode.img
  337. }
  338. menuentry 'Manjaro Linux (Kernel 4.1.10-1-MANJARO x64) (on /dev/sdb1)' --class gnu-linux --class gnu --class os $menuentry_id_option 'osprober-gnulinux-/boot/vmlinuz-4.1-x86_64--048595e5-9e25-490c-82ad-41ed6c8ae191' {
  339. insmod part_msdos
  340. insmod ext2
  341. set root='hd1,msdos1'
  342. if [ x$feature_platform_search_hint = xy ]; then
  343. search --no-floppy --fs-uuid --set=root --hint-bios=hd1,msdos1 --hint-efi=hd1,msdos1 --hint-baremetal=ahci1,msdos1 048595e5-9e25-490c-82ad-41ed6c8ae191
  344. else
  345. search --no-floppy --fs-uuid --set=root 048595e5-9e25-490c-82ad-41ed6c8ae191
  346. fi
  347. linux /boot/vmlinuz-4.1-x86_64 root=UUID=048595e5-9e25-490c-82ad-41ed6c8ae191 rw quiet splash
  348. initrd /boot/intel-ucode.img
  349. }
  350. menuentry 'Manjaro Linux (Kernel 4.1.10-1-MANJARO x64 - fallback initramfs) (on /dev/sdb1)' --class gnu-linux --class gnu --class os $menuentry_id_option 'osprober-gnulinux-/boot/vmlinuz-4.1-x86_64--048595e5-9e25-490c-82ad-41ed6c8ae191' {
  351. insmod part_msdos
  352. insmod ext2
  353. set root='hd1,msdos1'
  354. if [ x$feature_platform_search_hint = xy ]; then
  355. search --no-floppy --fs-uuid --set=root --hint-bios=hd1,msdos1 --hint-efi=hd1,msdos1 --hint-baremetal=ahci1,msdos1 048595e5-9e25-490c-82ad-41ed6c8ae191
  356. else
  357. search --no-floppy --fs-uuid --set=root 048595e5-9e25-490c-82ad-41ed6c8ae191
  358. fi
  359. linux /boot/vmlinuz-4.1-x86_64 root=UUID=048595e5-9e25-490c-82ad-41ed6c8ae191 rw quiet splash
  360. initrd /boot/intel-ucode.img
  361. }
  362. }
  363. set timeout_style=menu
  364. if [ "${timeout}" = 0 ]; then
  365. set timeout=10
  366. fi
  367. ### END /etc/grub.d/30_os-prober ###
  368. ### BEGIN /etc/grub.d/30_uefi-firmware ###
  369. ### END /etc/grub.d/30_uefi-firmware ###
  370. ### BEGIN /etc/grub.d/40_custom ###
  371. # This file provides an easy way to add custom menu entries. Simply type the
  372. # menu entries you want to add after this comment. Be careful not to change
  373. # the 'exec tail' line above.
  374. ### END /etc/grub.d/40_custom ###
  375. ### BEGIN /etc/grub.d/41_custom ###
  376. if [ -f ${config_directory}/custom.cfg ]; then
  377. source ${config_directory}/custom.cfg
  378. elif [ -z "${config_directory}" -a -f $prefix/custom.cfg ]; then
  379. source $prefix/custom.cfg;
  380. fi
  381. ### END /etc/grub.d/41_custom ###
  382. --------------------------------------------------------------------------------
  383. =============================== sda1/etc/fstab: ================================
  384. --------------------------------------------------------------------------------
  385. # /dev/sdb1
  386. UUID=1afb857c-7db1-40ee-b88a-a071bdd173d7 / ext4 rw,relatime,data=ordered 0 1
  387. # /dev/sda3
  388. UUID=ffd508d4-e53f-4d1c-84cc-ba1349172708 none swap defaults 0 0
  389. # /dev/sdb2
  390. UUID=6afcc644-20fe-4260-9c59-5834367fbf7d none swap defaults,pri=-2 0 0
  391. --------------------------------------------------------------------------------
  392. =========================== sdb1/boot/grub/grub.cfg: ===========================
  393. --------------------------------------------------------------------------------
  394. #
  395. # DO NOT EDIT THIS FILE
  396. #
  397. # It is automatically generated by grub-mkconfig using templates
  398. # from /etc/grub.d and settings from /etc/default/grub
  399. #
  400. ### BEGIN /etc/grub.d/00_header ###
  401. insmod part_gpt
  402. insmod part_msdos
  403. if [ -s $prefix/grubenv ]; then
  404. load_env
  405. fi
  406. if [ "${next_entry}" ] ; then
  407. set default="${next_entry}"
  408. set next_entry=
  409. save_env next_entry
  410. set boot_once=true
  411. else
  412. set default="${saved_entry}"
  413. fi
  414. if [ x"${feature_menuentry_id}" = xy ]; then
  415. menuentry_id_option="--id"
  416. else
  417. menuentry_id_option=""
  418. fi
  419. export menuentry_id_option
  420. if [ "${prev_saved_entry}" ]; then
  421. set saved_entry="${prev_saved_entry}"
  422. save_env saved_entry
  423. set prev_saved_entry=
  424. save_env prev_saved_entry
  425. set boot_once=true
  426. fi
  427. function savedefault {
  428. if [ -z "${boot_once}" ]; then
  429. saved_entry="${chosen}"
  430. save_env saved_entry
  431. fi
  432. }
  433. function load_video {
  434. if [ x$feature_all_video_module = xy ]; then
  435. insmod all_video
  436. else
  437. insmod efi_gop
  438. insmod efi_uga
  439. insmod ieee1275_fb
  440. insmod vbe
  441. insmod vga
  442. insmod video_bochs
  443. insmod video_cirrus
  444. fi
  445. }
  446. set menu_color_normal=light-gray/black
  447. set menu_color_highlight=green/black
  448. if [ x$feature_default_font_path = xy ] ; then
  449. font=unicode
  450. else
  451. insmod part_msdos
  452. insmod ext2
  453. set root='hd1,msdos1'
  454. if [ x$feature_platform_search_hint = xy ]; then
  455. search --no-floppy --fs-uuid --set=root --hint-bios=hd1,msdos1 --hint-efi=hd1,msdos1 --hint-baremetal=ahci1,msdos1 048595e5-9e25-490c-82ad-41ed6c8ae191
  456. else
  457. search --no-floppy --fs-uuid --set=root 048595e5-9e25-490c-82ad-41ed6c8ae191
  458. fi
  459. font="/usr/share/grub/unicode.pf2"
  460. fi
  461. if loadfont $font ; then
  462. set gfxmode=auto
  463. load_video
  464. insmod gfxterm
  465. set locale_dir=$prefix/locale
  466. set lang=en_GB
  467. insmod gettext
  468. fi
  469. terminal_input console
  470. terminal_output gfxterm
  471. insmod part_msdos
  472. insmod ext2
  473. set root='hd1,msdos1'
  474. if [ x$feature_platform_search_hint = xy ]; then
  475. search --no-floppy --fs-uuid --set=root --hint-bios=hd1,msdos1 --hint-efi=hd1,msdos1 --hint-baremetal=ahci1,msdos1 048595e5-9e25-490c-82ad-41ed6c8ae191
  476. else
  477. search --no-floppy --fs-uuid --set=root 048595e5-9e25-490c-82ad-41ed6c8ae191
  478. fi
  479. insmod png
  480. background_image -m stretch /usr/share/grub/background.png
  481. if [ x$feature_timeout_style = xy ] ; then
  482. set timeout_style=menu
  483. set timeout=10
  484. # Fallback normal timeout code in case the timeout_style feature is
  485. # unavailable.
  486. else
  487. set timeout=10
  488. fi
  489. ### END /etc/grub.d/00_header ###
  490. ### BEGIN /etc/grub.d/10_linux ###
  491. menuentry 'Manjaro Linux' --class manjaro --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-simple-048595e5-9e25-490c-82ad-41ed6c8ae191' {
  492. savedefault
  493. load_video
  494. set gfxpayload=keep
  495. insmod gzio
  496. insmod part_msdos
  497. insmod ext2
  498. set root='hd1,msdos1'
  499. if [ x$feature_platform_search_hint = xy ]; then
  500. search --no-floppy --fs-uuid --set=root --hint-bios=hd1,msdos1 --hint-efi=hd1,msdos1 --hint-baremetal=ahci1,msdos1 048595e5-9e25-490c-82ad-41ed6c8ae191
  501. else
  502. search --no-floppy --fs-uuid --set=root 048595e5-9e25-490c-82ad-41ed6c8ae191
  503. fi
  504. echo 'Loading Linux 4.1.10-1-MANJARO x64 ...'
  505. linux /boot/vmlinuz-4.1-x86_64 root=UUID=048595e5-9e25-490c-82ad-41ed6c8ae191 rw quiet splash
  506. echo 'Loading initial ramdisk ...'
  507. initrd /boot/intel-ucode.img /boot/initramfs-4.1-x86_64.img
  508. }
  509. submenu 'Advanced options for Manjaro Linux' $menuentry_id_option 'gnulinux-advanced-048595e5-9e25-490c-82ad-41ed6c8ae191' {
  510. menuentry 'Manjaro Linux (Kernel: 4.1.10-1-MANJARO x64)' --class manjaro --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-4.1.10-1-MANJARO x64-advanced-048595e5-9e25-490c-82ad-41ed6c8ae191' {
  511. savedefault
  512. load_video
  513. set gfxpayload=keep
  514. insmod gzio
  515. insmod part_msdos
  516. insmod ext2
  517. set root='hd1,msdos1'
  518. if [ x$feature_platform_search_hint = xy ]; then
  519. search --no-floppy --fs-uuid --set=root --hint-bios=hd1,msdos1 --hint-efi=hd1,msdos1 --hint-baremetal=ahci1,msdos1 048595e5-9e25-490c-82ad-41ed6c8ae191
  520. else
  521. search --no-floppy --fs-uuid --set=root 048595e5-9e25-490c-82ad-41ed6c8ae191
  522. fi
  523. echo 'Loading Linux 4.1.10-1-MANJARO x64 ...'
  524. linux /boot/vmlinuz-4.1-x86_64 root=UUID=048595e5-9e25-490c-82ad-41ed6c8ae191 rw quiet splash
  525. echo 'Loading initial ramdisk ...'
  526. initrd /boot/intel-ucode.img /boot/initramfs-4.1-x86_64.img
  527. }
  528. menuentry 'Manjaro Linux (Kernel: 4.1.10-1-MANJARO x64 - fallback initramfs)' --class manjaro --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-4.1.10-1-MANJARO x64-fallback-048595e5-9e25-490c-82ad-41ed6c8ae191' {
  529. load_video
  530. set gfxpayload=keep
  531. insmod gzio
  532. insmod part_msdos
  533. insmod ext2
  534. set root='hd1,msdos1'
  535. if [ x$feature_platform_search_hint = xy ]; then
  536. search --no-floppy --fs-uuid --set=root --hint-bios=hd1,msdos1 --hint-efi=hd1,msdos1 --hint-baremetal=ahci1,msdos1 048595e5-9e25-490c-82ad-41ed6c8ae191
  537. else
  538. search --no-floppy --fs-uuid --set=root 048595e5-9e25-490c-82ad-41ed6c8ae191
  539. fi
  540. echo 'Loading Linux 4.1.10-1-MANJARO x64 ...'
  541. linux /boot/vmlinuz-4.1-x86_64 root=UUID=048595e5-9e25-490c-82ad-41ed6c8ae191 rw quiet splash
  542. echo 'Loading initial ramdisk ...'
  543. initrd /boot/intel-ucode.img /boot/initramfs-4.1-x86_64-fallback.img
  544. }
  545. }
  546. ### END /etc/grub.d/10_linux ###
  547. ### BEGIN /etc/grub.d/20_linux_xen ###
  548. ### END /etc/grub.d/20_linux_xen ###
  549. ### BEGIN /etc/grub.d/30_os-prober ###
  550. ### END /etc/grub.d/30_os-prober ###
  551. ### BEGIN /etc/grub.d/40_custom ###
  552. # This file provides an easy way to add custom menu entries. Simply type the
  553. # menu entries you want to add after this comment. Be careful not to change
  554. # the 'exec tail' line above.
  555. ### END /etc/grub.d/40_custom ###
  556. ### BEGIN /etc/grub.d/41_custom ###
  557. if [ -f ${config_directory}/custom.cfg ]; then
  558. source ${config_directory}/custom.cfg
  559. elif [ -z "${config_directory}" -a -f $prefix/custom.cfg ]; then
  560. source $prefix/custom.cfg;
  561. fi
  562. ### END /etc/grub.d/41_custom ###
  563. ### BEGIN /etc/grub.d/60_memtest86+ ###
  564. if [ "${grub_platform}" == "pc" ]; then
  565. menuentry "Memory Tester (memtest86+)" --class memtest86 --class gnu --class tool {
  566. search --fs-uuid --no-floppy --set=root --hint-bios=hd1,msdos1 --hint-efi=hd1,msdos1 --hint-baremetal=ahci1,msdos1 048595e5-9e25-490c-82ad-41ed6c8ae191
  567. linux16 /boot/memtest86+/memtest.bin
  568. }
  569. fi
  570. ### END /etc/grub.d/60_memtest86+ ###
  571. --------------------------------------------------------------------------------
  572. =============================== sdb1/etc/fstab: ================================
  573. --------------------------------------------------------------------------------
  574. # /etc/fstab: static file system information.
  575. #
  576. # Use 'blkid' to print the universally unique identifier for a device; this may
  577. # be used with UUID= as a more robust way to name devices that works even if
  578. # disks are added and removed. See fstab(5).
  579. #
  580. # <file system> <mount point> <type> <options> <dump> <pass>
  581. UUID=27db76a9-dc7b-49d7-9683-e182bdc91cf0 /home ext4 defaults,noatime 0 2
  582. UUID=048595e5-9e25-490c-82ad-41ed6c8ae191 / ext4 defaults,noatime 0 1
  583. --------------------------------------------------------------------------------
  584. ======================= sdb1/boot/syslinux/syslinux.cfg: =======================
  585. --------------------------------------------------------------------------------
  586. # Config file for Syslinux -
  587. # /boot/syslinux/syslinux.cfg
  588. #
  589. # Comboot modules:
  590. # * menu.c32 - provides a text menu
  591. # * vesamenu.c32 - provides a graphical menu
  592. # * chain.c32 - chainload MBRs, partition boot sectors, Windows bootloaders
  593. # * hdt.c32 - hardware detection tool
  594. # * reboot.c32 - reboots the system
  595. #
  596. # To Use: Copy the respective files from /usr/lib/syslinux to /boot/syslinux.
  597. # If /usr and /boot are on the same file system, symlink the files instead
  598. # of copying them.
  599. #
  600. # If you do not use a menu, a 'boot:' prompt will be shown and the system
  601. # will boot automatically after 5 seconds.
  602. #
  603. # Please review the wiki: https://wiki.archlinux.org/index.php/Syslinux
  604. # The wiki provides further configuration examples
  605. DEFAULT arch
  606. PROMPT 0 # Set to 1 if you always want to display the boot: prompt
  607. TIMEOUT 50
  608. # You can create syslinux keymaps with the keytab-lilo tool
  609. #KBDMAP de.ktl
  610. # Menu Configuration
  611. # Either menu.c32 or vesamenu32.c32 must be copied to /boot/syslinux
  612. UI menu.c32
  613. #UI vesamenu.c32
  614. # Refer to http://syslinux.zytor.com/wiki/index.php/Doc/menu
  615. MENU TITLE Arch Linux
  616. #MENU BACKGROUND splash.png
  617. MENU COLOR border 30;44 #40ffffff #a0000000 std
  618. MENU COLOR title 1;36;44 #9033ccff #a0000000 std
  619. MENU COLOR sel 7;37;40 #e0ffffff #20ffffff all
  620. MENU COLOR unsel 37;44 #50ffffff #a0000000 std
  621. MENU COLOR help 37;40 #c0ffffff #a0000000 std
  622. MENU COLOR timeout_msg 37;40 #80ffffff #00000000 std
  623. MENU COLOR timeout 1;37;40 #c0ffffff #00000000 std
  624. MENU COLOR msg07 37;40 #90ffffff #a0000000 std
  625. MENU COLOR tabmsg 31;40 #30ffffff #00000000 std
  626. # boot sections follow
  627. #
  628. # TIP: If you want a 1024x768 framebuffer, add "vga=773" to your kernel line.
  629. #
  630. #-*
  631. LABEL arch
  632. MENU LABEL Arch Linux
  633. LINUX ../vmlinuz-linux
  634. APPEND root=/dev/sda3 rw
  635. INITRD ../initramfs-linux.img
  636. LABEL archfallback
  637. MENU LABEL Arch Linux Fallback
  638. LINUX ../vmlinuz-linux
  639. APPEND root=/dev/sda3 rw
  640. INITRD ../initramfs-linux-fallback.img
  641. #LABEL windows
  642. # MENU LABEL Windows
  643. # COM32 chain.c32
  644. # APPEND hd0 1
  645. LABEL hdt
  646. MENU LABEL HDT (Hardware Detection Tool)
  647. COM32 hdt.c32
  648. LABEL reboot
  649. MENU LABEL Reboot
  650. COM32 reboot.c32
  651. LABEL poweroff
  652. MENU LABEL Poweroff
  653. COM32 poweroff.c32
  654. --------------------------------------------------------------------------------
  655. =============================== StdErr Messages: ===============================
  656. cat: write error: Broken pipe
  657. File descriptor 9 (/proc/24054/mounts) leaked on lvs invocation. Parent PID 32687: bash
  658. File descriptor 63 (pipe:[43095]) leaked on lvs invocation. Parent PID 32687: bash
  659. No volume groups found
  660. ADDITIONAL INFORMATION :
  661. =================== log of boot-repair 2015-10-19__19h56 ===================
  662. boot-repair version : 4ppa14
  663. boot-sav version : 4ppa14
  664. glade2script version : 3.2.2~ppa47~saucy
  665. boot-sav-extra version : 4ppa14
  666. File descriptor 9 (/proc/24054/mounts) leaked on lvs invocation. Parent PID 25586: /bin/sh
  667. No volume groups found
  668. boot-repair is executed in live-session (Boot-Repair-Disk 64bit 29nov2014, trusty, Ubuntu, x86_64)
  669. ls: cannot access /home/usr/.config: No such file or directory
  670. CPU op-mode(s): 32-bit, 64-bit
  671. file=/cdrom/preseed/lubuntu.seed boot=casper initrd=/casper/initrd.lz quiet splash --
  672. =================== os-prober:
  673. /dev/sda1:Deepin 2014.3 (2014.3):Deepin:linux
  674. /dev/sdb1:Manjaro Linux (15.09):ManjaroLinux:linux
  675. =================== blkid:
  676. /dev/loop0: TYPE="squashfs"
  677. /dev/sda1: UUID="1afb857c-7db1-40ee-b88a-a071bdd173d7" TYPE="ext4"
  678. /dev/sda2: UUID="6afcc644-20fe-4260-9c59-5834367fbf7d" TYPE="swap"
  679. /dev/sdb1: LABEL="Manjaro" UUID="048595e5-9e25-490c-82ad-41ed6c8ae191" TYPE="ext4"
  680. /dev/sdb2: LABEL="Documents" UUID="27db76a9-dc7b-49d7-9683-e182bdc91cf0" TYPE="ext4"
  681. /dev/sdb3: UUID="ffd508d4-e53f-4d1c-84cc-ba1349172708" TYPE="swap"
  682. /dev/sr0: LABEL="Boot-Repair-Disk 64bit" TYPE="iso9660"
  683. /dev/zram0: UUID="bc50f1a6-7eee-421c-836d-9c0b32431be0" TYPE="swap"
  684. /dev/zram1: UUID="524c6c6a-0121-421d-a9d8-552c909b9a4a" TYPE="swap"
  685. /dev/zram2: UUID="08071a95-f9d0-462e-ab00-025283a9b98a" TYPE="swap"
  686. /dev/zram3: UUID="149360dd-c8c6-4f82-9a2e-ae34b2007875" TYPE="swap"
  687. 2 disks with OS, 2 OS : 2 Linux, 0 MacOS, 0 Windows, 0 unknown type OS.
  688. mkdir: cannot create directory ‘/mnt/boot-sav/sda1/var/log/boot-sav’: Read-only file system
  689. sda1 is Read-only or full
  690. =================== sda1/etc/grub.d/ :
  691. drwxr-xr-x 2 root root 4096 Oct 19 00:22 grub.d
  692. total 76
  693. -rwxr-xr-x 1 root root 9424 Jun 26 11:16 00_header
  694. -rwxr-xr-x 1 root root 11608 May 15 2014 10_linux
  695. -rwxr-xr-x 1 root root 10634 Oct 1 2012 10_lupin
  696. -rwxr-xr-x 1 root root 10412 May 15 2014 20_linux_xen
  697. -rwxr-xr-x 1 root root 11692 May 15 2014 30_os-prober
  698. -rwxr-xr-x 1 root root 1416 May 15 2014 30_uefi-firmware
  699. -rwxr-xr-x 1 root root 214 May 15 2014 40_custom
  700. -rwxr-xr-x 1 root root 216 May 15 2014 41_custom
  701. -rw-r--r-- 1 root root 483 May 15 2014 README
  702. =================== sda1/etc/default/grub :
  703. GRUB_BACKGROUND="<none>"
  704. GRUB_CMDLINE_LINUX_DEFAULT="quiet splash"
  705. GRUB_DEFAULT="Deepin GNU/Linux"
  706. GRUB_DISTRIBUTOR="`lsb_release -i -s 2> /dev/null || echo Debian`"
  707. GRUB_GFXMODE="1280x1024"
  708. GRUB_THEME="/boot/grub/themes/deepin/theme.txt"
  709. GRUB_TIMEOUT="5"
  710. =================== sda1recordfail=1/grub/grubenv :
  711. recordfail=1
  712. =================== sdb1/etc/grub.d/ :
  713. drwxr-xr-x 2 root root 4096 Apr 20 17:47 grub.d
  714. total 64
  715. -rwxr-xr-x 1 root root 8879 Apr 20 17:47 00_header
  716. -rwxr-xr-x 1 root root 10813 Apr 20 17:47 10_linux
  717. -rwxr-xr-x 1 root root 10250 Apr 20 17:47 20_linux_xen
  718. -rwxr-xr-x 1 root root 10904 Apr 20 17:47 30_os-prober
  719. -rwxr-xr-x 1 root root 214 Apr 20 17:47 40_custom
  720. -rwxr-xr-x 1 root root 216 Apr 20 17:47 41_custom
  721. -rwxr-xr-x 1 root root 1218 Apr 20 17:47 60_memtest86+
  722. -rw-r--r-- 1 root root 483 Apr 20 17:47 README
  723. =================== sdb1/etc/default/grub :
  724. GRUB_DEFAULT=saved
  725. GRUB_TIMEOUT=10
  726. GRUB_DISTRIBUTOR="Manjaro"
  727. GRUB_CMDLINE_LINUX_DEFAULT="quiet splash"
  728. GRUB_CMDLINE_LINUX=""
  729. # If you want to enable the save default function, uncomment the following
  730. # line, and set GRUB_DEFAULT to saved.
  731. GRUB_SAVEDEFAULT=true
  732. # Preload both GPT and MBR modules so that they are not missed
  733. GRUB_PRELOAD_MODULES="part_gpt part_msdos"
  734. # Uncomment to enable Hidden Menu, and optionally hide the timeout count
  735. #GRUB_HIDDEN_TIMEOUT=5
  736. #GRUB_HIDDEN_TIMEOUT_QUIET=true
  737. # Uncomment to use basic console
  738. GRUB_TERMINAL_INPUT=console
  739. # Uncomment to disable graphical terminal
  740. #GRUB_TERMINAL_OUTPUT=console
  741. # The resolution used on graphical terminal
  742. # note that you can use only modes which your graphic card supports via VBE
  743. # you can see them in real GRUB with the command `vbeinfo'
  744. GRUB_GFXMODE=auto
  745. # Uncomment to allow the kernel use the same resolution used by grub
  746. GRUB_GFXPAYLOAD_LINUX=keep
  747. # Uncomment if you want GRUB to pass to the Linux kernel the old parameter
  748. # format "root=/dev/xxx" instead of "root=/dev/disk/by-uuid/xxx"
  749. #GRUB_DISABLE_LINUX_UUID=true
  750. # Uncomment to disable generation of recovery mode menu entries
  751. #GRUB_DISABLE_RECOVERY=true
  752. # Uncomment and set to the desired menu colors. Used by normal and wallpaper
  753. # modes only. Entries specified as foreground/background.
  754. GRUB_COLOR_NORMAL="light-gray/black"
  755. GRUB_COLOR_HIGHLIGHT="green/black"
  756. # Uncomment one of them for the gfx desired, a image background or a gfxtheme
  757. GRUB_BACKGROUND="/usr/share/grub/background.png"
  758. GRUB_THEME="/boot/grub/themes/Manjaro-Default/theme.txt"
  759. # Uncomment to get a beep at GRUB start
  760. #GRUB_INIT_TUNE="480 440 1"
  761. =================== sdb1saved_entry=gnulinux-simple-048595e5-9e25-490c-82ad-41ed6c8ae191/grub/grubenv :
  762. saved_entry=gnulinux-simple-048595e5-9e25-490c-82ad-41ed6c8ae191
  763. =================== UEFI/Legacy mode:
  764. This live-session is not in EFI-mode.
  765. SecureBoot maybe enabled.
  766. =================== PARTITIONS & DISKS:
  767. sda1 : sda, not-sepboot, grubenv-ng 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/sda1.
  768. sdb1 : sdb, not-sepboot, grubenv-ng grub2, no-docgrub, 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, pacman, grub-install, with--usr, fstab-without-usr, not-sep-usr, standard, farbios, /mnt/boot-sav/sdb1.
  769. sdb2 : sdb, 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/sdb2.
  770. sda : not-GPT, BIOSboot-not-needed, has-no-EFIpart, not-usb, has-os, 2048 sectors * 512 bytes
  771. sdb : not-GPT, BIOSboot-not-needed, has-no-EFIpart, not-usb, has-os, 2048 sectors * 512 bytes
  772. =================== parted -l:
  773. Model: ATA SAMSUNG HD103SJ (scsi)
  774. Disk /dev/sda: 1000GB
  775. Sector size (logical/physical): 512B/512B
  776. Partition Table: msdos
  777. Number Start End Size Type File system Flags
  778. 1 1049kB 990GB 990GB primary ext4 boot
  779. 2 990GB 1000GB 9999MB primary linux-swap(v1)
  780. Model: ATA WL1000GSA6454G (scsi)
  781. Disk /dev/sdb: 1000GB
  782. Sector size (logical/physical): 512B/512B
  783. Partition Table: msdos
  784. Number Start End Size Type File system Flags
  785. 1 1049kB 105GB 105GB primary ext4 boot
  786. 2 105GB 979GB 874GB primary ext4
  787. 3 979GB 1000GB 21.0GB primary linux-swap(v1)
  788. Warning: Unable to open /dev/sr0 read-write (Read-only file system). /dev/sr0
  789. has been opened read-only.
  790. Error: /dev/sr0: unrecognised disk label
  791. Error: /dev/zram0: unrecognised disk label
  792. Error: /dev/zram1: unrecognised disk label
  793. Error: /dev/zram2: unrecognised disk label
  794. Error: /dev/zram3: unrecognised disk label
  795. =================== parted -lm:
  796. BYT;
  797. /dev/sda:1000GB:scsi:512:512:msdos:ATA SAMSUNG HD103SJ;
  798. 1:1049kB:990GB:990GB:ext4::boot;
  799. 2:990GB:1000GB:9999MB:linux-swap(v1)::;
  800. BYT;
  801. /dev/sdb:1000GB:scsi:512:512:msdos:ATA WL1000GSA6454G;
  802. 1:1049kB:105GB:105GB:ext4::boot;
  803. 2:105GB:979GB:874GB:ext4::;
  804. 3:979GB:1000GB:21.0GB:linux-swap(v1)::;
  805. Warning: Unable to open /dev/sr0 read-write (Read-only file system). /dev/sr0
  806. has been opened read-only.
  807. Error: /dev/sr0: unrecognised disk label
  808. Error: /dev/zram0: unrecognised disk label
  809. Error: /dev/zram1: unrecognised disk label
  810. Error: /dev/zram2: unrecognised disk label
  811. Error: /dev/zram3: unrecognised disk label
  812. =================== mount:
  813. /cow on / type overlayfs (rw)
  814. proc on /proc type proc (rw,noexec,nosuid,nodev)
  815. sysfs on /sys type sysfs (rw,noexec,nosuid,nodev)
  816. udev on /dev type devtmpfs (rw,mode=0755)
  817. devpts on /dev/pts type devpts (rw,noexec,nosuid,gid=5,mode=0620)
  818. tmpfs on /run type tmpfs (rw,noexec,nosuid,size=10%,mode=0755)
  819. /dev/sr0 on /cdrom type iso9660 (ro,noatime)
  820. /dev/loop0 on /rofs type squashfs (ro,noatime)
  821. none on /sys/fs/cgroup type tmpfs (rw)
  822. none on /sys/fs/fuse/connections type fusectl (rw)
  823. none on /sys/kernel/debug type debugfs (rw)
  824. none on /sys/kernel/security type securityfs (rw)
  825. tmpfs on /tmp type tmpfs (rw,nosuid,nodev)
  826. none on /run/lock type tmpfs (rw,noexec,nosuid,nodev,size=5242880)
  827. none on /run/shm type tmpfs (rw,nosuid,nodev)
  828. none on /run/user type tmpfs (rw,noexec,nosuid,nodev,size=104857600,mode=0755)
  829. none on /sys/fs/pstore type pstore (rw)
  830. systemd on /sys/fs/cgroup/systemd type cgroup (rw,noexec,nosuid,nodev,none,name=systemd)
  831. gvfsd-fuse on /run/user/999/gvfs type fuse.gvfsd-fuse (rw,nosuid,nodev,user=lubuntu)
  832. /dev/sda1 on /mnt/boot-sav/sda1 type ext4 (ro)
  833. /dev on /mnt/boot-sav/sda1/dev type none (rw,bind)
  834. /dev/pts on /mnt/boot-sav/sda1/dev/pts type none (rw,bind)
  835. /run on /mnt/boot-sav/sda1/run type none (rw,bind)
  836. /sys on /mnt/boot-sav/sda1/sys type none (rw,bind)
  837. /dev/sdb1 on /mnt/boot-sav/sdb1 type ext4 (rw)
  838. /dev/sdb2 on /mnt/boot-sav/sdb2 type ext4 (rw)
  839. =================== ls:
  840. /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 size slaves stat subsystem trace uevent
  841. /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 sdb1 sdb2 sdb3 size slaves stat subsystem trace uevent
  842. /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
  843. /dev (filtered): autofs block bsg btrfs-control bus cdrom char console core cpu cpu_dma_latency cuse disk ecryptfs fd full fuse fw0 hidraw0 hidraw1 hidraw2 hidraw3 hidraw4 hpet input kmsg kvm log mapper mcelog mem net network_latency network_throughput null port ppp psaux ptmx pts random rfkill rtc rtc0 sda sda1 sda2 sdb sdb1 sdb2 sdb3 sg0 sg1 sg2 shm snapshot snd sr0 stderr stdin stdout uhid uinput urandom v4l vga_arbiter vhci vhost-net video0 watchdog zero
  844. ls /dev/mapper: control
  845. =================== df -Th:
  846. Filesystem Type Size Used Avail Use% Mounted on
  847. /cow overlayfs 7.9G 44M 7.8G 1% /
  848. /dev none 7.8G 12K 7.8G 1% /mnt/boot-sav/sda1/dev
  849. /run none 1.6G 1.4M 1.6G 1% /mnt/boot-sav/sda1/run
  850. /dev/sr0 iso9660 614M 614M 0 100% /cdrom
  851. /dev/loop0 squashfs 549M 549M 0 100% /rofs
  852. none tmpfs 4.0K 0 4.0K 0% /sys/fs/cgroup
  853. tmpfs tmpfs 7.9G 656K 7.9G 1% /tmp
  854. none tmpfs 5.0M 0 5.0M 0% /run/lock
  855. none tmpfs 7.9G 0 7.9G 0% /run/shm
  856. none tmpfs 100M 16K 100M 1% /run/user
  857. /dev/sda1 ext4 908G 97G 765G 12% /mnt/boot-sav/sda1
  858. /dev/sdb1 ext4 96G 7.2G 88G 8% /mnt/boot-sav/sdb1
  859. /dev/sdb2 ext4 802G 402G 360G 53% /mnt/boot-sav/sdb2
  860. =================== fdisk -l:
  861. Disk /dev/sda: 1000.2 GB, 1000204886016 bytes
  862. 255 heads, 63 sectors/track, 121601 cylinders, total 1953525168 sectors
  863. Units = sectors of 1 * 512 = 512 bytes
  864. Sector size (logical/physical): 512 bytes / 512 bytes
  865. I/O size (minimum/optimal): 512 bytes / 512 bytes
  866. Disk identifier: 0xac4db57f
  867. Device Boot Start End Blocks Id System
  868. /dev/sda1 * 2048 1933990328 966994140+ 83 Linux
  869. /dev/sda2 1933990329 1953520064 9764868 83 Linux
  870. Disk /dev/sdb: 1000.2 GB, 1000204886016 bytes
  871. 255 heads, 63 sectors/track, 121601 cylinders, total 1953525168 sectors
  872. Units = sectors of 1 * 512 = 512 bytes
  873. Sector size (logical/physical): 512 bytes / 512 bytes
  874. I/O size (minimum/optimal): 512 bytes / 512 bytes
  875. Disk identifier: 0x0008ab8f
  876. Device Boot Start End Blocks Id System
  877. /dev/sdb1 * 2048 204802047 102400000 83 Linux
  878. /dev/sdb2 204802048 1912565759 853881856 83 Linux
  879. /dev/sdb3 1912565760 1953523711 20478976 82 Linux swap / Solaris
  880. User choice: Is sda (1000GB) a removable disk? no
  881. =================== Recommended repair
  882. The default repair of the Boot-Repair utility will reinstall the grub2 of sda1 into the MBRs of all disks (except USB without OS).
  883. Additional repair will be performed: unhide-bootmenu-10s
  884. mkdir: cannot create directory ‘/mnt/boot-sav/sda1/proc’: Input/output error
  885. mount: /proc: can't read superblock
  886. Unhide GRUB boot menu in sda1/etc/default/grub
  887. mv: inter-device move failed: ‘/var/log/boot-sav/log/2015-10-19__19h56boot-repair16/sda1/etc_default_grub_new’ to ‘/mnt/boot-sav/sda1/etc/default/grub’; unable to remove target: Read-only file system
  888. Reinstall the GRUB of sda1 into all MBRs of disks with OS or not-USB
  889. *******lspci -nnk | grep -iA3 vga
  890. 05:00.0 VGA compatible controller [0300]: NVIDIA Corporation Device [10de:13c2] (rev a1)
  891. Subsystem: ASUSTeK Computer Inc. Device [1043:8508]
  892. 05:00.1 Audio device [0403]: NVIDIA Corporation Device [10de:0fbb] (rev a1)
  893. Subsystem: ASUSTeK Computer Inc. Device [1043:8508]
  894. *******
  895. grub-install --version
  896. grub-install.real (GRUB) 2.02~beta2-9ubuntu1.3,grub-install.
  897. Reinstall the GRUB of sda1 into the MBR of sdb
  898. Installing for i386-pc platform.
  899. grub-install.real: error: cannot delete `/boot/grub/i386-pc/nilfs2.mod': Read-only file system.
  900. grub-install /dev/sdb: exit code of grub-install /dev/sdb:1
  901. *******lspci -nnk | grep -iA3 vga
  902. 05:00.0 VGA compatible controller [0300]: NVIDIA Corporation Device [10de:13c2] (rev a1)
  903. Subsystem: ASUSTeK Computer Inc. Device [1043:8508]
  904. 05:00.1 Audio device [0403]: NVIDIA Corporation Device [10de:0fbb] (rev a1)
  905. Subsystem: ASUSTeK Computer Inc. Device [1043:8508]
  906. *******
  907. grub-install --version
  908. grub-install.real (GRUB) 2.02~beta2-9ubuntu1.3,grub-install.
  909. Reinstall the GRUB of sda1 into the MBR of sda
  910. Installing for i386-pc platform.
  911. grub-install.real: error: cannot delete `/boot/grub/i386-pc/nilfs2.mod': Read-only file system.
  912. grub-install /dev/sda: exit code of grub-install /dev/sda:1
  913. ---- Grub-install verbose
  914. + set -e
  915. + want_passthrough /dev/sda
  916. + [ 1 -gt 0 ]
  917. + option=/dev/sda
  918. + shift
  919. + [ 0 -gt 0 ]
  920. + return 1
  921. + /usr/share/lupin-support/grub-mkimage --test
  922. + grub-install.real /dev/sda
  923. Installing for i386-pc platform.
  924. grub-install.real: error: cannot delete `/boot/grub/i386-pc/nilfs2.mod': Read-only file system.
  925. --------
  926. /usr/sbin/grub-install /dev/sda: exit code of grub-install /dev/sda:1
  927. ---- End of grub-install verbose
  928. chroot /mnt/boot-sav/sda1 update-grub
  929. /usr/sbin/grub-mkconfig: 250: /usr/sbin/grub-mkconfig: cannot create /boot/grub/grub.cfg.new: Read-only file system
  930. umount: /mnt/boot-sav/sda1/proc: can't write superblock
  931. Unhide GRUB boot menu in sda1/boot/grub/grub.cfg
  932. mv: inter-device move failed: ‘/var/log/boot-sav/log/2015-10-19__19h56boot-repair16/sda1/grub.cfg_new’ to ‘/mnt/boot-sav/sda1/boot/grub/grub.cfg’; unable to remove target: Read-only file system
  933. An error occurred during the repair.
  934. You can now reboot your computer.
  935. Please do not forget to make your BIOS boot on sda (1000GB) disk!
  936. paste.ubuntu.com ko (), using paste.debian
  937. paste.debian.net ko (http://paste.debian.net/), using paste2