Advertisement
Guest User

after install

a guest
Jan 9th, 2017
128
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 155.23 KB | None | 0 0
  1. Boot Info Script cfd9efe + Boot-Repair extra info [Boot-Info 26Apr2016]
  2.  
  3.  
  4. ============================= Boot Info Summary: ===============================
  5.  
  6. => Grub2 (v2.00) is installed in the MBR of /dev/sda and looks at sector 1 of
  7. the same hard drive for core.img. core.img is at this location and looks
  8. for (,msdos1)/grub. It also embeds following components:
  9.  
  10. modules
  11. ---------------------------------------------------------------------------
  12. fshelp ext2 part_msdos biosdisk
  13. ---------------------------------------------------------------------------
  14. => Syslinux MBR (4.04-4.07) is installed in the MBR of /dev/sdb.
  15.  
  16. sda1: __________________________________________________________________________
  17.  
  18. File system: ext2
  19. Boot sector type: -
  20. Boot sector info:
  21. Operating System:
  22. Boot files: /grub/grub.cfg /grub/i386-pc/core.img
  23.  
  24. sda2: __________________________________________________________________________
  25.  
  26. File system: Extended Partition
  27. Boot sector type: Unknown
  28. Boot sector info:
  29.  
  30. sda5: __________________________________________________________________________
  31.  
  32. File system: crypto_LUKS
  33. Boot sector type: Unknown
  34. Boot sector info:
  35.  
  36. sdb1: __________________________________________________________________________
  37.  
  38. File system: vfat
  39. Boot sector type: SYSLINUX 4.07 2013-07-25
  40. Boot sector info: Syslinux looks at sector 29850 of /dev/sdb1 for its
  41. second stage. SYSLINUX is installed in the /uui
  42. directory. No errors found in the Boot Parameter Block.
  43. Operating System:
  44. Boot files: /boot/grub/grub.cfg /casper/vmlinuz.efi
  45. /EFI/BOOT/grubx64.efi
  46.  
  47. ubuntu-vg-root: ________________________________________________________________
  48.  
  49. File system: ext4
  50. Boot sector type: -
  51. Boot sector info:
  52. Operating System: Ubuntu 16.04.1 LTS
  53. Boot files: /boot/grub/grub.cfg /etc/fstab
  54.  
  55. ubuntu-vg-swap_1: ______________________________________________________________
  56.  
  57. File system: swap
  58. Boot sector type: -
  59. Boot sector info:
  60.  
  61. ============================ Drive/Partition Info: =============================
  62.  
  63. Drive: sda _____________________________________________________________________
  64. Disk /dev/sda: 465.8 GiB, 500107862016 bytes, 976773168 sectors
  65. Units: sectors of 1 * 512 = 512 bytes
  66. Sector size (logical/physical): 512 bytes / 4096 bytes
  67. I/O size (minimum/optimal): 4096 bytes / 4096 bytes
  68. Disklabel type: dos
  69.  
  70. Partition Boot Start Sector End Sector # of Sectors Id System
  71.  
  72. /dev/sda1 * 2,048 999,423 997,376 83 Linux
  73. /dev/sda2 1,001,470 976,771,071 975,769,602 5 Extended
  74. /dev/sda5 1,001,472 976,771,071 975,769,600 83 Linux
  75.  
  76.  
  77. Drive: sdb _____________________________________________________________________
  78. Disk /dev/sdb: 14.5 GiB, 15597568000 bytes, 30464000 sectors
  79. Units: sectors of 1 * 512 = 512 bytes
  80. Sector size (logical/physical): 512 bytes / 512 bytes
  81. I/O size (minimum/optimal): 512 bytes / 512 bytes
  82. Disklabel type: dos
  83.  
  84. Partition Boot Start Sector End Sector # of Sectors Id System
  85.  
  86. /dev/sdb1 * 32 30,463,999 30,463,968 c W95 FAT32 (LBA)
  87.  
  88.  
  89. "blkid" output: ________________________________________________________________
  90.  
  91. Device UUID TYPE LABEL
  92.  
  93. /dev/dm-2 105b0e33-8b15-451c-84f5-b119716774d6 swap
  94. /dev/loop0 squashfs
  95. /dev/mapper/sda5_crypt opyuPd-6gPd-saDl-E04d-7eS9-IOWR-SbYxcM LVM2_member
  96. /dev/mapper/ubuntu--vg-root 2c2327ab-7511-42a2-bd3f-b528b06c586b ext4
  97. /dev/mapper/ubuntu--vg-swap_1 105b0e33-8b15-451c-84f5-b119716774d6 swap
  98. /dev/sda1 ca4f1219-ad50-4c0e-8887-260d7168b83e ext2
  99. /dev/sda5 47690e36-4e68-4762-ad51-e3a4cd2478c0 crypto_LUKS
  100. /dev/sdb1 1C0A-1D42 vfat UUI
  101.  
  102. ========================= "ls -l /dev/disk/by-id" output: ======================
  103.  
  104. total 0
  105. lrwxrwxrwx 1 root root 9 Jan 9 19:44 ata-WDC_WD5000LPLX-22ZNTT0_WD-WX41A26F0NS4 -> ../../sda
  106. lrwxrwxrwx 1 root root 10 Jan 9 19:44 ata-WDC_WD5000LPLX-22ZNTT0_WD-WX41A26F0NS4-part1 -> ../../sda1
  107. lrwxrwxrwx 1 root root 10 Jan 9 19:44 ata-WDC_WD5000LPLX-22ZNTT0_WD-WX41A26F0NS4-part2 -> ../../sda2
  108. lrwxrwxrwx 1 root root 10 Jan 9 19:44 ata-WDC_WD5000LPLX-22ZNTT0_WD-WX41A26F0NS4-part5 -> ../../sda5
  109. lrwxrwxrwx 1 root root 9 Jan 9 19:44 ata-hp_DVDWBD_TS-LB23L_R4226GNZA00714 -> ../../sr0
  110. lrwxrwxrwx 1 root root 10 Jan 9 19:44 dm-name-sda5_crypt -> ../../dm-0
  111. lrwxrwxrwx 1 root root 10 Jan 9 19:44 dm-name-ubuntu--vg-root -> ../../dm-1
  112. lrwxrwxrwx 1 root root 10 Jan 9 19:44 dm-name-ubuntu--vg-swap_1 -> ../../dm-2
  113. lrwxrwxrwx 1 root root 10 Jan 9 19:44 dm-uuid-CRYPT-LUKS1-47690e364e684762ad51e3a4cd2478c0-sda5_crypt -> ../../dm-0
  114. lrwxrwxrwx 1 root root 10 Jan 9 19:44 dm-uuid-LVM-jkz6nPefU5qJWGrQDeHaxk7m2FYwlrPJ2CQ0vboUxliCImHv3QHmgf8n8hovveTI -> ../../dm-2
  115. lrwxrwxrwx 1 root root 10 Jan 9 19:44 dm-uuid-LVM-jkz6nPefU5qJWGrQDeHaxk7m2FYwlrPJDdvs38mnESutDwUCSQlSIBlBZvgN4yhC -> ../../dm-1
  116. lrwxrwxrwx 1 root root 10 Jan 9 19:44 lvm-pv-uuid-opyuPd-6gPd-saDl-E04d-7eS9-IOWR-SbYxcM -> ../../dm-0
  117. lrwxrwxrwx 1 root root 9 Jan 9 19:44 usb-SanDisk_Cruzer_Blade_4C530001141031105444-0:0 -> ../../sdb
  118. lrwxrwxrwx 1 root root 10 Jan 9 19:44 usb-SanDisk_Cruzer_Blade_4C530001141031105444-0:0-part1 -> ../../sdb1
  119. lrwxrwxrwx 1 root root 9 Jan 9 19:44 wwn-0x50014ee6069d075b -> ../../sda
  120. lrwxrwxrwx 1 root root 10 Jan 9 19:44 wwn-0x50014ee6069d075b-part1 -> ../../sda1
  121. lrwxrwxrwx 1 root root 10 Jan 9 19:44 wwn-0x50014ee6069d075b-part2 -> ../../sda2
  122. lrwxrwxrwx 1 root root 10 Jan 9 19:44 wwn-0x50014ee6069d075b-part5 -> ../../sda5
  123.  
  124. ========================= "ls -R /dev/mapper/" output: =========================
  125.  
  126. /dev/mapper:
  127. control
  128. sda5_crypt
  129. ubuntu--vg-root
  130. ubuntu--vg-swap_1
  131.  
  132. ================================ Mount points: =================================
  133.  
  134. Device Mount_Point Type Options
  135.  
  136. /dev/loop0 /rofs squashfs (ro,noatime)
  137. /dev/mapper/ubuntu--vg-root /target ext4 (rw,relatime,data=ordered)
  138. /dev/sdb1 /cdrom vfat (ro,noatime,fmask=0022,dmask=0022,codepage=437,iocharset=iso8859-1,shortname=mixed,errors=remount-ro)
  139.  
  140.  
  141. ============================= sda1/grub/grub.cfg: ==============================
  142.  
  143. --------------------------------------------------------------------------------
  144. #
  145. # DO NOT EDIT THIS FILE
  146. #
  147. # It is automatically generated by grub-mkconfig using templates
  148. # from /etc/grub.d and settings from /etc/default/grub
  149. #
  150.  
  151. ### BEGIN /etc/grub.d/00_header ###
  152. if [ -s $prefix/grubenv ]; then
  153. set have_grubenv=true
  154. load_env
  155. fi
  156. if [ "${next_entry}" ] ; then
  157. set default="${next_entry}"
  158. set next_entry=
  159. save_env next_entry
  160. set boot_once=true
  161. else
  162. set default="0"
  163. fi
  164.  
  165. if [ x"${feature_menuentry_id}" = xy ]; then
  166. menuentry_id_option="--id"
  167. else
  168. menuentry_id_option=""
  169. fi
  170.  
  171. export menuentry_id_option
  172.  
  173. if [ "${prev_saved_entry}" ]; then
  174. set saved_entry="${prev_saved_entry}"
  175. save_env saved_entry
  176. set prev_saved_entry=
  177. save_env prev_saved_entry
  178. set boot_once=true
  179. fi
  180.  
  181. function savedefault {
  182. if [ -z "${boot_once}" ]; then
  183. saved_entry="${chosen}"
  184. save_env saved_entry
  185. fi
  186. }
  187. function recordfail {
  188. set recordfail=1
  189. if [ -n "${have_grubenv}" ]; then if [ -z "${boot_once}" ]; then save_env recordfail; fi; fi
  190. }
  191. function load_video {
  192. if [ x$feature_all_video_module = xy ]; then
  193. insmod all_video
  194. else
  195. insmod efi_gop
  196. insmod efi_uga
  197. insmod ieee1275_fb
  198. insmod vbe
  199. insmod vga
  200. insmod video_bochs
  201. insmod video_cirrus
  202. fi
  203. }
  204.  
  205. if [ x$feature_default_font_path = xy ] ; then
  206. font=unicode
  207. else
  208. insmod part_msdos
  209. insmod ext2
  210. set root='hd0,msdos1'
  211. if [ x$feature_platform_search_hint = xy ]; then
  212. search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos1 --hint-efi=hd0,msdos1 --hint-baremetal=ahci0,msdos1 ca4f1219-ad50-4c0e-8887-260d7168b83e
  213. else
  214. search --no-floppy --fs-uuid --set=root ca4f1219-ad50-4c0e-8887-260d7168b83e
  215. fi
  216. font="/grub/unicode.pf2"
  217. fi
  218.  
  219. if loadfont $font ; then
  220. set gfxmode=auto
  221. load_video
  222. insmod gfxterm
  223. set locale_dir=$prefix/locale
  224. set lang=en_US
  225. insmod gettext
  226. fi
  227. terminal_output gfxterm
  228. if [ "${recordfail}" = 1 ] ; then
  229. set timeout=30
  230. else
  231. if [ x$feature_timeout_style = xy ] ; then
  232. set timeout_style=hidden
  233. set timeout=0
  234. # Fallback hidden-timeout code in case the timeout_style feature is
  235. # unavailable.
  236. elif sleep --interruptible 0 ; then
  237. set timeout=0
  238. fi
  239. fi
  240. ### END /etc/grub.d/00_header ###
  241.  
  242. ### BEGIN /etc/grub.d/05_debian_theme ###
  243. set menu_color_normal=white/black
  244. set menu_color_highlight=black/light-gray
  245. if background_color 44,0,30,0; then
  246. clear
  247. fi
  248. ### END /etc/grub.d/05_debian_theme ###
  249.  
  250. ### BEGIN /etc/grub.d/10_linux ###
  251. function gfxmode {
  252. set gfxpayload="${1}"
  253. if [ "${1}" = "keep" ]; then
  254. set vt_handoff=vt.handoff=7
  255. else
  256. set vt_handoff=
  257. fi
  258. }
  259. if [ "${recordfail}" != 1 ]; then
  260. if [ -e ${prefix}/gfxblacklist.txt ]; then
  261. if hwmatch ${prefix}/gfxblacklist.txt 3; then
  262. if [ ${match} = 0 ]; then
  263. set linux_gfx_mode=keep
  264. else
  265. set linux_gfx_mode=text
  266. fi
  267. else
  268. set linux_gfx_mode=text
  269. fi
  270. else
  271. set linux_gfx_mode=keep
  272. fi
  273. else
  274. set linux_gfx_mode=text
  275. fi
  276. export linux_gfx_mode
  277. menuentry 'Ubuntu' --class ubuntu --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-simple-2c2327ab-7511-42a2-bd3f-b528b06c586b' {
  278. recordfail
  279. load_video
  280. gfxmode $linux_gfx_mode
  281. insmod gzio
  282. if [ x$grub_platform = xxen ]; then insmod xzio; insmod lzopio; fi
  283. insmod part_msdos
  284. insmod ext2
  285. set root='hd0,msdos1'
  286. if [ x$feature_platform_search_hint = xy ]; then
  287. search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos1 --hint-efi=hd0,msdos1 --hint-baremetal=ahci0,msdos1 ca4f1219-ad50-4c0e-8887-260d7168b83e
  288. else
  289. search --no-floppy --fs-uuid --set=root ca4f1219-ad50-4c0e-8887-260d7168b83e
  290. fi
  291. linux /vmlinuz-4.4.0-31-generic root=/dev/mapper/ubuntu--vg-root ro quiet splash $vt_handoff
  292. initrd /initrd.img-4.4.0-31-generic
  293. }
  294. submenu 'Advanced options for Ubuntu' $menuentry_id_option 'gnulinux-advanced-2c2327ab-7511-42a2-bd3f-b528b06c586b' {
  295. menuentry 'Ubuntu, with Linux 4.4.0-31-generic' --class ubuntu --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-4.4.0-31-generic-advanced-2c2327ab-7511-42a2-bd3f-b528b06c586b' {
  296. recordfail
  297. load_video
  298. gfxmode $linux_gfx_mode
  299. insmod gzio
  300. if [ x$grub_platform = xxen ]; then insmod xzio; insmod lzopio; fi
  301. insmod part_msdos
  302. insmod ext2
  303. set root='hd0,msdos1'
  304. if [ x$feature_platform_search_hint = xy ]; then
  305. search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos1 --hint-efi=hd0,msdos1 --hint-baremetal=ahci0,msdos1 ca4f1219-ad50-4c0e-8887-260d7168b83e
  306. else
  307. search --no-floppy --fs-uuid --set=root ca4f1219-ad50-4c0e-8887-260d7168b83e
  308. fi
  309. echo 'Loading Linux 4.4.0-31-generic ...'
  310. linux /vmlinuz-4.4.0-31-generic root=/dev/mapper/ubuntu--vg-root ro quiet splash $vt_handoff
  311. echo 'Loading initial ramdisk ...'
  312. initrd /initrd.img-4.4.0-31-generic
  313. }
  314. menuentry 'Ubuntu, with Linux 4.4.0-31-generic (upstart)' --class ubuntu --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-4.4.0-31-generic-init-upstart-2c2327ab-7511-42a2-bd3f-b528b06c586b' {
  315. recordfail
  316. load_video
  317. gfxmode $linux_gfx_mode
  318. insmod gzio
  319. if [ x$grub_platform = xxen ]; then insmod xzio; insmod lzopio; fi
  320. insmod part_msdos
  321. insmod ext2
  322. set root='hd0,msdos1'
  323. if [ x$feature_platform_search_hint = xy ]; then
  324. search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos1 --hint-efi=hd0,msdos1 --hint-baremetal=ahci0,msdos1 ca4f1219-ad50-4c0e-8887-260d7168b83e
  325. else
  326. search --no-floppy --fs-uuid --set=root ca4f1219-ad50-4c0e-8887-260d7168b83e
  327. fi
  328. echo 'Loading Linux 4.4.0-31-generic ...'
  329. linux /vmlinuz-4.4.0-31-generic root=/dev/mapper/ubuntu--vg-root ro quiet splash $vt_handoff init=/sbin/upstart
  330. echo 'Loading initial ramdisk ...'
  331. initrd /initrd.img-4.4.0-31-generic
  332. }
  333. menuentry 'Ubuntu, with Linux 4.4.0-31-generic (recovery mode)' --class ubuntu --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-4.4.0-31-generic-recovery-2c2327ab-7511-42a2-bd3f-b528b06c586b' {
  334. recordfail
  335. load_video
  336. insmod gzio
  337. if [ x$grub_platform = xxen ]; then insmod xzio; insmod lzopio; fi
  338. insmod part_msdos
  339. insmod ext2
  340. set root='hd0,msdos1'
  341. if [ x$feature_platform_search_hint = xy ]; then
  342. search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos1 --hint-efi=hd0,msdos1 --hint-baremetal=ahci0,msdos1 ca4f1219-ad50-4c0e-8887-260d7168b83e
  343. else
  344. search --no-floppy --fs-uuid --set=root ca4f1219-ad50-4c0e-8887-260d7168b83e
  345. fi
  346. echo 'Loading Linux 4.4.0-31-generic ...'
  347. linux /vmlinuz-4.4.0-31-generic root=/dev/mapper/ubuntu--vg-root ro recovery nomodeset
  348. echo 'Loading initial ramdisk ...'
  349. initrd /initrd.img-4.4.0-31-generic
  350. }
  351. }
  352.  
  353. ### END /etc/grub.d/10_linux ###
  354.  
  355. ### BEGIN /etc/grub.d/20_linux_xen ###
  356.  
  357. ### END /etc/grub.d/20_linux_xen ###
  358.  
  359. ### BEGIN /etc/grub.d/20_memtest86+ ###
  360. menuentry 'Memory test (memtest86+)' {
  361. insmod part_msdos
  362. insmod ext2
  363. set root='hd0,msdos1'
  364. if [ x$feature_platform_search_hint = xy ]; then
  365. search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos1 --hint-efi=hd0,msdos1 --hint-baremetal=ahci0,msdos1 ca4f1219-ad50-4c0e-8887-260d7168b83e
  366. else
  367. search --no-floppy --fs-uuid --set=root ca4f1219-ad50-4c0e-8887-260d7168b83e
  368. fi
  369. knetbsd /memtest86+.elf
  370. }
  371. menuentry 'Memory test (memtest86+, serial console 115200)' {
  372. insmod part_msdos
  373. insmod ext2
  374. set root='hd0,msdos1'
  375. if [ x$feature_platform_search_hint = xy ]; then
  376. search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos1 --hint-efi=hd0,msdos1 --hint-baremetal=ahci0,msdos1 ca4f1219-ad50-4c0e-8887-260d7168b83e
  377. else
  378. search --no-floppy --fs-uuid --set=root ca4f1219-ad50-4c0e-8887-260d7168b83e
  379. fi
  380. linux16 /memtest86+.bin console=ttyS0,115200n8
  381. }
  382. ### END /etc/grub.d/20_memtest86+ ###
  383.  
  384. ### BEGIN /etc/grub.d/30_os-prober ###
  385. ### END /etc/grub.d/30_os-prober ###
  386.  
  387. ### BEGIN /etc/grub.d/30_uefi-firmware ###
  388. ### END /etc/grub.d/30_uefi-firmware ###
  389.  
  390. ### BEGIN /etc/grub.d/40_custom ###
  391. # This file provides an easy way to add custom menu entries. Simply type the
  392. # menu entries you want to add after this comment. Be careful not to change
  393. # the 'exec tail' line above.
  394. ### END /etc/grub.d/40_custom ###
  395.  
  396. ### BEGIN /etc/grub.d/41_custom ###
  397. if [ -f ${config_directory}/custom.cfg ]; then
  398. source ${config_directory}/custom.cfg
  399. elif [ -z "${config_directory}" -a -f $prefix/custom.cfg ]; then
  400. source $prefix/custom.cfg;
  401. fi
  402. ### END /etc/grub.d/41_custom ###
  403. --------------------------------------------------------------------------------
  404.  
  405. =================== sda1: Location of files loaded by Grub: ====================
  406.  
  407. GiB - GB File Fragment(s)
  408.  
  409. 0.007655144 = 0.008219648 grub/grub.cfg 4
  410. 0.126763344 = 0.136111104 grub/i386-pc/core.img 2
  411. 0.066134453 = 0.071011328 vmlinuz-4.4.0-31-generic 12
  412. 0.183124542 = 0.196628480 initrd.img-4.4.0-31-generic 18
  413.  
  414. =========================== sdb1/boot/grub/grub.cfg: ===========================
  415.  
  416. --------------------------------------------------------------------------------
  417.  
  418. if loadfont /boot/grub/font.pf2 ; then
  419. set gfxmode=auto
  420. insmod efi_gop
  421. insmod efi_uga
  422. insmod gfxterm
  423. terminal_output gfxterm
  424. fi
  425.  
  426. set menu_color_normal=white/black
  427. set menu_color_highlight=black/light-gray
  428.  
  429. menuentry "Try Ubuntu without installing" {
  430. set gfxpayload=keep
  431. linux /casper/vmlinuz.efi file=/cdrom/preseed/ubuntu.seed cdrom-detect/try-usb=true noprompt floppy.allowed_drive_mask=0 ignore_uuid boot=casper quiet splash ---
  432. initrd /casper/initrd.lz
  433. }
  434. menuentry "Install Ubuntu" {
  435. set gfxpayload=keep
  436. linux /casper/vmlinuz.efi file=/cdrom/preseed/ubuntu.seed cdrom-detect/try-usb=true noprompt floppy.allowed_drive_mask=0 ignore_uuid boot=casper only-ubiquity quiet splash ---
  437. initrd /casper/initrd.lz
  438. }
  439. menuentry "OEM install (for manufacturers)" {
  440. set gfxpayload=keep
  441. linux /casper/vmlinuz.efi file=/cdrom/preseed/ubuntu.seed cdrom-detect/try-usb=true noprompt floppy.allowed_drive_mask=0 ignore_uuid boot=casper only-ubiquity quiet splash oem-config/enable=true ---
  442. initrd /casper/initrd.lz
  443. }
  444. menuentry "Check disc for defects" {
  445. set gfxpayload=keep
  446. linux /casper/vmlinuz.efi cdrom-detect/try-usb=true noprompt floppy.allowed_drive_mask=0 ignore_uuid boot=casper integrity-check quiet splash ---
  447. initrd /casper/initrd.lz
  448. }
  449. --------------------------------------------------------------------------------
  450.  
  451. =================== sdb1: Location of files loaded by Grub: ====================
  452.  
  453. GiB - GB File Fragment(s)
  454.  
  455. ?? = ?? boot/grub/grub.cfg 1
  456.  
  457. ====================== ubuntu-vg-root/boot/grub/grub.cfg: ======================
  458.  
  459. --------------------------------------------------------------------------------
  460. #
  461. # DO NOT EDIT THIS FILE
  462. #
  463. # It is automatically generated by grub-mkconfig using templates
  464. # from /etc/grub.d and settings from /etc/default/grub
  465. #
  466.  
  467. ### BEGIN /etc/grub.d/00_header ###
  468. if [ -s $prefix/grubenv ]; then
  469. set have_grubenv=true
  470. load_env
  471. fi
  472. if [ "${next_entry}" ] ; then
  473. set default="${next_entry}"
  474. set next_entry=
  475. save_env next_entry
  476. set boot_once=true
  477. else
  478. set default="0"
  479. fi
  480.  
  481. if [ x"${feature_menuentry_id}" = xy ]; then
  482. menuentry_id_option="--id"
  483. else
  484. menuentry_id_option=""
  485. fi
  486.  
  487. export menuentry_id_option
  488.  
  489. if [ "${prev_saved_entry}" ]; then
  490. set saved_entry="${prev_saved_entry}"
  491. save_env saved_entry
  492. set prev_saved_entry=
  493. save_env prev_saved_entry
  494. set boot_once=true
  495. fi
  496.  
  497. function savedefault {
  498. if [ -z "${boot_once}" ]; then
  499. saved_entry="${chosen}"
  500. save_env saved_entry
  501. fi
  502. }
  503. function recordfail {
  504. set recordfail=1
  505. # GRUB lacks write support for lvm, so recordfail support is disabled.
  506. }
  507. function load_video {
  508. if [ x$feature_all_video_module = xy ]; then
  509. insmod all_video
  510. else
  511. insmod efi_gop
  512. insmod efi_uga
  513. insmod ieee1275_fb
  514. insmod vbe
  515. insmod vga
  516. insmod video_bochs
  517. insmod video_cirrus
  518. fi
  519. }
  520.  
  521. if loadfont unicode ; then
  522. set gfxmode=auto
  523. load_video
  524. insmod gfxterm
  525. set locale_dir=$prefix/locale
  526. set lang=en_US
  527. insmod gettext
  528. fi
  529. terminal_output gfxterm
  530. if [ "${recordfail}" = 1 ] ; then
  531. set timeout=10
  532. else
  533. if [ x$feature_timeout_style = xy ] ; then
  534. set timeout_style=menu
  535. set timeout=10
  536. # Fallback normal timeout code in case the timeout_style feature is
  537. # unavailable.
  538. else
  539. set timeout=10
  540. fi
  541. fi
  542. ### END /etc/grub.d/00_header ###
  543.  
  544. ### BEGIN /etc/grub.d/05_debian_theme ###
  545. set menu_color_normal=white/black
  546. set menu_color_highlight=black/light-gray
  547. if background_color 44,0,30,0; then
  548. clear
  549. fi
  550. ### END /etc/grub.d/05_debian_theme ###
  551.  
  552. ### BEGIN /etc/grub.d/10_linux ###
  553. function gfxmode {
  554. set gfxpayload="${1}"
  555. if [ "${1}" = "keep" ]; then
  556. set vt_handoff=vt.handoff=7
  557. else
  558. set vt_handoff=
  559. fi
  560. }
  561. if [ "${recordfail}" != 1 ]; then
  562. if [ -e ${prefix}/gfxblacklist.txt ]; then
  563. if hwmatch ${prefix}/gfxblacklist.txt 3; then
  564. if [ ${match} = 0 ]; then
  565. set linux_gfx_mode=keep
  566. else
  567. set linux_gfx_mode=text
  568. fi
  569. else
  570. set linux_gfx_mode=text
  571. fi
  572. else
  573. set linux_gfx_mode=keep
  574. fi
  575. else
  576. set linux_gfx_mode=text
  577. fi
  578. export linux_gfx_mode
  579. menuentry 'Ubuntu' --class ubuntu --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-simple-2c2327ab-7511-42a2-bd3f-b528b06c586b' {
  580. recordfail
  581. load_video
  582. gfxmode $linux_gfx_mode
  583. insmod gzio
  584. if [ x$grub_platform = xxen ]; then insmod xzio; insmod lzopio; fi
  585. insmod part_msdos
  586. insmod cryptodisk
  587. insmod luks
  588. insmod gcry_rijndael
  589. insmod gcry_rijndael
  590. insmod gcry_sha256
  591. insmod lvm
  592. insmod ext2
  593. set root='lvmid/jkz6nP-efU5-qJWG-rQDe-Haxk-7m2F-YwlrPJ/Ddvs38-mnES-utDw-UCSQ-lSIB-lBZv-gN4yhC'
  594. if [ x$feature_platform_search_hint = xy ]; then
  595. search --no-floppy --fs-uuid --set=root --hint='lvmid/jkz6nP-efU5-qJWG-rQDe-Haxk-7m2F-YwlrPJ/Ddvs38-mnES-utDw-UCSQ-lSIB-lBZv-gN4yhC' 2c2327ab-7511-42a2-bd3f-b528b06c586b
  596. else
  597. search --no-floppy --fs-uuid --set=root 2c2327ab-7511-42a2-bd3f-b528b06c586b
  598. fi
  599. linux /boot/vmlinuz-4.4.0-57-generic root=/dev/mapper/ubuntu--vg-root ro quiet splash $vt_handoff
  600. initrd /boot/initrd.img-4.4.0-57-generic
  601. }
  602. submenu 'Advanced options for Ubuntu' $menuentry_id_option 'gnulinux-advanced-2c2327ab-7511-42a2-bd3f-b528b06c586b' {
  603. menuentry 'Ubuntu, with Linux 4.4.0-57-generic' --class ubuntu --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-4.4.0-57-generic-advanced-2c2327ab-7511-42a2-bd3f-b528b06c586b' {
  604. recordfail
  605. load_video
  606. gfxmode $linux_gfx_mode
  607. insmod gzio
  608. if [ x$grub_platform = xxen ]; then insmod xzio; insmod lzopio; fi
  609. insmod part_msdos
  610. insmod cryptodisk
  611. insmod luks
  612. insmod gcry_rijndael
  613. insmod gcry_rijndael
  614. insmod gcry_sha256
  615. insmod lvm
  616. insmod ext2
  617. set root='lvmid/jkz6nP-efU5-qJWG-rQDe-Haxk-7m2F-YwlrPJ/Ddvs38-mnES-utDw-UCSQ-lSIB-lBZv-gN4yhC'
  618. if [ x$feature_platform_search_hint = xy ]; then
  619. search --no-floppy --fs-uuid --set=root --hint='lvmid/jkz6nP-efU5-qJWG-rQDe-Haxk-7m2F-YwlrPJ/Ddvs38-mnES-utDw-UCSQ-lSIB-lBZv-gN4yhC' 2c2327ab-7511-42a2-bd3f-b528b06c586b
  620. else
  621. search --no-floppy --fs-uuid --set=root 2c2327ab-7511-42a2-bd3f-b528b06c586b
  622. fi
  623. echo 'Loading Linux 4.4.0-57-generic ...'
  624. linux /boot/vmlinuz-4.4.0-57-generic root=/dev/mapper/ubuntu--vg-root ro quiet splash $vt_handoff
  625. echo 'Loading initial ramdisk ...'
  626. initrd /boot/initrd.img-4.4.0-57-generic
  627. }
  628. menuentry 'Ubuntu, with Linux 4.4.0-57-generic (upstart)' --class ubuntu --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-4.4.0-57-generic-init-upstart-2c2327ab-7511-42a2-bd3f-b528b06c586b' {
  629. recordfail
  630. load_video
  631. gfxmode $linux_gfx_mode
  632. insmod gzio
  633. if [ x$grub_platform = xxen ]; then insmod xzio; insmod lzopio; fi
  634. insmod part_msdos
  635. insmod cryptodisk
  636. insmod luks
  637. insmod gcry_rijndael
  638. insmod gcry_rijndael
  639. insmod gcry_sha256
  640. insmod lvm
  641. insmod ext2
  642. set root='lvmid/jkz6nP-efU5-qJWG-rQDe-Haxk-7m2F-YwlrPJ/Ddvs38-mnES-utDw-UCSQ-lSIB-lBZv-gN4yhC'
  643. if [ x$feature_platform_search_hint = xy ]; then
  644. search --no-floppy --fs-uuid --set=root --hint='lvmid/jkz6nP-efU5-qJWG-rQDe-Haxk-7m2F-YwlrPJ/Ddvs38-mnES-utDw-UCSQ-lSIB-lBZv-gN4yhC' 2c2327ab-7511-42a2-bd3f-b528b06c586b
  645. else
  646. search --no-floppy --fs-uuid --set=root 2c2327ab-7511-42a2-bd3f-b528b06c586b
  647. fi
  648. echo 'Loading Linux 4.4.0-57-generic ...'
  649. linux /boot/vmlinuz-4.4.0-57-generic root=/dev/mapper/ubuntu--vg-root ro quiet splash $vt_handoff init=/sbin/upstart
  650. echo 'Loading initial ramdisk ...'
  651. initrd /boot/initrd.img-4.4.0-57-generic
  652. }
  653. menuentry 'Ubuntu, with Linux 4.4.0-57-generic (recovery mode)' --class ubuntu --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-4.4.0-57-generic-recovery-2c2327ab-7511-42a2-bd3f-b528b06c586b' {
  654. recordfail
  655. load_video
  656. insmod gzio
  657. if [ x$grub_platform = xxen ]; then insmod xzio; insmod lzopio; fi
  658. insmod part_msdos
  659. insmod cryptodisk
  660. insmod luks
  661. insmod gcry_rijndael
  662. insmod gcry_rijndael
  663. insmod gcry_sha256
  664. insmod lvm
  665. insmod ext2
  666. set root='lvmid/jkz6nP-efU5-qJWG-rQDe-Haxk-7m2F-YwlrPJ/Ddvs38-mnES-utDw-UCSQ-lSIB-lBZv-gN4yhC'
  667. if [ x$feature_platform_search_hint = xy ]; then
  668. search --no-floppy --fs-uuid --set=root --hint='lvmid/jkz6nP-efU5-qJWG-rQDe-Haxk-7m2F-YwlrPJ/Ddvs38-mnES-utDw-UCSQ-lSIB-lBZv-gN4yhC' 2c2327ab-7511-42a2-bd3f-b528b06c586b
  669. else
  670. search --no-floppy --fs-uuid --set=root 2c2327ab-7511-42a2-bd3f-b528b06c586b
  671. fi
  672. echo 'Loading Linux 4.4.0-57-generic ...'
  673. linux /boot/vmlinuz-4.4.0-57-generic root=/dev/mapper/ubuntu--vg-root ro recovery nomodeset
  674. echo 'Loading initial ramdisk ...'
  675. initrd /boot/initrd.img-4.4.0-57-generic
  676. }
  677. }
  678.  
  679. ### END /etc/grub.d/10_linux ###
  680.  
  681. ### BEGIN /etc/grub.d/20_linux_xen ###
  682.  
  683. ### END /etc/grub.d/20_linux_xen ###
  684.  
  685. ### BEGIN /etc/grub.d/30_os-prober ###
  686. ### END /etc/grub.d/30_os-prober ###
  687.  
  688. ### BEGIN /etc/grub.d/30_uefi-firmware ###
  689. ### END /etc/grub.d/30_uefi-firmware ###
  690.  
  691. ### BEGIN /etc/grub.d/40_custom ###
  692. # This file provides an easy way to add custom menu entries. Simply type the
  693. # menu entries you want to add after this comment. Be careful not to change
  694. # the 'exec tail' line above.
  695. ### END /etc/grub.d/40_custom ###
  696.  
  697. ### BEGIN /etc/grub.d/41_custom ###
  698. if [ -f ${config_directory}/custom.cfg ]; then
  699. source ${config_directory}/custom.cfg
  700. elif [ -z "${config_directory}" -a -f $prefix/custom.cfg ]; then
  701. source $prefix/custom.cfg;
  702. fi
  703. ### END /etc/grub.d/41_custom ###
  704. --------------------------------------------------------------------------------
  705.  
  706. ========================== ubuntu-vg-root/etc/fstab: ===========================
  707.  
  708. --------------------------------------------------------------------------------
  709. # /etc/fstab: static file system information.
  710. #
  711. # Use 'blkid' to print the universally unique identifier for a
  712. # device; this may be used with UUID= as a more robust way to name devices
  713. # that works even if disks are added and removed. See fstab(5).
  714. #
  715. # <file system> <mount point> <type> <options> <dump> <pass>
  716. /dev/mapper/ubuntu--vg-root / ext4 errors=remount-ro 0 1
  717. # /boot was on /dev/sda1 during installation
  718. UUID=ca4f1219-ad50-4c0e-8887-260d7168b83e /boot ext2 defaults 0 2
  719. /dev/mapper/ubuntu--vg-swap_1 none swap sw 0 0
  720. --------------------------------------------------------------------------------
  721.  
  722. ============== ubuntu-vg-root: Location of files loaded by Grub: ===============
  723.  
  724. GiB - GB File Fragment(s)
  725.  
  726. 0.000003815 = 0.000004096 boot/grub/grub.cfg 1
  727. 1.464790344 = 1.572806656 boot/vmlinuz-4.4.0-57-generic 1
  728. 1.464790344 = 1.572806656 vmlinuz 1
  729. 1.285778046 = 1.380593664 boot/initrd.img-4.4.0-31-generic 2
  730. 1.634971619 = 1.755537408 boot/initrd.img-4.4.0-57-generic 3
  731. 1.634971619 = 1.755537408 initrd.img 3
  732. 1.285778046 = 1.380593664 initrd.img.old 2
  733.  
  734. ======================== Unknown MBRs/Boot Sectors/etc: ========================
  735.  
  736. Unknown BootLoader on sda2
  737.  
  738.  
  739. Unknown BootLoader on sda5
  740.  
  741. 00000000 4c 55 4b 53 ba be 00 01 61 65 73 00 00 00 00 00 |LUKS....aes.....|
  742. 00000010 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................|
  743. 00000020 00 00 00 00 00 00 00 00 78 74 73 2d 70 6c 61 69 |........xts-plai|
  744. 00000030 6e 36 34 00 00 00 00 00 00 00 00 00 00 00 00 00 |n64.............|
  745. 00000040 00 00 00 00 00 00 00 00 73 68 61 32 35 36 00 00 |........sha256..|
  746. 00000050 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................|
  747. 00000060 00 00 00 00 00 00 00 00 00 00 10 00 00 00 00 40 |...............@|
  748. 00000070 ee bf f8 71 83 d1 73 7e 0c 22 fc cb fa 2e d0 94 |...q..s~."......|
  749. 00000080 19 58 b0 2c 05 92 cd e9 43 1c 69 18 03 0d c8 a4 |.X.,....C.i.....|
  750. 00000090 bd 2f 69 24 f3 c8 22 36 1a ef 71 af c4 30 7b 09 |./i$.."6..q..0{.|
  751. 000000a0 1d 2d 0e 15 00 00 aa 69 34 37 36 39 30 65 33 36 |.-.....i47690e36|
  752. 000000b0 2d 34 65 36 38 2d 34 37 36 32 2d 61 64 35 31 2d |-4e68-4762-ad51-|
  753. 000000c0 65 33 61 34 63 64 32 34 37 38 63 30 00 00 00 00 |e3a4cd2478c0....|
  754. 000000d0 00 ac 71 f3 00 02 ae cf 72 17 e1 61 d4 2e 64 c4 |..q.....r..a..d.|
  755. 000000e0 64 8b 95 1a 6f 17 74 e5 3f 17 59 81 cc 6d b6 19 |d...o.t.?.Y..m..|
  756. 000000f0 5e 79 aa 70 44 d8 1f 3a 00 00 00 08 00 00 0f a0 |^y.pD..:........|
  757. 00000100 00 00 de ad 00 00 00 00 00 00 00 00 00 00 00 00 |................|
  758. 00000110 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................|
  759. 00000120 00 00 00 00 00 00 00 00 00 00 02 00 00 00 0f a0 |................|
  760. 00000130 00 00 de ad 00 00 00 00 00 00 00 00 00 00 00 00 |................|
  761. 00000140 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................|
  762. 00000150 00 00 00 00 00 00 00 00 00 00 03 f8 00 00 0f a0 |................|
  763. 00000160 00 00 de ad 00 00 00 00 00 00 00 00 00 00 00 00 |................|
  764. 00000170 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................|
  765. 00000180 00 00 00 00 00 00 00 00 00 00 05 f0 00 00 0f a0 |................|
  766. 00000190 00 00 de ad 00 00 00 00 00 00 00 00 00 00 00 00 |................|
  767. 000001a0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................|
  768. 000001b0 00 00 00 00 00 00 00 00 00 00 07 e8 00 00 0f a0 |................|
  769. 000001c0 00 00 de ad 00 00 00 00 00 00 00 00 00 00 00 00 |................|
  770. 000001d0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................|
  771. 000001e0 00 00 00 00 00 00 00 00 00 00 09 e0 00 00 0f a0 |................|
  772. 000001f0 00 00 de ad 00 00 00 00 00 00 00 00 00 00 00 00 |................|
  773. 00000200
  774.  
  775.  
  776. =============================== StdErr Messages: ===============================
  777.  
  778. hexdump: /dev/sda2: No such device or address
  779. hexdump: /dev/sda2: No such device or address
  780. File descriptor 9 (/proc/27915/mounts) leaked on lvs invocation. Parent PID 10759: bash
  781. File descriptor 63 (pipe:[164730]) leaked on lvs invocation. Parent PID 10759: bash
  782. File descriptor 9 (/proc/27915/mounts) leaked on lvchange invocation. Parent PID 11646: bash
  783. File descriptor 63 (pipe:[164730]) leaked on lvchange invocation. Parent PID 11646: bash
  784. File descriptor 9 (/proc/27915/mounts) leaked on lvchange invocation. Parent PID 11646: bash
  785. File descriptor 63 (pipe:[164730]) leaked on lvchange invocation. Parent PID 11646: bash
  786.  
  787. ADDITIONAL INFORMATION :
  788. =================== log of boot-repair 2017-01-09__19h33 ===================
  789. boot-repair version : 4ppa40
  790. boot-sav version : 4ppa40
  791. glade2script version : 3.2.3~ppa1
  792. boot-sav-extra version : 4ppa40
  793. BLKID BEFORE LVM ACTIVATION:
  794. /dev/sda1: UUID="ca4f1219-ad50-4c0e-8887-260d7168b83e" TYPE="ext2" PARTUUID="fcf02b58-01"
  795. /dev/sdb1: LABEL="UUI" UUID="1C0A-1D42" TYPE="vfat" PARTUUID="6d0f5a6d-01"
  796. /dev/sda5: UUID="47690e36-4e68-4762-ad51-e3a4cd2478c0" TYPE="crypto_LUKS" PARTUUID="fcf02b58-05"
  797. /dev/dm-2: UUID="105b0e33-8b15-451c-84f5-b119716774d6" TYPE="swap"
  798. /dev/mapper/ubuntu--vg-root: UUID="2c2327ab-7511-42a2-bd3f-b528b06c586b" TYPE="ext4"
  799. /dev/mapper/ubuntu--vg-swap_1: UUID="105b0e33-8b15-451c-84f5-b119716774d6" TYPE="swap"
  800. /dev/loop0: TYPE="squashfs"
  801. /dev/mapper/sda5_crypt: UUID="opyuPd-6gPd-saDl-E04d-7eS9-IOWR-SbYxcM" TYPE="LVM2_member"
  802. MODPROBE
  803. VGSCAN
  804. File descriptor 9 (/proc/27915/mounts) leaked on vgscan invocation. Parent PID 27927: /bin/bash
  805. Reading all physical volumes. This may take a while...
  806. Found volume group "ubuntu-vg" using metadata type lvm2
  807. VGCHANGE
  808. File descriptor 9 (/proc/27915/mounts) leaked on vgchange invocation. Parent PID 27927: /bin/bash
  809. 2 logical volume(s) in volume group "ubuntu-vg" now active
  810. File descriptor 9 (/proc/27915/mounts) leaked on lvscan invocation. Parent PID 27927: /bin/bash
  811. LVSCAN:
  812. ACTIVE '/dev/ubuntu-vg/root' [459.53 GiB] inherit
  813. ACTIVE '/dev/ubuntu-vg/swap_1' [5.75 GiB] inherit
  814. Gtk-Message: GtkDialog mapped without a transient parent. This is discouraged.
  815. Is there RAID on this computer? no
  816. Error: /dev/mapper/sda5_crypt: unrecognised disk label
  817. Error: /dev/mapper/sda5_crypt: unrecognised disk label
  818. boot-repair is executed in live-session (Ubuntu 16.04.1 LTS, xenial, Ubuntu, x86_64)
  819. CPU op-mode(s): 32-bit, 64-bit
  820. file=/cdrom/preseed/ubuntu.seed boot=casper cdrom-detect/try-usb=true noprompt floppy.allowed_drive_mask=0 ignore_uuid initrd=/casper/initrd.lz quiet splash --- BOOT_IMAGE=/casper/vmlinuz.efi
  821. ls: cannot access '/home/usr/.config': No such file or directory
  822. [dmraid -sa -c] no
  823. [dmraid -sa -c] raid
  824. [dmraid -sa -c] disks
  825. Set sda as corresponding disk of mapper/ubuntu--vg-root
  826. mount: unknown filesystem type 'crypto_LUKS'
  827. mount /dev/sda5 : Error code 32
  828. mount -r /dev/sda5 /mnt/boot-sav/sda5
  829. mount: unknown filesystem type 'crypto_LUKS'
  830. mount -r /dev/sda5 : Error code 32
  831. Partition 2 does not start on physical sector boundary.
  832.  
  833. =================== os-prober:
  834.  
  835.  
  836. =================== blkid:
  837. /dev/sda1: UUID="ca4f1219-ad50-4c0e-8887-260d7168b83e" TYPE="ext2" PARTUUID="fcf02b58-01"
  838. /dev/sdb1: LABEL="UUI" UUID="1C0A-1D42" TYPE="vfat" PARTUUID="6d0f5a6d-01"
  839. /dev/sda5: UUID="47690e36-4e68-4762-ad51-e3a4cd2478c0" TYPE="crypto_LUKS" PARTUUID="fcf02b58-05"
  840. /dev/dm-2: UUID="105b0e33-8b15-451c-84f5-b119716774d6" TYPE="swap"
  841. /dev/mapper/ubuntu--vg-root: UUID="2c2327ab-7511-42a2-bd3f-b528b06c586b" TYPE="ext4"
  842. /dev/mapper/ubuntu--vg-swap_1: UUID="105b0e33-8b15-451c-84f5-b119716774d6" TYPE="swap"
  843. /dev/loop0: TYPE="squashfs"
  844. /dev/mapper/sda5_crypt: UUID="opyuPd-6gPd-saDl-E04d-7eS9-IOWR-SbYxcM" TYPE="LVM2_member"
  845.  
  846. mount: unknown filesystem type 'crypto_LUKS'
  847. mount /dev/sda5 : Error code 32
  848. mount -r /dev/sda5 /mnt/boot-sav/sda5
  849. mount: unknown filesystem type 'crypto_LUKS'
  850. mount -r /dev/sda5 : Error code 32
  851. Linux not detected by os-prober on mapper/ubuntu--vg-root. Please report this message to boot.repair@gmail.com
  852. Partition 2 does not start on physical sector boundary.
  853. Partition 2 does not start on physical sector boundary.
  854.  
  855. =================== /target/etc/grub.d/ :
  856. drwxr-xr-x 2 root root 4096 Jul 19 16:50 grub.d
  857. total 76
  858. -rwxr-xr-x 1 root root 9791 Jun 17 2016 00_header
  859. -rwxr-xr-x 1 root root 6258 Mar 15 2016 05_debian_theme
  860. -rwxr-xr-x 1 root root 12261 Jun 17 2016 10_linux
  861. -rwxr-xr-x 1 root root 11082 Jun 17 2016 20_linux_xen
  862. -rwxr-xr-x 1 root root 1992 Jan 28 2016 20_memtest86+
  863. -rwxr-xr-x 1 root root 11692 Jun 17 2016 30_os-prober
  864. -rwxr-xr-x 1 root root 1418 Jun 17 2016 30_uefi-firmware
  865. -rwxr-xr-x 1 root root 214 Jun 17 2016 40_custom
  866. -rwxr-xr-x 1 root root 216 Jun 17 2016 41_custom
  867. -rw-r--r-- 1 root root 483 Jun 17 2016 README
  868.  
  869.  
  870.  
  871.  
  872. =================== /target/etc/default/grub :
  873.  
  874. # If you change this file, run 'update-grub' afterwards to update
  875. # /boot/grub/grub.cfg.
  876. # For full documentation of the options in this file, see:
  877. # info -f grub -n 'Simple configuration'
  878.  
  879. GRUB_DEFAULT=0
  880. GRUB_HIDDEN_TIMEOUT=0
  881. GRUB_HIDDEN_TIMEOUT_QUIET=true
  882. GRUB_TIMEOUT=10
  883. GRUB_DISTRIBUTOR=`lsb_release -i -s 2> /dev/null || echo Debian`
  884. GRUB_CMDLINE_LINUX_DEFAULT="quiet splash"
  885. GRUB_CMDLINE_LINUX=""
  886.  
  887. # Uncomment to enable BadRAM filtering, modify to suit your needs
  888. # This works with Linux (no patch required) and with any kernel that obtains
  889. # the memory map information from GRUB (GNU Mach, kernel of FreeBSD ...)
  890. #GRUB_BADRAM="0x01234567,0xfefefefe,0x89abcdef,0xefefefef"
  891.  
  892. # Uncomment to disable graphical terminal (grub-pc only)
  893. #GRUB_TERMINAL=console
  894.  
  895. # The resolution used on graphical terminal
  896. # note that you can use only modes which your graphic card supports via VBE
  897. # you can see them in real GRUB with the command `vbeinfo'
  898. #GRUB_GFXMODE=640x480
  899.  
  900. # Uncomment if you don't want GRUB to pass "root=UUID=xxx" parameter to Linux
  901. #GRUB_DISABLE_LINUX_UUID=true
  902.  
  903. # Uncomment to disable generation of recovery mode menu entries
  904. #GRUB_DISABLE_RECOVERY="true"
  905.  
  906. # Uncomment to get a beep at grub start
  907. #GRUB_INIT_TUNE="480 440 1"
  908.  
  909.  
  910.  
  911. /boot detected in the fstab of mapper/ubuntu--vg-root: UUID=ca4f1219-ad50-4c0e-8887-260d7168b83e (sda1)
  912.  
  913. =================== UEFI/Legacy mode:
  914. This live-session is not in EFI-mode.
  915. SecureBoot maybe enabled.
  916.  
  917.  
  918. =================== PARTITIONS & DISKS:
  919. sda1 : sda, is-sepboot, grubenv-ok 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, /target/boot.
  920. sda5 : sda, maybesepboot, no-grubenv nogrub, no-docgrub, no-update-grub, 32, no-boot, no-os, not--efi--part, part-has-no-fstab, part-has-no-fstab, no-nt, no-winload, no-recov-nor-hid, no-bmgr, notwinboot, nopakmgr, nogrubinstall, no---usr, part-has-no-fstab, not-sep-usr, standard, farbios, /mnt/boot-sav/sda5.
  921. mapper/ubuntu--vg-root : sda, not-sepboot, grubenv-ok grub2, signed grub-pc , update-grub, 64, with-boot, is-os, not--efi--part, fstab-has-goodBOOT, fstab-without-efi, no-nt, no-winload, no-recov-nor-hid, no-bmgr, notwinboot, apt-get, grub-install, with--usr, fstab-without-usr, not-sep-usr, standard, not-far, /target.
  922.  
  923. sda : not-GPT, BIOSboot-not-needed, has-no-EFIpart, not-usb, has-os, 2048 sectors * 512 bytes
  924.  
  925.  
  926. =================== parted -l:
  927.  
  928. Model: ATA WDC WD5000LPLX-2 (scsi)
  929. Disk /dev/sda: 500GB
  930. Sector size (logical/physical): 512B/4096B
  931. Partition Table: msdos
  932. Disk Flags:
  933.  
  934. Number Start End Size Type File system Flags
  935. 1 1049kB 512MB 511MB primary ext2 boot
  936. 2 513MB 500GB 500GB extended
  937. 5 513MB 500GB 500GB logical
  938.  
  939.  
  940. Model: SanDisk Cruzer Blade (scsi)
  941. Disk /dev/sdb: 15.6GB
  942. Sector size (logical/physical): 512B/512B
  943. Partition Table: msdos
  944. Disk Flags:
  945.  
  946. Number Start End Size Type File system Flags
  947. 1 16.4kB 15.6GB 15.6GB primary fat32 boot, lba
  948.  
  949.  
  950. Model: Linux device-mapper (linear) (dm)
  951. Disk /dev/mapper/ubuntu--vg-swap_1: 6170MB
  952. Sector size (logical/physical): 512B/4096B
  953. Partition Table: loop
  954. Disk Flags:
  955.  
  956. Number Start End Size File system Flags
  957. 1 0.00B 6170MB 6170MB linux-swap(v1)
  958.  
  959.  
  960. Model: Linux device-mapper (linear) (dm)
  961. Disk /dev/mapper/ubuntu--vg-root: 493GB
  962. Sector size (logical/physical): 512B/4096B
  963. Partition Table: loop
  964. Disk Flags:
  965.  
  966. Number Start End Size File system Flags
  967. 1 0.00B 493GB 493GB ext4
  968.  
  969.  
  970. Model: Linux device-mapper (crypt) (dm)
  971. Disk /dev/mapper/sda5_crypt: 500GB
  972. Sector size (logical/physical): 512B/4096B
  973. Partition Table: unknown
  974. Disk Flags:
  975.  
  976. =================== parted -lm:
  977.  
  978. BYT;
  979. /dev/sda:500GB:scsi:512:4096:msdos:ATA WDC WD5000LPLX-2:;
  980. 1:1049kB:512MB:511MB:ext2::boot;
  981. 2:513MB:500GB:500GB:::;
  982. 5:513MB:500GB:500GB:::;
  983.  
  984. BYT;
  985. /dev/sdb:15.6GB:scsi:512:512:msdos:SanDisk Cruzer Blade:;
  986. 1:16.4kB:15.6GB:15.6GB:fat32::boot, lba;
  987.  
  988. BYT;
  989. /dev/mapper/ubuntu--vg-swap_1:6170MB:dm:512:4096:loop:Linux device-mapper (linear):;
  990. 1:0.00B:6170MB:6170MB:linux-swap(v1)::;
  991.  
  992. BYT;
  993. /dev/mapper/ubuntu--vg-root:493GB:dm:512:4096:loop:Linux device-mapper (linear):;
  994. 1:0.00B:493GB:493GB:ext4::;
  995.  
  996. BYT;
  997. /dev/mapper/sda5_crypt:500GB:dm:512:4096:unknown:Linux device-mapper (crypt):;
  998.  
  999. =================== lsblk:
  1000. KNAME TYPE FSTYPE SIZE LABEL
  1001. sda disk 465.8G
  1002. sda1 part ext2 487M
  1003. sda5 part crypto_LUKS 465.3G
  1004. dm-0 crypt LVM2_member 465.3G
  1005. dm-1 lvm ext4 459.5G
  1006. dm-2 lvm swap 5.8G
  1007. sdb disk 14.5G
  1008. sdb1 part vfat 14.5G UUI
  1009. sr0 rom 1024M
  1010. loop0 loop squashfs 1.4G
  1011.  
  1012. KNAME ROTA RO RM STATE MOUNTPOINT
  1013. sda 1 0 0 running
  1014. sda1 1 0 0 /target/boot
  1015. sda5 1 0 0
  1016. dm-0 1 0 0 running
  1017. dm-1 1 0 0 running /target
  1018. dm-2 1 0 0 running [SWAP]
  1019. sdb 1 0 1 running
  1020. sdb1 1 0 1 /target/cdrom
  1021. sr0 1 0 1 running
  1022. loop0 1 1 0 /rofs
  1023.  
  1024.  
  1025. =================== mount:
  1026. sysfs on /sys type sysfs (rw,nosuid,nodev,noexec,relatime)
  1027. proc on /proc type proc (rw,nosuid,nodev,noexec,relatime)
  1028. udev on /dev type devtmpfs (rw,nosuid,relatime,size=2876592k,nr_inodes=719148,mode=755)
  1029. devpts on /dev/pts type devpts (rw,nosuid,noexec,relatime,gid=5,mode=620,ptmxmode=000)
  1030. tmpfs on /run type tmpfs (rw,nosuid,noexec,relatime,size=584840k,mode=755)
  1031. /dev/sdb1 on /cdrom type vfat (ro,noatime,fmask=0022,dmask=0022,codepage=437,iocharset=iso8859-1,shortname=mixed,errors=remount-ro)
  1032. /dev/loop0 on /rofs type squashfs (ro,noatime)
  1033. /cow on / type overlay (rw,relatime,lowerdir=//filesystem.squashfs,upperdir=/cow/upper,workdir=/cow/work)
  1034. securityfs on /sys/kernel/security type securityfs (rw,nosuid,nodev,noexec,relatime)
  1035. tmpfs on /dev/shm type tmpfs (rw,nosuid,nodev)
  1036. tmpfs on /run/lock type tmpfs (rw,nosuid,nodev,noexec,relatime,size=5120k)
  1037. tmpfs on /sys/fs/cgroup type tmpfs (ro,nosuid,nodev,noexec,mode=755)
  1038. cgroup on /sys/fs/cgroup/systemd type cgroup (rw,nosuid,nodev,noexec,relatime,xattr,release_agent=/lib/systemd/systemd-cgroups-agent,name=systemd)
  1039. pstore on /sys/fs/pstore type pstore (rw,nosuid,nodev,noexec,relatime)
  1040. cgroup on /sys/fs/cgroup/perf_event type cgroup (rw,nosuid,nodev,noexec,relatime,perf_event)
  1041. cgroup on /sys/fs/cgroup/hugetlb type cgroup (rw,nosuid,nodev,noexec,relatime,hugetlb)
  1042. cgroup on /sys/fs/cgroup/pids type cgroup (rw,nosuid,nodev,noexec,relatime,pids)
  1043. cgroup on /sys/fs/cgroup/freezer type cgroup (rw,nosuid,nodev,noexec,relatime,freezer)
  1044. cgroup on /sys/fs/cgroup/devices type cgroup (rw,nosuid,nodev,noexec,relatime,devices)
  1045. cgroup on /sys/fs/cgroup/blkio type cgroup (rw,nosuid,nodev,noexec,relatime,blkio)
  1046. cgroup on /sys/fs/cgroup/cpu,cpuacct type cgroup (rw,nosuid,nodev,noexec,relatime,cpu,cpuacct)
  1047. cgroup on /sys/fs/cgroup/net_cls,net_prio type cgroup (rw,nosuid,nodev,noexec,relatime,net_cls,net_prio)
  1048. cgroup on /sys/fs/cgroup/cpuset type cgroup (rw,nosuid,nodev,noexec,relatime,cpuset)
  1049. cgroup on /sys/fs/cgroup/memory type cgroup (rw,nosuid,nodev,noexec,relatime,memory)
  1050. systemd-1 on /proc/sys/fs/binfmt_misc type autofs (rw,relatime,fd=32,pgrp=1,timeout=0,minproto=5,maxproto=5,direct)
  1051. mqueue on /dev/mqueue type mqueue (rw,relatime)
  1052. hugetlbfs on /dev/hugepages type hugetlbfs (rw,relatime)
  1053. debugfs on /sys/kernel/debug type debugfs (rw,relatime)
  1054. tracefs on /sys/kernel/debug/tracing type tracefs (rw,relatime)
  1055. fusectl on /sys/fs/fuse/connections type fusectl (rw,relatime)
  1056. tmpfs on /tmp type tmpfs (rw,nosuid,nodev,relatime)
  1057. tmpfs on /run/user/999 type tmpfs (rw,nosuid,nodev,relatime,size=584840k,mode=700,uid=999,gid=999)
  1058. gvfsd-fuse on /run/user/999/gvfs type fuse.gvfsd-fuse (rw,nosuid,nodev,relatime,user_id=999,group_id=999)
  1059. /dev/mapper/ubuntu--vg-root on /target type ext4 (rw,relatime,errors=remount-ro,data=ordered)
  1060. /dev/sda1 on /target/boot type ext2 (rw,relatime,block_validity,barrier,user_xattr,acl,stripe=4)
  1061. /dev/sdb1 on /target/cdrom type vfat (ro,noatime,fmask=0022,dmask=0022,codepage=437,iocharset=iso8859-1,shortname=mixed,errors=remount-ro)
  1062.  
  1063.  
  1064. =================== ls:
  1065. /sys/block/dm-0 (filtered): alignment_offset bdi capability dev discard_alignment dm ext_range holders inflight integrity power queue range removable ro size slaves stat subsystem trace uevent
  1066. /sys/block/dm-1 (filtered): alignment_offset bdi capability dev discard_alignment dm ext_range holders inflight integrity power queue range removable ro size slaves stat subsystem trace uevent
  1067. /sys/block/dm-2 (filtered): alignment_offset bdi capability dev discard_alignment dm ext_range holders inflight integrity power queue range removable ro size slaves stat subsystem trace uevent
  1068. /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 sda5 size slaves stat subsystem trace uevent
  1069. /sys/block/sdb (filtered): alignment_offset bdi capability dev device discard_alignment events events_async events_poll_msecs ext_range holders inflight integrity power queue range removable ro sdb1 size slaves stat subsystem trace uevent
  1070. /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
  1071. /dev (filtered): autofs block bsg btrfs-control bus cdrom cdrw char console core cpu cpu_dma_latency cuse disk dm-0 dm-1 dm-2 dri dvd dvdrw ecryptfs fb0 fb1 fd freefall full fuse hidraw0 hpet hugepages hwrng i2c-0 i2c-1 i2c-10 i2c-11 i2c-12 i2c-2 i2c-3 i2c-4 i2c-5 i2c-6 i2c-7 i2c-8 i2c-9 initctl input kfd kmsg 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 sda5 sdb sdb1 sg0 sg1 sg2 shm snapshot snd sr0 stderr stdin stdout ubuntu-vg uhid uinput urandom userio v4l vfio vga_arbiter vhci vhost-net video0 zero
  1072. ls /dev/mapper: control sda5_crypt ubuntu--vg-root ubuntu--vg-swap_1
  1073. Partition 2 does not start on physical sector boundary.
  1074.  
  1075. =================== df -Th:
  1076.  
  1077. Filesystem Type Size Used Avail Use% Mounted on
  1078. udev devtmpfs 2.8G 0 2.8G 0% /dev
  1079. tmpfs tmpfs 572M 8.6M 563M 2% /run
  1080. /dev/sdb1 vfat 15G 1.5G 14G 10% /cdrom
  1081. /dev/loop0 squashfs 1.4G 1.4G 0 100% /rofs
  1082. /cow overlay 2.8G 94M 2.7G 4% /
  1083. tmpfs tmpfs 2.8G 196K 2.8G 1% /dev/shm
  1084. tmpfs tmpfs 5.0M 8.0K 5.0M 1% /run/lock
  1085. tmpfs tmpfs 2.8G 0 2.8G 0% /sys/fs/cgroup
  1086. tmpfs tmpfs 2.8G 28K 2.8G 1% /tmp
  1087. tmpfs tmpfs 572M 92K 572M 1% /run/user/999
  1088. /dev/mapper/ubuntu--vg-root ext4 453G 3.9G 426G 1% /target
  1089. /dev/sda1 ext2 472M 65M 383M 15% /target/boot
  1090.  
  1091. =================== fdisk -l:
  1092. Disk /dev/ram0: 64 MiB, 67108864 bytes, 131072 sectors
  1093. Units: sectors of 1 * 512 = 512 bytes
  1094. Sector size (logical/physical): 512 bytes / 4096 bytes
  1095. I/O size (minimum/optimal): 4096 bytes / 4096 bytes
  1096.  
  1097.  
  1098. Disk /dev/ram1: 64 MiB, 67108864 bytes, 131072 sectors
  1099. Units: sectors of 1 * 512 = 512 bytes
  1100. Sector size (logical/physical): 512 bytes / 4096 bytes
  1101. I/O size (minimum/optimal): 4096 bytes / 4096 bytes
  1102.  
  1103.  
  1104. Disk /dev/ram2: 64 MiB, 67108864 bytes, 131072 sectors
  1105. Units: sectors of 1 * 512 = 512 bytes
  1106. Sector size (logical/physical): 512 bytes / 4096 bytes
  1107. I/O size (minimum/optimal): 4096 bytes / 4096 bytes
  1108.  
  1109.  
  1110. Disk /dev/ram3: 64 MiB, 67108864 bytes, 131072 sectors
  1111. Units: sectors of 1 * 512 = 512 bytes
  1112. Sector size (logical/physical): 512 bytes / 4096 bytes
  1113. I/O size (minimum/optimal): 4096 bytes / 4096 bytes
  1114.  
  1115.  
  1116. Disk /dev/ram4: 64 MiB, 67108864 bytes, 131072 sectors
  1117. Units: sectors of 1 * 512 = 512 bytes
  1118. Sector size (logical/physical): 512 bytes / 4096 bytes
  1119. I/O size (minimum/optimal): 4096 bytes / 4096 bytes
  1120.  
  1121.  
  1122. Disk /dev/ram5: 64 MiB, 67108864 bytes, 131072 sectors
  1123. Units: sectors of 1 * 512 = 512 bytes
  1124. Sector size (logical/physical): 512 bytes / 4096 bytes
  1125. I/O size (minimum/optimal): 4096 bytes / 4096 bytes
  1126.  
  1127.  
  1128. Disk /dev/ram6: 64 MiB, 67108864 bytes, Boot Info Script cfd9efe + Boot-Repair extra info [Boot-Info 26Apr2016]
  1129.  
  1130.  
  1131. ============================= Boot Info Summary: ===============================
  1132.  
  1133. => Grub2 (v2.00) is installed in the MBR of /dev/sda and looks at sector 1 of
  1134. the same hard drive for core.img. core.img is at this location and looks
  1135. for (,msdos1)/grub. It also embeds following components:
  1136.  
  1137. modules
  1138. ---------------------------------------------------------------------------
  1139. fshelp ext2 part_msdos biosdisk
  1140. ---------------------------------------------------------------------------
  1141. => Syslinux MBR (4.04-4.07) is installed in the MBR of /dev/sdb.
  1142.  
  1143. sda1: __________________________________________________________________________
  1144.  
  1145. File system: ext2
  1146. Boot sector type: -
  1147. Boot sector info:
  1148. Operating System:
  1149. Boot files: /grub/grub.cfg /grub/i386-pc/core.img
  1150.  
  1151. sda2: __________________________________________________________________________
  1152.  
  1153. File system: Extended Partition
  1154. Boot sector type: Unknown
  1155. Boot sector info:
  1156.  
  1157. sda5: __________________________________________________________________________
  1158.  
  1159. File system: crypto_LUKS
  1160. Boot sector type: Unknown
  1161. Boot sector info:
  1162.  
  1163. sdb1: __________________________________________________________________________
  1164.  
  1165. File system: vfat
  1166. Boot sector type: SYSLINUX 4.07 2013-07-25
  1167. Boot sector info: Syslinux looks at sector 29850 of /dev/sdb1 for its
  1168. second stage. SYSLINUX is installed in the /uui
  1169. directory. No errors found in the Boot Parameter Block.
  1170. Operating System:
  1171. Boot files: /boot/grub/grub.cfg /casper/vmlinuz.efi
  1172. /EFI/BOOT/grubx64.efi
  1173.  
  1174. ubuntu-vg-root: ________________________________________________________________
  1175.  
  1176. File system: ext4
  1177. Boot sector type: -
  1178. Boot sector info:
  1179. Operating System: Ubuntu 16.04.1 LTS
  1180. Boot files: /boot/grub/grub.cfg /etc/fstab
  1181.  
  1182. ubuntu-vg-swap_1: ______________________________________________________________
  1183.  
  1184. File system: swap
  1185. Boot sector type: -
  1186. Boot sector info:
  1187.  
  1188. ============================ Drive/Partition Info: =============================
  1189.  
  1190. Drive: sda _____________________________________________________________________
  1191. Disk /dev/sda: 465.8 GiB, 500107862016 bytes, 976773168 sectors
  1192. Units: sectors of 1 * 512 = 512 bytes
  1193. Sector size (logical/physical): 512 bytes / 4096 bytes
  1194. I/O size (minimum/optimal): 4096 bytes / 4096 bytes
  1195. Disklabel type: dos
  1196.  
  1197. Partition Boot Start Sector End Sector # of Sectors Id System
  1198.  
  1199. /dev/sda1 * 2,048 999,423 997,376 83 Linux
  1200. /dev/sda2 1,001,470 976,771,071 975,769,602 5 Extended
  1201. /dev/sda5 1,001,472 976,771,071 975,769,600 83 Linux
  1202.  
  1203.  
  1204. Drive: sdb _____________________________________________________________________
  1205. Disk /dev/sdb: 14.5 GiB, 15597568000 bytes, 30464000 sectors
  1206. Units: sectors of 1 * 512 = 512 bytes
  1207. Sector size (logical/physical): 512 bytes / 512 bytes
  1208. I/O size (minimum/optimal): 512 bytes / 512 bytes
  1209. Disklabel type: dos
  1210.  
  1211. Partition Boot Start Sector End Sector # of Sectors Id System
  1212.  
  1213. /dev/sdb1 * 32 30,463,999 30,463,968 c W95 FAT32 (LBA)
  1214.  
  1215.  
  1216. "blkid" output: ________________________________________________________________
  1217.  
  1218. Device UUID TYPE LABEL
  1219.  
  1220. /dev/dm-2 105b0e33-8b15-451c-84f5-b119716774d6 swap
  1221. /dev/loop0 squashfs
  1222. /dev/mapper/sda5_crypt opyuPd-6gPd-saDl-E04d-7eS9-IOWR-SbYxcM LVM2_member
  1223. /dev/mapper/ubuntu--vg-root 2c2327ab-7511-42a2-bd3f-b528b06c586b ext4
  1224. /dev/mapper/ubuntu--vg-swap_1 105b0e33-8b15-451c-84f5-b119716774d6 swap
  1225. /dev/sda1 ca4f1219-ad50-4c0e-8887-260d7168b83e ext2
  1226. /dev/sda5 47690e36-4e68-4762-ad51-e3a4cd2478c0 crypto_LUKS
  1227. /dev/sdb1 1C0A-1D42 vfat UUI
  1228.  
  1229. ========================= "ls -l /dev/disk/by-id" output: ======================
  1230.  
  1231. total 0
  1232. lrwxrwxrwx 1 root root 9 Jan 9 19:44 ata-WDC_WD5000LPLX-22ZNTT0_WD-WX41A26F0NS4 -> ../../sda
  1233. lrwxrwxrwx 1 root root 10 Jan 9 19:44 ata-WDC_WD5000LPLX-22ZNTT0_WD-WX41A26F0NS4-part1 -> ../../sda1
  1234. lrwxrwxrwx 1 root root 10 Jan 9 19:44 ata-WDC_WD5000LPLX-22ZNTT0_WD-WX41A26F0NS4-part2 -> ../../sda2
  1235. lrwxrwxrwx 1 root root 10 Jan 9 19:44 ata-WDC_WD5000LPLX-22ZNTT0_WD-WX41A26F0NS4-part5 -> ../../sda5
  1236. lrwxrwxrwx 1 root root 9 Jan 9 19:44 ata-hp_DVDWBD_TS-LB23L_R4226GNZA00714 -> ../../sr0
  1237. lrwxrwxrwx 1 root root 10 Jan 9 19:44 dm-name-sda5_crypt -> ../../dm-0
  1238. lrwxrwxrwx 1 root root 10 Jan 9 19:44 dm-name-ubuntu--vg-root -> ../../dm-1
  1239. lrwxrwxrwx 1 root root 10 Jan 9 19:44 dm-name-ubuntu--vg-swap_1 -> ../../dm-2
  1240. lrwxrwxrwx 1 root root 10 Jan 9 19:44 dm-uuid-CRYPT-LUKS1-47690e364e684762ad51e3a4cd2478c0-sda5_crypt -> ../../dm-0
  1241. lrwxrwxrwx 1 root root 10 Jan 9 19:44 dm-uuid-LVM-jkz6nPefU5qJWGrQDeHaxk7m2FYwlrPJ2CQ0vboUxliCImHv3QHmgf8n8hovveTI -> ../../dm-2
  1242. lrwxrwxrwx 1 root root 10 Jan 9 19:44 dm-uuid-LVM-jkz6nPefU5qJWGrQDeHaxk7m2FYwlrPJDdvs38mnESutDwUCSQlSIBlBZvgN4yhC -> ../../dm-1
  1243. lrwxrwxrwx 1 root root 10 Jan 9 19:44 lvm-pv-uuid-opyuPd-6gPd-saDl-E04d-7eS9-IOWR-SbYxcM -> ../../dm-0
  1244. lrwxrwxrwx 1 root root 9 Jan 9 19:44 usb-SanDisk_Cruzer_Blade_4C530001141031105444-0:0 -> ../../sdb
  1245. lrwxrwxrwx 1 root root 10 Jan 9 19:44 usb-SanDisk_Cruzer_Blade_4C530001141031105444-0:0-part1 -> ../../sdb1
  1246. lrwxrwxrwx 1 root root 9 Jan 9 19:44 wwn-0x50014ee6069d075b -> ../../sda
  1247. lrwxrwxrwx 1 root root 10 Jan 9 19:44 wwn-0x50014ee6069d075b-part1 -> ../../sda1
  1248. lrwxrwxrwx 1 root root 10 Jan 9 19:44 wwn-0x50014ee6069d075b-part2 -> ../../sda2
  1249. lrwxrwxrwx 1 root root 10 Jan 9 19:44 wwn-0x50014ee6069d075b-part5 -> ../../sda5
  1250.  
  1251. ========================= "ls -R /dev/mapper/" output: =========================
  1252.  
  1253. /dev/mapper:
  1254. control
  1255. sda5_crypt
  1256. ubuntu--vg-root
  1257. ubuntu--vg-swap_1
  1258.  
  1259. ================================ Mount points: =================================
  1260.  
  1261. Device Mount_Point Type Options
  1262.  
  1263. /dev/loop0 /rofs squashfs (ro,noatime)
  1264. /dev/mapper/ubuntu--vg-root /target ext4 (rw,relatime,data=ordered)
  1265. /dev/sdb1 /cdrom vfat (ro,noatime,fmask=0022,dmask=0022,codepage=437,iocharset=iso8859-1,shortname=mixed,errors=remount-ro)
  1266.  
  1267.  
  1268. ============================= sda1/grub/grub.cfg: ==============================
  1269.  
  1270. --------------------------------------------------------------------------------
  1271. #
  1272. # DO NOT EDIT THIS FILE
  1273. #
  1274. # It is automatically generated by grub-mkconfig using templates
  1275. # from /etc/grub.d and settings from /etc/default/grub
  1276. #
  1277.  
  1278. ### BEGIN /etc/grub.d/00_header ###
  1279. if [ -s $prefix/grubenv ]; then
  1280. set have_grubenv=true
  1281. load_env
  1282. fi
  1283. if [ "${next_entry}" ] ; then
  1284. set default="${next_entry}"
  1285. set next_entry=
  1286. save_env next_entry
  1287. set boot_once=true
  1288. else
  1289. set default="0"
  1290. fi
  1291.  
  1292. if [ x"${feature_menuentry_id}" = xy ]; then
  1293. menuentry_id_option="--id"
  1294. else
  1295. menuentry_id_option=""
  1296. fi
  1297.  
  1298. export menuentry_id_option
  1299.  
  1300. if [ "${prev_saved_entry}" ]; then
  1301. set saved_entry="${prev_saved_entry}"
  1302. save_env saved_entry
  1303. set prev_saved_entry=
  1304. save_env prev_saved_entry
  1305. set boot_once=true
  1306. fi
  1307.  
  1308. function savedefault {
  1309. if [ -z "${boot_once}" ]; then
  1310. saved_entry="${chosen}"
  1311. save_env saved_entry
  1312. fi
  1313. }
  1314. function recordfail {
  1315. set recordfail=1
  1316. if [ -n "${have_grubenv}" ]; then if [ -z "${boot_once}" ]; then save_env recordfail; fi; fi
  1317. }
  1318. function load_video {
  1319. if [ x$feature_all_video_module = xy ]; then
  1320. insmod all_video
  1321. else
  1322. insmod efi_gop
  1323. insmod efi_uga
  1324. insmod ieee1275_fb
  1325. insmod vbe
  1326. insmod vga
  1327. insmod video_bochs
  1328. insmod video_cirrus
  1329. fi
  1330. }
  1331.  
  1332. if [ x$feature_default_font_path = xy ] ; then
  1333. font=unicode
  1334. else
  1335. insmod part_msdos
  1336. insmod ext2
  1337. set root='hd0,msdos1'
  1338. if [ x$feature_platform_search_hint = xy ]; then
  1339. search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos1 --hint-efi=hd0,msdos1 --hint-baremetal=ahci0,msdos1 ca4f1219-ad50-4c0e-8887-260d7168b83e
  1340. else
  1341. search --no-floppy --fs-uuid --set=root ca4f1219-ad50-4c0e-8887-260d7168b83e
  1342. fi
  1343. font="/grub/unicode.pf2"
  1344. fi
  1345.  
  1346. if loadfont $font ; then
  1347. set gfxmode=auto
  1348. load_video
  1349. insmod gfxterm
  1350. set locale_dir=$prefix/locale
  1351. set lang=en_US
  1352. insmod gettext
  1353. fi
  1354. terminal_output gfxterm
  1355. if [ "${recordfail}" = 1 ] ; then
  1356. set timeout=30
  1357. else
  1358. if [ x$feature_timeout_style = xy ] ; then
  1359. set timeout_style=hidden
  1360. set timeout=0
  1361. # Fallback hidden-timeout code in case the timeout_style feature is
  1362. # unavailable.
  1363. elif sleep --interruptible 0 ; then
  1364. set timeout=0
  1365. fi
  1366. fi
  1367. ### END /etc/grub.d/00_header ###
  1368.  
  1369. ### BEGIN /etc/grub.d/05_debian_theme ###
  1370. set menu_color_normal=white/black
  1371. set menu_color_highlight=black/light-gray
  1372. if background_color 44,0,30,0; then
  1373. clear
  1374. fi
  1375. ### END /etc/grub.d/05_debian_theme ###
  1376.  
  1377. ### BEGIN /etc/grub.d/10_linux ###
  1378. function gfxmode {
  1379. set gfxpayload="${1}"
  1380. if [ "${1}" = "keep" ]; then
  1381. set vt_handoff=vt.handoff=7
  1382. else
  1383. set vt_handoff=
  1384. fi
  1385. }
  1386. if [ "${recordfail}" != 1 ]; then
  1387. if [ -e ${prefix}/gfxblacklist.txt ]; then
  1388. if hwmatch ${prefix}/gfxblacklist.txt 3; then
  1389. if [ ${match} = 0 ]; then
  1390. set linux_gfx_mode=keep
  1391. else
  1392. set linux_gfx_mode=text
  1393. fi
  1394. else
  1395. set linux_gfx_mode=text
  1396. fi
  1397. else
  1398. set linux_gfx_mode=keep
  1399. fi
  1400. else
  1401. set linux_gfx_mode=text
  1402. fi
  1403. export linux_gfx_mode
  1404. menuentry 'Ubuntu' --class ubuntu --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-simple-2c2327ab-7511-42a2-bd3f-b528b06c586b' {
  1405. recordfail
  1406. load_video
  1407. gfxmode $linux_gfx_mode
  1408. insmod gzio
  1409. if [ x$grub_platform = xxen ]; then insmod xzio; insmod lzopio; fi
  1410. insmod part_msdos
  1411. insmod ext2
  1412. set root='hd0,msdos1'
  1413. if [ x$feature_platform_search_hint = xy ]; then
  1414. search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos1 --hint-efi=hd0,msdos1 --hint-baremetal=ahci0,msdos1 ca4f1219-ad50-4c0e-8887-260d7168b83e
  1415. else
  1416. search --no-floppy --fs-uuid --set=root ca4f1219-ad50-4c0e-8887-260d7168b83e
  1417. fi
  1418. linux /vmlinuz-4.4.0-31-generic root=/dev/mapper/ubuntu--vg-root ro quiet splash $vt_handoff
  1419. initrd /initrd.img-4.4.0-31-generic
  1420. }
  1421. submenu 'Advanced options for Ubuntu' $menuentry_id_option 'gnulinux-advanced-2c2327ab-7511-42a2-bd3f-b528b06c586b' {
  1422. menuentry 'Ubuntu, with Linux 4.4.0-31-generic' --class ubuntu --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-4.4.0-31-generic-advanced-2c2327ab-7511-42a2-bd3f-b528b06c586b' {
  1423. recordfail
  1424. load_video
  1425. gfxmode $linux_gfx_mode
  1426. insmod gzio
  1427. if [ x$grub_platform = xxen ]; then insmod xzio; insmod lzopio; fi
  1428. insmod part_msdos
  1429. insmod ext2
  1430. set root='hd0,msdos1'
  1431. if [ x$feature_platform_search_hint = xy ]; then
  1432. search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos1 --hint-efi=hd0,msdos1 --hint-baremetal=ahci0,msdos1 ca4f1219-ad50-4c0e-8887-260d7168b83e
  1433. else
  1434. search --no-floppy --fs-uuid --set=root ca4f1219-ad50-4c0e-8887-260d7168b83e
  1435. fi
  1436. echo 'Loading Linux 4.4.0-31-generic ...'
  1437. linux /vmlinuz-4.4.0-31-generic root=/dev/mapper/ubuntu--vg-root ro quiet splash $vt_handoff
  1438. echo 'Loading initial ramdisk ...'
  1439. initrd /initrd.img-4.4.0-31-generic
  1440. }
  1441. menuentry 'Ubuntu, with Linux 4.4.0-31-generic (upstart)' --class ubuntu --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-4.4.0-31-generic-init-upstart-2c2327ab-7511-42a2-bd3f-b528b06c586b' {
  1442. recordfail
  1443. load_video
  1444. gfxmode $linux_gfx_mode
  1445. insmod gzio
  1446. if [ x$grub_platform = xxen ]; then insmod xzio; insmod lzopio; fi
  1447. insmod part_msdos
  1448. insmod ext2
  1449. set root='hd0,msdos1'
  1450. if [ x$feature_platform_search_hint = xy ]; then
  1451. search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos1 --hint-efi=hd0,msdos1 --hint-baremetal=ahci0,msdos1 ca4f1219-ad50-4c0e-8887-260d7168b83e
  1452. else
  1453. search --no-floppy --fs-uuid --set=root ca4f1219-ad50-4c0e-8887-260d7168b83e
  1454. fi
  1455. echo 'Loading Linux 4.4.0-31-generic ...'
  1456. linux /vmlinuz-4.4.0-31-generic root=/dev/mapper/ubuntu--vg-root ro quiet splash $vt_handoff init=/sbin/upstart
  1457. echo 'Loading initial ramdisk ...'
  1458. initrd /initrd.img-4.4.0-31-generic
  1459. }
  1460. menuentry 'Ubuntu, with Linux 4.4.0-31-generic (recovery mode)' --class ubuntu --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-4.4.0-31-generic-recovery-2c2327ab-7511-42a2-bd3f-b528b06c586b' {
  1461. recordfail
  1462. load_video
  1463. insmod gzio
  1464. if [ x$grub_platform = xxen ]; then insmod xzio; insmod lzopio; fi
  1465. insmod part_msdos
  1466. insmod ext2
  1467. set root='hd0,msdos1'
  1468. if [ x$feature_platform_search_hint = xy ]; then
  1469. search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos1 --hint-efi=hd0,msdos1 --hint-baremetal=ahci0,msdos1 ca4f1219-ad50-4c0e-8887-260d7168b83e
  1470. else
  1471. search --no-floppy --fs-uuid --set=root ca4f1219-ad50-4c0e-8887-260d7168b83e
  1472. fi
  1473. echo 'Loading Linux 4.4.0-31-generic ...'
  1474. linux /vmlinuz-4.4.0-31-generic root=/dev/mapper/ubuntu--vg-root ro recovery nomodeset
  1475. echo 'Loading initial ramdisk ...'
  1476. initrd /initrd.img-4.4.0-31-generic
  1477. }
  1478. }
  1479.  
  1480. ### END /etc/grub.d/10_linux ###
  1481.  
  1482. ### BEGIN /etc/grub.d/20_linux_xen ###
  1483.  
  1484. ### END /etc/grub.d/20_linux_xen ###
  1485.  
  1486. ### BEGIN /etc/grub.d/20_memtest86+ ###
  1487. menuentry 'Memory test (memtest86+)' {
  1488. insmod part_msdos
  1489. insmod ext2
  1490. set root='hd0,msdos1'
  1491. if [ x$feature_platform_search_hint = xy ]; then
  1492. search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos1 --hint-efi=hd0,msdos1 --hint-baremetal=ahci0,msdos1 ca4f1219-ad50-4c0e-8887-260d7168b83e
  1493. else
  1494. search --no-floppy --fs-uuid --set=root ca4f1219-ad50-4c0e-8887-260d7168b83e
  1495. fi
  1496. knetbsd /memtest86+.elf
  1497. }
  1498. menuentry 'Memory test (memtest86+, serial console 115200)' {
  1499. insmod part_msdos
  1500. insmod ext2
  1501. set root='hd0,msdos1'
  1502. if [ x$feature_platform_search_hint = xy ]; then
  1503. search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos1 --hint-efi=hd0,msdos1 --hint-baremetal=ahci0,msdos1 ca4f1219-ad50-4c0e-8887-260d7168b83e
  1504. else
  1505. search --no-floppy --fs-uuid --set=root ca4f1219-ad50-4c0e-8887-260d7168b83e
  1506. fi
  1507. linux16 /memtest86+.bin console=ttyS0,115200n8
  1508. }
  1509. ### END /etc/grub.d/20_memtest86+ ###
  1510.  
  1511. ### BEGIN /etc/grub.d/30_os-prober ###
  1512. ### END /etc/grub.d/30_os-prober ###
  1513.  
  1514. ### BEGIN /etc/grub.d/30_uefi-firmware ###
  1515. ### END /etc/grub.d/30_uefi-firmware ###
  1516.  
  1517. ### BEGIN /etc/grub.d/40_custom ###
  1518. # This file provides an easy way to add custom menu entries. Simply type the
  1519. # menu entries you want to add after this comment. Be careful not to change
  1520. # the 'exec tail' line above.
  1521. ### END /etc/grub.d/40_custom ###
  1522.  
  1523. ### BEGIN /etc/grub.d/41_custom ###
  1524. if [ -f ${config_directory}/custom.cfg ]; then
  1525. source ${config_directory}/custom.cfg
  1526. elif [ -z "${config_directory}" -a -f $prefix/custom.cfg ]; then
  1527. source $prefix/custom.cfg;
  1528. fi
  1529. ### END /etc/grub.d/41_custom ###
  1530. --------------------------------------------------------------------------------
  1531.  
  1532. =================== sda1: Location of files loaded by Grub: ====================
  1533.  
  1534. GiB - GB File Fragment(s)
  1535.  
  1536. 0.007655144 = 0.008219648 grub/grub.cfg 4
  1537. 0.126763344 = 0.136111104 grub/i386-pc/core.img 2
  1538. 0.066134453 = 0.071011328 vmlinuz-4.4.0-31-generic 12
  1539. 0.183124542 = 0.196628480 initrd.img-4.4.0-31-generic 18
  1540.  
  1541. =========================== sdb1/boot/grub/grub.cfg: ===========================
  1542.  
  1543. --------------------------------------------------------------------------------
  1544.  
  1545. if loadfont /boot/grub/font.pf2 ; then
  1546. set gfxmode=auto
  1547. insmod efi_gop
  1548. insmod efi_uga
  1549. insmod gfxterm
  1550. terminal_output gfxterm
  1551. fi
  1552.  
  1553. set menu_color_normal=white/black
  1554. set menu_color_highlight=black/light-gray
  1555.  
  1556. menuentry "Try Ubuntu without installing" {
  1557. set gfxpayload=keep
  1558. linux /casper/vmlinuz.efi file=/cdrom/preseed/ubuntu.seed cdrom-detect/try-usb=true noprompt floppy.allowed_drive_mask=0 ignore_uuid boot=casper quiet splash ---
  1559. initrd /casper/initrd.lz
  1560. }
  1561. menuentry "Install Ubuntu" {
  1562. set gfxpayload=keep
  1563. linux /casper/vmlinuz.efi file=/cdrom/preseed/ubuntu.seed cdrom-detect/try-usb=true noprompt floppy.allowed_drive_mask=0 ignore_uuid boot=casper only-ubiquity quiet splash ---
  1564. initrd /casper/initrd.lz
  1565. }
  1566. menuentry "OEM install (for manufacturers)" {
  1567. set gfxpayload=keep
  1568. linux /casper/vmlinuz.efi file=/cdrom/preseed/ubuntu.seed cdrom-detect/try-usb=true noprompt floppy.allowed_drive_mask=0 ignore_uuid boot=casper only-ubiquity quiet splash oem-config/enable=true ---
  1569. initrd /casper/initrd.lz
  1570. }
  1571. menuentry "Check disc for defects" {
  1572. set gfxpayload=keep
  1573. linux /casper/vmlinuz.efi cdrom-detect/try-usb=true noprompt floppy.allowed_drive_mask=0 ignore_uuid boot=casper integrity-check quiet splash ---
  1574. initrd /casper/initrd.lz
  1575. }
  1576. --------------------------------------------------------------------------------
  1577.  
  1578. =================== sdb1: Location of files loaded by Grub: ====================
  1579.  
  1580. GiB - GB File Fragment(s)
  1581.  
  1582. ?? = ?? boot/grub/grub.cfg 1
  1583.  
  1584. ====================== ubuntu-vg-root/boot/grub/grub.cfg: ======================
  1585.  
  1586. --------------------------------------------------------------------------------
  1587. #
  1588. # DO NOT EDIT THIS FILE
  1589. #
  1590. # It is automatically generated by grub-mkconfig using templates
  1591. # from /etc/grub.d and settings from /etc/default/grub
  1592. #
  1593.  
  1594. ### BEGIN /etc/grub.d/00_header ###
  1595. if [ -s $prefix/grubenv ]; then
  1596. set have_grubenv=true
  1597. load_env
  1598. fi
  1599. if [ "${next_entry}" ] ; then
  1600. set default="${next_entry}"
  1601. set next_entry=
  1602. save_env next_entry
  1603. set boot_once=true
  1604. else
  1605. set default="0"
  1606. fi
  1607.  
  1608. if [ x"${feature_menuentry_id}" = xy ]; then
  1609. menuentry_id_option="--id"
  1610. else
  1611. menuentry_id_option=""
  1612. fi
  1613.  
  1614. export menuentry_id_option
  1615.  
  1616. if [ "${prev_saved_entry}" ]; then
  1617. set saved_entry="${prev_saved_entry}"
  1618. save_env saved_entry
  1619. set prev_saved_entry=
  1620. save_env prev_saved_entry
  1621. set boot_once=true
  1622. fi
  1623.  
  1624. function savedefault {
  1625. if [ -z "${boot_once}" ]; then
  1626. saved_entry="${chosen}"
  1627. save_env saved_entry
  1628. fi
  1629. }
  1630. function recordfail {
  1631. set recordfail=1
  1632. # GRUB lacks write support for lvm, so recordfail support is disabled.
  1633. }
  1634. function load_video {
  1635. if [ x$feature_all_video_module = xy ]; then
  1636. insmod all_video
  1637. else
  1638. insmod efi_gop
  1639. insmod efi_uga
  1640. insmod ieee1275_fb
  1641. insmod vbe
  1642. insmod vga
  1643. insmod video_bochs
  1644. insmod video_cirrus
  1645. fi
  1646. }
  1647.  
  1648. if loadfont unicode ; then
  1649. set gfxmode=auto
  1650. load_video
  1651. insmod gfxterm
  1652. set locale_dir=$prefix/locale
  1653. set lang=en_US
  1654. insmod gettext
  1655. fi
  1656. terminal_output gfxterm
  1657. if [ "${recordfail}" = 1 ] ; then
  1658. set timeout=10
  1659. else
  1660. if [ x$feature_timeout_style = xy ] ; then
  1661. set timeout_style=menu
  1662. set timeout=10
  1663. # Fallback normal timeout code in case the timeout_style feature is
  1664. # unavailable.
  1665. else
  1666. set timeout=10
  1667. fi
  1668. fi
  1669. ### END /etc/grub.d/00_header ###
  1670.  
  1671. ### BEGIN /etc/grub.d/05_debian_theme ###
  1672. set menu_color_normal=white/black
  1673. set menu_color_highlight=black/light-gray
  1674. if background_color 44,0,30,0; then
  1675. clear
  1676. fi
  1677. ### END /etc/grub.d/05_debian_theme ###
  1678.  
  1679. ### BEGIN /etc/grub.d/10_linux ###
  1680. function gfxmode {
  1681. set gfxpayload="${1}"
  1682. if [ "${1}" = "keep" ]; then
  1683. set vt_handoff=vt.handoff=7
  1684. else
  1685. set vt_handoff=
  1686. fi
  1687. }
  1688. if [ "${recordfail}" != 1 ]; then
  1689. if [ -e ${prefix}/gfxblacklist.txt ]; then
  1690. if hwmatch ${prefix}/gfxblacklist.txt 3; then
  1691. if [ ${match} = 0 ]; then
  1692. set linux_gfx_mode=keep
  1693. else
  1694. set linux_gfx_mode=text
  1695. fi
  1696. else
  1697. set linux_gfx_mode=text
  1698. fi
  1699. else
  1700. set linux_gfx_mode=keep
  1701. fi
  1702. else
  1703. set linux_gfx_mode=text
  1704. fi
  1705. export linux_gfx_mode
  1706. menuentry 'Ubuntu' --class ubuntu --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-simple-2c2327ab-7511-42a2-bd3f-b528b06c586b' {
  1707. recordfail
  1708. load_video
  1709. gfxmode $linux_gfx_mode
  1710. insmod gzio
  1711. if [ x$grub_platform = xxen ]; then insmod xzio; insmod lzopio; fi
  1712. insmod part_msdos
  1713. insmod cryptodisk
  1714. insmod luks
  1715. insmod gcry_rijndael
  1716. insmod gcry_rijndael
  1717. insmod gcry_sha256
  1718. insmod lvm
  1719. insmod ext2
  1720. set root='lvmid/jkz6nP-efU5-qJWG-rQDe-Haxk-7m2F-YwlrPJ/Ddvs38-mnES-utDw-UCSQ-lSIB-lBZv-gN4yhC'
  1721. if [ x$feature_platform_search_hint = xy ]; then
  1722. search --no-floppy --fs-uuid --set=root --hint='lvmid/jkz6nP-efU5-qJWG-rQDe-Haxk-7m2F-YwlrPJ/Ddvs38-mnES-utDw-UCSQ-lSIB-lBZv-gN4yhC' 2c2327ab-7511-42a2-bd3f-b528b06c586b
  1723. else
  1724. search --no-floppy --fs-uuid --set=root 2c2327ab-7511-42a2-bd3f-b528b06c586b
  1725. fi
  1726. linux /boot/vmlinuz-4.4.0-57-generic root=/dev/mapper/ubuntu--vg-root ro quiet splash $vt_handoff
  1727. initrd /boot/initrd.img-4.4.0-57-generic
  1728. }
  1729. submenu 'Advanced options for Ubuntu' $menuentry_id_option 'gnulinux-advanced-2c2327ab-7511-42a2-bd3f-b528b06c586b' {
  1730. menuentry 'Ubuntu, with Linux 4.4.0-57-generic' --class ubuntu --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-4.4.0-57-generic-advanced-2c2327ab-7511-42a2-bd3f-b528b06c586b' {
  1731. recordfail
  1732. load_video
  1733. gfxmode $linux_gfx_mode
  1734. insmod gzio
  1735. if [ x$grub_platform = xxen ]; then insmod xzio; insmod lzopio; fi
  1736. insmod part_msdos
  1737. insmod cryptodisk
  1738. insmod luks
  1739. insmod gcry_rijndael
  1740. insmod gcry_rijndael
  1741. insmod gcry_sha256
  1742. insmod lvm
  1743. insmod ext2
  1744. set root='lvmid/jkz6nP-efU5-qJWG-rQDe-Haxk-7m2F-YwlrPJ/Ddvs38-mnES-utDw-UCSQ-lSIB-lBZv-gN4yhC'
  1745. if [ x$feature_platform_search_hint = xy ]; then
  1746. search --no-floppy --fs-uuid --set=root --hint='lvmid/jkz6nP-efU5-qJWG-rQDe-Haxk-7m2F-YwlrPJ/Ddvs38-mnES-utDw-UCSQ-lSIB-lBZv-gN4yhC' 2c2327ab-7511-42a2-bd3f-b528b06c586b
  1747. else
  1748. search --no-floppy --fs-uuid --set=root 2c2327ab-7511-42a2-bd3f-b528b06c586b
  1749. fi
  1750. echo 'Loading Linux 4.4.0-57-generic ...'
  1751. linux /boot/vmlinuz-4.4.0-57-generic root=/dev/mapper/ubuntu--vg-root ro quiet splash $vt_handoff
  1752. echo 'Loading initial ramdisk ...'
  1753. initrd /boot/initrd.img-4.4.0-57-generic
  1754. }
  1755. menuentry 'Ubuntu, with Linux 4.4.0-57-generic (upstart)' --class ubuntu --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-4.4.0-57-generic-init-upstart-2c2327ab-7511-42a2-bd3f-b528b06c586b' {
  1756. recordfail
  1757. load_video
  1758. gfxmode $linux_gfx_mode
  1759. insmod gzio
  1760. if [ x$grub_platform = xxen ]; then insmod xzio; insmod lzopio; fi
  1761. insmod part_msdos
  1762. insmod cryptodisk
  1763. insmod luks
  1764. insmod gcry_rijndael
  1765. insmod gcry_rijndael
  1766. insmod gcry_sha256
  1767. insmod lvm
  1768. insmod ext2
  1769. set root='lvmid/jkz6nP-efU5-qJWG-rQDe-Haxk-7m2F-YwlrPJ/Ddvs38-mnES-utDw-UCSQ-lSIB-lBZv-gN4yhC'
  1770. if [ x$feature_platform_search_hint = xy ]; then
  1771. search --no-floppy --fs-uuid --set=root --hint='lvmid/jkz6nP-efU5-qJWG-rQDe-Haxk-7m2F-YwlrPJ/Ddvs38-mnES-utDw-UCSQ-lSIB-lBZv-gN4yhC' 2c2327ab-7511-42a2-bd3f-b528b06c586b
  1772. else
  1773. search --no-floppy --fs-uuid --set=root 2c2327ab-7511-42a2-bd3f-b528b06c586b
  1774. fi
  1775. echo 'Loading Linux 4.4.0-57-generic ...'
  1776. linux /boot/vmlinuz-4.4.0-57-generic root=/dev/mapper/ubuntu--vg-root ro quiet splash $vt_handoff init=/sbin/upstart
  1777. echo 'Loading initial ramdisk ...'
  1778. initrd /boot/initrd.img-4.4.0-57-generic
  1779. }
  1780. menuentry 'Ubuntu, with Linux 4.4.0-57-generic (recovery mode)' --class ubuntu --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-4.4.0-57-generic-recovery-2c2327ab-7511-42a2-bd3f-b528b06c586b' {
  1781. recordfail
  1782. load_video
  1783. insmod gzio
  1784. if [ x$grub_platform = xxen ]; then insmod xzio; insmod lzopio; fi
  1785. insmod part_msdos
  1786. insmod cryptodisk
  1787. insmod luks
  1788. insmod gcry_rijndael
  1789. insmod gcry_rijndael
  1790. insmod gcry_sha256
  1791. insmod lvm
  1792. insmod ext2
  1793. set root='lvmid/jkz6nP-efU5-qJWG-rQDe-Haxk-7m2F-YwlrPJ/Ddvs38-mnES-utDw-UCSQ-lSIB-lBZv-gN4yhC'
  1794. if [ x$feature_platform_search_hint = xy ]; then
  1795. search --no-floppy --fs-uuid --set=root --hint='lvmid/jkz6nP-efU5-qJWG-rQDe-Haxk-7m2F-YwlrPJ/Ddvs38-mnES-utDw-UCSQ-lSIB-lBZv-gN4yhC' 2c2327ab-7511-42a2-bd3f-b528b06c586b
  1796. else
  1797. search --no-floppy --fs-uuid --set=root 2c2327ab-7511-42a2-bd3f-b528b06c586b
  1798. fi
  1799. echo 'Loading Linux 4.4.0-57-generic ...'
  1800. linux /boot/vmlinuz-4.4.0-57-generic root=/dev/mapper/ubuntu--vg-root ro recovery nomodeset
  1801. echo 'Loading initial ramdisk ...'
  1802. initrd /boot/initrd.img-4.4.0-57-generic
  1803. }
  1804. }
  1805.  
  1806. ### END /etc/grub.d/10_linux ###
  1807.  
  1808. ### BEGIN /etc/grub.d/20_linux_xen ###
  1809.  
  1810. ### END /etc/grub.d/20_linux_xen ###
  1811.  
  1812. ### BEGIN /etc/grub.d/30_os-prober ###
  1813. ### END /etc/grub.d/30_os-prober ###
  1814.  
  1815. ### BEGIN /etc/grub.d/30_uefi-firmware ###
  1816. ### END /etc/grub.d/30_uefi-firmware ###
  1817.  
  1818. ### BEGIN /etc/grub.d/40_custom ###
  1819. # This file provides an easy way to add custom menu entries. Simply type the
  1820. # menu entries you want to add after this comment. Be careful not to change
  1821. # the 'exec tail' line above.
  1822. ### END /etc/grub.d/40_custom ###
  1823.  
  1824. ### BEGIN /etc/grub.d/41_custom ###
  1825. if [ -f ${config_directory}/custom.cfg ]; then
  1826. source ${config_directory}/custom.cfg
  1827. elif [ -z "${config_directory}" -a -f $prefix/custom.cfg ]; then
  1828. source $prefix/custom.cfg;
  1829. fi
  1830. ### END /etc/grub.d/41_custom ###
  1831. --------------------------------------------------------------------------------
  1832.  
  1833. ========================== ubuntu-vg-root/etc/fstab: ===========================
  1834.  
  1835. --------------------------------------------------------------------------------
  1836. # /etc/fstab: static file system information.
  1837. #
  1838. # Use 'blkid' to print the universally unique identifier for a
  1839. # device; this may be used with UUID= as a more robust way to name devices
  1840. # that works even if disks are added and removed. See fstab(5).
  1841. #
  1842. # <file system> <mount point> <type> <options> <dump> <pass>
  1843. /dev/mapper/ubuntu--vg-root / ext4 errors=remount-ro 0 1
  1844. # /boot was on /dev/sda1 during installation
  1845. UUID=ca4f1219-ad50-4c0e-8887-260d7168b83e /boot ext2 defaults 0 2
  1846. /dev/mapper/ubuntu--vg-swap_1 none swap sw 0 0
  1847. --------------------------------------------------------------------------------
  1848.  
  1849. ============== ubuntu-vg-root: Location of files loaded by Grub: ===============
  1850.  
  1851. GiB - GB File Fragment(s)
  1852.  
  1853. 0.000003815 = 0.000004096 boot/grub/grub.cfg 1
  1854. 1.464790344 = 1.572806656 boot/vmlinuz-4.4.0-57-generic 1
  1855. 1.464790344 = 1.572806656 vmlinuz 1
  1856. 1.285778046 = 1.380593664 boot/initrd.img-4.4.0-31-generic 2
  1857. 1.634971619 = 1.755537408 boot/initrd.img-4.4.0-57-generic 3
  1858. 1.634971619 = 1.755537408 initrd.img 3
  1859. 1.285778046 = 1.380593664 initrd.img.old 2
  1860.  
  1861. ======================== Unknown MBRs/Boot Sectors/etc: ========================
  1862.  
  1863. Unknown BootLoader on sda2
  1864.  
  1865.  
  1866. Unknown BootLoader on sda5
  1867.  
  1868. 00000000 4c 55 4b 53 ba be 00 01 61 65 73 00 00 00 00 00 |LUKS....aes.....|
  1869. 00000010 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................|
  1870. 00000020 00 00 00 00 00 00 00 00 78 74 73 2d 70 6c 61 69 |........xts-plai|
  1871. 00000030 6e 36 34 00 00 00 00 00 00 00 00 00 00 00 00 00 |n64.............|
  1872. 00000040 00 00 00 00 00 00 00 00 73 68 61 32 35 36 00 00 |........sha256..|
  1873. 00000050 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................|
  1874. 00000060 00 00 00 00 00 00 00 00 00 00 10 00 00 00 00 40 |...............@|
  1875. 00000070 ee bf f8 71 83 d1 73 7e 0c 22 fc cb fa 2e d0 94 |...q..s~."......|
  1876. 00000080 19 58 b0 2c 05 92 cd e9 43 1c 69 18 03 0d c8 a4 |.X.,....C.i.....|
  1877. 00000090 bd 2f 69 24 f3 c8 22 36 1a ef 71 af c4 30 7b 09 |./i$.."6..q..0{.|
  1878. 000000a0 1d 2d 0e 15 00 00 aa 69 34 37 36 39 30 65 33 36 |.-.....i47690e36|
  1879. 000000b0 2d 34 65 36 38 2d 34 37 36 32 2d 61 64 35 31 2d |-4e68-4762-ad51-|
  1880. 000000c0 65 33 61 34 63 64 32 34 37 38 63 30 00 00 00 00 |e3a4cd2478c0....|
  1881. 000000d0 00 ac 71 f3 00 02 ae cf 72 17 e1 61 d4 2e 64 c4 |..q.....r..a..d.|
  1882. 000000e0 64 8b 95 1a 6f 17 74 e5 3f 17 59 81 cc 6d b6 19 |d...o.t.?.Y..m..|
  1883. 000000f0 5e 79 aa 70 44 d8 1f 3a 00 00 00 08 00 00 0f a0 |^y.pD..:........|
  1884. 00000100 00 00 de ad 00 00 00 00 00 00 00 00 00 00 00 00 |................|
  1885. 00000110 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................|
  1886. 00000120 00 00 00 00 00 00 00 00 00 00 02 00 00 00 0f a0 |................|
  1887. 00000130 00 00 de ad 00 00 00 00 00 00 00 00 00 00 00 00 |................|
  1888. 00000140 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................|
  1889. 00000150 00 00 00 00 00 00 00 00 00 00 03 f8 00 00 0f a0 |................|
  1890. 00000160 00 00 de ad 00 00 00 00 00 00 00 00 00 00 00 00 |................|
  1891. 00000170 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................|
  1892. 00000180 00 00 00 00 00 00 00 00 00 00 05 f0 00 00 0f a0 |................|
  1893. 00000190 00 00 de ad 00 00 00 00 00 00 00 00 00 00 00 00 |................|
  1894. 000001a0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................|
  1895. 000001b0 00 00 00 00 00 00 00 00 00 00 07 e8 00 00 0f a0 |................|
  1896. 000001c0 00 00 de ad 00 00 00 00 00 00 00 00 00 00 00 00 |................|
  1897. 000001d0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................|
  1898. 000001e0 00 00 00 00 00 00 00 00 00 00 09 e0 00 00 0f a0 |................|
  1899. 000001f0 00 00 de ad 00 00 00 00 00 00 00 00 00 00 00 00 |................|
  1900. 00000200
  1901.  
  1902.  
  1903. =============================== StdErr Messages: ===============================
  1904.  
  1905. hexdump: /dev/sda2: No such device or address
  1906. hexdump: /dev/sda2: No such device or address
  1907. File descriptor 9 (/proc/27915/mounts) leaked on lvs invocation. Parent PID 10759: bash
  1908. File descriptor 63 (pipe:[164730]) leaked on lvs invocation. Parent PID 10759: bash
  1909. File descriptor 9 (/proc/27915/mounts) leaked on lvchange invocation. Parent PID 11646: bash
  1910. File descriptor 63 (pipe:[164730]) leaked on lvchange invocation. Parent PID 11646: bash
  1911. File descriptor 9 (/proc/27915/mounts) leaked on lvchange invocation. Parent PID 11646: bash
  1912. File descriptor 63 (pipe:[164730]) leaked on lvchange invocation. Parent PID 11646: bash
  1913.  
  1914. ADDITIONAL INFORMATION :
  1915. =================== log of boot-repair 2017-01-09__19h33 ===================
  1916. boot-repair version : 4ppa40
  1917. boot-sav version : 4ppa40
  1918. glade2script version : 3.2.3~ppa1
  1919. boot-sav-extra version : 4ppa40
  1920. BLKID BEFORE LVM ACTIVATION:
  1921. /dev/sda1: UUID="ca4f1219-ad50-4c0e-8887-260d7168b83e" TYPE="ext2" PARTUUID="fcf02b58-01"
  1922. /dev/sdb1: LABEL="UUI" UUID="1C0A-1D42" TYPE="vfat" PARTUUID="6d0f5a6d-01"
  1923. /dev/sda5: UUID="47690e36-4e68-4762-ad51-e3a4cd2478c0" TYPE="crypto_LUKS" PARTUUID="fcf02b58-05"
  1924. /dev/dm-2: UUID="105b0e33-8b15-451c-84f5-b119716774d6" TYPE="swap"
  1925. /dev/mapper/ubuntu--vg-root: UUID="2c2327ab-7511-42a2-bd3f-b528b06c586b" TYPE="ext4"
  1926. /dev/mapper/ubuntu--vg-swap_1: UUID="105b0e33-8b15-451c-84f5-b119716774d6" TYPE="swap"
  1927. /dev/loop0: TYPE="squashfs"
  1928. /dev/mapper/sda5_crypt: UUID="opyuPd-6gPd-saDl-E04d-7eS9-IOWR-SbYxcM" TYPE="LVM2_member"
  1929. MODPROBE
  1930. VGSCAN
  1931. File descriptor 9 (/proc/27915/mounts) leaked on vgscan invocation. Parent PID 27927: /bin/bash
  1932. Reading all physical volumes. This may take a while...
  1933. Found volume group "ubuntu-vg" using metadata type lvm2
  1934. VGCHANGE
  1935. File descriptor 9 (/proc/27915/mounts) leaked on vgchange invocation. Parent PID 27927: /bin/bash
  1936. 2 logical volume(s) in volume group "ubuntu-vg" now active
  1937. File descriptor 9 (/proc/27915/mounts) leaked on lvscan invocation. Parent PID 27927: /bin/bash
  1938. LVSCAN:
  1939. ACTIVE '/dev/ubuntu-vg/root' [459.53 GiB] inherit
  1940. ACTIVE '/dev/ubuntu-vg/swap_1' [5.75 GiB] inherit
  1941. Gtk-Message: GtkDialog mapped without a transient parent. This is discouraged.
  1942. Is there RAID on this computer? no
  1943. Error: /dev/mapper/sda5_crypt: unrecognised disk label
  1944. Error: /dev/mapper/sda5_crypt: unrecognised disk label
  1945. boot-repair is executed in live-session (Ubuntu 16.04.1 LTS, xenial, Ubuntu, x86_64)
  1946. CPU op-mode(s): 32-bit, 64-bit
  1947. file=/cdrom/preseed/ubuntu.seed boot=casper cdrom-detect/try-usb=true noprompt floppy.allowed_drive_mask=0 ignore_uuid initrd=/casper/initrd.lz quiet splash --- BOOT_IMAGE=/casper/vmlinuz.efi
  1948. ls: cannot access '/home/usr/.config': No such file or directory
  1949. [dmraid -sa -c] no
  1950. [dmraid -sa -c] raid
  1951. [dmraid -sa -c] disks
  1952. Set sda as corresponding disk of mapper/ubuntu--vg-root
  1953. mount: unknown filesystem type 'crypto_LUKS'
  1954. mount /dev/sda5 : Error code 32
  1955. mount -r /dev/sda5 /mnt/boot-sav/sda5
  1956. mount: unknown filesystem type 'crypto_LUKS'
  1957. mount -r /dev/sda5 : Error code 32
  1958. Partition 2 does not start on physical sector boundary.
  1959.  
  1960. =================== os-prober:
  1961.  
  1962.  
  1963. =================== blkid:
  1964. /dev/sda1: UUID="ca4f1219-ad50-4c0e-8887-260d7168b83e" TYPE="ext2" PARTUUID="fcf02b58-01"
  1965. /dev/sdb1: LABEL="UUI" UUID="1C0A-1D42" TYPE="vfat" PARTUUID="6d0f5a6d-01"
  1966. /dev/sda5: UUID="47690e36-4e68-4762-ad51-e3a4cd2478c0" TYPE="crypto_LUKS" PARTUUID="fcf02b58-05"
  1967. /dev/dm-2: UUID="105b0e33-8b15-451c-84f5-b119716774d6" TYPE="swap"
  1968. /dev/mapper/ubuntu--vg-root: UUID="2c2327ab-7511-42a2-bd3f-b528b06c586b" TYPE="ext4"
  1969. /dev/mapper/ubuntu--vg-swap_1: UUID="105b0e33-8b15-451c-84f5-b119716774d6" TYPE="swap"
  1970. /dev/loop0: TYPE="squashfs"
  1971. /dev/mapper/sda5_crypt: UUID="opyuPd-6gPd-saDl-E04d-7eS9-IOWR-SbYxcM" TYPE="LVM2_member"
  1972.  
  1973. mount: unknown filesystem type 'crypto_LUKS'
  1974. mount /dev/sda5 : Error code 32
  1975. mount -r /dev/sda5 /mnt/boot-sav/sda5
  1976. mount: unknown filesystem type 'crypto_LUKS'
  1977. mount -r /dev/sda5 : Error code 32
  1978. Linux not detected by os-prober on mapper/ubuntu--vg-root. Please report this message to boot.repair@gmail.com
  1979. Partition 2 does not start on physical sector boundary.
  1980. Partition 2 does not start on physical sector boundary.
  1981.  
  1982. =================== /target/etc/grub.d/ :
  1983. drwxr-xr-x 2 root root 4096 Jul 19 16:50 grub.d
  1984. total 76
  1985. -rwxr-xr-x 1 root root 9791 Jun 17 2016 00_header
  1986. -rwxr-xr-x 1 root root 6258 Mar 15 2016 05_debian_theme
  1987. -rwxr-xr-x 1 root root 12261 Jun 17 2016 10_linux
  1988. -rwxr-xr-x 1 root root 11082 Jun 17 2016 20_linux_xen
  1989. -rwxr-xr-x 1 root root 1992 Jan 28 2016 20_memtest86+
  1990. -rwxr-xr-x 1 root root 11692 Jun 17 2016 30_os-prober
  1991. -rwxr-xr-x 1 root root 1418 Jun 17 2016 30_uefi-firmware
  1992. -rwxr-xr-x 1 root root 214 Jun 17 2016 40_custom
  1993. -rwxr-xr-x 1 root root 216 Jun 17 2016 41_custom
  1994. -rw-r--r-- 1 root root 483 Jun 17 2016 README
  1995.  
  1996.  
  1997.  
  1998.  
  1999. =================== /target/etc/default/grub :
  2000.  
  2001. # If you change this file, run 'update-grub' afterwards to update
  2002. # /boot/grub/grub.cfg.
  2003. # For full documentation of the options in this file, see:
  2004. # info -f grub -n 'Simple configuration'
  2005.  
  2006. GRUB_DEFAULT=0
  2007. GRUB_HIDDEN_TIMEOUT=0
  2008. GRUB_HIDDEN_TIMEOUT_QUIET=true
  2009. GRUB_TIMEOUT=10
  2010. GRUB_DISTRIBUTOR=`lsb_release -i -s 2> /dev/null || echo Debian`
  2011. GRUB_CMDLINE_LINUX_DEFAULT="quiet splash"
  2012. GRUB_CMDLINE_LINUX=""
  2013.  
  2014. # Uncomment to enable BadRAM filtering, modify to suit your needs
  2015. # This works with Linux (no patch required) and with any kernel that obtains
  2016. # the memory map information from GRUB (GNU Mach, kernel of FreeBSD ...)
  2017. #GRUB_BADRAM="0x01234567,0xfefefefe,0x89abcdef,0xefefefef"
  2018.  
  2019. # Uncomment to disable graphical terminal (grub-pc only)
  2020. #GRUB_TERMINAL=console
  2021.  
  2022. # The resolution used on graphical terminal
  2023. # note that you can use only modes which your graphic card supports via VBE
  2024. # you can see them in real GRUB with the command `vbeinfo'
  2025. #GRUB_GFXMODE=640x480
  2026.  
  2027. # Uncomment if you don't want GRUB to pass "root=UUID=xxx" parameter to Linux
  2028. #GRUB_DISABLE_LINUX_UUID=true
  2029.  
  2030. # Uncomment to disable generation of recovery mode menu entries
  2031. #GRUB_DISABLE_RECOVERY="true"
  2032.  
  2033. # Uncomment to get a beep at grub start
  2034. #GRUB_INIT_TUNE="480 440 1"
  2035.  
  2036.  
  2037.  
  2038. /boot detected in the fstab of mapper/ubuntu--vg-root: UUID=ca4f1219-ad50-4c0e-8887-260d7168b83e (sda1)
  2039.  
  2040. =================== UEFI/Legacy mode:
  2041. This live-session is not in EFI-mode.
  2042. SecureBoot maybe enabled.
  2043.  
  2044.  
  2045. =================== PARTITIONS & DISKS:
  2046. sda1 : sda, is-sepboot, grubenv-ok 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, /target/boot.
  2047. sda5 : sda, maybesepboot, no-grubenv nogrub, no-docgrub, no-update-grub, 32, no-boot, no-os, not--efi--part, part-has-no-fstab, part-has-no-fstab, no-nt, no-winload, no-recov-nor-hid, no-bmgr, notwinboot, nopakmgr, nogrubinstall, no---usr, part-has-no-fstab, not-sep-usr, standard, farbios, /mnt/boot-sav/sda5.
  2048. mapper/ubuntu--vg-root : sda, not-sepboot, grubenv-ok grub2, signed grub-pc , update-grub, 64, with-boot, is-os, not--efi--part, fstab-has-goodBOOT, fstab-without-efi, no-nt, no-winload, no-recov-nor-hid, no-bmgr, notwinboot, apt-get, grub-install, with--usr, fstab-without-usr, not-sep-usr, standard, not-far, /target.
  2049.  
  2050. sda : not-GPT, BIOSboot-not-needed, has-no-EFIpart, not-usb, has-os, 2048 sectors * 512 bytes
  2051.  
  2052.  
  2053. =================== parted -l:
  2054.  
  2055. Model: ATA WDC WD5000LPLX-2 (scsi)
  2056. Disk /dev/sda: 500GB
  2057. Sector size (logical/physical): 512B/4096B
  2058. Partition Table: msdos
  2059. Disk Flags:
  2060.  
  2061. Number Start End Size Type File system Flags
  2062. 1 1049kB 512MB 511MB primary ext2 boot
  2063. 2 513MB 500GB 500GB extended
  2064. 5 513MB 500GB 500GB logical
  2065.  
  2066.  
  2067. Model: SanDisk Cruzer Blade (scsi)
  2068. Disk /dev/sdb: 15.6GB
  2069. Sector size (logical/physical): 512B/512B
  2070. Partition Table: msdos
  2071. Disk Flags:
  2072.  
  2073. Number Start End Size Type File system Flags
  2074. 1 16.4kB 15.6GB 15.6GB primary fat32 boot, lba
  2075.  
  2076.  
  2077. Model: Linux device-mapper (linear) (dm)
  2078. Disk /dev/mapper/ubuntu--vg-swap_1: 6170MB
  2079. Sector size (logical/physical): 512B/4096B
  2080. Partition Table: loop
  2081. Disk Flags:
  2082.  
  2083. Number Start End Size File system Flags
  2084. 1 0.00B 6170MB 6170MB linux-swap(v1)
  2085.  
  2086.  
  2087. Model: Linux device-mapper (linear) (dm)
  2088. Disk /dev/mapper/ubuntu--vg-root: 493GB
  2089. Sector size (logical/physical): 512B/4096B
  2090. Partition Table: loop
  2091. Disk Flags:
  2092.  
  2093. Number Start End Size File system Flags
  2094. 1 0.00B 493GB 493GB ext4
  2095.  
  2096.  
  2097. Model: Linux device-mapper (crypt) (dm)
  2098. Disk /dev/mapper/sda5_crypt: 500GB
  2099. Sector size (logical/physical): 512B/4096B
  2100. Partition Table: unknown
  2101. Disk Flags:
  2102.  
  2103. =================== parted -lm:
  2104.  
  2105. BYT;
  2106. /dev/sda:500GB:scsi:512:4096:msdos:ATA WDC WD5000LPLX-2:;
  2107. 1:1049kB:512MB:511MB:ext2::boot;
  2108. 2:513MB:500GB:500GB:::;
  2109. 5:513MB:500GB:500GB:::;
  2110.  
  2111. BYT;
  2112. /dev/sdb:15.6GB:scsi:512:512:msdos:SanDisk Cruzer Blade:;
  2113. 1:16.4kB:15.6GB:15.6GB:fat32::boot, lba;
  2114.  
  2115. BYT;
  2116. /dev/mapper/ubuntu--vg-swap_1:6170MB:dm:512:4096:loop:Linux device-mapper (linear):;
  2117. 1:0.00B:6170MB:6170MB:linux-swap(v1)::;
  2118.  
  2119. BYT;
  2120. /dev/mapper/ubuntu--vg-root:493GB:dm:512:4096:loop:Linux device-mapper (linear):;
  2121. 1:0.00B:493GB:493GB:ext4::;
  2122.  
  2123. BYT;
  2124. /dev/mapper/sda5_crypt:500GB:dm:512:4096:unknown:Linux device-mapper (crypt):;
  2125.  
  2126. =================== lsblk:
  2127. KNAME TYPE FSTYPE SIZE LABEL
  2128. sda disk 465.8G
  2129. sda1 part ext2 487M
  2130. sda5 part crypto_LUKS 465.3G
  2131. dm-0 crypt LVM2_member 465.3G
  2132. dm-1 lvm ext4 459.5G
  2133. dm-2 lvm swap 5.8G
  2134. sdb disk 14.5G
  2135. sdb1 part vfat 14.5G UUI
  2136. sr0 rom 1024M
  2137. loop0 loop squashfs 1.4G
  2138.  
  2139. KNAME ROTA RO RM STATE MOUNTPOINT
  2140. sda 1 0 0 running
  2141. sda1 1 0 0 /target/boot
  2142. sda5 1 0 0
  2143. dm-0 1 0 0 running
  2144. dm-1 1 0 0 running /target
  2145. dm-2 1 0 0 running [SWAP]
  2146. sdb 1 0 1 running
  2147. sdb1 1 0 1 /target/cdrom
  2148. sr0 1 0 1 running
  2149. loop0 1 1 0 /rofs
  2150.  
  2151.  
  2152. =================== mount:
  2153. sysfs on /sys type sysfs (rw,nosuid,nodev,noexec,relatime)
  2154. proc on /proc type proc (rw,nosuid,nodev,noexec,relatime)
  2155. udev on /dev type devtmpfs (rw,nosuid,relatime,size=2876592k,nr_inodes=719148,mode=755)
  2156. devpts on /dev/pts type devpts (rw,nosuid,noexec,relatime,gid=5,mode=620,ptmxmode=000)
  2157. tmpfs on /run type tmpfs (rw,nosuid,noexec,relatime,size=584840k,mode=755)
  2158. /dev/sdb1 on /cdrom type vfat (ro,noatime,fmask=0022,dmask=0022,codepage=437,iocharset=iso8859-1,shortname=mixed,errors=remount-ro)
  2159. /dev/loop0 on /rofs type squashfs (ro,noatime)
  2160. /cow on / type overlay (rw,relatime,lowerdir=//filesystem.squashfs,upperdir=/cow/upper,workdir=/cow/work)
  2161. securityfs on /sys/kernel/security type securityfs (rw,nosuid,nodev,noexec,relatime)
  2162. tmpfs on /dev/shm type tmpfs (rw,nosuid,nodev)
  2163. tmpfs on /run/lock type tmpfs (rw,nosuid,nodev,noexec,relatime,size=5120k)
  2164. tmpfs on /sys/fs/cgroup type tmpfs (ro,nosuid,nodev,noexec,mode=755)
  2165. cgroup on /sys/fs/cgroup/systemd type cgroup (rw,nosuid,nodev,noexec,relatime,xattr,release_agent=/lib/systemd/systemd-cgroups-agent,name=systemd)
  2166. pstore on /sys/fs/pstore type pstore (rw,nosuid,nodev,noexec,relatime)
  2167. cgroup on /sys/fs/cgroup/perf_event type cgroup (rw,nosuid,nodev,noexec,relatime,perf_event)
  2168. cgroup on /sys/fs/cgroup/hugetlb type cgroup (rw,nosuid,nodev,noexec,relatime,hugetlb)
  2169. cgroup on /sys/fs/cgroup/pids type cgroup (rw,nosuid,nodev,noexec,relatime,pids)
  2170. cgroup on /sys/fs/cgroup/freezer type cgroup (rw,nosuid,nodev,noexec,relatime,freezer)
  2171. cgroup on /sys/fs/cgroup/devices type cgroup (rw,nosuid,nodev,noexec,relatime,devices)
  2172. cgroup on /sys/fs/cgroup/blkio type cgroup (rw,nosuid,nodev,noexec,relatime,blkio)
  2173. cgroup on /sys/fs/cgroup/cpu,cpuacct type cgroup (rw,nosuid,nodev,noexec,relatime,cpu,cpuacct)
  2174. cgroup on /sys/fs/cgroup/net_cls,net_prio type cgroup (rw,nosuid,nodev,noexec,relatime,net_cls,net_prio)
  2175. cgroup on /sys/fs/cgroup/cpuset type cgroup (rw,nosuid,nodev,noexec,relatime,cpuset)
  2176. cgroup on /sys/fs/cgroup/memory type cgroup (rw,nosuid,nodev,noexec,relatime,memory)
  2177. systemd-1 on /proc/sys/fs/binfmt_misc type autofs (rw,relatime,fd=32,pgrp=1,timeout=0,minproto=5,maxproto=5,direct)
  2178. mqueue on /dev/mqueue type mqueue (rw,relatime)
  2179. hugetlbfs on /dev/hugepages type hugetlbfs (rw,relatime)
  2180. debugfs on /sys/kernel/debug type debugfs (rw,relatime)
  2181. tracefs on /sys/kernel/debug/tracing type tracefs (rw,relatime)
  2182. fusectl on /sys/fs/fuse/connections type fusectl (rw,relatime)
  2183. tmpfs on /tmp type tmpfs (rw,nosuid,nodev,relatime)
  2184. tmpfs on /run/user/999 type tmpfs (rw,nosuid,nodev,relatime,size=584840k,mode=700,uid=999,gid=999)
  2185. gvfsd-fuse on /run/user/999/gvfs type fuse.gvfsd-fuse (rw,nosuid,nodev,relatime,user_id=999,group_id=999)
  2186. /dev/mapper/ubuntu--vg-root on /target type ext4 (rw,relatime,errors=remount-ro,data=ordered)
  2187. /dev/sda1 on /target/boot type ext2 (rw,relatime,block_validity,barrier,user_xattr,acl,stripe=4)
  2188. /dev/sdb1 on /target/cdrom type vfat (ro,noatime,fmask=0022,dmask=0022,codepage=437,iocharset=iso8859-1,shortname=mixed,errors=remount-ro)
  2189.  
  2190.  
  2191. =================== ls:
  2192. /sys/block/dm-0 (filtered): alignment_offset bdi capability dev discard_alignment dm ext_range holders inflight integrity power queue range removable ro size slaves stat subsystem trace uevent
  2193. /sys/block/dm-1 (filtered): alignment_offset bdi capability dev discard_alignment dm ext_range holders inflight integrity power queue range removable ro size slaves stat subsystem trace uevent
  2194. /sys/block/dm-2 (filtered): alignment_offset bdi capability dev discard_alignment dm ext_range holders inflight integrity power queue range removable ro size slaves stat subsystem trace uevent
  2195. /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 sda5 size slaves stat subsystem trace uevent
  2196. /sys/block/sdb (filtered): alignment_offset bdi capability dev device discard_alignment events events_async events_poll_msecs ext_range holders inflight integrity power queue range removable ro sdb1 size slaves stat subsystem trace uevent
  2197. /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
  2198. /dev (filtered): autofs block bsg btrfs-control bus cdrom cdrw char console core cpu cpu_dma_latency cuse disk dm-0 dm-1 dm-2 dri dvd dvdrw ecryptfs fb0 fb1 fd freefall full fuse hidraw0 hpet hugepages hwrng i2c-0 i2c-1 i2c-10 i2c-11 i2c-12 i2c-2 i2c-3 i2c-4 i2c-5 i2c-6 i2c-7 i2c-8 i2c-9 initctl input kfd kmsg 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 sda5 sdb sdb1 sg0 sg1 sg2 shm snapshot snd sr0 stderr stdin stdout ubuntu-vg uhid uinput urandom userio v4l vfio vga_arbiter vhci vhost-net video0 zero
  2199. ls /dev/mapper: control sda5_crypt ubuntu--vg-root ubuntu--vg-swap_1
  2200. Partition 2 does not start on physical sector boundary.
  2201.  
  2202. =================== df -Th:
  2203.  
  2204. Filesystem Type Size Used Avail Use% Mounted on
  2205. udev devtmpfs 2.8G 0 2.8G 0% /dev
  2206. tmpfs tmpfs 572M 8.6M 563M 2% /run
  2207. /dev/sdb1 vfat 15G 1.5G 14G 10% /cdrom
  2208. /dev/loop0 squashfs 1.4G 1.4G 0 100% /rofs
  2209. /cow overlay 2.8G 94M 2.7G 4% /
  2210. tmpfs tmpfs 2.8G 196K 2.8G 1% /dev/shm
  2211. tmpfs tmpfs 5.0M 8.0K 5.0M 1% /run/lock
  2212. tmpfs tmpfs 2.8G 0 2.8G 0% /sys/fs/cgroup
  2213. tmpfs tmpfs 2.8G 28K 2.8G 1% /tmp
  2214. tmpfs tmpfs 572M 92K 572M 1% /run/user/999
  2215. /dev/mapper/ubuntu--vg-root ext4 453G 3.9G 426G 1% /target
  2216. /dev/sda1 ext2 472M 65M 383M 15% /target/boot
  2217.  
  2218. =================== fdisk -l:
  2219. Disk /dev/ram0: 64 MiB, 67108864 bytes, 131072 sectors
  2220. Units: sectors of 1 * 512 = 512 bytes
  2221. Sector size (logical/physical): 512 bytes / 4096 bytes
  2222. I/O size (minimum/optimal): 4096 bytes / 4096 bytes
  2223.  
  2224.  
  2225. Disk /dev/ram1: 64 MiB, 67108864 bytes, 131072 sectors
  2226. Units: sectors of 1 * 512 = 512 bytes
  2227. Sector size (logical/physical): 512 bytes / 4096 bytes
  2228. I/O size (minimum/optimal): 4096 bytes / 4096 bytes
  2229.  
  2230.  
  2231. Disk /dev/ram2: 64 MiB, 67108864 bytes, 131072 sectors
  2232. Units: sectors of 1 * 512 = 512 bytes
  2233. Sector size (logical/physical): 512 bytes / 4096 bytes
  2234. I/O size (minimum/optimal): 4096 bytes / 4096 bytes
  2235.  
  2236.  
  2237. Disk /dev/ram3: 64 MiB, 67108864 bytes, 131072 sectors
  2238. Units: sectors of 1 * 512 = 512 bytes131072 sectors
  2239. Units: sectors of 1 * 512 = 512 bytes
  2240. Sector size (logical/physical): 512 bytes / 4096 bytes
  2241. I/O size (minimum/optimal): 4096 bytes / 4096 bytes
  2242.  
  2243.  
  2244. Disk /dev/ram7: 64 MiB, 67108864 bytes, 131072 sectors
  2245. Units: sectors of 1 * 512 = 512 bytes
  2246. Sector size (logical/physical): 512 bytes / 4096 bytes
  2247. I/O size (minimum/optimal): 4096 bytes / 4096 bytes
  2248.  
  2249.  
  2250. Disk /dev/ram8: 64 MiB, 67108864 bytes, 131072 sectors
  2251. Units: sectors of 1 * 512 = 512 bytes
  2252. Sector size (logical/physical): 512 bytes / 4096 bytes
  2253. I/O size (minimum/optimal): 4096 bytes / 4096 bytes
  2254.  
  2255.  
  2256. Disk /dev/ram9: 64 MiB, 67108864 bytes, Boot Info Script cfd9efe + Boot-Repair extra info [Boot-Info 26Apr2016]
  2257.  
  2258.  
  2259. ============================= Boot Info Summary: ===============================
  2260.  
  2261. => Grub2 (v2.00) is installed in the MBR of /dev/sda and looks at sector 1 of
  2262. the same hard drive for core.img. core.img is at this location and looks
  2263. for (,msdos1)/grub. It also embeds following components:
  2264.  
  2265. modules
  2266. ---------------------------------------------------------------------------
  2267. fshelp ext2 part_msdos biosdisk
  2268. ---------------------------------------------------------------------------
  2269. => Syslinux MBR (4.04-4.07) is installed in the MBR of /dev/sdb.
  2270.  
  2271. sda1: __________________________________________________________________________
  2272.  
  2273. File system: ext2
  2274. Boot sector type: -
  2275. Boot sector info:
  2276. Operating System:
  2277. Boot files: /grub/grub.cfg /grub/i386-pc/core.img
  2278.  
  2279. sda2: __________________________________________________________________________
  2280.  
  2281. File system: Extended Partition
  2282. Boot sector type: Unknown
  2283. Boot sector info:
  2284.  
  2285. sda5: __________________________________________________________________________
  2286.  
  2287. File system: crypto_LUKS
  2288. Boot sector type: Unknown
  2289. Boot sector info:
  2290.  
  2291. sdb1: __________________________________________________________________________
  2292.  
  2293. File system: vfat
  2294. Boot sector type: SYSLINUX 4.07 2013-07-25
  2295. Boot sector info: Syslinux looks at sector 29850 of /dev/sdb1 for its
  2296. second stage. SYSLINUX is installed in the /uui
  2297. directory. No errors found in the Boot Parameter Block.
  2298. Operating System:
  2299. Boot files: /boot/grub/grub.cfg /casper/vmlinuz.efi
  2300. /EFI/BOOT/grubx64.efi
  2301.  
  2302. ubuntu-vg-root: ________________________________________________________________
  2303.  
  2304. File system: ext4
  2305. Boot sector type: -
  2306. Boot sector info:
  2307. Operating System: Ubuntu 16.04.1 LTS
  2308. Boot files: /boot/grub/grub.cfg /etc/fstab
  2309.  
  2310. ubuntu-vg-swap_1: ______________________________________________________________
  2311.  
  2312. File system: swap
  2313. Boot sector type: -
  2314. Boot sector info:
  2315.  
  2316. ============================ Drive/Partition Info: =============================
  2317.  
  2318. Drive: sda _____________________________________________________________________
  2319. Disk /dev/sda: 465.8 GiB, 500107862016 bytes, 976773168 sectors
  2320. Units: sectors of 1 * 512 = 512 bytes
  2321. Sector size (logical/physical): 512 bytes / 4096 bytes
  2322. I/O size (minimum/optimal): 4096 bytes / 4096 bytes
  2323. Disklabel type: dos
  2324.  
  2325. Partition Boot Start Sector End Sector # of Sectors Id System
  2326.  
  2327. /dev/sda1 * 2,048 999,423 997,376 83 Linux
  2328. /dev/sda2 1,001,470 976,771,071 975,769,602 5 Extended
  2329. /dev/sda5 1,001,472 976,771,071 975,769,600 83 Linux
  2330.  
  2331.  
  2332. Drive: sdb _____________________________________________________________________
  2333. Disk /dev/sdb: 14.5 GiB, 15597568000 bytes, 30464000 sectors
  2334. Units: sectors of 1 * 512 = 512 bytes
  2335. Sector size (logical/physical): 512 bytes / 512 bytes
  2336. I/O size (minimum/optimal): 512 bytes / 512 bytes
  2337. Disklabel type: dos
  2338.  
  2339. Partition Boot Start Sector End Sector # of Sectors Id System
  2340.  
  2341. /dev/sdb1 * 32 30,463,999 30,463,968 c W95 FAT32 (LBA)
  2342.  
  2343.  
  2344. "blkid" output: ________________________________________________________________
  2345.  
  2346. Device UUID TYPE LABEL
  2347.  
  2348. /dev/dm-2 105b0e33-8b15-451c-84f5-b119716774d6 swap
  2349. /dev/loop0 squashfs
  2350. /dev/mapper/sda5_crypt opyuPd-6gPd-saDl-E04d-7eS9-IOWR-SbYxcM LVM2_member
  2351. /dev/mapper/ubuntu--vg-root 2c2327ab-7511-42a2-bd3f-b528b06c586b ext4
  2352. /dev/mapper/ubuntu--vg-swap_1 105b0e33-8b15-451c-84f5-b119716774d6 swap
  2353. /dev/sda1 ca4f1219-ad50-4c0e-8887-260d7168b83e ext2
  2354. /dev/sda5 47690e36-4e68-4762-ad51-e3a4cd2478c0 crypto_LUKS
  2355. /dev/sdb1 1C0A-1D42 vfat UUI
  2356.  
  2357. ========================= "ls -l /dev/disk/by-id" output: ======================
  2358.  
  2359. total 0
  2360. lrwxrwxrwx 1 root root 9 Jan 9 19:44 ata-WDC_WD5000LPLX-22ZNTT0_WD-WX41A26F0NS4 -> ../../sda
  2361. lrwxrwxrwx 1 root root 10 Jan 9 19:44 ata-WDC_WD5000LPLX-22ZNTT0_WD-WX41A26F0NS4-part1 -> ../../sda1
  2362. lrwxrwxrwx 1 root root 10 Jan 9 19:44 ata-WDC_WD5000LPLX-22ZNTT0_WD-WX41A26F0NS4-part2 -> ../../sda2
  2363. lrwxrwxrwx 1 root root 10 Jan 9 19:44 ata-WDC_WD5000LPLX-22ZNTT0_WD-WX41A26F0NS4-part5 -> ../../sda5
  2364. lrwxrwxrwx 1 root root 9 Jan 9 19:44 ata-hp_DVDWBD_TS-LB23L_R4226GNZA00714 -> ../../sr0
  2365. lrwxrwxrwx 1 root root 10 Jan 9 19:44 dm-name-sda5_crypt -> ../../dm-0
  2366. lrwxrwxrwx 1 root root 10 Jan 9 19:44 dm-name-ubuntu--vg-root -> ../../dm-1
  2367. lrwxrwxrwx 1 root root 10 Jan 9 19:44 dm-name-ubuntu--vg-swap_1 -> ../../dm-2
  2368. lrwxrwxrwx 1 root root 10 Jan 9 19:44 dm-uuid-CRYPT-LUKS1-47690e364e684762ad51e3a4cd2478c0-sda5_crypt -> ../../dm-0
  2369. lrwxrwxrwx 1 root root 10 Jan 9 19:44 dm-uuid-LVM-jkz6nPefU5qJWGrQDeHaxk7m2FYwlrPJ2CQ0vboUxliCImHv3QHmgf8n8hovveTI -> ../../dm-2
  2370. lrwxrwxrwx 1 root root 10 Jan 9 19:44 dm-uuid-LVM-jkz6nPefU5qJWGrQDeHaxk7m2FYwlrPJDdvs38mnESutDwUCSQlSIBlBZvgN4yhC -> ../../dm-1
  2371. lrwxrwxrwx 1 root root 10 Jan 9 19:44 lvm-pv-uuid-opyuPd-6gPd-saDl-E04d-7eS9-IOWR-SbYxcM -> ../../dm-0
  2372. lrwxrwxrwx 1 root root 9 Jan 9 19:44 usb-SanDisk_Cruzer_Blade_4C530001141031105444-0:0 -> ../../sdb
  2373. lrwxrwxrwx 1 root root 10 Jan 9 19:44 usb-SanDisk_Cruzer_Blade_4C530001141031105444-0:0-part1 -> ../../sdb1
  2374. lrwxrwxrwx 1 root root 9 Jan 9 19:44 wwn-0x50014ee6069d075b -> ../../sda
  2375. lrwxrwxrwx 1 root root 10 Jan 9 19:44 wwn-0x50014ee6069d075b-part1 -> ../../sda1
  2376. lrwxrwxrwx 1 root root 10 Jan 9 19:44 wwn-0x50014ee6069d075b-part2 -> ../../sda2
  2377. lrwxrwxrwx 1 root root 10 Jan 9 19:44 wwn-0x50014ee6069d075b-part5 -> ../../sda5
  2378.  
  2379. ========================= "ls -R /dev/mapper/" output: =========================
  2380.  
  2381. /dev/mapper:
  2382. control
  2383. sda5_crypt
  2384. ubuntu--vg-root
  2385. ubuntu--vg-swap_1
  2386.  
  2387. ================================ Mount points: =================================
  2388.  
  2389. Device Mount_Point Type Options
  2390.  
  2391. /dev/loop0 /rofs squashfs (ro,noatime)
  2392. /dev/mapper/ubuntu--vg-root /target ext4 (rw,relatime,data=ordered)
  2393. /dev/sdb1 /cdrom vfat (ro,noatime,fmask=0022,dmask=0022,codepage=437,iocharset=iso8859-1,shortname=mixed,errors=remount-ro)
  2394.  
  2395.  
  2396. ============================= sda1/grub/grub.cfg: ==============================
  2397.  
  2398. --------------------------------------------------------------------------------
  2399. #
  2400. # DO NOT EDIT THIS FILE
  2401. #
  2402. # It is automatically generated by grub-mkconfig using templates
  2403. # from /etc/grub.d and settings from /etc/default/grub
  2404. #
  2405.  
  2406. ### BEGIN /etc/grub.d/00_header ###
  2407. if [ -s $prefix/grubenv ]; then
  2408. set have_grubenv=true
  2409. load_env
  2410. fi
  2411. if [ "${next_entry}" ] ; then
  2412. set default="${next_entry}"
  2413. set next_entry=
  2414. save_env next_entry
  2415. set boot_once=true
  2416. else
  2417. set default="0"
  2418. fi
  2419.  
  2420. if [ x"${feature_menuentry_id}" = xy ]; then
  2421. menuentry_id_option="--id"
  2422. else
  2423. menuentry_id_option=""
  2424. fi
  2425.  
  2426. export menuentry_id_option
  2427.  
  2428. if [ "${prev_saved_entry}" ]; then
  2429. set saved_entry="${prev_saved_entry}"
  2430. save_env saved_entry
  2431. set prev_saved_entry=
  2432. save_env prev_saved_entry
  2433. set boot_once=true
  2434. fi
  2435.  
  2436. function savedefault {
  2437. if [ -z "${boot_once}" ]; then
  2438. saved_entry="${chosen}"
  2439. save_env saved_entry
  2440. fi
  2441. }
  2442. function recordfail {
  2443. set recordfail=1
  2444. if [ -n "${have_grubenv}" ]; then if [ -z "${boot_once}" ]; then save_env recordfail; fi; fi
  2445. }
  2446. function load_video {
  2447. if [ x$feature_all_video_module = xy ]; then
  2448. insmod all_video
  2449. else
  2450. insmod efi_gop
  2451. insmod efi_uga
  2452. insmod ieee1275_fb
  2453. insmod vbe
  2454. insmod vga
  2455. insmod video_bochs
  2456. insmod video_cirrus
  2457. fi
  2458. }
  2459.  
  2460. if [ x$feature_default_font_path = xy ] ; then
  2461. font=unicode
  2462. else
  2463. insmod part_msdos
  2464. insmod ext2
  2465. set root='hd0,msdos1'
  2466. if [ x$feature_platform_search_hint = xy ]; then
  2467. search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos1 --hint-efi=hd0,msdos1 --hint-baremetal=ahci0,msdos1 ca4f1219-ad50-4c0e-8887-260d7168b83e
  2468. else
  2469. search --no-floppy --fs-uuid --set=root ca4f1219-ad50-4c0e-8887-260d7168b83e
  2470. fi
  2471. font="/grub/unicode.pf2"
  2472. fi
  2473.  
  2474. if loadfont $font ; then
  2475. set gfxmode=auto
  2476. load_video
  2477. insmod gfxterm
  2478. set locale_dir=$prefix/locale
  2479. set lang=en_US
  2480. insmod gettext
  2481. fi
  2482. terminal_output gfxterm
  2483. if [ "${recordfail}" = 1 ] ; then
  2484. set timeout=30
  2485. else
  2486. if [ x$feature_timeout_style = xy ] ; then
  2487. set timeout_style=hidden
  2488. set timeout=0
  2489. # Fallback hidden-timeout code in case the timeout_style feature is
  2490. # unavailable.
  2491. elif sleep --interruptible 0 ; then
  2492. set timeout=0
  2493. fi
  2494. fi
  2495. ### END /etc/grub.d/00_header ###
  2496.  
  2497. ### BEGIN /etc/grub.d/05_debian_theme ###
  2498. set menu_color_normal=white/black
  2499. set menu_color_highlight=black/light-gray
  2500. if background_color 44,0,30,0; then
  2501. clear
  2502. fi
  2503. ### END /etc/grub.d/05_debian_theme ###
  2504.  
  2505. ### BEGIN /etc/grub.d/10_linux ###
  2506. function gfxmode {
  2507. set gfxpayload="${1}"
  2508. if [ "${1}" = "keep" ]; then
  2509. set vt_handoff=vt.handoff=7
  2510. else
  2511. set vt_handoff=
  2512. fi
  2513. }
  2514. if [ "${recordfail}" != 1 ]; then
  2515. if [ -e ${prefix}/gfxblacklist.txt ]; then
  2516. if hwmatch ${prefix}/gfxblacklist.txt 3; then
  2517. if [ ${match} = 0 ]; then
  2518. set linux_gfx_mode=keep
  2519. else
  2520. set linux_gfx_mode=text
  2521. fi
  2522. else
  2523. set linux_gfx_mode=text
  2524. fi
  2525. else
  2526. set linux_gfx_mode=keep
  2527. fi
  2528. else
  2529. set linux_gfx_mode=text
  2530. fi
  2531. export linux_gfx_mode
  2532. menuentry 'Ubuntu' --class ubuntu --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-simple-2c2327ab-7511-42a2-bd3f-b528b06c586b' {
  2533. recordfail
  2534. load_video
  2535. gfxmode $linux_gfx_mode
  2536. insmod gzio
  2537. if [ x$grub_platform = xxen ]; then insmod xzio; insmod lzopio; fi
  2538. insmod part_msdos
  2539. insmod ext2
  2540. set root='hd0,msdos1'
  2541. if [ x$feature_platform_search_hint = xy ]; then
  2542. search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos1 --hint-efi=hd0,msdos1 --hint-baremetal=ahci0,msdos1 ca4f1219-ad50-4c0e-8887-260d7168b83e
  2543. else
  2544. search --no-floppy --fs-uuid --set=root ca4f1219-ad50-4c0e-8887-260d7168b83e
  2545. fi
  2546. linux /vmlinuz-4.4.0-31-generic root=/dev/mapper/ubuntu--vg-root ro quiet splash $vt_handoff
  2547. initrd /initrd.img-4.4.0-31-generic
  2548. }
  2549. submenu 'Advanced options for Ubuntu' $menuentry_id_option 'gnulinux-advanced-2c2327ab-7511-42a2-bd3f-b528b06c586b' {
  2550. menuentry 'Ubuntu, with Linux 4.4.0-31-generic' --class ubuntu --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-4.4.0-31-generic-advanced-2c2327ab-7511-42a2-bd3f-b528b06c586b' {
  2551. recordfail
  2552. load_video
  2553. gfxmode $linux_gfx_mode
  2554. insmod gzio
  2555. if [ x$grub_platform = xxen ]; then insmod xzio; insmod lzopio; fi
  2556. insmod part_msdos
  2557. insmod ext2
  2558. set root='hd0,msdos1'
  2559. if [ x$feature_platform_search_hint = xy ]; then
  2560. search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos1 --hint-efi=hd0,msdos1 --hint-baremetal=ahci0,msdos1 ca4f1219-ad50-4c0e-8887-260d7168b83e
  2561. else
  2562. search --no-floppy --fs-uuid --set=root ca4f1219-ad50-4c0e-8887-260d7168b83e
  2563. fi
  2564. echo 'Loading Linux 4.4.0-31-generic ...'
  2565. linux /vmlinuz-4.4.0-31-generic root=/dev/mapper/ubuntu--vg-root ro quiet splash $vt_handoff
  2566. echo 'Loading initial ramdisk ...'
  2567. initrd /initrd.img-4.4.0-31-generic
  2568. }
  2569. menuentry 'Ubuntu, with Linux 4.4.0-31-generic (upstart)' --class ubuntu --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-4.4.0-31-generic-init-upstart-2c2327ab-7511-42a2-bd3f-b528b06c586b' {
  2570. recordfail
  2571. load_video
  2572. gfxmode $linux_gfx_mode
  2573. insmod gzio
  2574. if [ x$grub_platform = xxen ]; then insmod xzio; insmod lzopio; fi
  2575. insmod part_msdos
  2576. insmod ext2
  2577. set root='hd0,msdos1'
  2578. if [ x$feature_platform_search_hint = xy ]; then
  2579. search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos1 --hint-efi=hd0,msdos1 --hint-baremetal=ahci0,msdos1 ca4f1219-ad50-4c0e-8887-260d7168b83e
  2580. else
  2581. search --no-floppy --fs-uuid --set=root ca4f1219-ad50-4c0e-8887-260d7168b83e
  2582. fi
  2583. echo 'Loading Linux 4.4.0-31-generic ...'
  2584. linux /vmlinuz-4.4.0-31-generic root=/dev/mapper/ubuntu--vg-root ro quiet splash $vt_handoff init=/sbin/upstart
  2585. echo 'Loading initial ramdisk ...'
  2586. initrd /initrd.img-4.4.0-31-generic
  2587. }
  2588. menuentry 'Ubuntu, with Linux 4.4.0-31-generic (recovery mode)' --class ubuntu --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-4.4.0-31-generic-recovery-2c2327ab-7511-42a2-bd3f-b528b06c586b' {
  2589. recordfail
  2590. load_video
  2591. insmod gzio
  2592. if [ x$grub_platform = xxen ]; then insmod xzio; insmod lzopio; fi
  2593. insmod part_msdos
  2594. insmod ext2
  2595. set root='hd0,msdos1'
  2596. if [ x$feature_platform_search_hint = xy ]; then
  2597. search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos1 --hint-efi=hd0,msdos1 --hint-baremetal=ahci0,msdos1 ca4f1219-ad50-4c0e-8887-260d7168b83e
  2598. else
  2599. search --no-floppy --fs-uuid --set=root ca4f1219-ad50-4c0e-8887-260d7168b83e
  2600. fi
  2601. echo 'Loading Linux 4.4.0-31-generic ...'
  2602. linux /vmlinuz-4.4.0-31-generic root=/dev/mapper/ubuntu--vg-root ro recovery nomodeset
  2603. echo 'Loading initial ramdisk ...'
  2604. initrd /initrd.img-4.4.0-31-generic
  2605. }
  2606. }
  2607.  
  2608. ### END /etc/grub.d/10_linux ###
  2609.  
  2610. ### BEGIN /etc/grub.d/20_linux_xen ###
  2611.  
  2612. ### END /etc/grub.d/20_linux_xen ###
  2613.  
  2614. ### BEGIN /etc/grub.d/20_memtest86+ ###
  2615. menuentry 'Memory test (memtest86+)' {
  2616. insmod part_msdos
  2617. insmod ext2
  2618. set root='hd0,msdos1'
  2619. if [ x$feature_platform_search_hint = xy ]; then
  2620. search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos1 --hint-efi=hd0,msdos1 --hint-baremetal=ahci0,msdos1 ca4f1219-ad50-4c0e-8887-260d7168b83e
  2621. else
  2622. search --no-floppy --fs-uuid --set=root ca4f1219-ad50-4c0e-8887-260d7168b83e
  2623. fi
  2624. knetbsd /memtest86+.elf
  2625. }
  2626. menuentry 'Memory test (memtest86+, serial console 115200)' {
  2627. insmod part_msdos
  2628. insmod ext2
  2629. set root='hd0,msdos1'
  2630. if [ x$feature_platform_search_hint = xy ]; then
  2631. search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos1 --hint-efi=hd0,msdos1 --hint-baremetal=ahci0,msdos1 ca4f1219-ad50-4c0e-8887-260d7168b83e
  2632. else
  2633. search --no-floppy --fs-uuid --set=root ca4f1219-ad50-4c0e-8887-260d7168b83e
  2634. fi
  2635. linux16 /memtest86+.bin console=ttyS0,115200n8
  2636. }
  2637. ### END /etc/grub.d/20_memtest86+ ###
  2638.  
  2639. ### BEGIN /etc/grub.d/30_os-prober ###
  2640. ### END /etc/grub.d/30_os-prober ###
  2641.  
  2642. ### BEGIN /etc/grub.d/30_uefi-firmware ###
  2643. ### END /etc/grub.d/30_uefi-firmware ###
  2644.  
  2645. ### BEGIN /etc/grub.d/40_custom ###
  2646. # This file provides an easy way to add custom menu entries. Simply type the
  2647. # menu entries you want to add after this comment. Be careful not to change
  2648. # the 'exec tail' line above.
  2649. ### END /etc/grub.d/40_custom ###
  2650.  
  2651. ### BEGIN /etc/grub.d/41_custom ###
  2652. if [ -f ${config_directory}/custom.cfg ]; then
  2653. source ${config_directory}/custom.cfg
  2654. elif [ -z "${config_directory}" -a -f $prefix/custom.cfg ]; then
  2655. source $prefix/custom.cfg;
  2656. fi
  2657. ### END /etc/grub.d/41_custom ###
  2658. --------------------------------------------------------------------------------
  2659.  
  2660. =================== sda1: Location of files loaded by Grub: ====================
  2661.  
  2662. GiB - GB File Fragment(s)
  2663.  
  2664. 0.007655144 = 0.008219648 grub/grub.cfg 4
  2665. 0.126763344 = 0.136111104 grub/i386-pc/core.img 2
  2666. 0.066134453 = 0.071011328 vmlinuz-4.4.0-31-generic 12
  2667. 0.183124542 = 0.196628480 initrd.img-4.4.0-31-generic 18
  2668.  
  2669. =========================== sdb1/boot/grub/grub.cfg: ===========================
  2670.  
  2671. --------------------------------------------------------------------------------
  2672.  
  2673. if loadfont /boot/grub/font.pf2 ; then
  2674. set gfxmode=auto
  2675. insmod efi_gop
  2676. insmod efi_uga
  2677. insmod gfxterm
  2678. terminal_output gfxterm
  2679. fi
  2680.  
  2681. set menu_color_normal=white/black
  2682. set menu_color_highlight=black/light-gray
  2683.  
  2684. menuentry "Try Ubuntu without installing" {
  2685. set gfxpayload=keep
  2686. linux /casper/vmlinuz.efi file=/cdrom/preseed/ubuntu.seed cdrom-detect/try-usb=true noprompt floppy.allowed_drive_mask=0 ignore_uuid boot=casper quiet splash ---
  2687. initrd /casper/initrd.lz
  2688. }
  2689. menuentry "Install Ubuntu" {
  2690. set gfxpayload=keep
  2691. linux /casper/vmlinuz.efi file=/cdrom/preseed/ubuntu.seed cdrom-detect/try-usb=true noprompt floppy.allowed_drive_mask=0 ignore_uuid boot=casper only-ubiquity quiet splash ---
  2692. initrd /casper/initrd.lz
  2693. }
  2694. menuentry "OEM install (for manufacturers)" {
  2695. set gfxpayload=keep
  2696. linux /casper/vmlinuz.efi file=/cdrom/preseed/ubuntu.seed cdrom-detect/try-usb=true noprompt floppy.allowed_drive_mask=0 ignore_uuid boot=casper only-ubiquity quiet splash oem-config/enable=true ---
  2697. initrd /casper/initrd.lz
  2698. }
  2699. menuentry "Check disc for defects" {
  2700. set gfxpayload=keep
  2701. linux /casper/vmlinuz.efi cdrom-detect/try-usb=true noprompt floppy.allowed_drive_mask=0 ignore_uuid boot=casper integrity-check quiet splash ---
  2702. initrd /casper/initrd.lz
  2703. }
  2704. --------------------------------------------------------------------------------
  2705.  
  2706. =================== sdb1: Location of files loaded by Grub: ====================
  2707.  
  2708. GiB - GB File Fragment(s)
  2709.  
  2710. ?? = ?? boot/grub/grub.cfg 1
  2711.  
  2712. ====================== ubuntu-vg-root/boot/grub/grub.cfg: ======================
  2713.  
  2714. --------------------------------------------------------------------------------
  2715. #
  2716. # DO NOT EDIT THIS FILE
  2717. #
  2718. # It is automatically generated by grub-mkconfig using templates
  2719. # from /etc/grub.d and settings from /etc/default/grub
  2720. #
  2721.  
  2722. ### BEGIN /etc/grub.d/00_header ###
  2723. if [ -s $prefix/grubenv ]; then
  2724. set have_grubenv=true
  2725. load_env
  2726. fi
  2727. if [ "${next_entry}" ] ; then
  2728. set default="${next_entry}"
  2729. set next_entry=
  2730. save_env next_entry
  2731. set boot_once=true
  2732. else
  2733. set default="0"
  2734. fi
  2735.  
  2736. if [ x"${feature_menuentry_id}" = xy ]; then
  2737. menuentry_id_option="--id"
  2738. else
  2739. menuentry_id_option=""
  2740. fi
  2741.  
  2742. export menuentry_id_option
  2743.  
  2744. if [ "${prev_saved_entry}" ]; then
  2745. set saved_entry="${prev_saved_entry}"
  2746. save_env saved_entry
  2747. set prev_saved_entry=
  2748. save_env prev_saved_entry
  2749. set boot_once=true
  2750. fi
  2751.  
  2752. function savedefault {
  2753. if [ -z "${boot_once}" ]; then
  2754. saved_entry="${chosen}"
  2755. save_env saved_entry
  2756. fi
  2757. }
  2758. function recordfail {
  2759. set recordfail=1
  2760. # GRUB lacks write support for lvm, so recordfail support is disabled.
  2761. }
  2762. function load_video {
  2763. if [ x$feature_all_video_module = xy ]; then
  2764. insmod all_video
  2765. else
  2766. insmod efi_gop
  2767. insmod efi_uga
  2768. insmod ieee1275_fb
  2769. insmod vbe
  2770. insmod vga
  2771. insmod video_bochs
  2772. insmod video_cirrus
  2773. fi
  2774. }
  2775.  
  2776. if loadfont unicode ; then
  2777. set gfxmode=auto
  2778. load_video
  2779. insmod gfxterm
  2780. set locale_dir=$prefix/locale
  2781. set lang=en_US
  2782. insmod gettext
  2783. fi
  2784. terminal_output gfxterm
  2785. if [ "${recordfail}" = 1 ] ; then
  2786. set timeout=10
  2787. else
  2788. if [ x$feature_timeout_style = xy ] ; then
  2789. set timeout_style=menu
  2790. set timeout=10
  2791. # Fallback normal timeout code in case the timeout_style feature is
  2792. # unavailable.
  2793. else
  2794. set timeout=10
  2795. fi
  2796. fi
  2797. ### END /etc/grub.d/00_header ###
  2798.  
  2799. ### BEGIN /etc/grub.d/05_debian_theme ###
  2800. set menu_color_normal=white/black
  2801. set menu_color_highlight=black/light-gray
  2802. if background_color 44,0,30,0; then
  2803. clear
  2804. fi
  2805. ### END /etc/grub.d/05_debian_theme ###
  2806.  
  2807. ### BEGIN /etc/grub.d/10_linux ###
  2808. function gfxmode {
  2809. set gfxpayload="${1}"
  2810. if [ "${1}" = "keep" ]; then
  2811. set vt_handoff=vt.handoff=7
  2812. else
  2813. set vt_handoff=
  2814. fi
  2815. }
  2816. if [ "${recordfail}" != 1 ]; then
  2817. if [ -e ${prefix}/gfxblacklist.txt ]; then
  2818. if hwmatch ${prefix}/gfxblacklist.txt 3; then
  2819. if [ ${match} = 0 ]; then
  2820. set linux_gfx_mode=keep
  2821. else
  2822. set linux_gfx_mode=text
  2823. fi
  2824. else
  2825. set linux_gfx_mode=text
  2826. fi
  2827. else
  2828. set linux_gfx_mode=keep
  2829. fi
  2830. else
  2831. set linux_gfx_mode=text
  2832. fi
  2833. export linux_gfx_mode
  2834. menuentry 'Ubuntu' --class ubuntu --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-simple-2c2327ab-7511-42a2-bd3f-b528b06c586b' {
  2835. recordfail
  2836. load_video
  2837. gfxmode $linux_gfx_mode
  2838. insmod gzio
  2839. if [ x$grub_platform = xxen ]; then insmod xzio; insmod lzopio; fi
  2840. insmod part_msdos
  2841. insmod cryptodisk
  2842. insmod luks
  2843. insmod gcry_rijndael
  2844. insmod gcry_rijndael
  2845. insmod gcry_sha256
  2846. insmod lvm
  2847. insmod ext2
  2848. set root='lvmid/jkz6nP-efU5-qJWG-rQDe-Haxk-7m2F-YwlrPJ/Ddvs38-mnES-utDw-UCSQ-lSIB-lBZv-gN4yhC'
  2849. if [ x$feature_platform_search_hint = xy ]; then
  2850. search --no-floppy --fs-uuid --set=root --hint='lvmid/jkz6nP-efU5-qJWG-rQDe-Haxk-7m2F-YwlrPJ/Ddvs38-mnES-utDw-UCSQ-lSIB-lBZv-gN4yhC' 2c2327ab-7511-42a2-bd3f-b528b06c586b
  2851. else
  2852. search --no-floppy --fs-uuid --set=root 2c2327ab-7511-42a2-bd3f-b528b06c586b
  2853. fi
  2854. linux /boot/vmlinuz-4.4.0-57-generic root=/dev/mapper/ubuntu--vg-root ro quiet splash $vt_handoff
  2855. initrd /boot/initrd.img-4.4.0-57-generic
  2856. }
  2857. submenu 'Advanced options for Ubuntu' $menuentry_id_option 'gnulinux-advanced-2c2327ab-7511-42a2-bd3f-b528b06c586b' {
  2858. menuentry 'Ubuntu, with Linux 4.4.0-57-generic' --class ubuntu --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-4.4.0-57-generic-advanced-2c2327ab-7511-42a2-bd3f-b528b06c586b' {
  2859. recordfail
  2860. load_video
  2861. gfxmode $linux_gfx_mode
  2862. insmod gzio
  2863. if [ x$grub_platform = xxen ]; then insmod xzio; insmod lzopio; fi
  2864. insmod part_msdos
  2865. insmod cryptodisk
  2866. insmod luks
  2867. insmod gcry_rijndael
  2868. insmod gcry_rijndael
  2869. insmod gcry_sha256
  2870. insmod lvm
  2871. insmod ext2
  2872. set root='lvmid/jkz6nP-efU5-qJWG-rQDe-Haxk-7m2F-YwlrPJ/Ddvs38-mnES-utDw-UCSQ-lSIB-lBZv-gN4yhC'
  2873. if [ x$feature_platform_search_hint = xy ]; then
  2874. search --no-floppy --fs-uuid --set=root --hint='lvmid/jkz6nP-efU5-qJWG-rQDe-Haxk-7m2F-YwlrPJ/Ddvs38-mnES-utDw-UCSQ-lSIB-lBZv-gN4yhC' 2c2327ab-7511-42a2-bd3f-b528b06c586b
  2875. else
  2876. search --no-floppy --fs-uuid --set=root 2c2327ab-7511-42a2-bd3f-b528b06c586b
  2877. fi
  2878. echo 'Loading Linux 4.4.0-57-generic ...'
  2879. linux /boot/vmlinuz-4.4.0-57-generic root=/dev/mapper/ubuntu--vg-root ro quiet splash $vt_handoff
  2880. echo 'Loading initial ramdisk ...'
  2881. initrd /boot/initrd.img-4.4.0-57-generic
  2882. }
  2883. menuentry 'Ubuntu, with Linux 4.4.0-57-generic (upstart)' --class ubuntu --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-4.4.0-57-generic-init-upstart-2c2327ab-7511-42a2-bd3f-b528b06c586b' {
  2884. recordfail
  2885. load_video
  2886. gfxmode $linux_gfx_mode
  2887. insmod gzio
  2888. if [ x$grub_platform = xxen ]; then insmod xzio; insmod lzopio; fi
  2889. insmod part_msdos
  2890. insmod cryptodisk
  2891. insmod luks
  2892. insmod gcry_rijndael
  2893. insmod gcry_rijndael
  2894. insmod gcry_sha256
  2895. insmod lvm
  2896. insmod ext2
  2897. set root='lvmid/jkz6nP-efU5-qJWG-rQDe-Haxk-7m2F-YwlrPJ/Ddvs38-mnES-utDw-UCSQ-lSIB-lBZv-gN4yhC'
  2898. if [ x$feature_platform_search_hint = xy ]; then
  2899. search --no-floppy --fs-uuid --set=root --hint='lvmid/jkz6nP-efU5-qJWG-rQDe-Haxk-7m2F-YwlrPJ/Ddvs38-mnES-utDw-UCSQ-lSIB-lBZv-gN4yhC' 2c2327ab-7511-42a2-bd3f-b528b06c586b
  2900. else
  2901. search --no-floppy --fs-uuid --set=root 2c2327ab-7511-42a2-bd3f-b528b06c586b
  2902. fi
  2903. echo 'Loading Linux 4.4.0-57-generic ...'
  2904. linux /boot/vmlinuz-4.4.0-57-generic root=/dev/mapper/ubuntu--vg-root ro quiet splash $vt_handoff init=/sbin/upstart
  2905. echo 'Loading initial ramdisk ...'
  2906. initrd /boot/initrd.img-4.4.0-57-generic
  2907. }
  2908. menuentry 'Ubuntu, with Linux 4.4.0-57-generic (recovery mode)' --class ubuntu --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-4.4.0-57-generic-recovery-2c2327ab-7511-42a2-bd3f-b528b06c586b' {
  2909. recordfail
  2910. load_video
  2911. insmod gzio
  2912. if [ x$grub_platform = xxen ]; then insmod xzio; insmod lzopio; fi
  2913. insmod part_msdos
  2914. insmod cryptodisk
  2915. insmod luks
  2916. insmod gcry_rijndael
  2917. insmod gcry_rijndael
  2918. insmod gcry_sha256
  2919. insmod lvm
  2920. insmod ext2
  2921. set root='lvmid/jkz6nP-efU5-qJWG-rQDe-Haxk-7m2F-YwlrPJ/Ddvs38-mnES-utDw-UCSQ-lSIB-lBZv-gN4yhC'
  2922. if [ x$feature_platform_search_hint = xy ]; then
  2923. search --no-floppy --fs-uuid --set=root --hint='lvmid/jkz6nP-efU5-qJWG-rQDe-Haxk-7m2F-YwlrPJ/Ddvs38-mnES-utDw-UCSQ-lSIB-lBZv-gN4yhC' 2c2327ab-7511-42a2-bd3f-b528b06c586b
  2924. else
  2925. search --no-floppy --fs-uuid --set=root 2c2327ab-7511-42a2-bd3f-b528b06c586b
  2926. fi
  2927. echo 'Loading Linux 4.4.0-57-generic ...'
  2928. linux /boot/vmlinuz-4.4.0-57-generic root=/dev/mapper/ubuntu--vg-root ro recovery nomodeset
  2929. echo 'Loading initial ramdisk ...'
  2930. initrd /boot/initrd.img-4.4.0-57-generic
  2931. }
  2932. }
  2933.  
  2934. ### END /etc/grub.d/10_linux ###
  2935.  
  2936. ### BEGIN /etc/grub.d/20_linux_xen ###
  2937.  
  2938. ### END /etc/grub.d/20_linux_xen ###
  2939.  
  2940. ### BEGIN /etc/grub.d/30_os-prober ###
  2941. ### END /etc/grub.d/30_os-prober ###
  2942.  
  2943. ### BEGIN /etc/grub.d/30_uefi-firmware ###
  2944. ### END /etc/grub.d/30_uefi-firmware ###
  2945.  
  2946. ### BEGIN /etc/grub.d/40_custom ###
  2947. # This file provides an easy way to add custom menu entries. Simply type the
  2948. # menu entries you want to add after this comment. Be careful not to change
  2949. # the 'exec tail' line above.
  2950. ### END /etc/grub.d/40_custom ###
  2951.  
  2952. ### BEGIN /etc/grub.d/41_custom ###
  2953. if [ -f ${config_directory}/custom.cfg ]; then
  2954. source ${config_directory}/custom.cfg
  2955. elif [ -z "${config_directory}" -a -f $prefix/custom.cfg ]; then
  2956. source $prefix/custom.cfg;
  2957. fi
  2958. ### END /etc/grub.d/41_custom ###
  2959. --------------------------------------------------------------------------------
  2960.  
  2961. ========================== ubuntu-vg-root/etc/fstab: ===========================
  2962.  
  2963. --------------------------------------------------------------------------------
  2964. # /etc/fstab: static file system information.
  2965. #
  2966. # Use 'blkid' to print the universally unique identifier for a
  2967. # device; this may be used with UUID= as a more robust way to name devices
  2968. # that works even if disks are added and removed. See fstab(5).
  2969. #
  2970. # <file system> <mount point> <type> <options> <dump> <pass>
  2971. /dev/mapper/ubuntu--vg-root / ext4 errors=remount-ro 0 1
  2972. # /boot was on /dev/sda1 during installation
  2973. UUID=ca4f1219-ad50-4c0e-8887-260d7168b83e /boot ext2 defaults 0 2
  2974. /dev/mapper/ubuntu--vg-swap_1 none swap sw 0 0
  2975. --------------------------------------------------------------------------------
  2976.  
  2977. ============== ubuntu-vg-root: Location of files loaded by Grub: ===============
  2978.  
  2979. GiB - GB File Fragment(s)
  2980.  
  2981. 0.000003815 = 0.000004096 boot/grub/grub.cfg 1
  2982. 1.464790344 = 1.572806656 boot/vmlinuz-4.4.0-57-generic 1
  2983. 1.464790344 = 1.572806656 vmlinuz 1
  2984. 1.285778046 = 1.380593664 boot/initrd.img-4.4.0-31-generic 2
  2985. 1.634971619 = 1.755537408 boot/initrd.img-4.4.0-57-generic 3
  2986. 1.634971619 = 1.755537408 initrd.img 3
  2987. 1.285778046 = 1.380593664 initrd.img.old 2
  2988.  
  2989. ======================== Unknown MBRs/Boot Sectors/etc: ========================
  2990.  
  2991. Unknown BootLoader on sda2
  2992.  
  2993.  
  2994. Unknown BootLoader on sda5
  2995.  
  2996. 00000000 4c 55 4b 53 ba be 00 01 61 65 73 00 00 00 00 00 |LUKS....aes.....|
  2997. 00000010 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................|
  2998. 00000020 00 00 00 00 00 00 00 00 78 74 73 2d 70 6c 61 69 |........xts-plai|
  2999. 00000030 6e 36 34 00 00 00 00 00 00 00 00 00 00 00 00 00 |n64.............|
  3000. 00000040 00 00 00 00 00 00 00 00 73 68 61 32 35 36 00 00 |........sha256..|
  3001. 00000050 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................|
  3002. 00000060 00 00 00 00 00 00 00 00 00 00 10 00 00 00 00 40 |...............@|
  3003. 00000070 ee bf f8 71 83 d1 73 7e 0c 22 fc cb fa 2e d0 94 |...q..s~."......|
  3004. 00000080 19 58 b0 2c 05 92 cd e9 43 1c 69 18 03 0d c8 a4 |.X.,....C.i.....|
  3005. 00000090 bd 2f 69 24 f3 c8 22 36 1a ef 71 af c4 30 7b 09 |./i$.."6..q..0{.|
  3006. 000000a0 1d 2d 0e 15 00 00 aa 69 34 37 36 39 30 65 33 36 |.-.....i47690e36|
  3007. 000000b0 2d 34 65 36 38 2d 34 37 36 32 2d 61 64 35 31 2d |-4e68-4762-ad51-|
  3008. 000000c0 65 33 61 34 63 64 32 34 37 38 63 30 00 00 00 00 |e3a4cd2478c0....|
  3009. 000000d0 00 ac 71 f3 00 02 ae cf 72 17 e1 61 d4 2e 64 c4 |..q.....r..a..d.|
  3010. 000000e0 64 8b 95 1a 6f 17 74 e5 3f 17 59 81 cc 6d b6 19 |d...o.t.?.Y..m..|
  3011. 000000f0 5e 79 aa 70 44 d8 1f 3a 00 00 00 08 00 00 0f a0 |^y.pD..:........|
  3012. 00000100 00 00 de ad 00 00 00 00 00 00 00 00 00 00 00 00 |................|
  3013. 00000110 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................|
  3014. 00000120 00 00 00 00 00 00 00 00 00 00 02 00 00 00 0f a0 |................|
  3015. 00000130 00 00 de ad 00 00 00 00 00 00 00 00 00 00 00 00 |................|
  3016. 00000140 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................|
  3017. 00000150 00 00 00 00 00 00 00 00 00 00 03 f8 00 00 0f a0 |................|
  3018. 00000160 00 00 de ad 00 00 00 00 00 00 00 00 00 00 00 00 |................|
  3019. 00000170 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................|
  3020. 00000180 00 00 00 00 00 00 00 00 00 00 05 f0 00 00 0f a0 |................|
  3021. 00000190 00 00 de ad 00 00 00 00 00 00 00 00 00 00 00 00 |................|
  3022. 000001a0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................|
  3023. 000001b0 00 00 00 00 00 00 00 00 00 00 07 e8 00 00 0f a0 |................|
  3024. 000001c0 00 00 de ad 00 00 00 00 00 00 00 00 00 00 00 00 |................|
  3025. 000001d0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................|
  3026. 000001e0 00 00 00 00 00 00 00 00 00 00 09 e0 00 00 0f a0 |................|
  3027. 000001f0 00 00 de ad 00 00 00 00 00 00 00 00 00 00 00 00 |................|
  3028. 00000200
  3029.  
  3030.  
  3031. =============================== StdErr Messages: ===============================
  3032.  
  3033. hexdump: /dev/sda2: No such device or address
  3034. hexdump: /dev/sda2: No such device or address
  3035. File descriptor 9 (/proc/27915/mounts) leaked on lvs invocation. Parent PID 10759: bash
  3036. File descriptor 63 (pipe:[164730]) leaked on lvs invocation. Parent PID 10759: bash
  3037. File descriptor 9 (/proc/27915/mounts) leaked on lvchange invocation. Parent PID 11646: bash
  3038. File descriptor 63 (pipe:[164730]) leaked on lvchange invocation. Parent PID 11646: bash
  3039. File descriptor 9 (/proc/27915/mounts) leaked on lvchange invocation. Parent PID 11646: bash
  3040. File descriptor 63 (pipe:[164730]) leaked on lvchange invocation. Parent PID 11646: bash
  3041.  
  3042. ADDITIONAL INFORMATION :
  3043. =================== log of boot-repair 2017-01-09__19h33 ===================
  3044. boot-repair version : 4ppa40
  3045. boot-sav version : 4ppa40
  3046. glade2script version : 3.2.3~ppa1
  3047. boot-sav-extra version : 4ppa40
  3048. BLKID BEFORE LVM ACTIVATION:
  3049. /dev/sda1: UUID="ca4f1219-ad50-4c0e-8887-260d7168b83e" TYPE="ext2" PARTUUID="fcf02b58-01"
  3050. /dev/sdb1: LABEL="UUI" UUID="1C0A-1D42" TYPE="vfat" PARTUUID="6d0f5a6d-01"
  3051. /dev/sda5: UUID="47690e36-4e68-4762-ad51-e3a4cd2478c0" TYPE="crypto_LUKS" PARTUUID="fcf02b58-05"
  3052. /dev/dm-2: UUID="105b0e33-8b15-451c-84f5-b119716774d6" TYPE="swap"
  3053. /dev/mapper/ubuntu--vg-root: UUID="2c2327ab-7511-42a2-bd3f-b528b06c586b" TYPE="ext4"
  3054. /dev/mapper/ubuntu--vg-swap_1: UUID="105b0e33-8b15-451c-84f5-b119716774d6" TYPE="swap"
  3055. /dev/loop0: TYPE="squashfs"
  3056. /dev/mapper/sda5_crypt: UUID="opyuPd-6gPd-saDl-E04d-7eS9-IOWR-SbYxcM" TYPE="LVM2_member"
  3057. MODPROBE
  3058. VGSCAN
  3059. File descriptor 9 (/proc/27915/mounts) leaked on vgscan invocation. Parent PID 27927: /bin/bash
  3060. Reading all physical volumes. This may take a while...
  3061. Found volume group "ubuntu-vg" using metadata type lvm2
  3062. VGCHANGE
  3063. File descriptor 9 (/proc/27915/mounts) leaked on vgchange invocation. Parent PID 27927: /bin/bash
  3064. 2 logical volume(s) in volume group "ubuntu-vg" now active
  3065. File descriptor 9 (/proc/27915/mounts) leaked on lvscan invocation. Parent PID 27927: /bin/bash
  3066. LVSCAN:
  3067. ACTIVE '/dev/ubuntu-vg/root' [459.53 GiB] inherit
  3068. ACTIVE '/dev/ubuntu-vg/swap_1' [5.75 GiB] inherit
  3069. Gtk-Message: GtkDialog mapped without a transient parent. This is discouraged.
  3070. Is there RAID on this computer? no
  3071. Error: /dev/mapper/sda5_crypt: unrecognised disk label
  3072. Error: /dev/mapper/sda5_crypt: unrecognised disk label
  3073. boot-repair is executed in live-session (Ubuntu 16.04.1 LTS, xenial, Ubuntu, x86_64)
  3074. CPU op-mode(s): 32-bit, 64-bit
  3075. file=/cdrom/preseed/ubuntu.seed boot=casper cdrom-detect/try-usb=true noprompt floppy.allowed_drive_mask=0 ignore_uuid initrd=/casper/initrd.lz quiet splash --- BOOT_IMAGE=/casper/vmlinuz.efi
  3076. ls: cannot access '/home/usr/.config': No such file or directory
  3077. [dmraid -sa -c] no
  3078. [dmraid -sa -c] raid
  3079. [dmraid -sa -c] disks
  3080. Set sda as corresponding disk of mapper/ubuntu--vg-root
  3081. mount: unknown filesystem type 'crypto_LUKS'
  3082. mount /dev/sda5 : Error code 32
  3083. mount -r /dev/sda5 /mnt/boot-sav/sda5
  3084. mount: unknown filesystem type 'crypto_LUKS'
  3085. mount -r /dev/sda5 : Error code 32
  3086. Partition 2 does not start on physical sector boundary.
  3087.  
  3088. =================== os-prober:
  3089.  
  3090.  
  3091. =================== blkid:
  3092. /dev/sda1: UUID="ca4f1219-ad50-4c0e-8887-260d7168b83e" TYPE="ext2" PARTUUID="fcf02b58-01"
  3093. /dev/sdb1: LABEL="UUI" UUID="1C0A-1D42" TYPE="vfat" PARTUUID="6d0f5a6d-01"
  3094. /dev/sda5: UUID="47690e36-4e68-4762-ad51-e3a4cd2478c0" TYPE="crypto_LUKS" PARTUUID="fcf02b58-05"
  3095. /dev/dm-2: UUID="105b0e33-8b15-451c-84f5-b119716774d6" TYPE="swap"
  3096. /dev/mapper/ubuntu--vg-root: UUID="2c2327ab-7511-42a2-bd3f-b528b06c586b" TYPE="ext4"
  3097. /dev/mapper/ubuntu--vg-swap_1: UUID="105b0e33-8b15-451c-84f5-b119716774d6" TYPE="swap"
  3098. /dev/loop0: TYPE="squashfs"
  3099. /dev/mapper/sda5_crypt: UUID="opyuPd-6gPd-saDl-E04d-7eS9-IOWR-SbYxcM" TYPE="LVM2_member"
  3100.  
  3101. mount: unknown filesystem type 'crypto_LUKS'
  3102. mount /dev/sda5 : Error code 32
  3103. mount -r /dev/sda5 /mnt/boot-sav/sda5
  3104. mount: unknown filesystem type 'crypto_LUKS'
  3105. mount -r /dev/sda5 : Error code 32
  3106. Linux not detected by os-prober on mapper/ubuntu--vg-root. Please report this message to boot.repair@gmail.com
  3107. Partition 2 does not start on physical sector boundary.
  3108. Partition 2 does not start on physical sector boundary.
  3109.  
  3110. =================== /target/etc/grub.d/ :
  3111. drwxr-xr-x 2 root root 4096 Jul 19 16:50 grub.d
  3112. total 76
  3113. -rwxr-xr-x 1 root root 9791 Jun 17 2016 00_header
  3114. -rwxr-xr-x 1 root root 6258 Mar 15 2016 05_debian_theme
  3115. -rwxr-xr-x 1 root root 12261 Jun 17 2016 10_linux
  3116. -rwxr-xr-x 1 root root 11082 Jun 17 2016 20_linux_xen
  3117. -rwxr-xr-x 1 root root 1992 Jan 28 2016 20_memtest86+
  3118. -rwxr-xr-x 1 root root 11692 Jun 17 2016 30_os-prober
  3119. -rwxr-xr-x 1 root root 1418 Jun 17 2016 30_uefi-firmware
  3120. -rwxr-xr-x 1 root root 214 Jun 17 2016 40_custom
  3121. -rwxr-xr-x 1 root root 216 Jun 17 2016 41_custom
  3122. -rw-r--r-- 1 root root 483 Jun 17 2016 README
  3123.  
  3124.  
  3125.  
  3126.  
  3127. =================== /target/etc/default/grub :
  3128.  
  3129. # If you change this file, run 'update-grub' afterwards to update
  3130. # /boot/grub/grub.cfg.
  3131. # For full documentation of the options in this file, see:
  3132. # info -f grub -n 'Simple configuration'
  3133.  
  3134. GRUB_DEFAULT=0
  3135. GRUB_HIDDEN_TIMEOUT=0
  3136. GRUB_HIDDEN_TIMEOUT_QUIET=true
  3137. GRUB_TIMEOUT=10
  3138. GRUB_DISTRIBUTOR=`lsb_release -i -s 2> /dev/null || echo Debian`
  3139. GRUB_CMDLINE_LINUX_DEFAULT="quiet splash"
  3140. GRUB_CMDLINE_LINUX=""
  3141.  
  3142. # Uncomment to enable BadRAM filtering, modify to suit your needs
  3143. # This works with Linux (no patch required) and with any kernel that obtains
  3144. # the memory map information from GRUB (GNU Mach, kernel of FreeBSD ...)
  3145. #GRUB_BADRAM="0x01234567,0xfefefefe,0x89abcdef,0xefefefef"
  3146.  
  3147. # Uncomment to disable graphical terminal (grub-pc only)
  3148. #GRUB_TERMINAL=console
  3149.  
  3150. # The resolution used on graphical terminal
  3151. # note that you can use only modes which your graphic card supports via VBE
  3152. # you can see them in real GRUB with the command `vbeinfo'
  3153. #GRUB_GFXMODE=640x480
  3154.  
  3155. # Uncomment if you don't want GRUB to pass "root=UUID=xxx" parameter to Linux
  3156. #GRUB_DISABLE_LINUX_UUID=true
  3157.  
  3158. # Uncomment to disable generation of recovery mode menu entries
  3159. #GRUB_DISABLE_RECOVERY="true"
  3160.  
  3161. # Uncomment to get a beep at grub start
  3162. #GRUB_INIT_TUNE="480 440 1"
  3163.  
  3164.  
  3165.  
  3166. /boot detected in the fstab of mapper/ubuntu--vg-root: UUID=ca4f1219-ad50-4c0e-8887-260d7168b83e (sda1)
  3167.  
  3168. =================== UEFI/Legacy mode:
  3169. This live-session is not in EFI-mode.
  3170. SecureBoot maybe enabled.
  3171.  
  3172.  
  3173. =================== PARTITIONS & DISKS:
  3174. sda1 : sda, is-sepboot, grubenv-ok 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, /target/boot.
  3175. sda5 : sda, maybesepboot, no-grubenv nogrub, no-docgrub, no-update-grub, 32, no-boot, no-os, not--efi--part, part-has-no-fstab, part-has-no-fstab, no-nt, no-winload, no-recov-nor-hid, no-bmgr, notwinboot, nopakmgr, nogrubinstall, no---usr, part-has-no-fstab, not-sep-usr, standard, farbios, /mnt/boot-sav/sda5.
  3176. mapper/ubuntu--vg-root : sda, not-sepboot, grubenv-ok grub2, signed grub-pc , update-grub, 64, with-boot, is-os, not--efi--part, fstab-has-goodBOOT, fstab-without-efi, no-nt, no-winload, no-recov-nor-hid, no-bmgr, notwinboot, apt-get, grub-install, with--usr, fstab-without-usr, not-sep-usr, standard, not-far, /target.
  3177.  
  3178. sda : not-GPT, BIOSboot-not-needed, has-no-EFIpart, not-usb, has-os, 2048 sectors * 512 bytes
  3179.  
  3180.  
  3181. =================== parted -l:
  3182.  
  3183. Model: ATA WDC WD5000LPLX-2 (scsi)
  3184. Disk /dev/sda: 500GB
  3185. Sector size (logical/physical): 512B/4096B
  3186. Partition Table: msdos
  3187. Disk Flags:
  3188.  
  3189. Number Start End Size Type File system Flags
  3190. 1 1049kB 512MB 511MB primary ext2 boot
  3191. 2 513MB 500GB 500GB extended
  3192. 5 513MB 500GB 500GB logical
  3193.  
  3194.  
  3195. Model: SanDisk Cruzer Blade (scsi)
  3196. Disk /dev/sdb: 15.6GB
  3197. Sector size (logical/physical): 512B/512B
  3198. Partition Table: msdos
  3199. Disk Flags:
  3200.  
  3201. Number Start End Size Type File system Flags
  3202. 1 16.4kB 15.6GB 15.6GB primary fat32 boot, lba
  3203.  
  3204.  
  3205. Model: Linux device-mapper (linear) (dm)
  3206. Disk /dev/mapper/ubuntu--vg-swap_1: 6170MB
  3207. Sector size (logical/physical): 512B/4096B
  3208. Partition Table: loop
  3209. Disk Flags:
  3210.  
  3211. Number Start End Size File system Flags
  3212. 1 0.00B 6170MB 6170MB linux-swap(v1)
  3213.  
  3214.  
  3215. Model: Linux device-mapper (linear) (dm)
  3216. Disk /dev/mapper/ubuntu--vg-root: 493GB
  3217. Sector size (logical/physical): 512B/4096B
  3218. Partition Table: loop
  3219. Disk Flags:
  3220.  
  3221. Number Start End Size File system Flags
  3222. 1 0.00B 493GB 493GB ext4
  3223.  
  3224.  
  3225. Model: Linux device-mapper (crypt) (dm)
  3226. Disk /dev/mapper/sda5_crypt: 500GB
  3227. Sector size (logical/physical): 512B/4096B
  3228. Partition Table: unknown
  3229. Disk Flags:
  3230.  
  3231. =================== parted -lm:
  3232.  
  3233. BYT;
  3234. /dev/sda:500GB:scsi:512:4096:msdos:ATA WDC WD5000LPLX-2:;
  3235. 1:1049kB:512MB:511MB:ext2::boot;
  3236. 2:513MB:500GB:500GB:::;
  3237. 5:513MB:500GB:500GB:::;
  3238.  
  3239. BYT;
  3240. /dev/sdb:15.6GB:scsi:512:512:msdos:SanDisk Cruzer Blade:;
  3241. 1:16.4kB:15.6GB:15.6GB:fat32::boot, lba;
  3242.  
  3243. BYT;
  3244. /dev/mapper/ubuntu--vg-swap_1:6170MB:dm:512:4096:loop:Linux device-mapper (linear):;
  3245. 1:0.00B:6170MB:6170MB:linux-swap(v1)::;
  3246.  
  3247. BYT;
  3248. /dev/mapper/ubuntu--vg-root:493GB:dm:512:4096:loop:Linux device-mapper (linear):;
  3249. 1:0.00B:493GB:493GB:ext4::;
  3250.  
  3251. BYT;
  3252. /dev/mapper/sda5_crypt:500GB:dm:512:4096:unknown:Linux device-mapper (crypt):;
  3253.  
  3254. =================== lsblk:
  3255. KNAME TYPE FSTYPE SIZE LABEL
  3256. sda disk 465.8G
  3257. sda1 part ext2 487M
  3258. sda5 part crypto_LUKS 465.3G
  3259. dm-0 crypt LVM2_member 465.3G
  3260. dm-1 lvm ext4 459.5G
  3261. dm-2 lvm swap 5.8G
  3262. sdb disk 14.5G
  3263. sdb1 part vfat 14.5G UUI
  3264. sr0 rom 1024M
  3265. loop0 loop squashfs 1.4G
  3266.  
  3267. KNAME ROTA RO RM STATE MOUNTPOINT
  3268. sda 1 0 0 running
  3269. sda1 1 0 0 /target/boot
  3270. sda5 1 0 0
  3271. dm-0 1 0 0 running
  3272. dm-1 1 0 0 running /target
  3273. dm-2 1 0 0 running [SWAP]
  3274. sdb 1 0 1 running
  3275. sdb1 1 0 1 /target/cdrom
  3276. sr0 1 0 1 running
  3277. loop0 1 1 0 /rofs
  3278.  
  3279.  
  3280. =================== mount:
  3281. sysfs on /sys type sysfs (rw,nosuid,nodev,noexec,relatime)
  3282. proc on /proc type proc (rw,nosuid,nodev,noexec,relatime)
  3283. udev on /dev type devtmpfs (rw,nosuid,relatime,size=2876592k,nr_inodes=719148,mode=755)
  3284. devpts on /dev/pts type devpts (rw,nosuid,noexec,relatime,gid=5,mode=620,ptmxmode=000)
  3285. tmpfs on /run type tmpfs (rw,nosuid,noexec,relatime,size=584840k,mode=755)
  3286. /dev/sdb1 on /cdrom type vfat (ro,noatime,fmask=0022,dmask=0022,codepage=437,iocharset=iso8859-1,shortname=mixed,errors=remount-ro)
  3287. /dev/loop0 on /rofs type squashfs (ro,noatime)
  3288. /cow on / type overlay (rw,relatime,lowerdir=//filesystem.squashfs,upperdir=/cow/upper,workdir=/cow/work)
  3289. securityfs on /sys/kernel/security type securityfs (rw,nosuid,nodev,noexec,relatime)
  3290. tmpfs on /dev/shm type tmpfs (rw,nosuid,nodev)
  3291. tmpfs on /run/lock type tmpfs (rw,nosuid,nodev,noexec,relatime,size=5120k)
  3292. tmpfs on /sys/fs/cgroup type tmpfs (ro,nosuid,nodev,noexec,mode=755)
  3293. cgroup on /sys/fs/cgroup/systemd type cgroup (rw,nosuid,nodev,noexec,relatime,xattr,release_agent=/lib/systemd/systemd-cgroups-agent,name=systemd)
  3294. pstore on /sys/fs/pstore type pstore (rw,nosuid,nodev,noexec,relatime)
  3295. cgroup on /sys/fs/cgroup/perf_event type cgroup (rw,nosuid,nodev,noexec,relatime,perf_event)
  3296. cgroup on /sys/fs/cgroup/hugetlb type cgroup (rw,nosuid,nodev,noexec,relatime,hugetlb)
  3297. cgroup on /sys/fs/cgroup/pids type cgroup (rw,nosuid,nodev,noexec,relatime,pids)
  3298. cgroup on /sys/fs/cgroup/freezer type cgroup (rw,nosuid,nodev,noexec,relatime,freezer)
  3299. cgroup on /sys/fs/cgroup/devices type cgroup (rw,nosuid,nodev,noexec,relatime,devices)
  3300. cgroup on /sys/fs/cgroup/blkio type cgroup (rw,nosuid,nodev,noexec,relatime,blkio)
  3301. cgroup on /sys/fs/cgroup/cpu,cpuacct type cgroup (rw,nosuid,nodev,noexec,relatime,cpu,cpuacct)
  3302. cgroup on /sys/fs/cgroup/net_cls,net_prio type cgroup (rw,nosuid,nodev,noexec,relatime,net_cls,net_prio)
  3303. cgroup on /sys/fs/cgroup/cpuset type cgroup (rw,nosuid,nodev,noexec,relatime,cpuset)
  3304. cgroup on /sys/fs/cgroup/memory type cgroup (rw,nosuid,nodev,noexec,relatime,memory)
  3305. systemd-1 on /proc/sys/fs/binfmt_misc type autofs (rw,relatime,fd=32,pgrp=1,timeout=0,minproto=5,maxproto=5,direct)
  3306. mqueue on /dev/mqueue type mqueue (rw,relatime)
  3307. hugetlbfs on /dev/hugepages type hugetlbfs (rw,relatime)
  3308. debugfs on /sys/kernel/debug type debugfs (rw,relatime)
  3309. tracefs on /sys/kernel/debug/tracing type tracefs (rw,relatime)
  3310. fusectl on /sys/fs/fuse/connections type fusectl (rw,relatime)
  3311. tmpfs on /tmp type tmpfs (rw,nosuid,nodev,relatime)
  3312. tmpfs on /run/user/999 type tmpfs (rw,nosuid,nodev,relatime,size=584840k,mode=700,uid=999,gid=999)
  3313. gvfsd-fuse on /run/user/999/gvfs type fuse.gvfsd-fuse (rw,nosuid,nodev,relatime,user_id=999,group_id=999)
  3314. /dev/mapper/ubuntu--vg-root on /target type ext4 (rw,relatime,errors=remount-ro,data=ordered)
  3315. /dev/sda1 on /target/boot type ext2 (rw,relatime,block_validity,barrier,user_xattr,acl,stripe=4)
  3316. /dev/sdb1 on /target/cdrom type vfat (ro,noatime,fmask=0022,dmask=0022,codepage=437,iocharset=iso8859-1,shortname=mixed,errors=remount-ro)
  3317.  
  3318.  
  3319. =================== ls:
  3320. /sys/block/dm-0 (filtered): alignment_offset bdi capability dev discard_alignment dm ext_range holders inflight integrity power queue range removable ro size slaves stat subsystem trace uevent
  3321. /sys/block/dm-1 (filtered): alignment_offset bdi capability dev discard_alignment dm ext_range holders inflight integrity power queue range removable ro size slaves stat subsystem trace uevent
  3322. /sys/block/dm-2 (filtered): alignment_offset bdi capability dev discard_alignment dm ext_range holders inflight integrity power queue range removable ro size slaves stat subsystem trace uevent
  3323. /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 sda5 size slaves stat subsystem trace uevent
  3324. /sys/block/sdb (filtered): alignment_offset bdi capability dev device discard_alignment events events_async events_poll_msecs ext_range holders inflight integrity power queue range removable ro sdb1 size slaves stat subsystem trace uevent
  3325. /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
  3326. /dev (filtered): autofs block bsg btrfs-control bus cdrom cdrw char console core cpu cpu_dma_latency cuse disk dm-0 dm-1 dm-2 dri dvd dvdrw ecryptfs fb0 fb1 fd freefall full fuse hidraw0 hpet hugepages hwrng i2c-0 i2c-1 i2c-10 i2c-11 i2c-12 i2c-2 i2c-3 i2c-4 i2c-5 i2c-6 i2c-7 i2c-8 i2c-9 initctl input kfd kmsg 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 sda5 sdb sdb1 sg0 sg1 sg2 shm snapshot snd sr0 stderr stdin stdout ubuntu-vg uhid uinput urandom userio v4l vfio vga_arbiter vhci vhost-net video0 zero
  3327. ls /dev/mapper: control sda5_crypt ubuntu--vg-root ubuntu--vg-swap_1
  3328. Partition 2 does not start on physical sector boundary.
  3329.  
  3330. =================== df -Th:
  3331.  
  3332. Filesystem Type Size Used Avail Use% Mounted on
  3333. udev devtmpfs 2.8G 0 2.8G 0% /dev
  3334. tmpfs tmpfs 572M 8.6M 563M 2% /run
  3335. /dev/sdb1 vfat 15G 1.5G 14G 10% /cdrom
  3336. /dev/loop0 squashfs 1.4G 1.4G 0 100% /rofs
  3337. /cow overlay 2.8G 94M 2.7G 4% /
  3338. tmpfs tmpfs 2.8G 196K 2.8G 1% /dev/shm
  3339. tmpfs tmpfs 5.0M 8.0K 5.0M 1% /run/lock
  3340. tmpfs tmpfs 2.8G 0 2.8G 0% /sys/fs/cgroup
  3341. tmpfs tmpfs 2.8G 28K 2.8G 1% /tmp
  3342. tmpfs tmpfs 572M 92K 572M 1% /run/user/999
  3343. /dev/mapper/ubuntu--vg-root ext4 453G 3.9G 426G 1% /target
  3344. /dev/sda1 ext2 472M 65M 383M 15% /target/boot
  3345.  
  3346. =================== fdisk -l:
  3347. Disk /dev/ram0: 64 MiB, 67108864 bytes, 131072 sectors
  3348. Units: sectors of 1 * 512 = 512 bytes
  3349. Sector size (logical/physical): 512 bytes / 4096 bytes
  3350. I/O size (minimum/optimal): 4096 bytes / 4096 bytes
  3351.  
  3352.  
  3353. Disk /dev/ram1: 64 MiB, 67108864 bytes, 131072 sectors
  3354. Units: sectors of 1 * 512 = 512 bytes
  3355. Sector size (logical/physical): 512 bytes / 4096 bytes
  3356. I/O size (minimum/optimal): 4096 bytes / 4096 bytes
  3357.  
  3358.  
  3359. Disk /dev/ram2: 64 MiB, 67108864 bytes, 131072 sectors
  3360. Units: sectors of 1 * 512 = 512 bytes
  3361. Sector size (logical/physical): 512 bytes / 4096 bytes
  3362. I/O size (minimum/optimal): 4096 bytes / 4096 bytes
  3363.  
  3364.  
  3365. Disk /dev/ram3: 64 MiB, 67108864 bytes, 131072 sectors
  3366. Units: sectors of 1 * 512 = 512 bytes131072 sectors
  3367. Units: sectors of 1 * 512 = 512 bytes
  3368. Sector size (logical/physical): 512 bytes / 4096 bytes
  3369. I/O size (minimum/optimal): 4096 bytes / 4096 bytes
  3370.  
  3371.  
  3372. Disk /dev/ram10: 64 MiB, 67108864 bytes, 131072 sectors
  3373. Units: sectors of 1 * 512 = 512 bytes
  3374. Sector size (logical/physical): 512 bytes / 4096 bytes
  3375. I/O size (minimum/optimal): 4096 bytes / 4096 bytes
  3376.  
  3377.  
  3378. Disk /dev/ram11: 64 MiB, 67108864 bytes, 131072 sectors
  3379. Units: sectors of 1 * 512 = 512 bytes
  3380. Sector size (logical/physical): 512 bytes / 4096 bytes
  3381. I/O size (minimum/optimal): 4096 bytes / 4096 bytes
  3382.  
  3383.  
  3384. Disk /dev/ram12: 64 MiB, 67108864 bytes, 131072 sectors
  3385. Units: sectors of 1 * 512 = 512 bytes
  3386. Sector size (logical/physical): 512 bytes / 4096 bytes
  3387. I/O size (minimum/optimal): 4096 bytes / 4096 bytes
  3388.  
  3389.  
  3390. Disk /dev/ram13: 64 MiB, 67108864 bytes, 131072 sectors
  3391. Units: sectors of 1 * 512 = 512 bytes
  3392. Sector size (logical/physical): 512 bytes / 4096 bytes
  3393. I/O size (minimum/optimal): 4096 bytes / 4096 bytes
  3394.  
  3395.  
  3396. Disk /dev/ram14: 64 MiB, 67108864 bytes, 131072 sectors
  3397. Units: sectors of 1 * 512 = 512 bytes
  3398. Sector size (logical/physical): 512 bytes / 4096 bytes
  3399. I/O size (minimum/optimal): 4096 bytes / 4096 bytes
  3400.  
  3401.  
  3402. Disk /dev/ram15: 64 MiB, 67108864 bytes, 131072 sectors
  3403. Units: sectors of 1 * 512 = 512 bytes
  3404. Sector size (logical/physical): 512 bytes / 4096 bytes
  3405. I/O size (minimum/optimal): 4096 bytes / 4096 bytes
  3406.  
  3407.  
  3408. Disk /dev/loop0: 1.4 GiB, 1459982336 bytes, 2851528 sectors
  3409. Units: sectors of 1 * 512 = 512 bytes
  3410. Sector size (logical/physical): 512 bytes / 512 bytes
  3411. I/O size (minimum/optimal): 512 bytes / 512 bytes
  3412.  
  3413.  
  3414.  
  3415.  
  3416. Disk /dev/sda: 465.8 GiB, 500107862016 bytes, 976773168 sectors
  3417. Units: sectors of 1 * 512 = 512 bytes
  3418. Sector size (logical/physical): 512 bytes / 4096 bytes
  3419. I/O size (minimum/optimal): 4096 bytes / 4096 bytes
  3420. Disklabel type: dos
  3421. Disk identifier: 0xfcf02b58
  3422.  
  3423. Device Boot Start End Sectors Size Id Type
  3424. /dev/sda1 * 2048 999423 997376 487M 83 Linux
  3425. /dev/sda2 1001470 976771071 975769602 465.3G 5 Extended
  3426. /dev/sda5 1001472 976771071 975769600 465.3G 83 Linux
  3427.  
  3428.  
  3429.  
  3430. Disk /dev/sdb: 14.5 GiB, 15597568000 bytes, 30464000 sectors
  3431. Units: sectors of 1 * 512 = 512 bytes
  3432. Sector size (logical/physical): 512 bytes / 512 bytes
  3433. I/O size (minimum/optimal): 512 bytes / 512 bytes
  3434. Disklabel type: dos
  3435. Disk identifier: 0x6d0f5a6d
  3436.  
  3437. Device Boot Start End Sectors Size Id Type
  3438. /dev/sdb1 * 32 30463999 30463968 14.5G c W95 FAT32 (LBA)
  3439.  
  3440.  
  3441. Disk /dev/mapper/sda5_crypt: 465.3 GiB, 499591938048 bytes, 975765504 sectors
  3442. Units: sectors of 1 * 512 = 512 bytes
  3443. Sector size (logical/physical): 512 bytes / 4096 bytes
  3444. I/O size (minimum/optimal): 4096 bytes / 4096 bytes
  3445.  
  3446.  
  3447. Disk /dev/mapper/ubuntu--vg-root: 459.5 GiB, 493417922560 bytes, 963706880 sectors
  3448. Units: sectors of 1 * 512 = 512 bytes
  3449. Sector size (logical/physical): 512 bytes / 4096 bytes
  3450. I/O size (minimum/optimal): 4096 bytes / 4096 bytes
  3451.  
  3452.  
  3453. Disk /dev/mapper/ubuntu--vg-swap_1: 5.8 GiB, 6169821184 bytes, 12050432 sectors
  3454. Units: sectors of 1 * 512 = 512 bytes
  3455. Sector size (logical/physical): 512 bytes / 4096 bytes
  3456. I/O size (minimum/optimal): 4096 bytes / 4096 bytes
  3457.  
  3458.  
  3459. Gtk-Message: GtkDialog mapped without a transient parent. This is discouraged.
  3460. /boot detected. Please check the options.
  3461. =================== Advices
  3462. You may want to retry after decrypting your partitions. (https://help.ubuntu.com/community/EncryptedPrivateDirectory)
  3463. Do you want to continue?
  3464. Gtk-Message: GtkDialog mapped without a transient parent. This is discouraged.
  3465.  
  3466. =================== Recommended repair
  3467. The default repair of the Boot-Repair utility will purge (in order to enable-raid enable-lvm) and reinstall the grub2 of mapper/ubuntu--vg-root into the MBR of sda.
  3468. Additional repair will be performed: unhide-bootmenu-10s
  3469.  
  3470.  
  3471. Error: no /target/etc/fstab
  3472. Mounted /dev/mapper/ubuntu--vg-root on /target
  3473. chroot /target apt-get -y --force-yes update
  3474. AppStream cache update completed, but some metadata was ignored due to errors.
  3475. Purge the GRUB of mapper/ubuntu--vg-root
  3476. grub-pc available
  3477.  
  3478.  
  3479. The following additional packages will be installed:
  3480. grub-common grub-pc-bin grub2-common
  3481. Suggested packages:
  3482. multiboot-doc grub-emu xorriso desktop-base
  3483. The following packages will be upgraded:
  3484. grub-common grub-pc grub-pc-bin grub2-common
  3485. 4 upgraded, 0 newly installed, 0 to remove and 280 not upgraded.
  3486. W: --force-yes is deprecated, use one of the options starting with --allow instead.
  3487. DEBCHECK debOK, grub-pc
  3488. DEBCHECK debOK
  3489. shim-signed available
  3490. linux-signed-generic available
  3491. Please type: sudo chroot "/target" dpkg --configure -ansudo chroot "/target" apt-get install -fynsudo chroot "/target" apt-get install -y --force-yes dmraidnsudo chroot "/target" dmraid -aynsudo chroot "/target" apt-get install -y --force-yes lvm2nsudo chroot "/target" apt-get purge -y --force-yes grub*-common grub-common:i386 shim-signed linux-signed*
  3492.  
  3493. =================== /target/etc/grub.d/ :
  3494. drwxr-xr-x 2 root root 4096 Jan 9 19:49 grub.d
  3495. total 4
  3496. -rwxr-xr-x 1 root root 1992 Jan 28 2016 20_memtest86+
  3497.  
  3498.  
  3499. =================== No kernel in /target/boot:
  3500. initrd.img-4.4.0-31-generic
  3501.  
  3502.  
  3503. /boot detected in the fstab of mapper/ubuntu--vg-root: UUID=ca4f1219-ad50-4c0e-8887-260d7168b83e (sda1)
  3504. Then type: sudo chroot "/target" apt-get install -y --force-yes grub-pc linux-generic
  3505.  
  3506. =================== /target/etc/grub.d/ :
  3507. drwxr-xr-x 2 root root 4096 Jan 9 19:53 grub.d
  3508. drwxr-xr-x 2 root root 4096 Jan 9 19:49 grub.d.bak
  3509. total 72
  3510. -rwxr-xr-x 1 root root 9791 Dec 20 16:03 00_header
  3511. -rwxr-xr-x 1 root root 6258 Mar 15 2016 05_debian_theme
  3512. -rwxr-xr-x 1 root root 12261 Dec 20 16:03 10_linux
  3513. -rwxr-xr-x 1 root root 11082 Dec 20 16:03 20_linux_xen
  3514. -rwxr-xr-x 1 root root 11692 Dec 20 16:03 30_os-prober
  3515. -rwxr-xr-x 1 root root 1418 Dec 20 16:03 30_uefi-firmware
  3516. -rwxr-xr-x 1 root root 214 Dec 20 16:03 40_custom
  3517. -rwxr-xr-x 1 root root 216 Dec 20 16:03 41_custom
  3518. -rw-r--r-- 1 root root 483 Dec 20 16:03 README
  3519.  
  3520.  
  3521.  
  3522.  
  3523. =================== /target/etc/default/grub :
  3524.  
  3525. # If you change this file, run 'update-grub' afterwards to update
  3526. # /boot/grub/grub.cfg.
  3527. # For full documentation of the options in this file, see:
  3528. # info -f grub -n 'Simple configuration'
  3529.  
  3530. GRUB_DEFAULT=0
  3531. GRUB_HIDDEN_TIMEOUT=0
  3532. GRUB_HIDDEN_TIMEOUT_QUIET=true
  3533. GRUB_TIMEOUT=10
  3534. GRUB_DISTRIBUTOR=`lsb_release -i -s 2> /dev/null || echo Debian`
  3535. GRUB_CMDLINE_LINUX_DEFAULT="quiet splash"
  3536. GRUB_CMDLINE_LINUX=""
  3537.  
  3538. # Uncomment to enable BadRAM filtering, modify to suit your needs
  3539. # This works with Linux (no patch required) and with any kernel that obtains
  3540. # the memory map information from GRUB (GNU Mach, kernel of FreeBSD ...)
  3541. #GRUB_BADRAM="0x01234567,0xfefefefe,0x89abcdef,0xefefefef"
  3542.  
  3543. # Uncomment to disable graphical terminal (grub-pc only)
  3544. #GRUB_TERMINAL=console
  3545.  
  3546. # The resolution used on graphical terminal
  3547. # note that you can use only modes which your graphic card supports via VBE
  3548. # you can see them in real GRUB with the command `vbeinfo'
  3549. #GRUB_GFXMODE=640x480
  3550.  
  3551. # Uncomment if you don't want GRUB to pass "root=UUID=xxx" parameter to Linux
  3552. #GRUB_DISABLE_LINUX_UUID=true
  3553.  
  3554. # Uncomment to disable generation of recovery mode menu entries
  3555. #GRUB_DISABLE_RECOVERY="true"
  3556.  
  3557. # Uncomment to get a beep at grub start
  3558. #GRUB_INIT_TUNE="480 440 1"
  3559.  
  3560.  
  3561.  
  3562. /boot detected in the fstab of mapper/ubuntu--vg-root: UUID=ca4f1219-ad50-4c0e-8887-260d7168b83e (sda1)
  3563. Unhide GRUB boot menu in mapper/ubuntu--vg-root/etc/default/grub
  3564.  
  3565. =================== /target/etc/grub.d/ :
  3566. drwxr-xr-x 2 root root 4096 Jan 9 19:53 grub.d
  3567. drwxr-xr-x 2 root root 4096 Jan 9 19:49 grub.d.bak
  3568. total 72
  3569. -rwxr-xr-x 1 root root 9791 Dec 20 16:03 00_header
  3570. -rwxr-xr-x 1 root root 6258 Mar 15 2016 05_debian_theme
  3571. -rwxr-xr-x 1 root root 12261 Dec 20 16:03 10_linux
  3572. -rwxr-xr-x 1 root root 11082 Dec 20 16:03 20_linux_xen
  3573. -rwxr-xr-x 1 root root 11692 Dec 20 16:03 30_os-prober
  3574. -rwxr-xr-x 1 root root 1418 Dec 20 16:03 30_uefi-firmware
  3575. -rwxr-xr-x 1 root root 214 Dec 20 16:03 40_custom
  3576. -rwxr-xr-x 1 root root 216 Dec 20 16:03 41_custom
  3577. -rw-r--r-- 1 root root 483 Dec 20 16:03 README
  3578.  
  3579.  
  3580.  
  3581.  
  3582. =================== /target/etc/default/grub :
  3583.  
  3584. # If you change this file, run 'update-grub' afterwards to update
  3585. # /boot/grub/grub.cfg.
  3586. # For full documentation of the options in this file, see:
  3587. # info -f grub -n 'Simple configuration'
  3588.  
  3589. GRUB_DEFAULT=0
  3590. #GRUB_HIDDEN_TIMEOUT=0
  3591. GRUB_HIDDEN_TIMEOUT_QUIET=true
  3592. GRUB_TIMEOUT=10
  3593. GRUB_DISTRIBUTOR=`lsb_release -i -s 2> /dev/null || echo Debian`
  3594. GRUB_CMDLINE_LINUX_DEFAULT="quiet splash"
  3595. GRUB_CMDLINE_LINUX=""
  3596.  
  3597. # Uncomment to enable BadRAM filtering, modify to suit your needs
  3598. # This works with Linux (no patch required) and with any kernel that obtains
  3599. # the memory map information from GRUB (GNU Mach, kernel of FreeBSD ...)
  3600. #GRUB_BADRAM="0x01234567,0xfefefefe,0x89abcdef,0xefefefef"
  3601.  
  3602. # Uncomment to disable graphical terminal (grub-pc only)
  3603. #GRUB_TERMINAL=console
  3604.  
  3605. # The resolution used on graphical terminal
  3606. # note that you can use only modes which your graphic card supports via VBE
  3607. # you can see them in real GRUB with the command `vbeinfo'
  3608. #GRUB_GFXMODE=640x480
  3609.  
  3610. # Uncomment if you don't want GRUB to pass "root=UUID=xxx" parameter to Linux
  3611. #GRUB_DISABLE_LINUX_UUID=true
  3612.  
  3613. # Uncomment to disable generation of recovery mode menu entries
  3614. #GRUB_DISABLE_RECOVERY="true"
  3615.  
  3616. # Uncomment to get a beep at grub start
  3617. #GRUB_INIT_TUNE="480 440 1"
  3618.  
  3619.  
  3620.  
  3621. /boot detected in the fstab of mapper/ubuntu--vg-root: UUID=ca4f1219-ad50-4c0e-8887-260d7168b83e (sda1)
  3622.  
  3623. *******lspci -nnk | grep -iA3 vga
  3624. 01:05.0 VGA compatible controller [0300]: Advanced Micro Devices, Inc. [AMD/ATI] RS880M [Mobility Radeon HD 4225/4250] [1002:9712]
  3625. DeviceName: 256
  3626. Subsystem: Hewlett-Packard Company RS880M [Mobility Radeon HD 4225/4250] [103c:1443]
  3627. Kernel driver in use: radeon
  3628. --
  3629. 02:00.0 VGA compatible controller [0300]: Advanced Micro Devices, Inc. [AMD/ATI] Park [Mobility Radeon HD 5430/5450/5470] [1002:68e0] (rev ff)
  3630. Kernel driver in use: radeon
  3631. Kernel modules: radeon
  3632. 02:00.1 Audio device [0403]: Advanced Micro Devices, Inc. [AMD/ATI] Cedar HDMI Audio [Radeon HD 5400/6300 Series] [1002:aa68] (rev ff)
  3633. *******
  3634.  
  3635. grub-install --version
  3636. grub-install (GRUB) 2.02~beta2-36ubuntu3.6,grub-install (GRUB) 2.
  3637.  
  3638. Reinstall the GRUB of mapper/ubuntu--vg-root into the MBR of sda
  3639. Installing for i386-pc platform.
  3640. File descriptor 9 (/proc/27915/mounts) leaked on vgs invocation. Parent PID 6734: grub-install
  3641. File descriptor 63 (pipe:[164730]) leaked on vgs invocation. Parent PID 6734: grub-install
  3642. File descriptor 9 (/proc/27915/mounts) leaked on vgs invocation. Parent PID 6734: grub-install
  3643. File descriptor 63 (pipe:[164730]) leaked on vgs invocation. Parent PID 6734: grub-install
  3644. grub-install: error: attempt to install to encrypted disk without cryptodisk enabled. Set `GRUB_ENABLE_CRYPTODISK=1' in file `/etc/default/grub'..
  3645. grub-install /dev/sda: exit code of grub-install /dev/sda:1
  3646.  
  3647. ---- Grub-install verbose
  3648. + ELF @@@@@@\F8\F888@8@@@uu \F0}\F0}n\F0}n\E7z\80 ~~n~n\F0\F0TT@T@DDP\E5td \EF \EFL \EFL\E48\E48Q\E5tdR\E5td\F0}\F0}n\F0}n/lib64/ld-linux-x86-64.so.2GNU GNUSb\82 \F8 \F41\DEY\9C-\B4\C0ά•\87\A8%hhX\80\80 \C1\80 0I
  3649. /usr/sbin/grub-install: 1: /usr/sbin/grub-install: ELF: not found
  3650. /usr/sbin/grub-install: 2: /usr/sbin/grub-install: Syntax error: word unexpected (expecting ")")
  3651. --------
  3652. /usr/sbin/grub-install /dev/sda: exit code of grub-install /dev/sda:2
  3653. ---- End of grub-install verbose
  3654.  
  3655.  
  3656. chroot /target update-grub
  3657. Generating grub configuration file ...
  3658. File descriptor 9 (/proc/27915/mounts) leaked on vgs invocation. Parent PID 6940: grub-probe
  3659. File descriptor 63 (pipe:[164730]) leaked on vgs invocation. Parent PID 6940: grub-probe
  3660. File descriptor 9 (/proc/27915/mounts) leaked on vgs invocation. Parent PID 6940: grub-probe
  3661. File descriptor 63 (pipe:[164730]) leaked on vgs invocation. Parent PID 6940: grub-probe
  3662. File descriptor 9 (/proc/27915/mounts) leaked on vgs invocation. Parent PID 7193: /usr/sbin/grub-probe
  3663. File descriptor 63 (pipe:[164730]) leaked on vgs invocation. Parent PID 7193: /usr/sbin/grub-probe
  3664. File descriptor 9 (/proc/27915/mounts) leaked on vgs invocation. Parent PID 7193: /usr/sbin/grub-probe
  3665. File descriptor 63 (pipe:[164730]) leaked on vgs invocation. Parent PID 7193: /usr/sbin/grub-probe
  3666. Found linux image: /boot/vmlinuz-4.4.0-57-generic
  3667. Found initrd image: /boot/initrd.img-4.4.0-57-generic
  3668. File descriptor 9 (/proc/27915/mounts) leaked on vgs invocation. Parent PID 7290: /usr/sbin/grub-probe
  3669. File descriptor 63 (pipe:[164730]) leaked on vgs invocation. Parent PID 7290: /usr/sbin/grub-probe
  3670. File descriptor 9 (/proc/27915/mounts) leaked on vgs invocation. Parent PID 7290: /usr/sbin/grub-probe
  3671. File descriptor 63 (pipe:[164730]) leaked on vgs invocation. Parent PID 7290: /usr/sbin/grub-probe
  3672. File descriptor 9 (/proc/27915/mounts) leaked on vgs invocation. Parent PID 7312: /usr/sbin/grub-probe
  3673. File descriptor 63 (pipe:[164730]) leaked on vgs invocation. Parent PID 7312: /usr/sbin/grub-probe
  3674. File descriptor 9 (/proc/27915/mounts) leaked on vgs invocation. Parent PID 7312: /usr/sbin/grub-probe
  3675. File descriptor 63 (pipe:[164730]) leaked on vgs invocation. Parent PID 7312: /usr/sbin/grub-probe
  3676. File descriptor 9 (/proc/27915/mounts) leaked on vgs invocation. Parent PID 7332: /usr/sbin/grub-probe
  3677. File descriptor 63 (pipe:[164730]) leaked on vgs invocation. Parent PID 7332: /usr/sbin/grub-probe
  3678. File descriptor 9 (/proc/27915/mounts) leaked on vgs invocation. Parent PID 7332: /usr/sbin/grub-probe
  3679. File descriptor 63 (pipe:[164730]) leaked on vgs invocation. Parent PID 7332: /usr/sbin/grub-probe
  3680. File descriptor 9 (/proc/27915/mounts) leaked on vgs invocation. Parent PID 7353: /usr/sbin/grub-probe
  3681. File descriptor 63 (pipe:[164730]) leaked on vgs invocation. Parent PID 7353: /usr/sbin/grub-probe
  3682. File descriptor 9 (/proc/27915/mounts) leaked on vgs invocation. Parent PID 7353: /usr/sbin/grub-probe
  3683. File descriptor 63 (pipe:[164730]) leaked on vgs invocation. Parent PID 7353: /usr/sbin/grub-probe
  3684. File descriptor 9 (/proc/27915/mounts) leaked on vgs invocation. Parent PID 7559: /usr/sbin/grub-probe
  3685. File descriptor 63 (pipe:[164730]) leaked on vgs invocation. Parent PID 7559: /usr/sbin/grub-probe
  3686. File descriptor 9 (/proc/27915/mounts) leaked on vgs invocation. Parent PID 7559: /usr/sbin/grub-probe
  3687. File descriptor 63 (pipe:[164730]) leaked on vgs invocation. Parent PID 7559: /usr/sbin/grub-probe
  3688. File descriptor 9 (/proc/27915/mounts) leaked on lvs invocation. Parent PID 7667: /bin/sh
  3689. File descriptor 63 (pipe:[164730]) leaked on lvs invocation. Parent PID 7667: /bin/sh
  3690. mount: unknown filesystem type 'crypto_LUKS'
  3691. mount /dev/sda5 : Error code 32
  3692. mount -r /dev/sda5 /mnt/boot-sav/sda5
  3693. mount: unknown filesystem type 'crypto_LUKS'
  3694. mount -r /dev/sda5 : Error code 32
  3695. Unhide GRUB boot menu in mapper/ubuntu--vg-root/boot/grub/grub.cfg
  3696.  
  3697. An error occurred during the repair.
  3698.  
  3699. You can now reboot your computer.
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement