Advertisement
Guest User

Untitled

a guest
Jul 29th, 2018
257
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 54.98 KB | None | 0 0
  1. Boot Info Script 8f991e4 + Boot-Repair extra info [Boot-Info 25oct2017]
  2.  
  3.  
  4. ============================= Boot Info Summary: ===============================
  5.  
  6. => Grub2 (v2.00) is installed in the MBR of /dev/sda and looks at sector
  7. 1024002048 of the same hard drive for core.img. core.img is at this
  8. location and looks for (,gpt4)/boot/grub. It also embeds following
  9. components:
  10.  
  11. modules
  12. ---------------------------------------------------------------------------
  13. fshelp ext2 part_gpt biosdisk
  14. ---------------------------------------------------------------------------
  15. => ISOhybrid (Syslinux 4.05 and higher) is installed in the MBR of /dev/sdb.
  16.  
  17. sda1: __________________________________________________________________________
  18.  
  19. File system: BIOS Boot partition
  20. Boot sector type: Grub2's core.img
  21. Boot sector info:
  22.  
  23. sda2: __________________________________________________________________________
  24.  
  25. File system: ext4
  26. Boot sector type: -
  27. Boot sector info:
  28. Operating System:
  29. Boot files:
  30.  
  31. sda4: __________________________________________________________________________
  32.  
  33. File system: ext4
  34. Boot sector type: Grub2 (v1.99-2.00)
  35. Boot sector info: Grub2 (v2.00) is installed in the boot sector of sda4
  36. and looks at sector 454445200 of the same hard drive
  37. for core.img. core.img is at this location and looks
  38. for (,gpt4)/boot/grub. It also embeds following
  39. components:
  40.  
  41. modules
  42. -------------------------------------------------------
  43. fshelp ext2 part_gpt biosdisk
  44. -------------------------------------------------------
  45. Operating System: Parrot GNU/Linux 4.1
  46. Boot files: /boot/grub/grub.cfg /etc/fstab
  47. /boot/grub/i386-pc/core.img
  48.  
  49. sda5: __________________________________________________________________________
  50.  
  51. File system: swap
  52. Boot sector type: -
  53. Boot sector info:
  54.  
  55. sdb1: __________________________________________________________________________
  56.  
  57. File system: iso9660
  58. Boot sector type: Unknown
  59. Boot sector info:
  60. Mounting failed: mount: /mnt/BootInfo/sdb1: /dev/sdb1 already mounted or mount point busy.
  61.  
  62. ============================ Drive/Partition Info: =============================
  63.  
  64. Drive: sda _____________________________________________________________________
  65. Disk /dev/sda: 931.5 GiB, 1000204886016 bytes, 1953525168 sectors
  66. Units: sectors of 1 * 512 = 512 bytes
  67. Sector size (logical/physical): 512 bytes / 4096 bytes
  68. I/O size (minimum/optimal): 4096 bytes / 4096 bytes
  69. Disklabel type: gpt
  70.  
  71. Partition Boot Start Sector End Sector # of Sectors Id System
  72.  
  73. /dev/sda1 1 1,953,525,167 1,953,525,167 ee GPT
  74.  
  75.  
  76. GUID Partition Table detected.
  77.  
  78. Partition Attrs Start Sector End Sector # of Sectors System
  79. /dev/sda1 1,024,002,048 1,066,741,759 42,739,712 BIOS Boot partition
  80. /dev/sda2 1,066,741,760 1,953,523,711 886,781,952 Data partition (Linux)
  81. /dev/sda4 1,161,216 977,723,391 976,562,176 Data partition (Linux)
  82. /dev/sda5 977,723,392 1,024,002,047 46,278,656 Swap partition (Linux)
  83.  
  84. Attributes: R=Required, N=No Block IO, B=Legacy BIOS Bootable, +=More bits set
  85.  
  86. Drive: sdb _____________________________________________________________________
  87. Disk /dev/sdb: 1.8 GiB, 1931476992 bytes, 3772416 sectors
  88. Units: sectors of 1 * 512 = 512 bytes
  89. Sector size (logical/physical): 512 bytes / 512 bytes
  90. I/O size (minimum/optimal): 512 bytes / 512 bytes
  91. Disklabel type: dos
  92.  
  93. Partition Boot Start Sector End Sector # of Sectors Id System
  94.  
  95. /dev/sdb1 * 0 1,449,983 1,449,984 17 Hidden NTFS / HPFS
  96.  
  97.  
  98. "blkid" output: ________________________________________________________________
  99.  
  100. Device UUID TYPE LABEL
  101.  
  102. /dev/loop0 squashfs
  103. /dev/sda1
  104. /dev/sda2 d90e3dd4-ce64-4c96-963e-25ee0bae9ecc ext4
  105. /dev/sda4 149951c6-1cfe-4c3c-b61b-054d83211774 ext4
  106. /dev/sda5 de009b99-382c-4578-80b7-9a26c7bfb345 swap
  107. /dev/sdb1 2017-10-29-00-56-18-00 iso9660 Boot-Repair-Disk 64bit
  108. /dev/zram0 fc712b5b-da71-41b8-824c-95056ffde6cf swap
  109. /dev/zram1 34927027-42f3-40f3-9c61-6c9baf8ee9e0 swap
  110. /dev/zram2 8150153d-3b71-4a55-a997-37498dc5950d swap
  111. /dev/zram3 8ced6512-59db-4b1a-b986-8cb2af431ff8 swap
  112.  
  113. ========================= "ls -l /dev/disk/by-id" output: ======================
  114.  
  115. total 0
  116. lrwxrwxrwx 1 root root 9 Jul 30 01:59 ata-HGST_HTS541010A9E680_JA1009C026E6ZP -> ../../sda
  117. lrwxrwxrwx 1 root root 10 Jul 30 01:59 ata-HGST_HTS541010A9E680_JA1009C026E6ZP-part1 -> ../../sda1
  118. lrwxrwxrwx 1 root root 10 Jul 30 01:59 ata-HGST_HTS541010A9E680_JA1009C026E6ZP-part2 -> ../../sda2
  119. lrwxrwxrwx 1 root root 10 Jul 30 01:59 ata-HGST_HTS541010A9E680_JA1009C026E6ZP-part4 -> ../../sda4
  120. lrwxrwxrwx 1 root root 10 Jul 30 01:59 ata-HGST_HTS541010A9E680_JA1009C026E6ZP-part5 -> ../../sda5
  121. lrwxrwxrwx 1 root root 9 Jul 30 01:52 ata-MATSHITADVD-RAM_UJ8G6_H092_690734 -> ../../sr0
  122. lrwxrwxrwx 1 root root 9 Jul 30 01:52 usb-USB_Flash_Disk_36602E34-0:0 -> ../../sdb
  123. lrwxrwxrwx 1 root root 10 Jul 30 01:52 usb-USB_Flash_Disk_36602E34-0:0-part1 -> ../../sdb1
  124. lrwxrwxrwx 1 root root 9 Jul 30 01:59 wwn-0x5000cca792df1ae1 -> ../../sda
  125. lrwxrwxrwx 1 root root 10 Jul 30 01:59 wwn-0x5000cca792df1ae1-part1 -> ../../sda1
  126. lrwxrwxrwx 1 root root 10 Jul 30 01:59 wwn-0x5000cca792df1ae1-part2 -> ../../sda2
  127. lrwxrwxrwx 1 root root 10 Jul 30 01:59 wwn-0x5000cca792df1ae1-part4 -> ../../sda4
  128. lrwxrwxrwx 1 root root 10 Jul 30 01:59 wwn-0x5000cca792df1ae1-part5 -> ../../sda5
  129.  
  130. ================================ Mount points: =================================
  131.  
  132. Device Mount_Point Type Options
  133.  
  134. /dev/loop0 /rofs squashfs (ro,noatime)
  135. /dev/sdb /cdrom iso9660 (ro,noatime,nojoliet,check=s,map=n,blocksize=2048)
  136.  
  137.  
  138. =========================== sda4/boot/grub/grub.cfg: ===========================
  139.  
  140. --------------------------------------------------------------------------------
  141. #
  142. # DO NOT EDIT THIS FILE
  143. #
  144. # It is automatically generated by grub-mkconfig using templates
  145. # from /etc/grub.d and settings from /etc/default/grub
  146. #
  147.  
  148. ### BEGIN /etc/grub.d/00_header ###
  149. if [ -s $prefix/grubenv ]; then
  150. set have_grubenv=true
  151. load_env
  152. fi
  153. if [ "${next_entry}" ] ; then
  154. set default="${next_entry}"
  155. set next_entry=
  156. save_env next_entry
  157. set boot_once=true
  158. else
  159. set default="0"
  160. fi
  161.  
  162. if [ x"${feature_menuentry_id}" = xy ]; then
  163. menuentry_id_option="--id"
  164. else
  165. menuentry_id_option=""
  166. fi
  167.  
  168. export menuentry_id_option
  169.  
  170. if [ "${prev_saved_entry}" ]; then
  171. set saved_entry="${prev_saved_entry}"
  172. save_env saved_entry
  173. set prev_saved_entry=
  174. save_env prev_saved_entry
  175. set boot_once=true
  176. fi
  177.  
  178. function savedefault {
  179. if [ -z "${boot_once}" ]; then
  180. saved_entry="${chosen}"
  181. save_env saved_entry
  182. fi
  183. }
  184. function load_video {
  185. if [ x$feature_all_video_module = xy ]; then
  186. insmod all_video
  187. else
  188. insmod efi_gop
  189. insmod efi_uga
  190. insmod ieee1275_fb
  191. insmod vbe
  192. insmod vga
  193. insmod video_bochs
  194. insmod video_cirrus
  195. fi
  196. }
  197.  
  198. if [ x$feature_default_font_path = xy ] ; then
  199. font=unicode
  200. else
  201. insmod part_gpt
  202. insmod ext2
  203. set root='hd0,gpt4'
  204. if [ x$feature_platform_search_hint = xy ]; then
  205. search --no-floppy --fs-uuid --set=root --hint-bios=hd0,gpt4 --hint-efi=hd0,gpt4 --hint-baremetal=ahci0,gpt4 149951c6-1cfe-4c3c-b61b-054d83211774
  206. else
  207. search --no-floppy --fs-uuid --set=root 149951c6-1cfe-4c3c-b61b-054d83211774
  208. fi
  209. font="/usr/share/grub/unicode.pf2"
  210. fi
  211.  
  212. if loadfont $font ; then
  213. set gfxmode=auto
  214. load_video
  215. insmod gfxterm
  216. set locale_dir=$prefix/locale
  217. set lang=C
  218. insmod gettext
  219. fi
  220. terminal_output gfxterm
  221. if [ "${recordfail}" = 1 ] ; then
  222. set timeout=10
  223. else
  224. if [ x$feature_timeout_style = xy ] ; then
  225. set timeout_style=menu
  226. set timeout=10
  227. # Fallback normal timeout code in case the timeout_style feature is
  228. # unavailable.
  229. else
  230. set timeout=10
  231. fi
  232. fi
  233. ### END /etc/grub.d/00_header ###
  234.  
  235. ### BEGIN /etc/grub.d/05_debian_theme ###
  236. insmod part_gpt
  237. insmod ext2
  238. set root='hd0,gpt4'
  239. if [ x$feature_platform_search_hint = xy ]; then
  240. search --no-floppy --fs-uuid --set=root --hint-bios=hd0,gpt4 --hint-efi=hd0,gpt4 --hint-baremetal=ahci0,gpt4 149951c6-1cfe-4c3c-b61b-054d83211774
  241. else
  242. search --no-floppy --fs-uuid --set=root 149951c6-1cfe-4c3c-b61b-054d83211774
  243. fi
  244. insmod png
  245. if background_image /usr/share/desktop-base/parrot-theme/grub/grub-4x3.png; then
  246. true
  247. else
  248. set menu_color_normal=cyan/blue
  249. set menu_color_highlight=white/blue
  250. fi
  251. ### END /etc/grub.d/05_debian_theme ###
  252.  
  253. ### BEGIN /etc/grub.d/10_linux ###
  254. function gfxmode {
  255. set gfxpayload="${1}"
  256. }
  257. set linux_gfx_mode=
  258. export linux_gfx_mode
  259. menuentry 'Parrot GNU/Linux' --class parrot --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-simple-149951c6-1cfe-4c3c-b61b-054d83211774' {
  260. load_video
  261. insmod gzio
  262. if [ x$grub_platform = xxen ]; then insmod xzio; insmod lzopio; fi
  263. insmod part_gpt
  264. insmod ext2
  265. set root='hd0,gpt4'
  266. if [ x$feature_platform_search_hint = xy ]; then
  267. search --no-floppy --fs-uuid --set=root --hint-bios=hd0,gpt4 --hint-efi=hd0,gpt4 --hint-baremetal=ahci0,gpt4 149951c6-1cfe-4c3c-b61b-054d83211774
  268. else
  269. search --no-floppy --fs-uuid --set=root 149951c6-1cfe-4c3c-b61b-054d83211774
  270. fi
  271. echo 'Loading Linux 4.16.0-parrot16-amd64 ...'
  272. linux /boot/vmlinuz-4.16.0-parrot16-amd64 root=UUID=149951c6-1cfe-4c3c-b61b-054d83211774 ro quiet splash noautomount quiet
  273. echo 'Loading initial ramdisk ...'
  274. initrd /boot/initrd.img-4.16.0-parrot16-amd64
  275. }
  276. submenu 'Advanced options for Parrot GNU/Linux' $menuentry_id_option 'gnulinux-advanced-149951c6-1cfe-4c3c-b61b-054d83211774' {
  277. menuentry 'Parrot GNU/Linux, with Linux 4.16.0-parrot16-amd64' --class parrot --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-4.16.0-parrot16-amd64-advanced-149951c6-1cfe-4c3c-b61b-054d83211774' {
  278. load_video
  279. insmod gzio
  280. if [ x$grub_platform = xxen ]; then insmod xzio; insmod lzopio; fi
  281. insmod part_gpt
  282. insmod ext2
  283. set root='hd0,gpt4'
  284. if [ x$feature_platform_search_hint = xy ]; then
  285. search --no-floppy --fs-uuid --set=root --hint-bios=hd0,gpt4 --hint-efi=hd0,gpt4 --hint-baremetal=ahci0,gpt4 149951c6-1cfe-4c3c-b61b-054d83211774
  286. else
  287. search --no-floppy --fs-uuid --set=root 149951c6-1cfe-4c3c-b61b-054d83211774
  288. fi
  289. echo 'Loading Linux 4.16.0-parrot16-amd64 ...'
  290. linux /boot/vmlinuz-4.16.0-parrot16-amd64 root=UUID=149951c6-1cfe-4c3c-b61b-054d83211774 ro quiet splash noautomount quiet
  291. echo 'Loading initial ramdisk ...'
  292. initrd /boot/initrd.img-4.16.0-parrot16-amd64
  293. }
  294. menuentry 'Parrot GNU/Linux, with Linux 4.16.0-parrot16-amd64 (recovery mode)' --class parrot --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-4.16.0-parrot16-amd64-recovery-149951c6-1cfe-4c3c-b61b-054d83211774' {
  295. load_video
  296. insmod gzio
  297. if [ x$grub_platform = xxen ]; then insmod xzio; insmod lzopio; fi
  298. insmod part_gpt
  299. insmod ext2
  300. set root='hd0,gpt4'
  301. if [ x$feature_platform_search_hint = xy ]; then
  302. search --no-floppy --fs-uuid --set=root --hint-bios=hd0,gpt4 --hint-efi=hd0,gpt4 --hint-baremetal=ahci0,gpt4 149951c6-1cfe-4c3c-b61b-054d83211774
  303. else
  304. search --no-floppy --fs-uuid --set=root 149951c6-1cfe-4c3c-b61b-054d83211774
  305. fi
  306. echo 'Loading Linux 4.16.0-parrot16-amd64 ...'
  307. linux /boot/vmlinuz-4.16.0-parrot16-amd64 root=UUID=149951c6-1cfe-4c3c-b61b-054d83211774 ro single quiet splash noautomount
  308. echo 'Loading initial ramdisk ...'
  309. initrd /boot/initrd.img-4.16.0-parrot16-amd64
  310. }
  311. menuentry 'Parrot GNU/Linux, with Linux 4.16.0-parrot5-amd64' --class parrot --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-4.16.0-parrot5-amd64-advanced-149951c6-1cfe-4c3c-b61b-054d83211774' {
  312. load_video
  313. insmod gzio
  314. if [ x$grub_platform = xxen ]; then insmod xzio; insmod lzopio; fi
  315. insmod part_gpt
  316. insmod ext2
  317. set root='hd0,gpt4'
  318. if [ x$feature_platform_search_hint = xy ]; then
  319. search --no-floppy --fs-uuid --set=root --hint-bios=hd0,gpt4 --hint-efi=hd0,gpt4 --hint-baremetal=ahci0,gpt4 149951c6-1cfe-4c3c-b61b-054d83211774
  320. else
  321. search --no-floppy --fs-uuid --set=root 149951c6-1cfe-4c3c-b61b-054d83211774
  322. fi
  323. echo 'Loading Linux 4.16.0-parrot5-amd64 ...'
  324. linux /boot/vmlinuz-4.16.0-parrot5-amd64 root=UUID=149951c6-1cfe-4c3c-b61b-054d83211774 ro quiet splash noautomount quiet
  325. echo 'Loading initial ramdisk ...'
  326. initrd /boot/initrd.img-4.16.0-parrot5-amd64
  327. }
  328. menuentry 'Parrot GNU/Linux, with Linux 4.16.0-parrot5-amd64 (recovery mode)' --class parrot --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-4.16.0-parrot5-amd64-recovery-149951c6-1cfe-4c3c-b61b-054d83211774' {
  329. load_video
  330. insmod gzio
  331. if [ x$grub_platform = xxen ]; then insmod xzio; insmod lzopio; fi
  332. insmod part_gpt
  333. insmod ext2
  334. set root='hd0,gpt4'
  335. if [ x$feature_platform_search_hint = xy ]; then
  336. search --no-floppy --fs-uuid --set=root --hint-bios=hd0,gpt4 --hint-efi=hd0,gpt4 --hint-baremetal=ahci0,gpt4 149951c6-1cfe-4c3c-b61b-054d83211774
  337. else
  338. search --no-floppy --fs-uuid --set=root 149951c6-1cfe-4c3c-b61b-054d83211774
  339. fi
  340. echo 'Loading Linux 4.16.0-parrot5-amd64 ...'
  341. linux /boot/vmlinuz-4.16.0-parrot5-amd64 root=UUID=149951c6-1cfe-4c3c-b61b-054d83211774 ro single quiet splash noautomount
  342. echo 'Loading initial ramdisk ...'
  343. initrd /boot/initrd.img-4.16.0-parrot5-amd64
  344. }
  345. menuentry 'Parrot GNU/Linux, with Linux 4.14.0-parrot13-amd64' --class parrot --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-4.14.0-parrot13-amd64-advanced-149951c6-1cfe-4c3c-b61b-054d83211774' {
  346. load_video
  347. insmod gzio
  348. if [ x$grub_platform = xxen ]; then insmod xzio; insmod lzopio; fi
  349. insmod part_gpt
  350. insmod ext2
  351. set root='hd0,gpt4'
  352. if [ x$feature_platform_search_hint = xy ]; then
  353. search --no-floppy --fs-uuid --set=root --hint-bios=hd0,gpt4 --hint-efi=hd0,gpt4 --hint-baremetal=ahci0,gpt4 149951c6-1cfe-4c3c-b61b-054d83211774
  354. else
  355. search --no-floppy --fs-uuid --set=root 149951c6-1cfe-4c3c-b61b-054d83211774
  356. fi
  357. echo 'Loading Linux 4.14.0-parrot13-amd64 ...'
  358. linux /boot/vmlinuz-4.14.0-parrot13-amd64 root=UUID=149951c6-1cfe-4c3c-b61b-054d83211774 ro quiet splash noautomount quiet
  359. echo 'Loading initial ramdisk ...'
  360. initrd /boot/initrd.img-4.14.0-parrot13-amd64
  361. }
  362. menuentry 'Parrot GNU/Linux, with Linux 4.14.0-parrot13-amd64 (recovery mode)' --class parrot --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-4.14.0-parrot13-amd64-recovery-149951c6-1cfe-4c3c-b61b-054d83211774' {
  363. load_video
  364. insmod gzio
  365. if [ x$grub_platform = xxen ]; then insmod xzio; insmod lzopio; fi
  366. insmod part_gpt
  367. insmod ext2
  368. set root='hd0,gpt4'
  369. if [ x$feature_platform_search_hint = xy ]; then
  370. search --no-floppy --fs-uuid --set=root --hint-bios=hd0,gpt4 --hint-efi=hd0,gpt4 --hint-baremetal=ahci0,gpt4 149951c6-1cfe-4c3c-b61b-054d83211774
  371. else
  372. search --no-floppy --fs-uuid --set=root 149951c6-1cfe-4c3c-b61b-054d83211774
  373. fi
  374. echo 'Loading Linux 4.14.0-parrot13-amd64 ...'
  375. linux /boot/vmlinuz-4.14.0-parrot13-amd64 root=UUID=149951c6-1cfe-4c3c-b61b-054d83211774 ro single quiet splash noautomount
  376. echo 'Loading initial ramdisk ...'
  377. initrd /boot/initrd.img-4.14.0-parrot13-amd64
  378. }
  379. }
  380.  
  381. ### END /etc/grub.d/10_linux ###
  382.  
  383. ### BEGIN /etc/grub.d/20_linux_xen ###
  384.  
  385. ### END /etc/grub.d/20_linux_xen ###
  386.  
  387. ### BEGIN /etc/grub.d/30_os-prober ###
  388. ### END /etc/grub.d/30_os-prober ###
  389.  
  390. ### BEGIN /etc/grub.d/30_uefi-firmware ###
  391. ### END /etc/grub.d/30_uefi-firmware ###
  392.  
  393. ### BEGIN /etc/grub.d/40_custom ###
  394. # This file provides an easy way to add custom menu entries. Simply type the
  395. # menu entries you want to add after this comment. Be careful not to change
  396. # the 'exec tail' line above.
  397. ### END /etc/grub.d/40_custom ###
  398.  
  399. ### BEGIN /etc/grub.d/41_custom ###
  400. if [ -f ${config_directory}/custom.cfg ]; then
  401. source ${config_directory}/custom.cfg
  402. elif [ -z "${config_directory}" -a -f $prefix/custom.cfg ]; then
  403. source $prefix/custom.cfg;
  404. fi
  405. ### END /etc/grub.d/41_custom ###
  406. --------------------------------------------------------------------------------
  407.  
  408. =============================== sda4/etc/fstab: ================================
  409.  
  410. --------------------------------------------------------------------------------
  411. # /etc/fstab: static file system information.
  412. #
  413. # Use 'blkid' to print the universally unique identifier for a
  414. # device; this may be used with UUID= as a more robust way to name devices
  415. # that works even if disks are added and removed. See fstab(5).
  416. #
  417. # <file system> <mount point> <type> <options> <dump> <pass>
  418. # / was on /dev/sda4 during installation
  419. UUID=149951c6-1cfe-4c3c-b61b-054d83211774 / ext4 errors=remount-ro 0 1
  420. # /boot/efi was on /dev/sda2 during installation
  421. #UUID=CEC4-C431 /boot/efi vfat umask=0077 0 1
  422. # swap was on /dev/sda6 during installation
  423. UUID=de009b99-382c-4578-80b7-9a26c7bfb345 none swap sw 0 0
  424. /dev/sr0 /media/cdrom0 udf,iso9660 user,noauto 0 0
  425. --------------------------------------------------------------------------------
  426.  
  427. =================== sda4: Location of files loaded by Grub: ====================
  428.  
  429. GiB - GB File Fragment(s)
  430.  
  431. 216.686244965 = 232.665083904 boot/grub/grub.cfg 1
  432. 258.758724213 = 277.840064512 boot/grub/i386-pc/core.img 1
  433. 216.686233521 = 232.665071616 boot/vmlinuz-4.14.0-parrot13-amd64 1
  434. 89.101306915 = 95.671799808 boot/vmlinuz-4.16.0-parrot16-amd64 1
  435. 264.808349609 = 284.335800320 boot/vmlinuz-4.16.0-parrot5-amd64 1
  436. 89.101306915 = 95.671799808 vmlinuz 1
  437. 264.808349609 = 284.335800320 vmlinuz.old 1
  438. 216.694255829 = 232.673685504 boot/initrd.img-4.14.0-parrot13-amd64 3
  439. 6.864440918 = 7.370637312 boot/initrd.img-4.14.0-parrot13-amd64.old-dkms 1
  440. 90.635921478 = 97.319579648 boot/initrd.img-4.16.0-parrot16-amd64 2
  441. 71.212017059 = 76.463321088 boot/initrd.img-4.16.0-parrot5-amd64 2
  442. 90.635921478 = 97.319579648 initrd.img 2
  443. 71.212017059 = 76.463321088 initrd.img.old 2
  444.  
  445. ======================== Unknown MBRs/Boot Sectors/etc: ========================
  446.  
  447. Unknown BootLoader on sdb1
  448.  
  449. 00000000 33 ed 90 90 90 90 90 90 90 90 90 90 90 90 90 90 |3...............|
  450. 00000010 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 |................|
  451. 00000020 33 ed fa 8e d5 bc 00 7c fb fc 66 31 db 66 31 c9 |3......|..f1.f1.|
  452. 00000030 66 53 66 51 06 57 8e dd 8e c5 52 be 00 7c bf 00 |fSfQ.W....R..|..|
  453. 00000040 06 b9 00 01 f3 a5 ea 4b 06 00 00 52 b4 41 bb aa |.......K...R.A..|
  454. 00000050 55 31 c9 30 f6 f9 cd 13 72 16 81 fb 55 aa 75 10 |U1.0....r...U.u.|
  455. 00000060 83 e1 01 74 0b 66 c7 06 f1 06 b4 42 eb 15 eb 00 |...t.f.....B....|
  456. 00000070 5a 51 b4 08 cd 13 83 e1 3f 5b 51 0f b6 c6 40 50 |ZQ......?[Q...@P|
  457. 00000080 f7 e1 53 52 50 bb 00 7c b9 04 00 66 a1 b0 07 e8 |..SRP..|...f....|
  458. 00000090 44 00 0f 82 80 00 66 40 80 c7 02 e2 f2 66 81 3e |D.....f@.....f.>|
  459. 000000a0 40 7c fb c0 78 70 75 09 fa bc ec 7b ea 44 7c 00 |@|..xpu....{.D|.|
  460. 000000b0 00 e8 83 00 69 73 6f 6c 69 6e 75 78 2e 62 69 6e |....isolinux.bin|
  461. 000000c0 20 6d 69 73 73 69 6e 67 20 6f 72 20 63 6f 72 72 | missing or corr|
  462. 000000d0 75 70 74 2e 0d 0a 66 60 66 31 d2 66 03 06 f8 7b |upt...f`f1.f...{|
  463. 000000e0 66 13 16 fc 7b 66 52 66 50 06 53 6a 01 6a 10 89 |f...{fRfP.Sj.j..|
  464. 000000f0 e6 66 f7 36 e8 7b c0 e4 06 88 e1 88 c5 92 f6 36 |.f.6.{.........6|
  465. 00000100 ee 7b 88 c6 08 e1 41 b8 01 02 8a 16 f2 7b cd 13 |.{....A......{..|
  466. 00000110 8d 64 10 66 61 c3 e8 1e 00 4f 70 65 72 61 74 69 |.d.fa....Operati|
  467. 00000120 6e 67 20 73 79 73 74 65 6d 20 6c 6f 61 64 20 65 |ng system load e|
  468. 00000130 72 72 6f 72 2e 0d 0a 5e ac b4 0e 8a 3e 62 04 b3 |rror...^....>b..|
  469. 00000140 07 cd 10 3c 0a 75 f1 cd 18 f4 eb fd 00 00 00 00 |...<.u..........|
  470. 00000150 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................|
  471. *
  472. 000001b0 68 03 00 00 00 00 00 00 67 45 8b 6b 00 00 80 00 |h.......gE.k....|
  473. 000001c0 01 00 17 3f a0 c3 00 00 00 00 00 20 16 00 00 00 |...?....... ....|
  474. 000001d0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................|
  475. *
  476. 000001f0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 55 aa |..............U.|
  477. 00000200
  478.  
  479.  
  480.  
  481. ADDITIONAL INFORMATION :
  482. =================== log of boot-repair 20180730_0152 ===================
  483. boot-repair version : 4ppa62
  484. boot-sav version : 4ppa62
  485. boot-sav-extra version : 4ppa62
  486. glade2script version : 3.2.3~ppa4
  487. Error: Invalid partition table - recursive partition on /dev/sdb.
  488. boot-repair is executed in live-session (Boot-Repair-Disk 64bit 1oct2017, zesty, Ubuntu, x86_64)
  489. CPU op-mode(s): 32-bit, 64-bit
  490. file=/cdrom/preseed/lubuntu.seed boot=casper initrd=/casper/initrd.lz quiet splash --
  491. ls: cannot access '/home/usr/.config': No such file or directory
  492.  
  493. =================== os-prober:
  494. /dev/sda4:Parrot 4.1 (4.1):Parrot:linux
  495.  
  496. =================== blkid:
  497. /dev/sda2: UUID="d90e3dd4-ce64-4c96-963e-25ee0bae9ecc" TYPE="ext4" PARTUUID="bab4d490-4824-40fc-9c9b-b53ab468bd1c"
  498. /dev/sda4: UUID="149951c6-1cfe-4c3c-b61b-054d83211774" TYPE="ext4" PARTUUID="7cce3601-3a0b-4172-86d9-e5e22e95afaf"
  499. /dev/loop0: TYPE="squashfs"
  500. /dev/sda5: UUID="de009b99-382c-4578-80b7-9a26c7bfb345" TYPE="swap" PARTUUID="ea5ee56b-872c-43de-840f-f89c38b12a8e"
  501. /dev/sdb1: UUID="2017-10-29-00-56-18-00" LABEL="Boot-Repair-Disk 64bit" TYPE="iso9660" PTUUID="6b8b4567" PTTYPE="dos" PARTUUID="6b8b4567-01"
  502. /dev/zram0: UUID="fc712b5b-da71-41b8-824c-95056ffde6cf" TYPE="swap"
  503. /dev/zram1: UUID="34927027-42f3-40f3-9c61-6c9baf8ee9e0" TYPE="swap"
  504. /dev/zram2: UUID="8150153d-3b71-4a55-a997-37498dc5950d" TYPE="swap"
  505. /dev/zram3: UUID="8ced6512-59db-4b1a-b986-8cb2af431ff8" TYPE="swap"
  506. /dev/sda1: PARTUUID="7f8ca860-4073-41f7-802b-7ed30fb1969f"
  507.  
  508.  
  509. 1 disks with OS, 1 OS : 1 Linux, 0 MacOS, 0 Windows, 0 unknown type OS.
  510.  
  511. Linux not detected by os-prober on sda1. Please report this message to boot.repair@gmail.com
  512.  
  513. =================== sda4/etc/grub.d/ :
  514. drwxr-xr-x 2 root root 4096 Jul 30 01:46 grub.d
  515. total 76
  516. -rwxr-xr-x 1 root root 9783 Apr 1 09:49 00_header
  517. -rwxr-xr-x 1 root root 6258 Mar 16 11:56 05_debian_theme
  518. -rwxr-xr-x 1 root root 12442 Apr 1 09:49 10_linux
  519. -rwxr-xr-x 1 root root 11298 Apr 1 09:49 20_linux_xen
  520. -rwxr-xr-x 1 root root 12059 Apr 1 09:49 30_os-prober
  521. -rwxr-xr-x 1 root root 1418 Apr 1 09:49 30_uefi-firmware
  522. -rwxr-xr-x 1 root root 214 Apr 1 09:49 40_custom
  523. -rwxr-xr-x 1 root root 216 Apr 1 09:49 41_custom
  524. -rw-r--r-- 1 root root 483 Apr 1 09:49 README
  525.  
  526.  
  527.  
  528.  
  529. =================== sda4/etc/default/grub :
  530.  
  531. # If you change this file, run 'update-grub' afterwards to update
  532. # /boot/grub/grub.cfg.
  533. # For full documentation of the options in this file, see:
  534. # info -f grub -n 'Simple configuration'
  535.  
  536. GRUB_DEFAULT=0
  537. GRUB_TIMEOUT=10
  538. GRUB_DISTRIBUTOR=`lsb_release -i -s 2> /dev/null || echo Debian`
  539. GRUB_CMDLINE_LINUX_DEFAULT="quiet"
  540. GRUB_CMDLINE_LINUX="quiet splash noautomount"
  541.  
  542. # Uncomment to enable BadRAM filtering, modify to suit your needs
  543. # This works with Linux (no patch required) and with any kernel that obtains
  544. # the memory map information from GRUB (GNU Mach, kernel of FreeBSD ...)
  545. #GRUB_BADRAM="0x01234567,0xfefefefe,0x89abcdef,0xefefefef"
  546.  
  547. # Uncomment to disable graphical terminal (grub-pc only)
  548. #GRUB_TERMINAL=console
  549.  
  550. # The resolution used on graphical terminal
  551. # note that you can use only modes which your graphic card supports via VBE
  552. # you can see them in real GRUB with the command `vbeinfo'
  553. #GRUB_GFXMODE=640x480
  554.  
  555. # Uncomment if you don't want GRUB to pass "root=UUID=xxx" parameter to Linux
  556. #GRUB_DISABLE_LINUX_UUID=true
  557.  
  558. # Uncomment to disable generation of recovery mode menu entries
  559. #GRUB_DISABLE_RECOVERY="true"
  560.  
  561. # Uncomment to get a beep at grub start
  562. #GRUB_INIT_TUNE="480 440 1"
  563.  
  564.  
  565.  
  566.  
  567. =================== /etc/grub.d/ :
  568. drwxr-xr-x 2 root root 204 Oct 17 2017 grub.d
  569. total 58
  570. -rwxr-xr-x 1 root root 9783 Oct 12 2017 00_header
  571. -rwxr-xr-x 1 root root 6258 Apr 24 2017 05_debian_theme
  572. -rwxr-xr-x 1 root root 12676 Oct 12 2017 10_linux
  573. -rwxr-xr-x 1 root root 11281 Oct 12 2017 20_linux_xen
  574. -rwxr-xr-x 1 root root 1992 Jan 28 2016 20_memtest86+
  575. -rwxr-xr-x 1 root root 12059 Oct 12 2017 30_os-prober
  576. -rwxr-xr-x 1 root root 1418 Oct 12 2017 30_uefi-firmware
  577. -rwxr-xr-x 1 root root 214 Oct 12 2017 40_custom
  578. -rwxr-xr-x 1 root root 216 Oct 12 2017 41_custom
  579. -rw-r--r-- 1 root root 483 Oct 12 2017 README
  580.  
  581.  
  582.  
  583.  
  584. =================== /etc/default/grub :
  585.  
  586. # If you change this file, run 'update-grub' afterwards to update
  587. # /boot/grub/grub.cfg.
  588. # For full documentation of the options in this file, see:
  589. # info -f grub -n 'Simple configuration'
  590.  
  591. GRUB_DEFAULT=0
  592. GRUB_HIDDEN_TIMEOUT=0
  593. GRUB_HIDDEN_TIMEOUT_QUIET=true
  594. GRUB_TIMEOUT=10
  595. GRUB_DISTRIBUTOR=`lsb_release -i -s 2> /dev/null || echo Debian`
  596. GRUB_CMDLINE_LINUX_DEFAULT="quiet splash"
  597. GRUB_CMDLINE_LINUX=""
  598.  
  599. # Uncomment to enable BadRAM filtering, modify to suit your needs
  600. # This works with Linux (no patch required) and with any kernel that obtains
  601. # the memory map information from GRUB (GNU Mach, kernel of FreeBSD ...)
  602. #GRUB_BADRAM="0x01234567,0xfefefefe,0x89abcdef,0xefefefef"
  603.  
  604. # Uncomment to disable graphical terminal (grub-pc only)
  605. #GRUB_TERMINAL=console
  606.  
  607. # The resolution used on graphical terminal
  608. # note that you can use only modes which your graphic card supports via VBE
  609. # you can see them in real GRUB with the command `vbeinfo'
  610. #GRUB_GFXMODE=640x480
  611.  
  612. # Uncomment if you don't want GRUB to pass "root=UUID=xxx" parameter to Linux
  613. #GRUB_DISABLE_LINUX_UUID=true
  614.  
  615. # Uncomment to disable generation of recovery mode menu entries
  616. #GRUB_DISABLE_RECOVERY="true"
  617.  
  618. # Uncomment to get a beep at grub start
  619. #GRUB_INIT_TUNE="480 440 1"
  620.  
  621.  
  622.  
  623. =================== No kernel in /boot:
  624. System.map-4.13.0-16-generic
  625. abi-4.13.0-16-generic
  626. config-4.13.0-16-generic
  627. grub
  628. initrd.img-4.13.0-16-generic
  629. memtest86+.bin
  630. memtest86+.elf
  631. memtest86+_multiboot.bin
  632.  
  633.  
  634.  
  635. =================== UEFI/Legacy mode:
  636. This live-session is not in EFI-mode.
  637. EFI in dmesg.
  638. [ 0.000000] ACPI: UEFI 0x000000007DBE4170 000042 (v01 _ASUS_ Notebook 01072009 00000000)
  639. SecureBoot maybe enabled.
  640.  
  641.  
  642. =================== PARTITIONS & DISKS:
  643. sda2 : 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, notbiosboot, /mnt/boot-sav/sda2.
  644. sda4 : sda, not-sepboot, grubenv-ok grub2, grub-pc , update-grub, 64, with-boot, is-os, not--efi--part, fstab-without-boot, fstab-without-efi, no-nt, no-winload, no-recov-nor-hid, no-bmgr, notwinboot, apt-get, grub-install, with--usr, fstab-without-usr, not-sep-usr, standard, farbios, notbiosboot, /mnt/boot-sav/sda4.
  645. sda1 : sda, not-sepboot, grubenv-ok grub2, grub-pc , update-grub, 64, no-kernel, is-os, not--efi--part, fstab-without-boot, fstab-without-efi, no-nt, no-winload, no-recov-nor-hid, no-bmgr, notwinboot, apt-get, grub-install, with--usr, fstab-without-usr, not-sep-usr, standard, farbios, is-biosboot, .
  646.  
  647. sda : GPT, BIOS_boot, has-no-EFIpart, not-usb, not-mmc, has-os, 2048 sectors * 512 bytes
  648.  
  649.  
  650. =================== parted -lm:
  651.  
  652. BYT;
  653. /dev/sda:1000GB:scsi:512:4096:gpt:ATA HGST HTS541010A9:;
  654. 4:595MB:501GB:500GB:ext4::;
  655. 5:501GB:524GB:23.7GB:linux-swap(v1)::;
  656. 1:524GB:546GB:21.9GB:::bios_grub;
  657. 2:546GB:1000GB:454GB:ext4::;
  658.  
  659. BYT;
  660. /dev/sdb:1931MB:scsi:512:512:unknown:USB Flash Disk:;
  661.  
  662. BYT;
  663. /dev/zram3:907MB:unknown:4096:4096:loop:Unknown:;
  664. 1:0.00B:907MB:907MB:linux-swap(v1)::;
  665.  
  666. BYT;
  667. /dev/zram1:907MB:unknown:4096:4096:loop:Unknown:;
  668. 1:0.00B:907MB:907MB:linux-swap(v1)::;
  669.  
  670. BYT;
  671. /dev/zram2:907MB:unknown:4096:4096:loop:Unknown:;
  672. 1:0.00B:907MB:907MB:linux-swap(v1)::;
  673.  
  674. BYT;
  675. /dev/zram0:907MB:unknown:4096:4096:loop:Unknown:;
  676. 1:0.00B:907MB:907MB:linux-swap(v1)::;
  677.  
  678. =================== lsblk:
  679. KNAME TYPE FSTYPE SIZE LABEL
  680. loop0 loop squashfs 629.3M
  681. sda disk 931.5G
  682. sda1 part 20.4G
  683. sda2 part ext4 422.9G
  684. sda4 part ext4 465.7G
  685. sda5 part swap 22.1G
  686. sdb disk iso9660 1.8G Boot-Repair-Disk 64bit
  687. sdb1 part iso9660 708M Boot-Repair-Disk 64bit
  688. sr0 rom 1024M
  689. zram0 disk 864.9M
  690. zram1 disk 864.9M
  691. zram2 disk 864.9M
  692. zram3 disk 864.9M
  693.  
  694. KNAME ROTA RO RM STATE MOUNTPOINT
  695. loop0 1 1 0 /rofs
  696. sda 1 0 0 running
  697. sda1 1 0 0
  698. sda2 1 0 0 /mnt/boot-sav/sda2
  699. sda4 1 0 0 /mnt/boot-sav/sda4
  700. sda5 1 0 0 [SWAP]
  701. sdb 1 0 1 running /cdrom
  702. sdb1 1 0 1
  703. sr0 1 0 1 running
  704. zram0 0 0 0 [SWAP]
  705. zram1 0 0 0 [SWAP]
  706. zram2 0 0 0 [SWAP]
  707. zram3 0 0 0 [SWAP]
  708.  
  709.  
  710. =================== mount:
  711. sysfs on /sys type sysfs (rw,nosuid,nodev,noexec,relatime)
  712. proc on /proc type proc (rw,nosuid,nodev,noexec,relatime)
  713. udev on /dev type devtmpfs (rw,nosuid,relatime,size=3515476k,nr_inodes=878869,mode=755)
  714. devpts on /dev/pts type devpts (rw,nosuid,noexec,relatime,gid=5,mode=620,ptmxmode=000)
  715. tmpfs on /run type tmpfs (rw,nosuid,noexec,relatime,size=708532k,mode=755)
  716. /dev/sdb on /cdrom type iso9660 (ro,noatime,nojoliet,check=s,map=n,blocksize=2048)
  717. /dev/loop0 on /rofs type squashfs (ro,noatime)
  718. /cow on / type overlay (rw,relatime,lowerdir=//filesystem.squashfs,upperdir=/cow/upper,workdir=/cow/work)
  719. securityfs on /sys/kernel/security type securityfs (rw,nosuid,nodev,noexec,relatime)
  720. tmpfs on /dev/shm type tmpfs (rw,nosuid,nodev)
  721. tmpfs on /run/lock type tmpfs (rw,nosuid,nodev,noexec,relatime,size=5120k)
  722. tmpfs on /sys/fs/cgroup type tmpfs (ro,nosuid,nodev,noexec,mode=755)
  723. cgroup on /sys/fs/cgroup/unified type cgroup2 (rw,nosuid,nodev,noexec,relatime)
  724. cgroup on /sys/fs/cgroup/systemd type cgroup (rw,nosuid,nodev,noexec,relatime,xattr,name=systemd)
  725. pstore on /sys/fs/pstore type pstore (rw,nosuid,nodev,noexec,relatime)
  726. cgroup on /sys/fs/cgroup/cpuset type cgroup (rw,nosuid,nodev,noexec,relatime,cpuset)
  727. cgroup on /sys/fs/cgroup/freezer type cgroup (rw,nosuid,nodev,noexec,relatime,freezer)
  728. cgroup on /sys/fs/cgroup/pids type cgroup (rw,nosuid,nodev,noexec,relatime,pids)
  729. cgroup on /sys/fs/cgroup/hugetlb type cgroup (rw,nosuid,nodev,noexec,relatime,hugetlb)
  730. cgroup on /sys/fs/cgroup/memory type cgroup (rw,nosuid,nodev,noexec,relatime,memory)
  731. cgroup on /sys/fs/cgroup/net_cls,net_prio type cgroup (rw,nosuid,nodev,noexec,relatime,net_cls,net_prio)
  732. cgroup on /sys/fs/cgroup/rdma type cgroup (rw,nosuid,nodev,noexec,relatime,rdma)
  733. cgroup on /sys/fs/cgroup/devices type cgroup (rw,nosuid,nodev,noexec,relatime,devices)
  734. cgroup on /sys/fs/cgroup/perf_event type cgroup (rw,nosuid,nodev,noexec,relatime,perf_event)
  735. cgroup on /sys/fs/cgroup/blkio type cgroup (rw,nosuid,nodev,noexec,relatime,blkio)
  736. cgroup on /sys/fs/cgroup/cpu,cpuacct type cgroup (rw,nosuid,nodev,noexec,relatime,cpu,cpuacct)
  737. systemd-1 on /proc/sys/fs/binfmt_misc type autofs (rw,relatime,fd=28,pgrp=1,timeout=0,minproto=5,maxproto=5,direct,pipe_ino=11091)
  738. mqueue on /dev/mqueue type mqueue (rw,relatime)
  739. hugetlbfs on /dev/hugepages type hugetlbfs (rw,relatime,pagesize=2M)
  740. fusectl on /sys/fs/fuse/connections type fusectl (rw,relatime)
  741. debugfs on /sys/kernel/debug type debugfs (rw,relatime)
  742. configfs on /sys/kernel/config type configfs (rw,relatime)
  743. tmpfs on /tmp type tmpfs (rw,nosuid,nodev,relatime)
  744. tmpfs on /run/user/999 type tmpfs (rw,nosuid,nodev,relatime,size=708528k,mode=700,uid=999,gid=999)
  745. gvfsd-fuse on /run/user/999/gvfs type fuse.gvfsd-fuse (rw,nosuid,nodev,relatime,user_id=999,group_id=999)
  746. /dev/sda2 on /mnt/boot-sav/sda2 type ext4 (rw,relatime,data=ordered)
  747. /dev/sda4 on /mnt/boot-sav/sda4 type ext4 (rw,relatime,data=ordered)
  748.  
  749.  
  750. =================== ls:
  751. /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 sda4 sda5 size slaves stat subsystem trace uevent
  752. /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
  753. /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
  754. /dev (filtered): autofs block bsg btrfs-control bus cdrom cdrw char console core cpu cpu_dma_latency cuse disk dri drm_dp_aux0 drm_dp_aux1 dvd dvdrw ecryptfs fb0 fd full fuse hpet hugepages hwrng i2c-0 i2c-1 i2c-2 i2c-3 i2c-4 i2c-5 i2c-6 i2c-7 initctl input kfd kmsg kvm lightnvm log mapper mcelog media0 mem memory_bandwidth mqueue net network_latency network_throughput null port ppp psaux ptmx pts random rfkill rtc rtc0 sda sda1 sda2 sda4 sda5 sdb sdb1 sg0 sg1 sg2 shm snapshot snd sr0 stderr stdin stdout uhid uinput urandom userio v4l vfio vga_arbiter vhci vhost-net vhost-vsock video0 zero
  755. ls /dev/mapper: control
  756.  
  757. =================== df -Th:
  758.  
  759. Filesystem Type Size Used Avail Use% Mounted on
  760. udev devtmpfs 3.4G 0 3.4G 0% /dev
  761. tmpfs tmpfs 692M 9.4M 683M 2% /run
  762. /dev/sdb iso9660 708M 708M 0 100% /cdrom
  763. /dev/loop0 squashfs 630M 630M 0 100% /rofs
  764. /cow overlay 3.4G 5.3M 3.4G 1% /
  765. tmpfs tmpfs 3.4G 0 3.4G 0% /dev/shm
  766. tmpfs tmpfs 5.0M 4.0K 5.0M 1% /run/lock
  767. tmpfs tmpfs 3.4G 0 3.4G 0% /sys/fs/cgroup
  768. tmpfs tmpfs 3.4G 4.0K 3.4G 1% /tmp
  769. tmpfs tmpfs 692M 4.0K 692M 1% /run/user/999
  770. /dev/sda2 ext4 416G 71M 394G 1% /mnt/boot-sav/sda2
  771. /dev/sda4 ext4 458G 26G 409G 6% /mnt/boot-sav/sda4
  772.  
  773. =================== fdisk -l:
  774. Disk /dev/loop0: 629.3 MiB, 659873792 bytes, 1288816 sectors
  775. Units: sectors of 1 * 512 = 512 bytes
  776. Sector size (logical/physical): 512 bytes / 512 bytes
  777. I/O size (minimum/optimal): 512 bytes / 512 bytes
  778.  
  779.  
  780. Disk /dev/sda: 931.5 GiB, 1000204886016 bytes, 1953525168 sectors
  781. Units: sectors of 1 * 512 = 512 bytes
  782. Sector size (logical/physical): 512 bytes / 4096 bytes
  783. I/O size (minimum/optimal): 4096 bytes / 4096 bytes
  784. Disklabel type: gpt
  785. Disk identifier: 4949B6BC-34C2-4F55-8409-D5413B3272EF
  786.  
  787. Device Start End Sectors Size Type
  788. /dev/sda1 1024002048 1066741759 42739712 20.4G BIOS boot
  789. /dev/sda2 1066741760 1953523711 886781952 422.9G Linux filesystem
  790. /dev/sda4 1161216 977723391 976562176 465.7G Linux filesystem
  791. /dev/sda5 977723392 1024002047 46278656 22.1G Linux swap
  792.  
  793. Partition table entries are not in disk order.
  794.  
  795.  
  796.  
  797.  
  798. Disk /dev/sdb: 1.8 GiB, 1931476992 bytes, 3772416 sectors
  799. Units: sectors of 1 * 512 = 512 bytes
  800. Sector size (logical/physical): 512 bytes / 512 bytes
  801. I/O size (minimum/optimal): 512 bytes / 512 bytes
  802. Disklabel type: dos
  803. Disk identifier: 0x6b8b4567
  804.  
  805. Device Boot Start End Sectors Size Id Type
  806. /dev/sdb1 * 0 1449983 1449984 708M 17 Hidden HPFS/NTFS
  807.  
  808.  
  809. Disk /dev/zram0: 864.9 MiB, 906919936 bytes, 221416 sectors
  810. Units: sectors of 1 * 4096 = 4096 bytes
  811. Sector size (logical/physical): 4096 bytes / 4096 bytes
  812. I/O size (minimum/optimal): 4096 bytes / 4096 bytes
  813.  
  814.  
  815. Disk /dev/zram1: 864.9 MiB, 906919936 bytes, 221416 sectors
  816. Units: sectors of 1 * 4096 = 4096 bytes
  817. Sector size (logical/physical): 4096 bytes / 4096 bytes
  818. I/O size (minimum/optimal): 4096 bytes / 4096 bytes
  819.  
  820.  
  821. Disk /dev/zram2: 864.9 MiB, 906919936 bytes, 221416 sectors
  822. Units: sectors of 1 * 4096 = 4096 bytes
  823. Sector size (logical/physical): 4096 bytes / 4096 bytes
  824. I/O size (minimum/optimal): 4096 bytes / 4096 bytes
  825.  
  826.  
  827. Disk /dev/zram3: 864.9 MiB, 906919936 bytes, 221416 sectors
  828. Units: sectors of 1 * 4096 = 4096 bytes
  829. Sector size (logical/physical): 4096 bytes / 4096 bytes
  830. I/O size (minimum/optimal): 4096 bytes / 4096 bytes
  831.  
  832.  
  833.  
  834.  
  835. =================== Default settings of Boot Repair
  836. The default repair of the Boot-Repair utility would reinstall the grub2 of sda4 into the MBR of sda.
  837. Additional repair would be performed: unhide-bootmenu-10s
  838.  
  839.  
  840. =================== User settings
  841. The settings chosen by the user will purge () and reinstall the grub2 of sda4 into the MBR of sda.
  842. Additional repair will be performed: unhide-bootmenu-10s
  843.  
  844.  
  845. chroot /mnt/boot-sav/sda4 apt-get -y update
  846. Purge the GRUB of sda4
  847. grub-pc available
  848.  
  849.  
  850. The following packages were automatically installed and are no longer required:
  851. dh-python dmz-cursor-theme efibootmgr ffmpegthumbnailer firefoxdriver
  852. fonts-open-sans geoip-database-extra gir1.2-mate-desktop glassfish-javaee
  853. gnome-themes-standard gnumeric gnumeric-common gnumeric-doc kio
  854. libapache2-mod-dnssd libappindicator1 libbabeltrace-ctf1
  855. libboost-python1.62.0 libbotan-1.10-1 libcdio17 libcodec2-0.7
  856. libcrypt-openssl-dsa-perl libdbusmenu-gtk4 libdns169 libefiboot1 libefivar1
  857. libfabric1 libffmpegthumbnailer4v5 libfile-copy-recursive-perl
  858. libfreerdp-cache1.1 libfreerdp-client1.1 libfreerdp-codec1.1
  859. libfreerdp-common1.1.0 libfreerdp-core1.1 libfreerdp-crypto1.1
  860. libfreerdp-gdi1.1 libfreerdp-locale1.1 libfreerdp-primitives1.1
  861. libfreerdp-utils1.1 libgcr-3-common libgdcm2.8 libgl2ps1.4 libgles2-mesa
  862. libglib2.0-dev libglib2.0-dev-bin libgltf-0.1-1 libgnome-desktop-3-12
  863. libgnuradio-analog3.7.11 libgnuradio-atsc3.7.11 libgnuradio-audio3.7.11
  864. libgnuradio-blocks3.7.11 libgnuradio-channels3.7.11 libgnuradio-comedi3.7.11
  865. libgnuradio-digital3.7.11 libgnuradio-dtv3.7.11 libgnuradio-fcd3.7.11
  866. libgnuradio-fec3.7.11 libgnuradio-fft3.7.11 libgnuradio-filter3.7.11
  867. libgnuradio-fosphor3.7.11 libgnuradio-noaa3.7.11 libgnuradio-pager3.7.11
  868. libgnuradio-pmt3.7.11 libgnuradio-qtgui3.7.11 libgnuradio-runtime3.7.11
  869. libgnuradio-trellis3.7.11 libgnuradio-uhd3.7.11 libgnuradio-video-sdl3.7.11
  870. libgnuradio-vocoder3.7.11 libgnuradio-wavelet3.7.11 libgnuradio-wxgui3.7.11
  871. libgnuradio-zeromq3.7.11 libgoffice-0.10-10 libgoffice-0.10-10-common
  872. libhdf5-openmpi-100 libhfstospell9 libhttp-parser2.7.1
  873. libhttp-server-simple-perl libindicator7 libisc166 libisl15 libjs-excanvas
  874. libjs-openlayers libkf5attica5 libkf5completion-data libkf5completion5
  875. libkf5doctools5 libkf5globalaccel-bin libkf5globalaccel-data
  876. libkf5globalaccel5 libkf5globalaccelprivate5 libkf5jobwidgets-data
  877. libkf5jobwidgets5 libkf5kiocore5 libkf5kiontlm5 libkf5kiowidgets5
  878. libkf5parts-data libkf5parts-plugins libkf5parts5 libkf5solid5
  879. libkf5solid5-data libkf5sonnet5-data libkf5sonnetcore5 libkf5sonnetui5
  880. libkf5textwidgets-data libkf5textwidgets5 libkf5xmlgui-bin libkf5xmlgui-data
  881. libkf5xmlgui5 libkpmcore6 liblept5 liblimesuite17.12-1 liblivemedia61
  882. libllvm5.0 libmagickcore-6.q16-3 libmagickcore-6.q16-3-extra
  883. libmagickwand-6.q16-3 libmime-base32-perl libmpfr4 libnetcdf-c++4 libnfs8
  884. libopencv-calib3d3.2 libopencv-contrib3.2 libopencv-core3.2
  885. libopencv-features2d3.2 libopencv-flann3.2 libopencv-highgui3.2
  886. libopencv-imgcodecs3.2 libopencv-imgproc3.2 libopencv-ml3.2
  887. libopencv-objdetect3.2 libopencv-photo3.2 libopencv-shape3.2
  888. libopencv-stitching3.2 libopencv-superres3.2 libopencv-video3.2
  889. libopencv-videoio3.2 libopencv-videostab3.2 libopencv-viz3.2 libopenexr22
  890. libopenmpi2 libopenmpi3 libopenobex2 liborcus-0.12-0 libpcre16-3
  891. libpcre3-dev libpcre32-3 libpcrecpp0v5 libplacebo2 libplacebo4 libpmix2
  892. libpoppler72 libpoppler73 libproj12 libpsm-infinipath1 libpsm2-2
  893. libqt5designercomponents5 libqt5multimediaquick-p5 libqt5quicktest5
  894. libqt5quickwidgets5 libqwt5-qt4 libradare2-2.1 libre2-3 librte-acl2
  895. librte-cfgfile2 librte-cmdline2 librte-cryptodev2 librte-distributor1
  896. librte-eal3 librte-ethdev5 librte-hash2 librte-ip-frag1 librte-jobstats1
  897. librte-kni2 librte-kvargs1 librte-lpm2 librte-mbuf2 librte-mempool2
  898. librte-meter1 librte-net1 librte-pdump1 librte-pipeline3
  899. librte-pmd-af-packet1 librte-pmd-bnxt1 librte-pmd-bond1 librte-pmd-cxgbe1
  900. librte-pmd-e1000-1 librte-pmd-ena1 librte-pmd-enic1 librte-pmd-fm10k1
  901. librte-pmd-i40e1 librte-pmd-ixgbe1 librte-pmd-null-crypto1 librte-pmd-null1
  902. librte-pmd-pcap1 librte-pmd-qede1 librte-pmd-ring2
  903. librte-pmd-thunderx-nicvf1 librte-pmd-vhost1 librte-pmd-virtio1
  904. librte-pmd-vmxnet3-uio1 librte-pmd-xenvirt1 librte-port3 librte-power1
  905. librte-reorder1 librte-ring1 librte-sched1 librte-table2 librte-timer1
  906. librte-vhost3 libruby2.3 libsocket++1 libsrtp0 libsynctex1 libtbb2 libtcl8.5
  907. libtelepathy-glib0 libtesseract4 libtk8.5 libtomoyotools3 libuhd003.010.002
  908. libuhd003.010.003 libvoikko1 libvolk1.3 libvpx4 libvtk6.3 libwinpr-crt0.1
  909. libwinpr-crypto0.1 libwinpr-dsparse0.1 libwinpr-environment0.1
  910. libwinpr-file0.1 libwinpr-handle0.1 libwinpr-heap0.1 libwinpr-input0.1
  911. libwinpr-interlocked0.1 libwinpr-library0.1 libwinpr-path0.1
  912. libwinpr-pool0.1 libwinpr-registry0.1 libwinpr-rpc0.1 libwinpr-sspi0.1
  913. libwinpr-synch0.1 libwinpr-sysinfo0.1 libwinpr-thread0.1 libwinpr-utils0.1
  914. libwireshark10 libwiretap7 libwscodecs1 libwsutil8 libwww-mechanize-perl
  915. libx265-146 libx265-151 libxfont1 libyaml-cpp0.5v5
  916. linux-headers-4.14.0-parrot13-amd64 linux-headers-4.14.0-parrot13-common
  917. linux-image-4.14.0-parrot13-amd64 linux-kbuild-4.14 mate-backgrounds
  918. mate-user-share mate-user-share-common media-player-info obex-data-server
  919. openmpi-bin openmpi-common php7.0-mysql pxlib1 python-functools32
  920. python-unicodecsv qbs-common qml-module-qtqml-models2 qmlscene qt3d5-doc
  921. qt5-assistant qt5-doc qtbase5-dev-tools qtbase5-doc qtcharts5-doc
  922. qtconnectivity5-doc qtcreator-data qtcreator-doc qtdeclarative5-dev-tools
  923. qtdeclarative5-doc qtgraphicaleffects5-doc qtlocation5-doc qtmultimedia5-doc
  924. qtquickcontrols2-5-doc qtquickcontrols5-doc qtscript5-doc qtsensors5-doc
  925. qtserialport5-doc qtsvg5-doc qttools5-doc qtvirtualkeyboard5-doc
  926. qtwayland5-doc qtwebchannel5-doc qtwebengine5-doc qtwebkit5-doc
  927. qtwebkit5-examples-doc qtwebsockets5-doc qtwebview5-doc qtx11extras5-doc
  928. qtxmlpatterns5-dev-tools qtxmlpatterns5-doc ruby-colorize ruby-em-proxy
  929. ruby-net-dns ruby-network-interface ruby-packetfu ruby-pcaprub ruby2.3
  930. ruby2.3-dev sonnet-plugins tk8.5 xul-ext-noscript xul-ext-useragentswitcher
  931. Use 'sudo apt autoremove' to remove them.
  932. 0 upgraded, 0 newly installed, 1 reinstalled, 0 to remove and 557 not upgraded.
  933. DEBCHECK debOK, grub-pc
  934. DEBCHECK debOK
  935. shim-signed available
  936. Please type: sudo chroot "/mnt/boot-sav/sda4" dpkg --configure -ansudo chroot "/mnt/boot-sav/sda4" apt-get install -fynsudo chroot "/mnt/boot-sav/sda4" apt-get purge -y grub*-common grub-common:i386 shim-signed
  937.  
  938. =================== /etc/grub.d/ :
  939. drwxr-xr-x 2 root root 204 Oct 17 2017 grub.d
  940. total 58
  941. -rwxr-xr-x 1 root root 9783 Oct 12 2017 00_header
  942. -rwxr-xr-x 1 root root 6258 Apr 24 2017 05_debian_theme
  943. -rwxr-xr-x 1 root root 12676 Oct 12 2017 10_linux
  944. -rwxr-xr-x 1 root root 11281 Oct 12 2017 20_linux_xen
  945. -rwxr-xr-x 1 root root 1992 Jan 28 2016 20_memtest86+
  946. -rwxr-xr-x 1 root root 12059 Oct 12 2017 30_os-prober
  947. -rwxr-xr-x 1 root root 1418 Oct 12 2017 30_uefi-firmware
  948. -rwxr-xr-x 1 root root 214 Oct 12 2017 40_custom
  949. -rwxr-xr-x 1 root root 216 Oct 12 2017 41_custom
  950. -rw-r--r-- 1 root root 483 Oct 12 2017 README
  951.  
  952.  
  953.  
  954.  
  955. =================== /etc/default/grub :
  956.  
  957. # If you change this file, run 'update-grub' afterwards to update
  958. # /boot/grub/grub.cfg.
  959. # For full documentation of the options in this file, see:
  960. # info -f grub -n 'Simple configuration'
  961.  
  962. GRUB_DEFAULT=0
  963. GRUB_HIDDEN_TIMEOUT=0
  964. GRUB_HIDDEN_TIMEOUT_QUIET=true
  965. GRUB_TIMEOUT=10
  966. GRUB_DISTRIBUTOR=`lsb_release -i -s 2> /dev/null || echo Debian`
  967. GRUB_CMDLINE_LINUX_DEFAULT="quiet splash"
  968. GRUB_CMDLINE_LINUX=""
  969.  
  970. # Uncomment to enable BadRAM filtering, modify to suit your needs
  971. # This works with Linux (no patch required) and with any kernel that obtains
  972. # the memory map information from GRUB (GNU Mach, kernel of FreeBSD ...)
  973. #GRUB_BADRAM="0x01234567,0xfefefefe,0x89abcdef,0xefefefef"
  974.  
  975. # Uncomment to disable graphical terminal (grub-pc only)
  976. #GRUB_TERMINAL=console
  977.  
  978. # The resolution used on graphical terminal
  979. # note that you can use only modes which your graphic card supports via VBE
  980. # you can see them in real GRUB with the command `vbeinfo'
  981. #GRUB_GFXMODE=640x480
  982.  
  983. # Uncomment if you don't want GRUB to pass "root=UUID=xxx" parameter to Linux
  984. #GRUB_DISABLE_LINUX_UUID=true
  985.  
  986. # Uncomment to disable generation of recovery mode menu entries
  987. #GRUB_DISABLE_RECOVERY="true"
  988.  
  989. # Uncomment to get a beep at grub start
  990. #GRUB_INIT_TUNE="480 440 1"
  991.  
  992.  
  993.  
  994. =================== No kernel in /boot:
  995. System.map-4.13.0-16-generic
  996. abi-4.13.0-16-generic
  997. config-4.13.0-16-generic
  998. grub
  999. initrd.img-4.13.0-16-generic
  1000. memtest86+.bin
  1001. memtest86+.elf
  1002. memtest86+_multiboot.bin
  1003.  
  1004.  
  1005. Then type: sudo chroot "/mnt/boot-sav/sda4" apt-get install -y grub-pc
  1006.  
  1007. =================== sda4/etc/grub.d/ :
  1008. drwxr-xr-x 2 root root 4096 Jul 30 01:55 grub.d
  1009. total 76
  1010. -rwxr-xr-x 1 root root 9783 Apr 1 09:49 00_header
  1011. -rwxr-xr-x 1 root root 6258 Mar 16 11:56 05_debian_theme
  1012. -rwxr-xr-x 1 root root 12442 Apr 1 09:49 10_linux
  1013. -rwxr-xr-x 1 root root 11298 Apr 1 09:49 20_linux_xen
  1014. -rwxr-xr-x 1 root root 12059 Apr 1 09:49 30_os-prober
  1015. -rwxr-xr-x 1 root root 1418 Apr 1 09:49 30_uefi-firmware
  1016. -rwxr-xr-x 1 root root 214 Apr 1 09:49 40_custom
  1017. -rwxr-xr-x 1 root root 216 Apr 1 09:49 41_custom
  1018. -rw-r--r-- 1 root root 483 Apr 1 09:49 README
  1019.  
  1020.  
  1021.  
  1022.  
  1023. =================== sda4/etc/default/grub :
  1024.  
  1025. # If you change this file, run 'update-grub' afterwards to update
  1026. # /boot/grub/grub.cfg.
  1027. # For full documentation of the options in this file, see:
  1028. # info -f grub -n 'Simple configuration'
  1029.  
  1030. GRUB_DEFAULT=0
  1031. GRUB_TIMEOUT=5
  1032. GRUB_DISTRIBUTOR=`lsb_release -i -s 2> /dev/null || echo Debian`
  1033. GRUB_CMDLINE_LINUX_DEFAULT="quiet"
  1034. GRUB_CMDLINE_LINUX="quiet splash noautomount"
  1035.  
  1036. # Uncomment to enable BadRAM filtering, modify to suit your needs
  1037. # This works with Linux (no patch required) and with any kernel that obtains
  1038. # the memory map information from GRUB (GNU Mach, kernel of FreeBSD ...)
  1039. #GRUB_BADRAM="0x01234567,0xfefefefe,0x89abcdef,0xefefefef"
  1040.  
  1041. # Uncomment to disable graphical terminal (grub-pc only)
  1042. #GRUB_TERMINAL=console
  1043.  
  1044. # The resolution used on graphical terminal
  1045. # note that you can use only modes which your graphic card supports via VBE
  1046. # you can see them in real GRUB with the command `vbeinfo'
  1047. #GRUB_GFXMODE=640x480
  1048.  
  1049. # Uncomment if you don't want GRUB to pass "root=UUID=xxx" parameter to Linux
  1050. #GRUB_DISABLE_LINUX_UUID=true
  1051.  
  1052. # Uncomment to disable generation of recovery mode menu entries
  1053. #GRUB_DISABLE_RECOVERY="true"
  1054.  
  1055. # Uncomment to get a beep at grub start
  1056. #GRUB_INIT_TUNE="480 440 1"
  1057.  
  1058.  
  1059.  
  1060.  
  1061. =================== /etc/grub.d/ :
  1062. drwxr-xr-x 2 root root 204 Oct 17 2017 grub.d
  1063. total 58
  1064. -rwxr-xr-x 1 root root 9783 Oct 12 2017 00_header
  1065. -rwxr-xr-x 1 root root 6258 Apr 24 2017 05_debian_theme
  1066. -rwxr-xr-x 1 root root 12676 Oct 12 2017 10_linux
  1067. -rwxr-xr-x 1 root root 11281 Oct 12 2017 20_linux_xen
  1068. -rwxr-xr-x 1 root root 1992 Jan 28 2016 20_memtest86+
  1069. -rwxr-xr-x 1 root root 12059 Oct 12 2017 30_os-prober
  1070. -rwxr-xr-x 1 root root 1418 Oct 12 2017 30_uefi-firmware
  1071. -rwxr-xr-x 1 root root 214 Oct 12 2017 40_custom
  1072. -rwxr-xr-x 1 root root 216 Oct 12 2017 41_custom
  1073. -rw-r--r-- 1 root root 483 Oct 12 2017 README
  1074.  
  1075.  
  1076.  
  1077.  
  1078. =================== /etc/default/grub :
  1079.  
  1080. # If you change this file, run 'update-grub' afterwards to update
  1081. # /boot/grub/grub.cfg.
  1082. # For full documentation of the options in this file, see:
  1083. # info -f grub -n 'Simple configuration'
  1084.  
  1085. GRUB_DEFAULT=0
  1086. GRUB_HIDDEN_TIMEOUT=0
  1087. GRUB_HIDDEN_TIMEOUT_QUIET=true
  1088. GRUB_TIMEOUT=10
  1089. GRUB_DISTRIBUTOR=`lsb_release -i -s 2> /dev/null || echo Debian`
  1090. GRUB_CMDLINE_LINUX_DEFAULT="quiet splash"
  1091. GRUB_CMDLINE_LINUX=""
  1092.  
  1093. # Uncomment to enable BadRAM filtering, modify to suit your needs
  1094. # This works with Linux (no patch required) and with any kernel that obtains
  1095. # the memory map information from GRUB (GNU Mach, kernel of FreeBSD ...)
  1096. #GRUB_BADRAM="0x01234567,0xfefefefe,0x89abcdef,0xefefefef"
  1097.  
  1098. # Uncomment to disable graphical terminal (grub-pc only)
  1099. #GRUB_TERMINAL=console
  1100.  
  1101. # The resolution used on graphical terminal
  1102. # note that you can use only modes which your graphic card supports via VBE
  1103. # you can see them in real GRUB with the command `vbeinfo'
  1104. #GRUB_GFXMODE=640x480
  1105.  
  1106. # Uncomment if you don't want GRUB to pass "root=UUID=xxx" parameter to Linux
  1107. #GRUB_DISABLE_LINUX_UUID=true
  1108.  
  1109. # Uncomment to disable generation of recovery mode menu entries
  1110. #GRUB_DISABLE_RECOVERY="true"
  1111.  
  1112. # Uncomment to get a beep at grub start
  1113. #GRUB_INIT_TUNE="480 440 1"
  1114.  
  1115.  
  1116.  
  1117. =================== No kernel in /boot:
  1118. System.map-4.13.0-16-generic
  1119. abi-4.13.0-16-generic
  1120. config-4.13.0-16-generic
  1121. grub
  1122. initrd.img-4.13.0-16-generic
  1123. memtest86+.bin
  1124. memtest86+.elf
  1125. memtest86+_multiboot.bin
  1126.  
  1127.  
  1128. Unhide GRUB boot menu in sda4/etc/default/grub
  1129. Unhide GRUB boot menu in sda1/etc/default/grub
  1130.  
  1131. =================== sda4/etc/grub.d/ :
  1132. drwxr-xr-x 2 root root 4096 Jul 30 01:55 grub.d
  1133. total 76
  1134. -rwxr-xr-x 1 root root 9783 Apr 1 09:49 00_header
  1135. -rwxr-xr-x 1 root root 6258 Mar 16 11:56 05_debian_theme
  1136. -rwxr-xr-x 1 root root 12442 Apr 1 09:49 10_linux
  1137. -rwxr-xr-x 1 root root 11298 Apr 1 09:49 20_linux_xen
  1138. -rwxr-xr-x 1 root root 12059 Apr 1 09:49 30_os-prober
  1139. -rwxr-xr-x 1 root root 1418 Apr 1 09:49 30_uefi-firmware
  1140. -rwxr-xr-x 1 root root 214 Apr 1 09:49 40_custom
  1141. -rwxr-xr-x 1 root root 216 Apr 1 09:49 41_custom
  1142. -rw-r--r-- 1 root root 483 Apr 1 09:49 README
  1143.  
  1144.  
  1145.  
  1146.  
  1147. =================== sda4/etc/default/grub :
  1148.  
  1149. # If you change this file, run 'update-grub' afterwards to update
  1150. # /boot/grub/grub.cfg.
  1151. # For full documentation of the options in this file, see:
  1152. # info -f grub -n 'Simple configuration'
  1153.  
  1154. GRUB_DEFAULT=0
  1155. GRUB_TIMEOUT=10
  1156. GRUB_DISTRIBUTOR=`lsb_release -i -s 2> /dev/null || echo Debian`
  1157. GRUB_CMDLINE_LINUX_DEFAULT="quiet"
  1158. GRUB_CMDLINE_LINUX="quiet splash noautomount"
  1159.  
  1160. # Uncomment to enable BadRAM filtering, modify to suit your needs
  1161. # This works with Linux (no patch required) and with any kernel that obtains
  1162. # the memory map information from GRUB (GNU Mach, kernel of FreeBSD ...)
  1163. #GRUB_BADRAM="0x01234567,0xfefefefe,0x89abcdef,0xefefefef"
  1164.  
  1165. # Uncomment to disable graphical terminal (grub-pc only)
  1166. #GRUB_TERMINAL=console
  1167.  
  1168. # The resolution used on graphical terminal
  1169. # note that you can use only modes which your graphic card supports via VBE
  1170. # you can see them in real GRUB with the command `vbeinfo'
  1171. #GRUB_GFXMODE=640x480
  1172.  
  1173. # Uncomment if you don't want GRUB to pass "root=UUID=xxx" parameter to Linux
  1174. #GRUB_DISABLE_LINUX_UUID=true
  1175.  
  1176. # Uncomment to disable generation of recovery mode menu entries
  1177. #GRUB_DISABLE_RECOVERY="true"
  1178.  
  1179. # Uncomment to get a beep at grub start
  1180. #GRUB_INIT_TUNE="480 440 1"
  1181.  
  1182.  
  1183.  
  1184.  
  1185. =================== /etc/grub.d/ :
  1186. drwxr-xr-x 2 root root 204 Oct 17 2017 grub.d
  1187. total 58
  1188. -rwxr-xr-x 1 root root 9783 Oct 12 2017 00_header
  1189. -rwxr-xr-x 1 root root 6258 Apr 24 2017 05_debian_theme
  1190. -rwxr-xr-x 1 root root 12676 Oct 12 2017 10_linux
  1191. -rwxr-xr-x 1 root root 11281 Oct 12 2017 20_linux_xen
  1192. -rwxr-xr-x 1 root root 1992 Jan 28 2016 20_memtest86+
  1193. -rwxr-xr-x 1 root root 12059 Oct 12 2017 30_os-prober
  1194. -rwxr-xr-x 1 root root 1418 Oct 12 2017 30_uefi-firmware
  1195. -rwxr-xr-x 1 root root 214 Oct 12 2017 40_custom
  1196. -rwxr-xr-x 1 root root 216 Oct 12 2017 41_custom
  1197. -rw-r--r-- 1 root root 483 Oct 12 2017 README
  1198.  
  1199.  
  1200.  
  1201.  
  1202. =================== /etc/default/grub :
  1203.  
  1204. # If you change this file, run 'update-grub' afterwards to update
  1205. # /boot/grub/grub.cfg.
  1206. # For full documentation of the options in this file, see:
  1207. # info -f grub -n 'Simple configuration'
  1208.  
  1209. GRUB_DEFAULT=0
  1210. #GRUB_HIDDEN_TIMEOUT=0
  1211. GRUB_HIDDEN_TIMEOUT_QUIET=true
  1212. GRUB_TIMEOUT=10
  1213. GRUB_DISTRIBUTOR=`lsb_release -i -s 2> /dev/null || echo Debian`
  1214. GRUB_CMDLINE_LINUX_DEFAULT="quiet splash"
  1215. GRUB_CMDLINE_LINUX=""
  1216.  
  1217. # Uncomment to enable BadRAM filtering, modify to suit your needs
  1218. # This works with Linux (no patch required) and with any kernel that obtains
  1219. # the memory map information from GRUB (GNU Mach, kernel of FreeBSD ...)
  1220. #GRUB_BADRAM="0x01234567,0xfefefefe,0x89abcdef,0xefefefef"
  1221.  
  1222. # Uncomment to disable graphical terminal (grub-pc only)
  1223. #GRUB_TERMINAL=console
  1224.  
  1225. # The resolution used on graphical terminal
  1226. # note that you can use only modes which your graphic card supports via VBE
  1227. # you can see them in real GRUB with the command `vbeinfo'
  1228. #GRUB_GFXMODE=640x480
  1229.  
  1230. # Uncomment if you don't want GRUB to pass "root=UUID=xxx" parameter to Linux
  1231. #GRUB_DISABLE_LINUX_UUID=true
  1232.  
  1233. # Uncomment to disable generation of recovery mode menu entries
  1234. #GRUB_DISABLE_RECOVERY="true"
  1235.  
  1236. # Uncomment to get a beep at grub start
  1237. #GRUB_INIT_TUNE="480 440 1"
  1238.  
  1239.  
  1240.  
  1241. =================== No kernel in /boot:
  1242. System.map-4.13.0-16-generic
  1243. abi-4.13.0-16-generic
  1244. config-4.13.0-16-generic
  1245. grub
  1246. initrd.img-4.13.0-16-generic
  1247. memtest86+.bin
  1248. memtest86+.elf
  1249. memtest86+_multiboot.bin
  1250.  
  1251.  
  1252. lspci: Unable to load libkmod resources: error -12
  1253.  
  1254. *******lspci -nnk | grep -iA3 vga
  1255. 00:01.0 VGA compatible controller [0300]: Advanced Micro Devices, Inc. [AMD/ATI] Kaveri [Radeon R6 Graphics] [1002:130d]
  1256. Subsystem: ASUSTeK Computer Inc. Kaveri [Radeon R6 Graphics] [1043:17fd]
  1257. Kernel driver in use: radeon
  1258. 00:01.1 Audio device [0403]: Advanced Micro Devices, Inc. [AMD/ATI] Kaveri HDMI/DP Audio Controller [1002:1308]
  1259. *******
  1260.  
  1261. grub-install --version
  1262. grub-install (GRUB) 2.02+dfsg1-4,grub-install (GRUB) 2.
  1263.  
  1264. Reinstall the GRUB of sda4 into the MBR of sda
  1265. Installing for i386-pc platform.
  1266. Installation finished. No error reported.
  1267. grub-install /dev/sda: exit code of grub-install /dev/sda:0
  1268.  
  1269. chroot /mnt/boot-sav/sda4 update-grub
  1270. Generating grub configuration file ...
  1271. Found background image: /usr/share/images/desktop-base/desktop-grub.png
  1272. Found linux image: /boot/vmlinuz-4.16.0-parrot16-amd64
  1273. Found initrd image: /boot/initrd.img-4.16.0-parrot16-amd64
  1274. Found linux image: /boot/vmlinuz-4.16.0-parrot5-amd64
  1275. Found initrd image: /boot/initrd.img-4.16.0-parrot5-amd64
  1276. Found linux image: /boot/vmlinuz-4.14.0-parrot13-amd64
  1277. Found initrd image: /boot/initrd.img-4.14.0-parrot13-amd64
  1278. File descriptor 8 (/proc/1294/mountinfo) leaked on lvs invocation. Parent PID 14818: /bin/sh
  1279. File descriptor 63 (pipe:[34464]) leaked on lvs invocation. Parent PID 14818: /bin/sh
  1280. WARNING: Failed to connect to lvmetad. Falling back to device scanning.
  1281. Unhide GRUB boot menu in sda4/boot/grub/grub.cfg
  1282.  
  1283. Boot successfully repaired.
  1284.  
  1285. You can now reboot your computer.
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement