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 (,msdos2)/boot/grub. It also embeds following components:
  6. modules
  7. ---------------------------------------------------------------------------
  8. fshelp ext2 part_msdos biosdisk
  9. ---------------------------------------------------------------------------
  10. sda1: __________________________________________________________________________
  11. File system: swap
  12. Boot sector type: -
  13. Boot sector info:
  14. sda2: __________________________________________________________________________
  15. File system: ext4
  16. Boot sector type: -
  17. Boot sector info:
  18. Operating System: Ubuntu 16.04 LTS
  19. Boot files: /boot/grub/grub.cfg /etc/fstab
  20. /boot/grub/i386-pc/core.img
  21. ============================ Drive/Partition Info: =============================
  22. Drive: sda _____________________________________________________________________
  23. Disk /dev/sda: 111.8 GiB, 120034123776 bytes, 234441648 sectors
  24. Units: sectors of 1 * 512 = 512 bytes
  25. Sector size (logical/physical): 512 bytes / 512 bytes
  26. I/O size (minimum/optimal): 512 bytes / 512 bytes
  27. Disklabel type: dos
  28. Partition Boot Start Sector End Sector # of Sectors Id System
  29. /dev/sda1 2,048 7,999,487 7,997,440 82 Linux swap / Solaris
  30. /dev/sda2 * 7,999,488 234,440,703 226,441,216 83 Linux
  31. "blkid" output: ________________________________________________________________
  32. Device UUID TYPE LABEL
  33. /dev/loop0 squashfs
  34. /dev/sda1 d804a998-8207-452b-8c7f-704f546ba449 swap
  35. /dev/sda2 3a928603-57be-4c15-8825-4ef990e032f5 ext4
  36. /dev/sr0 2016-04-21-06-53-37-00 iso9660 Ubuntu-GNOME 16.04 LTS amd64
  37. ========================= "ls -l /dev/disk/by-id" output: ======================
  38. total 0
  39. lrwxrwxrwx 1 root root 9 May 23 16:41 ata-Optiarc_DVD_RW_AD-7640S_30655060_1008080Q111 -> ../../sr0
  40. lrwxrwxrwx 1 root root 9 May 23 16:57 ata-Samsung_SSD_840_EVO_120GB_S1D5NSDF439512M -> ../../sda
  41. lrwxrwxrwx 1 root root 10 May 23 16:57 ata-Samsung_SSD_840_EVO_120GB_S1D5NSDF439512M-part1 -> ../../sda1
  42. lrwxrwxrwx 1 root root 10 May 23 16:57 ata-Samsung_SSD_840_EVO_120GB_S1D5NSDF439512M-part2 -> ../../sda2
  43. lrwxrwxrwx 1 root root 9 May 23 16:57 wwn-0x50025388a03ff50a -> ../../sda
  44. lrwxrwxrwx 1 root root 10 May 23 16:57 wwn-0x50025388a03ff50a-part1 -> ../../sda1
  45. lrwxrwxrwx 1 root root 10 May 23 16:57 wwn-0x50025388a03ff50a-part2 -> ../../sda2
  46. ================================ Mount points: =================================
  47. Device Mount_Point Type Options
  48. /dev/loop0 /rofs squashfs (ro,noatime)
  49. /dev/sr0 /cdrom iso9660 (ro,noatime)
  50. =========================== sda2/boot/grub/grub.cfg: ===========================
  51. --------------------------------------------------------------------------------
  52. #
  53. # DO NOT EDIT THIS FILE
  54. #
  55. # It is automatically generated by grub-mkconfig using templates
  56. # from /etc/grub.d and settings from /etc/default/grub
  57. #
  58. ### BEGIN /etc/grub.d/00_header ###
  59. if [ -s $prefix/grubenv ]; then
  60. set have_grubenv=true
  61. load_env
  62. fi
  63. if [ "${next_entry}" ] ; then
  64. set default="${next_entry}"
  65. set next_entry=
  66. save_env next_entry
  67. set boot_once=true
  68. else
  69. set default="0"
  70. fi
  71. if [ x"${feature_menuentry_id}" = xy ]; then
  72. menuentry_id_option="--id"
  73. else
  74. menuentry_id_option=""
  75. fi
  76. export menuentry_id_option
  77. if [ "${prev_saved_entry}" ]; then
  78. set saved_entry="${prev_saved_entry}"
  79. save_env saved_entry
  80. set prev_saved_entry=
  81. save_env prev_saved_entry
  82. set boot_once=true
  83. fi
  84. function savedefault {
  85. if [ -z "${boot_once}" ]; then
  86. saved_entry="${chosen}"
  87. save_env saved_entry
  88. fi
  89. }
  90. function recordfail {
  91. set recordfail=1
  92. if [ -n "${have_grubenv}" ]; then if [ -z "${boot_once}" ]; then save_env recordfail; fi; fi
  93. }
  94. function load_video {
  95. if [ x$feature_all_video_module = xy ]; then
  96. insmod all_video
  97. else
  98. insmod efi_gop
  99. insmod efi_uga
  100. insmod ieee1275_fb
  101. insmod vbe
  102. insmod vga
  103. insmod video_bochs
  104. insmod video_cirrus
  105. fi
  106. }
  107. if [ x$feature_default_font_path = xy ] ; then
  108. font=unicode
  109. else
  110. insmod part_msdos
  111. insmod ext2
  112. set root='hd0,msdos2'
  113. if [ x$feature_platform_search_hint = xy ]; then
  114. search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos2 --hint-efi=hd0,msdos2 --hint-baremetal=ahci0,msdos2 3a928603-57be-4c15-8825-4ef990e032f5
  115. else
  116. search --no-floppy --fs-uuid --set=root 3a928603-57be-4c15-8825-4ef990e032f5
  117. fi
  118. font="/usr/share/grub/unicode.pf2"
  119. fi
  120. if loadfont $font ; then
  121. set gfxmode=auto
  122. load_video
  123. insmod gfxterm
  124. set locale_dir=$prefix/locale
  125. set lang=en_US
  126. insmod gettext
  127. fi
  128. terminal_output gfxterm
  129. if [ "${recordfail}" = 1 ] ; then
  130. set timeout=10
  131. else
  132. if [ x$feature_timeout_style = xy ] ; then
  133. set timeout_style=menu
  134. set timeout=10
  135. # Fallback normal timeout code in case the timeout_style feature is
  136. # unavailable.
  137. else
  138. set timeout=10
  139. fi
  140. fi
  141. ### END /etc/grub.d/00_header ###
  142. ### BEGIN /etc/grub.d/05_debian_theme ###
  143. set menu_color_normal=white/black
  144. set menu_color_highlight=black/light-gray
  145. if background_color 45,51,53; then
  146. clear
  147. fi
  148. ### END /etc/grub.d/05_debian_theme ###
  149. ### BEGIN /etc/grub.d/10_linux ###
  150. function gfxmode {
  151. set gfxpayload="${1}"
  152. if [ "${1}" = "keep" ]; then
  153. set vt_handoff=vt.handoff=7
  154. else
  155. set vt_handoff=
  156. fi
  157. }
  158. if [ "${recordfail}" != 1 ]; then
  159. if [ -e ${prefix}/gfxblacklist.txt ]; then
  160. if hwmatch ${prefix}/gfxblacklist.txt 3; then
  161. if [ ${match} = 0 ]; then
  162. set linux_gfx_mode=keep
  163. else
  164. set linux_gfx_mode=text
  165. fi
  166. else
  167. set linux_gfx_mode=text
  168. fi
  169. else
  170. set linux_gfx_mode=keep
  171. fi
  172. else
  173. set linux_gfx_mode=text
  174. fi
  175. export linux_gfx_mode
  176. menuentry 'Ubuntu' --class ubuntu --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-simple-3a928603-57be-4c15-8825-4ef990e032f5' {
  177. recordfail
  178. load_video
  179. gfxmode $linux_gfx_mode
  180. insmod gzio
  181. if [ x$grub_platform = xxen ]; then insmod xzio; insmod lzopio; fi
  182. insmod part_msdos
  183. insmod ext2
  184. set root='hd0,msdos2'
  185. if [ x$feature_platform_search_hint = xy ]; then
  186. search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos2 --hint-efi=hd0,msdos2 --hint-baremetal=ahci0,msdos2 3a928603-57be-4c15-8825-4ef990e032f5
  187. else
  188. search --no-floppy --fs-uuid --set=root 3a928603-57be-4c15-8825-4ef990e032f5
  189. fi
  190. linux /boot/vmlinuz-4.4.0-22-generic root=UUID=3a928603-57be-4c15-8825-4ef990e032f5 ro quiet splash $vt_handoff
  191. initrd /boot/initrd.img-4.4.0-22-generic
  192. }
  193. submenu 'Advanced options for Ubuntu' $menuentry_id_option 'gnulinux-advanced-3a928603-57be-4c15-8825-4ef990e032f5' {
  194. menuentry 'Ubuntu, with Linux 4.4.0-22-generic' --class ubuntu --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-4.4.0-22-generic-advanced-3a928603-57be-4c15-8825-4ef990e032f5' {
  195. recordfail
  196. load_video
  197. gfxmode $linux_gfx_mode
  198. insmod gzio
  199. if [ x$grub_platform = xxen ]; then insmod xzio; insmod lzopio; fi
  200. insmod part_msdos
  201. insmod ext2
  202. set root='hd0,msdos2'
  203. if [ x$feature_platform_search_hint = xy ]; then
  204. search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos2 --hint-efi=hd0,msdos2 --hint-baremetal=ahci0,msdos2 3a928603-57be-4c15-8825-4ef990e032f5
  205. else
  206. search --no-floppy --fs-uuid --set=root 3a928603-57be-4c15-8825-4ef990e032f5
  207. fi
  208. echo 'Loading Linux 4.4.0-22-generic ...'
  209. linux /boot/vmlinuz-4.4.0-22-generic root=UUID=3a928603-57be-4c15-8825-4ef990e032f5 ro quiet splash $vt_handoff
  210. echo 'Loading initial ramdisk ...'
  211. initrd /boot/initrd.img-4.4.0-22-generic
  212. }
  213. menuentry 'Ubuntu, with Linux 4.4.0-22-generic (recovery mode)' --class ubuntu --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-4.4.0-22-generic-recovery-3a928603-57be-4c15-8825-4ef990e032f5' {
  214. recordfail
  215. load_video
  216. insmod gzio
  217. if [ x$grub_platform = xxen ]; then insmod xzio; insmod lzopio; fi
  218. insmod part_msdos
  219. insmod ext2
  220. set root='hd0,msdos2'
  221. if [ x$feature_platform_search_hint = xy ]; then
  222. search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos2 --hint-efi=hd0,msdos2 --hint-baremetal=ahci0,msdos2 3a928603-57be-4c15-8825-4ef990e032f5
  223. else
  224. search --no-floppy --fs-uuid --set=root 3a928603-57be-4c15-8825-4ef990e032f5
  225. fi
  226. echo 'Loading Linux 4.4.0-22-generic ...'
  227. linux /boot/vmlinuz-4.4.0-22-generic root=UUID=3a928603-57be-4c15-8825-4ef990e032f5 ro recovery nomodeset
  228. echo 'Loading initial ramdisk ...'
  229. initrd /boot/initrd.img-4.4.0-22-generic
  230. }
  231. menuentry 'Ubuntu, with Linux 4.4.0-21-generic' --class ubuntu --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-4.4.0-21-generic-advanced-3a928603-57be-4c15-8825-4ef990e032f5' {
  232. recordfail
  233. load_video
  234. gfxmode $linux_gfx_mode
  235. insmod gzio
  236. if [ x$grub_platform = xxen ]; then insmod xzio; insmod lzopio; fi
  237. insmod part_msdos
  238. insmod ext2
  239. set root='hd0,msdos2'
  240. if [ x$feature_platform_search_hint = xy ]; then
  241. search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos2 --hint-efi=hd0,msdos2 --hint-baremetal=ahci0,msdos2 3a928603-57be-4c15-8825-4ef990e032f5
  242. else
  243. search --no-floppy --fs-uuid --set=root 3a928603-57be-4c15-8825-4ef990e032f5
  244. fi
  245. echo 'Loading Linux 4.4.0-21-generic ...'
  246. linux /boot/vmlinuz-4.4.0-21-generic root=UUID=3a928603-57be-4c15-8825-4ef990e032f5 ro quiet splash $vt_handoff
  247. echo 'Loading initial ramdisk ...'
  248. initrd /boot/initrd.img-4.4.0-21-generic
  249. }
  250. menuentry 'Ubuntu, with Linux 4.4.0-21-generic (recovery mode)' --class ubuntu --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-4.4.0-21-generic-recovery-3a928603-57be-4c15-8825-4ef990e032f5' {
  251. recordfail
  252. load_video
  253. insmod gzio
  254. if [ x$grub_platform = xxen ]; then insmod xzio; insmod lzopio; fi
  255. insmod part_msdos
  256. insmod ext2
  257. set root='hd0,msdos2'
  258. if [ x$feature_platform_search_hint = xy ]; then
  259. search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos2 --hint-efi=hd0,msdos2 --hint-baremetal=ahci0,msdos2 3a928603-57be-4c15-8825-4ef990e032f5
  260. else
  261. search --no-floppy --fs-uuid --set=root 3a928603-57be-4c15-8825-4ef990e032f5
  262. fi
  263. echo 'Loading Linux 4.4.0-21-generic ...'
  264. linux /boot/vmlinuz-4.4.0-21-generic root=UUID=3a928603-57be-4c15-8825-4ef990e032f5 ro recovery nomodeset
  265. echo 'Loading initial ramdisk ...'
  266. initrd /boot/initrd.img-4.4.0-21-generic
  267. }
  268. }
  269. ### END /etc/grub.d/10_linux ###
  270. ### BEGIN /etc/grub.d/20_linux_xen ###
  271. ### END /etc/grub.d/20_linux_xen ###
  272. ### BEGIN /etc/grub.d/30_os-prober ###
  273. ### END /etc/grub.d/30_os-prober ###
  274. ### BEGIN /etc/grub.d/30_uefi-firmware ###
  275. ### END /etc/grub.d/30_uefi-firmware ###
  276. ### BEGIN /etc/grub.d/40_custom ###
  277. # This file provides an easy way to add custom menu entries. Simply type the
  278. # menu entries you want to add after this comment. Be careful not to change
  279. # the 'exec tail' line above.
  280. ### END /etc/grub.d/40_custom ###
  281. ### BEGIN /etc/grub.d/41_custom ###
  282. if [ -f ${config_directory}/custom.cfg ]; then
  283. source ${config_directory}/custom.cfg
  284. elif [ -z "${config_directory}" -a -f $prefix/custom.cfg ]; then
  285. source $prefix/custom.cfg;
  286. fi
  287. ### END /etc/grub.d/41_custom ###
  288. --------------------------------------------------------------------------------
  289. =============================== sda2/etc/fstab: ================================
  290. --------------------------------------------------------------------------------
  291. # /etc/fstab: static file system information.
  292. #
  293. # Use 'blkid' to print the universally unique identifier for a
  294. # device; this may be used with UUID= as a more robust way to name devices
  295. # that works even if disks are added and removed. See fstab(5).
  296. #
  297. # <file system> <mount point> <type> <options> <dump> <pass>
  298. # / was on /dev/sda2 during installation
  299. UUID=3a928603-57be-4c15-8825-4ef990e032f5 / ext4 errors=remount-ro 0 1
  300. # swap was on /dev/sda1 during installation
  301. UUID=d804a998-8207-452b-8c7f-704f546ba449 none swap sw 0 0
  302. --------------------------------------------------------------------------------
  303. =================== sda2: Location of files loaded by Grub: ====================
  304. GiB - GB File Fragment(s)
  305. 79.945228577 = 85.840535552 boot/grub/grub.cfg 1
  306. 80.151401520 = 86.061912064 boot/grub/i386-pc/core.img 1
  307. 4.742858887 = 5.092605952 boot/vmlinuz-4.4.0-21-generic 1
  308. 5.150505066 = 5.530312704 boot/vmlinuz-4.4.0-22-generic 1
  309. 5.150505066 = 5.530312704 vmlinuz 1
  310. 4.742858887 = 5.092605952 vmlinuz.old 1
  311. 104.066696167 = 111.740764160 boot/initrd.img-4.4.0-21-generic 4
  312. 5.316696167 = 5.708759040 boot/initrd.img-4.4.0-22-generic 2
  313. 5.316696167 = 5.708759040 initrd.img 2
  314. 104.066696167 = 111.740764160 initrd.img.old 4
  315. =============================== StdErr Messages: ===============================
  316. File descriptor 9 (/proc/7660/mounts) leaked on lvs invocation. Parent PID 30087: bash
  317. File descriptor 63 (pipe:[71833]) leaked on lvs invocation. Parent PID 30087: bash
  318. ADDITIONAL INFORMATION :
  319. =================== log of boot-repair 2016-05-23__16h48 ===================
  320. boot-repair version : 4ppa37
  321. boot-sav version : 4ppa37
  322. glade2script version : 3.2.3~ppa1
  323. boot-sav-extra version : 4ppa37
  324. Warning: Unable to open /dev/sr0 read-write (Read-only file system). /dev/sr0 has been opened read-only.
  325. Warning: Unable to open /dev/sr0 read-write (Read-only file system). /dev/sr0 has been opened read-only.
  326. boot-repair is executed in live-session (Ubuntu 16.04 LTS, xenial, Ubuntu, x86_64)
  327. CPU op-mode(s): 32-bit, 64-bit
  328. file=/cdrom/preseed/ubuntu-gnome.seed boot=casper initrd=/casper/initrd.lz quiet splash --- maybe-ubiquity
  329. ls: cannot access '/home/usr/.config': No such file or directory
  330. =================== os-prober:
  331. /dev/sda2:Ubuntu 16.04 LTS (16.04):Ubuntu:linux
  332. =================== blkid:
  333. /dev/sda2: UUID="3a928603-57be-4c15-8825-4ef990e032f5" TYPE="ext4" PARTUUID="0000dcfe-02"
  334. /dev/sr0: UUID="2016-04-21-06-53-37-00" LABEL="Ubuntu-GNOME 16.04 LTS amd64" TYPE="iso9660" PTUUID="23419b71" PTTYPE="dos"
  335. /dev/loop0: TYPE="squashfs"
  336. /dev/sda1: UUID="d804a998-8207-452b-8c7f-704f546ba449" TYPE="swap" PARTUUID="0000dcfe-01"
  337. 1 disks with OS, 1 OS : 1 Linux, 0 MacOS, 0 Windows, 0 unknown type OS.
  338. =================== sda2/etc/grub.d/ :
  339. drwxr-xr-x 2 root root 4096 Apr 21 06:24 grub.d
  340. total 76
  341. -rwxr-xr-x 1 root root 9791 Apr 15 22:00 00_header
  342. -rwxr-xr-x 1 root root 6258 Mar 15 18:08 05_debian_theme
  343. -rwxr-xr-x 1 root root 12261 Apr 15 22:00 10_linux
  344. -rwxr-xr-x 1 root root 11082 Apr 15 22:00 20_linux_xen
  345. -rwxr-xr-x 1 root root 1992 Jan 28 12:44 20_memtest86+
  346. -rwxr-xr-x 1 root root 11692 Apr 15 22:00 30_os-prober
  347. -rwxr-xr-x 1 root root 1418 Apr 15 22:00 30_uefi-firmware
  348. -rwxr-xr-x 1 root root 214 Apr 15 22:00 40_custom
  349. -rwxr-xr-x 1 root root 216 Apr 15 22:00 41_custom
  350. -rw-r--r-- 1 root root 483 Apr 15 22:00 README
  351. =================== sda2/etc/default/grub :
  352. # If you change this file, run 'update-grub' afterwards to update
  353. # /boot/grub/grub.cfg.
  354. # For full documentation of the options in this file, see:
  355. # info -f grub -n 'Simple configuration'
  356. GRUB_DEFAULT=0
  357. GRUB_HIDDEN_TIMEOUT=0
  358. GRUB_HIDDEN_TIMEOUT_QUIET=true
  359. GRUB_TIMEOUT=10
  360. GRUB_DISTRIBUTOR=`lsb_release -i -s 2> /dev/null || echo Debian`
  361. GRUB_CMDLINE_LINUX_DEFAULT="quiet splash"
  362. GRUB_CMDLINE_LINUX=""
  363. # Uncomment to enable BadRAM filtering, modify to suit your needs
  364. # This works with Linux (no patch required) and with any kernel that obtains
  365. # the memory map information from GRUB (GNU Mach, kernel of FreeBSD ...)
  366. #GRUB_BADRAM="0x01234567,0xfefefefe,0x89abcdef,0xefefefef"
  367. # Uncomment to disable graphical terminal (grub-pc only)
  368. #GRUB_TERMINAL=console
  369. # The resolution used on graphical terminal
  370. # note that you can use only modes which your graphic card supports via VBE
  371. # you can see them in real GRUB with the command `vbeinfo'
  372. #GRUB_GFXMODE=640x480
  373. # Uncomment if you don't want GRUB to pass "root=UUID=xxx" parameter to Linux
  374. #GRUB_DISABLE_LINUX_UUID=true
  375. # Uncomment to disable generation of recovery mode menu entries
  376. #GRUB_DISABLE_RECOVERY="true"
  377. # Uncomment to get a beep at grub start
  378. #GRUB_INIT_TUNE="480 440 1"
  379. =================== UEFI/Legacy mode:
  380. This live-session is not in EFI-mode.
  381. SecureBoot maybe enabled.
  382. =================== PARTITIONS & DISKS:
  383. sda2 : sda, not-sepboot, grubenv-ok grub2, signed 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/sda2.
  384. sda : not-GPT, BIOSboot-not-needed, has-no-EFIpart, not-usb, has-os, 2048 sectors * 512 bytes
  385. =================== parted -l:
  386. Model: ATA Samsung SSD 840 (scsi)
  387. Disk /dev/sda: 120GB
  388. Sector size (logical/physical): 512B/512B
  389. Partition Table: msdos
  390. Disk Flags:
  391. Number Start End Size Type File system Flags
  392. 1 1049kB 4096MB 4095MB primary linux-swap(v1)
  393. 2 4096MB 120GB 116GB primary ext4 boot
  394. Model: Optiarc DVD RW AD-7640S (scsi)
  395. Disk /dev/sr0: 1268MB
  396. Sector size (logical/physical): 2048B/2048B
  397. Partition Table: mac
  398. Disk Flags:
  399. Number Start End Size File system Name Flags
  400. 1 2048B 6143B 4096B Apple
  401. 2 7559kB 9984kB 2425kB EFI
  402. =================== parted -lm:
  403. BYT;
  404. /dev/sda:120GB:scsi:512:512:msdos:ATA Samsung SSD 840:;
  405. 1:1049kB:4096MB:4095MB:linux-swap(v1)::;
  406. 2:4096MB:120GB:116GB:ext4::boot;
  407. BYT;
  408. /dev/sr0:1268MB:scsi:2048:2048:mac:Optiarc DVD RW AD-7640S:;
  409. 1:2048B:6143B:4096B::Apple:;
  410. 2:7559kB:9984kB:2425kB::EFI:;
  411. =================== lsblk:
  412. KNAME TYPE FSTYPE SIZE LABEL
  413. sda disk 111.8G
  414. sda1 part swap 3.8G
  415. sda2 part ext4 108G
  416. sr0 rom iso9660 1.2G Ubuntu-GNOME 16.04 LTS amd64
  417. loop0 loop squashfs 1.1G
  418. KNAME ROTA RO RM STATE MOUNTPOINT
  419. sda 0 0 0 running
  420. sda1 0 0 0 [SWAP]
  421. sda2 0 0 0 /mnt/boot-sav/sda2
  422. sr0 1 0 1 running /cdrom
  423. loop0 1 1 0 /rofs
  424. =================== mount:
  425. sysfs on /sys type sysfs (rw,nosuid,nodev,noexec,relatime)
  426. proc on /proc type proc (rw,nosuid,nodev,noexec,relatime)
  427. udev on /dev type devtmpfs (rw,nosuid,relatime,size=1989020k,nr_inodes=497255,mode=755)
  428. devpts on /dev/pts type devpts (rw,nosuid,noexec,relatime,gid=5,mode=620,ptmxmode=000)
  429. tmpfs on /run type tmpfs (rw,nosuid,noexec,relatime,size=400716k,mode=755)
  430. /dev/sr0 on /cdrom type iso9660 (ro,noatime)
  431. /dev/loop0 on /rofs type squashfs (ro,noatime)
  432. /cow on / type overlay (rw,relatime,lowerdir=//filesystem.squashfs,upperdir=/cow/upper,workdir=/cow/work)
  433. securityfs on /sys/kernel/security type securityfs (rw,nosuid,nodev,noexec,relatime)
  434. tmpfs on /dev/shm type tmpfs (rw,nosuid,nodev)
  435. tmpfs on /run/lock type tmpfs (rw,nosuid,nodev,noexec,relatime,size=5120k)
  436. tmpfs on /sys/fs/cgroup type tmpfs (ro,nosuid,nodev,noexec,mode=755)
  437. cgroup on /sys/fs/cgroup/systemd type cgroup (rw,nosuid,nodev,noexec,relatime,xattr,release_agent=/lib/systemd/systemd-cgroups-agent,name=systemd,nsroot=/)
  438. pstore on /sys/fs/pstore type pstore (rw,nosuid,nodev,noexec,relatime)
  439. cgroup on /sys/fs/cgroup/hugetlb type cgroup (rw,nosuid,nodev,noexec,relatime,hugetlb,nsroot=/)
  440. cgroup on /sys/fs/cgroup/net_cls,net_prio type cgroup (rw,nosuid,nodev,noexec,relatime,net_cls,net_prio,nsroot=/)
  441. cgroup on /sys/fs/cgroup/blkio type cgroup (rw,nosuid,nodev,noexec,relatime,blkio,nsroot=/)
  442. cgroup on /sys/fs/cgroup/memory type cgroup (rw,nosuid,nodev,noexec,relatime,memory,nsroot=/)
  443. cgroup on /sys/fs/cgroup/cpu,cpuacct type cgroup (rw,nosuid,nodev,noexec,relatime,cpu,cpuacct,nsroot=/)
  444. cgroup on /sys/fs/cgroup/cpuset type cgroup (rw,nosuid,nodev,noexec,relatime,cpuset,nsroot=/)
  445. cgroup on /sys/fs/cgroup/freezer type cgroup (rw,nosuid,nodev,noexec,relatime,freezer,nsroot=/)
  446. cgroup on /sys/fs/cgroup/devices type cgroup (rw,nosuid,nodev,noexec,relatime,devices,nsroot=/)
  447. cgroup on /sys/fs/cgroup/pids type cgroup (rw,nosuid,nodev,noexec,relatime,pids,nsroot=/)
  448. cgroup on /sys/fs/cgroup/perf_event type cgroup (rw,nosuid,nodev,noexec,relatime,perf_event,nsroot=/)
  449. systemd-1 on /proc/sys/fs/binfmt_misc type autofs (rw,relatime,fd=28,pgrp=1,timeout=0,minproto=5,maxproto=5,direct)
  450. debugfs on /sys/kernel/debug type debugfs (rw,relatime)
  451. hugetlbfs on /dev/hugepages type hugetlbfs (rw,relatime)
  452. mqueue on /dev/mqueue type mqueue (rw,relatime)
  453. fusectl on /sys/fs/fuse/connections type fusectl (rw,relatime)
  454. tracefs on /sys/kernel/debug/tracing type tracefs (rw,relatime)
  455. tmpfs on /tmp type tmpfs (rw,nosuid,nodev,relatime)
  456. tmpfs on /run/user/121 type tmpfs (rw,nosuid,nodev,relatime,size=400716k,mode=700,uid=121,gid=127)
  457. tmpfs on /run/user/999 type tmpfs (rw,nosuid,nodev,relatime,size=400716k,mode=700,uid=999,gid=999)
  458. gvfsd-fuse on /run/user/999/gvfs type fuse.gvfsd-fuse (rw,nosuid,nodev,relatime,user_id=999,group_id=999)
  459. /dev/sda2 on /mnt/boot-sav/sda2 type ext4 (rw,relatime,data=ordered)
  460. =================== ls:
  461. /sys/block/sda (filtered): alignment_offset bdi capability dev device discard_alignment events events_async events_poll_msecs ext_range holders inflight integrity power queue range removable ro sda1 sda2 size slaves stat subsystem trace uevent
  462. /sys/block/sr0 (filtered): alignment_offset bdi capability dev device discard_alignment events events_async events_poll_msecs ext_range holders inflight integrity power queue range removable ro size slaves stat subsystem trace uevent
  463. /dev (filtered): agpgart autofs block bsg btrfs-control bus cdrom cdrw char console core cpu cpu_dma_latency cuse disk dri dvd dvdrw ecryptfs fb0 fd full fuse fw0 hpet hugepages hwrng i2c-0 i2c-1 i2c-2 i2c-3 i2c-4 i2c-5 i2c-6 i2c-7 initctl input kmsg kvm lightnvm log mapper mcelog media0 mem memory_bandwidth mqueue net network_latency network_throughput null port ppp psaux ptmx pts random rfkill rtc rtc0 sda sda1 sda2 sg0 sg1 shm snapshot snd sr0 stderr stdin stdout uhid uinput urandom userio v4l vfio vga_arbiter vhci vhost-net video0 zero
  464. ls /dev/mapper: control
  465. =================== df -Th:
  466. Filesystem Type Size Used Avail Use% Mounted on
  467. udev devtmpfs 1.9G 0 1.9G 0% /dev
  468. tmpfs tmpfs 392M 12M 381M 3% /run
  469. /dev/sr0 iso9660 1.2G 1.2G 0 100% /cdrom
  470. /dev/loop0 squashfs 1.2G 1.2G 0 100% /rofs
  471. /cow overlay 2.0G 240M 1.7G 13% /
  472. tmpfs tmpfs 2.0G 436K 2.0G 1% /dev/shm
  473. tmpfs tmpfs 5.0M 8.0K 5.0M 1% /run/lock
  474. tmpfs tmpfs 2.0G 0 2.0G 0% /sys/fs/cgroup
  475. tmpfs tmpfs 2.0G 52K 2.0G 1% /tmp
  476. tmpfs tmpfs 392M 16K 392M 1% /run/user/121
  477. tmpfs tmpfs 392M 36K 392M 1% /run/user/999
  478. /dev/sda2 ext4 107G 3.4G 98G 4% /mnt/boot-sav/sda2
  479. =================== fdisk -l:
  480. Disk /dev/ram0: 64 MiB, 67108864 bytes, 131072 sectors
  481. Units: sectors of 1 * 512 = 512 bytes
  482. Sector size (logical/physical): 512 bytes / 4096 bytes
  483. I/O size (minimum/optimal): 4096 bytes / 4096 bytes
  484. Disk /dev/ram1: 64 MiB, 67108864 bytes, 131072 sectors
  485. Units: sectors of 1 * 512 = 512 bytes
  486. Sector size (logical/physical): 512 bytes / 4096 bytes
  487. I/O size (minimum/optimal): 4096 bytes / 4096 bytes
  488. Disk /dev/ram2: 64 MiB, 67108864 bytes, 131072 sectors
  489. Units: sectors of 1 * 512 = 512 bytes
  490. Sector size (logical/physical): 512 bytes / 4096 bytes
  491. I/O size (minimum/optimal): 4096 bytes / 4096 bytes
  492. Disk /dev/ram3: 64 MiB, 67108864 bytes, 131072 sectors
  493. Units: sectors of 1 * 512 = 512 bytes
  494. Sector size (logical/physical): 512 bytes / 4096 bytes
  495. I/O size (minimum/optimal): 4096 bytes / 4096 bytes
  496. Disk /dev/ram4: 64 MiB, 67108864 bytes, 131072 sectors
  497. Units: sectors of 1 * 512 = 512 bytes
  498. Sector size (logical/physical): 512 bytes / 4096 bytes
  499. I/O size (minimum/optimal): 4096 bytes / 4096 bytes
  500. Disk /dev/ram5: 64 MiB, 67108864 bytes, 131072 sectors
  501. Units: sectors of 1 * 512 = 512 bytes
  502. Sector size (logical/physical): 512 bytes / 4096 bytes
  503. I/O size (minimum/optimal): 4096 bytes / 4096 bytes
  504. Disk /dev/ram6: 64 MiB, 67108864 bytes, 131072 sectors
  505. Units: sectors of 1 * 512 = 512 bytes
  506. Sector size (logical/physical): 512 bytes / 4096 bytes
  507. I/O size (minimum/optimal): 4096 bytes / 4096 bytes
  508. Disk /dev/ram7: 64 MiB, 67108864 bytes, 131072 sectors
  509. Units: sectors of 1 * 512 = 512 bytes
  510. Sector size (logical/physical): 512 bytes / 4096 bytes
  511. I/O size (minimum/optimal): 4096 bytes / 4096 bytes
  512. Disk /dev/ram8: 64 MiB, 67108864 bytes, 131072 sectors
  513. Units: sectors of 1 * 512 = 512 bytes
  514. Sector size (logical/physical): 512 bytes / 4096 bytes
  515. I/O size (minimum/optimal): 4096 bytes / 4096 bytes
  516. Disk /dev/ram9: 64 MiB, 67108864 bytes, 131072 sectors
  517. Units: sectors of 1 * 512 = 512 bytes
  518. Sector size (logical/physical): 512 bytes / 4096 bytes
  519. I/O size (minimum/optimal): 4096 bytes / 4096 bytes
  520. Disk /dev/ram10: 64 MiB, 67108864 bytes, 131072 sectors
  521. Units: sectors of 1 * 512 = 512 bytes
  522. Sector size (logical/physical): 512 bytes / 4096 bytes
  523. I/O size (minimum/optimal): 4096 bytes / 4096 bytes
  524. Disk /dev/ram11: 64 MiB, 67108864 bytes, 131072 sectors
  525. Units: sectors of 1 * 512 = 512 bytes
  526. Sector size (logical/physical): 512 bytes / 4096 bytes
  527. I/O size (minimum/optimal): 4096 bytes / 4096 bytes
  528. Disk /dev/ram12: 64 MiB, 67108864 bytes, 131072 sectors
  529. Units: sectors of 1 * 512 = 512 bytes
  530. Sector size (logical/physical): 512 bytes / 4096 bytes
  531. I/O size (minimum/optimal): 4096 bytes / 4096 bytes
  532. Disk /dev/ram13: 64 MiB, 67108864 bytes, 131072 sectors
  533. Units: sectors of 1 * 512 = 512 bytes
  534. Sector size (logical/physical): 512 bytes / 4096 bytes
  535. I/O size (minimum/optimal): 4096 bytes / 4096 bytes
  536. Disk /dev/ram14: 64 MiB, 67108864 bytes, 131072 sectors
  537. Units: sectors of 1 * 512 = 512 bytes
  538. Sector size (logical/physical): 512 bytes / 4096 bytes
  539. I/O size (minimum/optimal): 4096 bytes / 4096 bytes
  540. Disk /dev/ram15: 64 MiB, 67108864 bytes, 131072 sectors
  541. Units: sectors of 1 * 512 = 512 bytes
  542. Sector size (logical/physical): 512 bytes / 4096 bytes
  543. I/O size (minimum/optimal): 4096 bytes / 4096 bytes
  544. Disk /dev/loop0: 1.1 GiB, 1215135744 bytes, 2373312 sectors
  545. Units: sectors of 1 * 512 = 512 bytes
  546. Sector size (logical/physical): 512 bytes / 512 bytes
  547. I/O size (minimum/optimal): 512 bytes / 512 bytes
  548. Disk /dev/sda: 111.8 GiB, 120034123776 bytes, 234441648 sectors
  549. Units: sectors of 1 * 512 = 512 bytes
  550. Sector size (logical/physical): 512 bytes / 512 bytes
  551. I/O size (minimum/optimal): 512 bytes / 512 bytes
  552. Disklabel type: dos
  553. Disk identifier: 0x0000dcfe
  554. Device Boot Start End Sectors Size Id Type
  555. /dev/sda1 2048 7999487 7997440 3.8G 82 Linux swap / Solaris
  556. /dev/sda2 * 7999488 234440703 226441216 108G 83 Linux
  557. =================== Recommended repair
  558. The default repair of the Boot-Repair utility will purge (in order to) and reinstall the grub2 of sda2 into the MBR of sda.
  559. Additional repair will be performed: unhide-bootmenu-10s
  560. chroot /mnt/boot-sav/sda2 apt-get -y --force-yes update
  561. AppStream cache update completed, but some metadata was ignored due to errors.
  562. Purge the GRUB of sda2
  563. grub-pc available
  564. 0 upgraded, 0 newly installed, 1 reinstalled, 0 to remove and 84 not upgraded.
  565. W: --force-yes is deprecated, use one of the options starting with --allow instead.
  566. DEBCHECK debOK, grub-pc
  567. DEBCHECK debOK
  568. shim-signed available
  569. linux-signed-generic available
  570. Please type: sudo chroot "/mnt/boot-sav/sda2" dpkg --configure -ansudo chroot "/mnt/boot-sav/sda2" apt-get install -fynsudo chroot "/mnt/boot-sav/sda2" apt-get purge -y --force-yes grub*-common grub-common:i386 shim-signed linux-signed*
  571. =================== sda2/etc/grub.d/ :
  572. drwxr-xr-x 2 root root 4096 May 23 16:52 grub.d
  573. total 4
  574. -rwxr-xr-x 1 root root 1992 Jan 28 12:44 20_memtest86+
  575. Then type: sudo chroot "/mnt/boot-sav/sda2" apt-get install -y --force-yes grub-pc linux-generic
  576. =================== sda2/etc/grub.d/ :
  577. drwxr-xr-x 2 root root 4096 May 23 16:56 grub.d
  578. drwxr-xr-x 2 root root 4096 May 23 16:52 grub.d.bak
  579. total 72
  580. -rwxr-xr-x 1 root root 9791 Apr 15 22:00 00_header
  581. -rwxr-xr-x 1 root root 6258 Mar 15 18:08 05_debian_theme
  582. -rwxr-xr-x 1 root root 12261 Apr 15 22:00 10_linux
  583. -rwxr-xr-x 1 root root 11082 Apr 15 22:00 20_linux_xen
  584. -rwxr-xr-x 1 root root 11692 Apr 15 22:00 30_os-prober
  585. -rwxr-xr-x 1 root root 1418 Apr 15 22:00 30_uefi-firmware
  586. -rwxr-xr-x 1 root root 214 Apr 15 22:00 40_custom
  587. -rwxr-xr-x 1 root root 216 Apr 15 22:00 41_custom
  588. -rw-r--r-- 1 root root 483 Apr 15 22:00 README
  589. =================== sda2/etc/default/grub :
  590. # If you change this file, run 'update-grub' afterwards to update
  591. # /boot/grub/grub.cfg.
  592. # For full documentation of the options in this file, see:
  593. # info -f grub -n 'Simple configuration'
  594. GRUB_DEFAULT=0
  595. GRUB_HIDDEN_TIMEOUT=0
  596. GRUB_HIDDEN_TIMEOUT_QUIET=true
  597. GRUB_TIMEOUT=10
  598. GRUB_DISTRIBUTOR=`lsb_release -i -s 2> /dev/null || echo Debian`
  599. GRUB_CMDLINE_LINUX_DEFAULT="quiet splash"
  600. GRUB_CMDLINE_LINUX=""
  601. # Uncomment to enable BadRAM filtering, modify to suit your needs
  602. # This works with Linux (no patch required) and with any kernel that obtains
  603. # the memory map information from GRUB (GNU Mach, kernel of FreeBSD ...)
  604. #GRUB_BADRAM="0x01234567,0xfefefefe,0x89abcdef,0xefefefef"
  605. # Uncomment to disable graphical terminal (grub-pc only)
  606. #GRUB_TERMINAL=console
  607. # The resolution used on graphical terminal
  608. # note that you can use only modes which your graphic card supports via VBE
  609. # you can see them in real GRUB with the command `vbeinfo'
  610. #GRUB_GFXMODE=640x480
  611. # Uncomment if you don't want GRUB to pass "root=UUID=xxx" parameter to Linux
  612. #GRUB_DISABLE_LINUX_UUID=true
  613. # Uncomment to disable generation of recovery mode menu entries
  614. #GRUB_DISABLE_RECOVERY="true"
  615. # Uncomment to get a beep at grub start
  616. #GRUB_INIT_TUNE="480 440 1"
  617. Unhide GRUB boot menu in sda2/etc/default/grub
  618. =================== sda2/etc/grub.d/ :
  619. drwxr-xr-x 2 root root 4096 May 23 16:56 grub.d
  620. drwxr-xr-x 2 root root 4096 May 23 16:52 grub.d.bak
  621. total 72
  622. -rwxr-xr-x 1 root root 9791 Apr 15 22:00 00_header
  623. -rwxr-xr-x 1 root root 6258 Mar 15 18:08 05_debian_theme
  624. -rwxr-xr-x 1 root root 12261 Apr 15 22:00 10_linux
  625. -rwxr-xr-x 1 root root 11082 Apr 15 22:00 20_linux_xen
  626. -rwxr-xr-x 1 root root 11692 Apr 15 22:00 30_os-prober
  627. -rwxr-xr-x 1 root root 1418 Apr 15 22:00 30_uefi-firmware
  628. -rwxr-xr-x 1 root root 214 Apr 15 22:00 40_custom
  629. -rwxr-xr-x 1 root root 216 Apr 15 22:00 41_custom
  630. -rw-r--r-- 1 root root 483 Apr 15 22:00 README
  631. =================== sda2/etc/default/grub :
  632. # If you change this file, run 'update-grub' afterwards to update
  633. # /boot/grub/grub.cfg.
  634. # For full documentation of the options in this file, see:
  635. # info -f grub -n 'Simple configuration'
  636. GRUB_DEFAULT=0
  637. #GRUB_HIDDEN_TIMEOUT=0
  638. GRUB_HIDDEN_TIMEOUT_QUIET=true
  639. GRUB_TIMEOUT=10
  640. GRUB_DISTRIBUTOR=`lsb_release -i -s 2> /dev/null || echo Debian`
  641. GRUB_CMDLINE_LINUX_DEFAULT="quiet splash"
  642. GRUB_CMDLINE_LINUX=""
  643. # Uncomment to enable BadRAM filtering, modify to suit your needs
  644. # This works with Linux (no patch required) and with any kernel that obtains
  645. # the memory map information from GRUB (GNU Mach, kernel of FreeBSD ...)
  646. #GRUB_BADRAM="0x01234567,0xfefefefe,0x89abcdef,0xefefefef"
  647. # Uncomment to disable graphical terminal (grub-pc only)
  648. #GRUB_TERMINAL=console
  649. # The resolution used on graphical terminal
  650. # note that you can use only modes which your graphic card supports via VBE
  651. # you can see them in real GRUB with the command `vbeinfo'
  652. #GRUB_GFXMODE=640x480
  653. # Uncomment if you don't want GRUB to pass "root=UUID=xxx" parameter to Linux
  654. #GRUB_DISABLE_LINUX_UUID=true
  655. # Uncomment to disable generation of recovery mode menu entries
  656. #GRUB_DISABLE_RECOVERY="true"
  657. # Uncomment to get a beep at grub start
  658. #GRUB_INIT_TUNE="480 440 1"
  659. *******lspci -nnk | grep -iA3 vga
  660. 00:02.0 VGA compatible controller [0300]: Intel Corporation Mobile 4 Series Chipset Integrated Graphics Controller [8086:2a42] (rev 07)
  661. Subsystem: Fujitsu Technology Solutions Mobile 4 Series Chipset Integrated Graphics Controller [1734:1139]
  662. Kernel driver in use: i915
  663. Kernel modules: i915
  664. *******
  665. grub-install --version
  666. grub-install (GRUB) 2.02~beta2-36ubuntu3,grub-install (GRUB) 2.
  667. Reinstall the GRUB of sda2 into the MBR of sda
  668. Installing for i386-pc platform.
  669. Installation finished. No error reported.
  670. grub-install /dev/sda: exit code of grub-install /dev/sda:0
  671. chroot /mnt/boot-sav/sda2 update-grub
  672. Generating grub configuration file ...
  673. Found linux image: /boot/vmlinuz-4.4.0-22-generic
  674. Found initrd image: /boot/initrd.img-4.4.0-22-generic
  675. Found linux image: /boot/vmlinuz-4.4.0-21-generic
  676. Found initrd image: /boot/initrd.img-4.4.0-21-generic
  677. Unhide GRUB boot menu in sda2/boot/grub/grub.cfg
  678. Boot successfully repaired.
  679. You can now reboot your computer.
  680. paste.ubuntu.com ko (), using paste.debian
  681. paste.debian.net ko (), using paste2