1. boot-repair-4ppa125 [20210728_1515]
  2. ============================== Boot Info Summary ===============================
  3. => Grub2 (v2.00) is installed in the MBR of /dev/sda and looks at sector 1 of
  4. the same hard drive for core.img. core.img is at this location and looks
  5. for (,msdos1)/boot/grub. It also embeds following components:
  6. modules
  7. ---------------------------------------------------------------------------
  8. fshelp ext2 part_msdos biosdisk
  9. ---------------------------------------------------------------------------
  10. => Windows Vista is installed in the MBR of /dev/sdb.
  11. sda1: __________________________________________________________________________
  12. File system: ext4
  13. Boot sector type: -
  14. Boot sector info:
  15. Operating System: Linux Mint 19.3
  16. Boot files: /boot/grub/grub.cfg /etc/fstab /etc/default/grub
  17. /boot/grub/i386-pc/core.img
  18. sda2: __________________________________________________________________________
  19. File system: Extended Partition
  20. Boot sector type: Unknown
  21. Boot sector info:
  22. sda5: __________________________________________________________________________
  23. File system: swap
  24. Boot sector type: -
  25. Boot sector info:
  26. sda6: __________________________________________________________________________
  27. File system: ext4
  28. Boot sector type: -
  29. Boot sector info:
  30. Operating System:
  31. Boot files:
  32. sdb1: __________________________________________________________________________
  33. File system: ntfs
  34. Boot sector type: Windows Vista: NTFS
  35. Boot sector info: No errors found in the Boot Parameter Block.
  36. Operating System: Windows 8 or 10
  37. Boot files: /bootmgr /Boot/BCD /Windows/System32/winload.exe
  38. ================================ 2 OS detected =================================
  39. OS#1: Linux Mint 19.3 Tricia (19.3) on sda1
  40. OS#2: Windows Vista on sdb1
  41. ============================ Architecture/Host Info ============================
  42. CPU architecture: 64-bit
  43. Live-session OS is Linuxmint 64-bit (Linux Mint 20.1, ulyssa, x86_64)
  44. ===================================== UEFI =====================================
  45. This live-session is not in EFI-mode.
  46. ============================= Drive/Partition Info =============================
  47. Disks info: ____________________________________________________________________
  48. sda : notGPT, no-BIOSboot, has-noESP, not-usb, not-mmc, has-os, 2048 sectors * 512 bytes
  49. sdb : notGPT, no-BIOSboot, has-noESP, not-usb, not-mmc, has-os, 2048 sectors * 512 bytes
  50. Partitions info (1/3): _________________________________________________________
  51. sda1 : is-os, 64, apt-get, grub-pc , grub2, grub-install, grubenv-ok, update-grub, not-far
  52. sda6 : no-os, 32, nopakmgr, no-docgrub, nogrub, nogrubinstall, no-grubenv, noupdategrub, farbios
  53. sdb1 : is-os, 32, nopakmgr, no-docgrub, nogrub, nogrubinstall, no-grubenv, noupdategrub, farbios
  54. Partitions info (2/3): _________________________________________________________
  55. sda1 : isnotESP, fstab-without-efi, no-nt, no-winload, no-recov-nor-hid, no-bmgr, notwinboot
  56. sda6 : isnotESP, part-has-no-fstab, no-nt, no-winload, no-recov-nor-hid, no-bmgr, notwinboot
  57. sdb1 : isnotESP, part-has-no-fstab, no-nt, haswinload, no-recov-nor-hid, bootmgr, is-winboot
  58. Partitions info (3/3): _________________________________________________________
  59. sda1 : not-sepboot, with-boot, fstab-without-boot, not-sep-usr, with--usr, fstab-without-usr, std-grub.d, sda
  60. sda6 : maybesepboot, no-boot, part-has-no-fstab, not-sep-usr, no---usr, part-has-no-fstab, std-grub.d, sda
  61. sdb1 : not-sepboot, no-boot, part-has-no-fstab, not-sep-usr, no---usr, part-has-no-fstab, std-grub.d, sdb
  62. fdisk -l (filtered): ___________________________________________________________
  63. Disk sda: 931.53 GiB, 1000204886016 bytes, 1953525168 sectors
  64. Disk identifier: 0x7095d830
  65. Boot Start End Sectors Size Id Type
  66. sda1 * 2048 39063551 39061504 18.6G 83 Linux
  67. sda2 39065598 1953523711 1914458114 912.9G 5 Extended
  68. sda5 39065600 58595327 19529728 9.3G 82 Linux swap / Solaris
  69. sda6 58597376 1953523711 1894926336 903.6G 83 Linux
  70. Disk sdb: 232.91 GiB, 250059350016 bytes, 488397168 sectors
  71. Disk identifier: 0xca017d3f
  72. Boot Start End Sectors Size Id Type
  73. sdb1 * 2048 488396799 488394752 232.9G 7 HPFS/NTFS/exFAT
  74. parted -lm (filtered): _________________________________________________________
  75. sda:1000GB:scsi:512:4096:msdos:ATA TOSHIBA HDWD110:;
  76. 1:1049kB:20.0GB:20.0GB:ext4::boot;
  77. 2:20.0GB:1000GB:980GB:::;
  78. 5:20.0GB:30.0GB:9999MB:linux-swap(v1)::;
  79. 6:30.0GB:1000GB:970GB:ext4::;
  80. sdb:250GB:scsi:512:512:msdos:ATA ST3250620NS:;
  81. 1:1049kB:250GB:250GB:ntfs::boot;
  82. sr0:2064MB:scsi:2048:2048:mac:LITE-ON DVDRW LH-20A1S:;
  83. 1:2048B:6143B:4096B::Apple:;
  84. 2:311kB:4375kB:4063kB::EFI:;
  85. blkid (filtered): ______________________________________________________________
  86. NAME FSTYPE UUID PARTUUID LABEL PARTLABEL
  87. sda
  88. ├─sda1 ext4 b9978085-029b-4617-9ebe-78d7a9d2458f 7095d830-01
  89. ├─sda2 7095d830-02
  90. ├─sda5 swap 388c9a52-dbea-4906-8999-62403a098177 7095d830-05
  91. └─sda6 ext4 5a15966a-7387-42ba-8c2e-4d97010b4e0e 7095d830-06
  92. sdb
  93. └─sdb1 ntfs 2AEA1F41EA1F0929 ca017d3f-01
  94. df (filtered): _________________________________________________________________
  95. Avail Use% Mounted on
  96. sda1 2G 84% /media/mint/b9978085-029b-4617-9ebe-78d7a9d2458f
  97. sda6 611.9G 26% /mnt/boot-sav/sda6
  98. sdb1 201.6G 13% /mnt/boot-sav/sdb1
  99. Mount options: __________________________________________________________________
  100. sda1 rw,nosuid,nodev,relatime
  101. sda6 rw,relatime
  102. sdb1 rw,relatime,user_id=0,group_id=0,allow_other,blksize=4096
  103. ====================== sda1/boot/grub/grub.cfg (filtered) ======================
  104. Linux Mint 19.3 MATE b9978085-029b-4617-9ebe-78d7a9d2458f
  105. Linux Mint 19.3 MATE, mit Linux 4.15.0-151-generic b9978085-029b-4617-9ebe-78d7a9d2458f
  106. Linux Mint 19.3 MATE, mit Linux 4.15.0-147-generic b9978085-029b-4617-9ebe-78d7a9d2458f
  107. ### END /etc/grub.d/30_os-prober ###
  108. ### END /etc/grub.d/30_uefi-firmware ###
  109. ========================== sda1/etc/fstab (filtered) ===========================
  110. # <file system> <mount point> <type> <options> <dump> <pass>
  111. # / was on /dev/sda1 during installation
  112. UUID=b9978085-029b-4617-9ebe-78d7a9d2458f / ext4 errors=remount-ro 0 1
  113. # /home was on /dev/sda6 during installation
  114. UUID=5a15966a-7387-42ba-8c2e-4d97010b4e0e /home ext4 defaults 0 2
  115. # swap was on /dev/sda5 during installation
  116. UUID=388c9a52-dbea-4906-8999-62403a098177 none swap sw 0 0
  117. ======================= sda1/etc/default/grub (filtered) =======================
  118. GRUB_DEFAULT="0"
  119. GRUB_TIMEOUT_STYLE=menu
  120. GRUB_TIMEOUT="6"
  121. GRUB_DISTRIBUTOR="`lsb_release -i -s 2> /dev/null || echo Debian`"
  122. GRUB_CMDLINE_LINUX_DEFAULT="quiet splash log_buf_len=1M"
  123. GRUB_CMDLINE_LINUX=""
  124. ==================== sda1: Location of files loaded by Grub ====================
  125. GiB - GB File Fragment(s)
  126. 5.132747650 = 5.511245824 boot/grub/grub.cfg 1
  127. 7.753273010 = 8.325013504 boot/grub/i386-pc/core.img 1
  128. 5.986999512 = 6.428491776 boot/vmlinuz-4.15.0-147-generic 5
  129. 18.485408783 = 19.848556544 boot/vmlinuz-4.15.0-151-generic 2
  130. 18.485408783 = 19.848556544 vmlinuz 2
  131. 5.986999512 = 6.428491776 vmlinuz.old 5
  132. 18.049350739 = 19.380342784 boot/initrd.img-4.15.0-147-generic 76
  133. 3.805660248 = 4.086296576 boot/initrd.img-4.15.0-151-generic 11
  134. 3.805660248 = 4.086296576 initrd.img 11
  135. 18.049350739 = 19.380342784 initrd.img.old 76
  136. ===================== sda1: ls -l /etc/grub.d/ (filtered) ======================
  137. -rwxr-xr-x 1 root root 1180 Oct 25 2014 06_mint_theme
  138. -rwxr-xr-x 1 root root 12808 Aug 24 2020 10_linux
  139. -rwxr-xr-x 1 root root 12269 May 30 2020 10_linux.dpkg-old
  140. -rwxr-xr-x 1 root root 10634 Oct 1 2012 10_lupin
  141. -rwxr-xr-x 1 root root 11298 Mar 11 2020 20_linux_xen
  142. -rwxr-xr-x 1 root root 12059 Mar 11 2020 30_os-prober
  143. -rwxr-xr-x 1 root root 1418 Jul 23 2016 30_uefi-firmware
  144. -rwxr-xr-x 1 root root 214 Jul 23 2016 40_custom
  145. -rwxr-xr-x 1 root root 216 Jul 23 2016 41_custom
  146. drwxr-xr-x 4 root root 4096 Jul 10 18:55 backup
  147. ======================== sda1/etc/grub.d/06_mint_theme =========================
  148. #!/bin/sh
  149. set -e
  150. . /usr/lib/grub/grub-mkconfig_lib
  151. set_mono_theme()
  152. {
  153. cat << EOF
  154. set menu_color_normal=white/black
  155. set menu_color_highlight=white/light-gray
  156. EOF
  157. }
  158. # check for usable backgrounds
  159. use_bg=false
  160. #if [ "$GRUB_TERMINAL_OUTPUT" = "gfxterm" ] ; then
  161. # for i in {/boot/grub,/usr/share/images/desktop-base}/linuxmint.{png,tga} ; do
  162. # if is_path_readable_by_grub $i ; then
  163. # bg=$i
  164. # case ${bg} in
  165. # *.png) reader=png ;;
  166. # *.tga) reader=tga ;;
  167. # *.jpg|*.jpeg) reader=jpeg ;;
  168. # esac
  169. # if test -e /boot/grub/${reader}.mod ; then
  170. # echo "Found Debian background: `basename ${bg}`" >&2
  171. # #use_bg=true
  172. # break
  173. # fi
  174. # fi
  175. # done
  176. #fi
  177. # set the background if possible
  178. #if ${use_bg} ; then
  179. # prepare_grub_to_access_device `${grub_probe} --target=device ${bg}`
  180. # cat << EOF
  181. #insmod ${reader}
  182. #if background_image `make_system_path_relative_to_its_root ${bg}` ; then
  183. # set color_normal=white/black
  184. # set color_highlight=white/light-gray
  185. #else
  186. #EOF
  187. #fi
  188. # otherwise, set a monochromatic theme for Ubuntu
  189. #if ${use_bg} ; then
  190. # set_mono_theme | sed -e "s/^/ /g"
  191. # echo "fi"
  192. #else
  193. set_mono_theme
  194. #fi
  195. =========================== sda1/etc/grub.d/10_lupin ===========================
  196. #! /bin/sh
  197. set -e
  198. # grub-mkconfig helper script for lupin. Some of this is based on 10_linux,
  199. # but with irrelevant bits removed and the rest extended to cope with
  200. # loopback mounts.
  201. #
  202. # Copyright (C) 2006,2007,2008,2009,2010 Free Software Foundation, Inc.
  203. # Copyright (C) 2009 Canonical Ltd.
  204. #
  205. # GRUB is free software: you can redistribute it and/or modify
  206. # it under the terms of the GNU General Public License as published by
  207. # the Free Software Foundation, either version 3 of the License, or
  208. # (at your option) any later version.
  209. #
  210. # GRUB is distributed in the hope that it will be useful,
  211. # but WITHOUT ANY WARRANTY; without even the implied warranty of
  212. # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
  213. # GNU General Public License for more details.
  214. #
  215. # You should have received a copy of the GNU General Public License
  216. # along with GRUB. If not, see <http://www.gnu.org/licenses/>.
  217. prefix="/usr"
  218. exec_prefix="${prefix}"
  219. datarootdir="${prefix}/share"
  220. . "${datarootdir}/grub/grub-mkconfig_lib"
  221. export TEXTDOMAIN=grub
  222. export TEXTDOMAINDIR="${datarootdir}/locale"
  223. CLASS="--class gnu-linux --class gnu --class os"
  224. if [ "x${GRUB_DISTRIBUTOR}" = "x" ] ; then
  225. OS=GNU/Linux
  226. else
  227. OS="${GRUB_DISTRIBUTOR}"
  228. CLASS="--class $(echo ${GRUB_DISTRIBUTOR} | tr 'A-Z' 'a-z' | cut -d' ' -f1) ${CLASS}"
  229. fi
  230. case ${GRUB_DEVICE} in
  231. /dev/loop/*|/dev/loop[0-9])
  232. loop_file=`losetup ${GRUB_DEVICE} | sed -e "s/^[^(]*(\([^)]\+\)).*/\1/"`
  233. ;;
  234. esac
  235. # Is the root filesystem loop-mounted from a file on another filesystem?
  236. if [ "x${loop_file}" = x ] || [ ! -f "${loop_file}" ]; then
  237. exit 0
  238. fi
  239. dev_mountpoint="$(awk '"'${loop_file}'" ~ "^"$2 && $2 != "/" { print $1";"$2 }' /proc/mounts | tail -n1)"
  240. host_device="${dev_mountpoint%;*}"
  241. host_mountpoint="${dev_mountpoint#*;}"
  242. if [ "x${host_device}" = x ]; then
  243. exit 0
  244. fi
  245. loop_file_relative="${loop_file#$host_mountpoint}"
  246. # Device containing the host filesystem.
  247. host_device_uuid="`${grub_probe} --device "${host_device}" --target=fs_uuid 2> /dev/null`" || true
  248. if [ "x${host_device_uuid}" = "x" ] || [ "x${GRUB_DISABLE_LINUX_UUID}" = "xtrue" ] \
  249. || ! test -e "/dev/disk/by-uuid/${host_device_uuid}" \
  250. || [ "`${grub_probe} -t abstraction --device ${host_device} | sed -e 's,.*\(lvm\).*,\1,'`" = "lvm" ] ; then
  251. LINUX_HOST_DEVICE=${host_device}
  252. else
  253. LINUX_HOST_DEVICE=UUID=${host_device_uuid}
  254. fi
  255. GRUBFS="`${grub_probe} --device ${GRUB_DEVICE} --target=fs 2>/dev/null || true`"
  256. if [ x"$GRUBFS" = x ]; then
  257. GRUBFS="$(stat -f --printf=%T / || true)"
  258. fi
  259. case x"$GRUBFS" in
  260. xbtrfs)
  261. rootsubvol="`make_system_path_relative_to_its_root /`"
  262. rootsubvol="${rootsubvol#/}"
  263. if [ "x${rootsubvol}" != x ]; then
  264. GRUB_CMDLINE_LINUX="rootflags=subvol=${rootsubvol} ${GRUB_CMDLINE_LINUX}"
  265. fi;;
  266. xzfs)
  267. rpool=`${grub_probe} --device ${GRUB_DEVICE} --target=fs_label 2>/dev/null || true`
  268. bootfs="`make_system_path_relative_to_its_root / | sed -e "s,@$,,"`"
  269. LINUX_ROOT_DEVICE="ZFS=${rpool}${bootfs}"
  270. ;;
  271. esac
  272. title_correction_code=
  273. for word in $GRUB_CMDLINE_LINUX_DEFAULT; do
  274. if [ "$word" = splash ]; then
  275. GRUB_CMDLINE_LINUX_DEFAULT="$GRUB_CMDLINE_LINUX_DEFAULT \$vt_handoff"
  276. fi
  277. done
  278. # add crashkernel option if we have the required tools
  279. if [ -x "/usr/bin/makedumpfile" ] && [ -x "/sbin/kexec" ]; then
  280. GRUB_CMDLINE_EXTRA="$GRUB_CMDLINE_EXTRA crashkernel=384M-2G:64M,2G-:128M"
  281. fi
  282. lupin_entry ()
  283. {
  284. os="$1"
  285. version="$2"
  286. type="$3"
  287. args="$4"
  288. if [ -z "$boot_device_id" ]; then
  289. boot_device_id="$(grub_get_device_id "${GRUB_DEVICE}")"
  290. fi
  291. if [ x$type != xsimple ] ; then
  292. case $type in
  293. recovery)
  294. title="$(gettext_printf "%s, with Linux %s (recovery mode)" "${os}" "${version}")" ;;
  295. *)
  296. title="$(gettext_printf "%s, with Linux %s" "${os}" "${version}")" ;;
  297. esac
  298. if [ x"$title" = x"$GRUB_ACTUAL_DEFAULT" ] || [ x"Previous Linux versions>$title" = x"$GRUB_ACTUAL_DEFAULT" ]; then
  299. replacement_title="$(echo "Advanced options for ${OS}" | sed 's,>,>>,g')>$(echo "$title" | sed 's,>,>>,g')"
  300. quoted="$(echo "$GRUB_ACTUAL_DEFAULT" | grub_quote)"
  301. title_correction_code="${title_correction_code}if [ \"x\$default\" = '$quoted' ]; then default='$(echo "$replacement_title" | grub_quote)'; fi;"
  302. grub_warn "$(gettext_printf "Please don't use old title \`%s' for GRUB_DEFAULT, use \`%s' (for versions before 2.00) or \`%s' (for 2.00 or later)" "$GRUB_ACTUAL_DEFAULT" "$replacement_title" "gnulinux-advanced-$boot_device_id>gnulinux-$version-$type-$boot_device_id")"
  303. fi
  304. echo "menuentry '$(echo "$title" | grub_quote)' ${CLASS} \$menuentry_id_option 'gnulinux-$version-$type-$boot_device_id' {" | sed "s/^/$submenu_indentation/"
  305. else
  306. echo "menuentry '$(echo "$os" | grub_quote)' ${CLASS} \$menuentry_id_option 'gnulinux-simple-$boot_device_id' {" | sed "s/^/$submenu_indentation/"
  307. fi
  308. if [ x$type != xrecovery ] ; then
  309. save_default_entry | sed -e "s/^/\t/"
  310. echo " gfxmode \$linux_gfx_mode" | sed "s/^/$submenu_indentation/"
  311. fi
  312. echo " insmod gzio" | sed "s/^/$submenu_indentation/"
  313. if [ -z "${prepare_boot_cache}" ]; then
  314. prepare_boot_cache="$(prepare_grub_to_access_device ${GRUB_DEVICE_BOOT} | sed -e "s/^/\t/")"
  315. fi
  316. printf '%s\n' "${prepare_boot_cache}" | sed "s/^/$submenu_indentation/"
  317. if [ x$type != xsimple ]; then
  318. message="$(gettext_printf "Loading Linux %s ..." ${version})"
  319. sed "s/^/$submenu_indentation/" << EOF
  320. echo '$(echo "$message" | grub_quote)'
  321. EOF
  322. fi
  323. sed "s/^/$submenu_indentation/" << EOF
  324. linux ${rel_dirname}/${basename} root=${LINUX_HOST_DEVICE} loop=${loop_file_relative} ro ${args}
  325. EOF
  326. if test -n "${initrd}" ; then
  327. # TRANSLATORS: ramdisk isn't identifier. Should be translated.
  328. if [ x$type != xsimple ]; then
  329. message="$(gettext_printf "Loading initial ramdisk ...")"
  330. sed "s/^/$submenu_indentation/" << EOF
  331. echo '$(echo "$message" | grub_quote)'
  332. EOF
  333. fi
  334. sed "s/^/$submenu_indentation/" << EOF
  335. initrd ${rel_dirname}/${initrd}
  336. EOF
  337. fi
  338. sed "s/^/$submenu_indentation/" << EOF
  339. }
  340. EOF
  341. }
  342. machine=`uname -m`
  343. case "x$machine" in
  344. xi?86 | xx86_64)
  345. list=`for i in /boot/vmlinuz-* /vmlinuz-* /boot/kernel-* ; do
  346. if grub_file_is_not_garbage "$i" ; then echo -n "$i " ; fi
  347. done` ;;
  348. *)
  349. list=`for i in /boot/vmlinuz-* /boot/vmlinux-* /vmlinuz-* /vmlinux-* /boot/kernel-* ; do
  350. if grub_file_is_not_garbage "$i" ; then echo -n "$i " ; fi
  351. done` ;;
  352. esac
  353. case "$machine" in
  354. i?86) GENKERNEL_ARCH="x86" ;;
  355. mips|mips64) GENKERNEL_ARCH="mips" ;;
  356. mipsel|mips64el) GENKERNEL_ARCH="mipsel" ;;
  357. arm*) GENKERNEL_ARCH="arm" ;;
  358. *) GENKERNEL_ARCH="$machine" ;;
  359. esac
  360. prepare_boot_cache=
  361. boot_device_id=
  362. title_correction_code=
  363. cat << 'EOF'
  364. function gfxmode {
  365. set gfxpayload="${1}"
  366. if [ "${1}" = "keep" ]; then
  367. set vt_handoff=vt.handoff=7
  368. else
  369. set vt_handoff=
  370. fi
  371. }
  372. EOF
  373. # Use ELILO's generic "efifb" when it's known to be available.
  374. # FIXME: We need an interface to select vesafb in case efifb can't be used.
  375. if [ "x$GRUB_GFXPAYLOAD_LINUX" != x ]; then
  376. echo "set linux_gfx_mode=$GRUB_GFXPAYLOAD_LINUX"
  377. else
  378. cat << EOF
  379. if [ "\${recordfail}" != 1 ]; then
  380. if [ -e \${prefix}/gfxblacklist.txt ]; then
  381. if hwmatch \${prefix}/gfxblacklist.txt 3; then
  382. if [ \${match} = 0 ]; then
  383. set linux_gfx_mode=keep
  384. else
  385. set linux_gfx_mode=text
  386. fi
  387. else
  388. set linux_gfx_mode=text
  389. fi
  390. else
  391. set linux_gfx_mode=keep
  392. fi
  393. else
  394. set linux_gfx_mode=text
  395. fi
  396. EOF
  397. fi
  398. cat << EOF
  399. export linux_gfx_mode
  400. if [ "\${linux_gfx_mode}" != "text" ]; then load_video; fi
  401. EOF
  402. # Extra indentation to add to menu entries in a submenu. We're not in a submenu
  403. # yet, so it's empty. In a submenu it will be equal to '\t' (one tab).
  404. submenu_indentation=""
  405. is_first_entry=true
  406. while [ "x$list" != "x" ] ; do
  407. linux=`version_find_latest $list`
  408. gettext_printf "Found linux image: %s\n" "$linux" >&2
  409. basename=`basename $linux`
  410. dirname=`dirname $linux`
  411. rel_dirname=`make_system_path_relative_to_its_root $dirname`
  412. version=`echo $basename | sed -e "s,^[^0-9]*-,,g"`
  413. alt_version=`echo $version | sed -e "s,\.old$,,g"`
  414. linux_root_device_thisversion="${LINUX_ROOT_DEVICE}"
  415. initrd=
  416. for i in "initrd.img-${version}" "initrd-${version}.img" "initrd-${version}.gz" \
  417. "initrd-${version}" "initramfs-${version}.img" \
  418. "initrd.img-${alt_version}" "initrd-${alt_version}.img" \
  419. "initrd-${alt_version}" "initramfs-${alt_version}.img" \
  420. "initramfs-genkernel-${version}" \
  421. "initramfs-genkernel-${alt_version}" \
  422. "initramfs-genkernel-${GENKERNEL_ARCH}-${version}" \
  423. "initramfs-genkernel-${GENKERNEL_ARCH}-${alt_version}"; do
  424. if test -e "${dirname}/${i}" ; then
  425. initrd="$i"
  426. break
  427. fi
  428. done
  429. config=
  430. for i in "${dirname}/config-${version}" "${dirname}/config-${alt_version}" "/etc/kernels/kernel-config-${version}" ; do
  431. if test -e "${i}" ; then
  432. config="${i}"
  433. break
  434. fi
  435. done
  436. initramfs=
  437. if test -n "${config}" ; then
  438. initramfs=`grep CONFIG_INITRAMFS_SOURCE= "${config}" | cut -f2 -d= | tr -d \"`
  439. fi
  440. if test -n "${initrd}" ; then
  441. gettext_printf "Found initrd image: %s\n" "${dirname}/${initrd}" >&2
  442. else
  443. # None of this can work without an initrd, so don't even bother.
  444. list=`echo $list | tr ' ' '\n' | grep -vx $linux | tr '\n' ' '`
  445. continue
  446. fi
  447. if [ "x$is_first_entry" = xtrue ]; then
  448. lupin_entry "${OS}" "${version}" simple \
  449. "${GRUB_CMDLINE_LINUX} ${GRUB_CMDLINE_EXTRA} ${GRUB_CMDLINE_LINUX_DEFAULT}"
  450. submenu_indentation="\t"
  451. if [ -z "$boot_device_id" ]; then
  452. boot_device_id="$(grub_get_device_id "${GRUB_DEVICE}")"
  453. fi
  454. # TRANSLATORS: %s is replaced with an OS name
  455. echo "submenu '$(gettext_printf "Advanced options for %s" "${OS}" | grub_quote)' \$menuentry_id_option 'gnulinux-advanced-$boot_device_id' {"
  456. fi
  457. lupin_entry "${OS}" "${version}" advanced \
  458. "${GRUB_CMDLINE_LINUX} ${GRUB_CMDLINE_EXTRA} ${GRUB_CMDLINE_LINUX_DEFAULT}"
  459. if [ "x${GRUB_DISABLE_RECOVERY}" != "xtrue" ]; then
  460. if [ -x /lib/recovery-mode/recovery-menu ]; then
  461. lupin_entry "${OS}" "${version}" recovery \
  462. "recovery nomodeset ${GRUB_CMDLINE_LINUX}"
  463. else
  464. lupin_entry "${OS}" "${version}" recovery \
  465. "single nomodeset ${GRUB_CMDLINE_LINUX}"
  466. fi
  467. fi
  468. list=`echo $list | tr ' ' '\n' | grep -vx $linux | tr '\n' ' '`
  469. is_first_entry=false
  470. done
  471. # If at least one kernel was found, then we need to
  472. # add a closing '}' for the submenu command.
  473. if [ x"$is_first_entry" != xtrue ]; then
  474. echo '}'
  475. fi
  476. echo "$title_correction_code"
  477. ======================== Unknown MBRs/Boot Sectors/etc =========================
  478. Unknown BootLoader on sda2
  479. 00000000 8a cb b4 ed cc eb e2 e6 04 19 07 81 67 2f f3 b5 |............g/..|
  480. 00000010 b6 e4 7b d5 13 f5 95 d7 a8 b1 05 57 ba b0 bc b2 |..{........W....|
  481. 00000020 b6 f3 64 23 bb 0b c8 cc 66 7a a4 af 78 fa 87 09 |..d#....fz..x...|
  482. 00000030 da a6 d4 85 83 e0 db 3f e0 4b 77 77 38 67 e1 8f |.......?.Kww8g..|
  483. 00000040 23 32 df 30 f7 e6 ac 34 aa 53 8c 5c c9 a6 2d ea |#2.0...4.S.\..-.|
  484. 00000050 4e 6d c4 4e 55 b7 a1 06 39 65 8d f6 ef 9b e0 07 |Nm.NU...9e......|
  485. 00000060 51 01 10 0f ce 05 ae a0 68 2f 66 ff 94 8d 6a bc |Q.......h/f...j.|
  486. 00000070 1f 54 96 00 77 fb 4c f9 d2 f2 49 00 f1 73 12 6d |.T..w.L...I..s.m|
  487. 00000080 b9 37 17 46 0e 78 99 06 00 5a 2c ef e8 cd 1f f1 |.7.F.x...Z,.....|
  488. 00000090 b2 74 47 c3 35 54 85 b0 2a 20 7a 0b 91 62 16 91 |.tG.5T..* z..b..|
  489. 000000a0 51 38 c6 be b8 36 f3 d5 bd ce af ab 59 2f ee ca |Q8...6......Y/..|
  490. 000000b0 cc b1 1f 82 e1 32 0f 27 49 5d ae ee 3a d7 23 e1 |.....2.'I]..:.#.|
  491. 000000c0 87 4f c0 ba 63 43 18 4b 07 b9 ac 67 bf 90 50 05 |.O..cC.K...g..P.|
  492. 000000d0 bd e7 95 d9 fc 3d 44 80 00 ec fb 98 68 c5 98 a3 |.....=D.....h...|
  493. 000000e0 61 a6 cb 16 e2 5d 84 ef e3 e3 0c 2a 77 d6 4a d7 |a....].....*w.J.|
  494. 000000f0 90 f9 dd de 31 d7 0f 72 bf 5f 4c ba e9 60 03 ce |....1..r._L..`..|
  495. 00000100 57 cc 8a c9 97 32 2c fa c0 a4 6b d6 a6 bc 00 9c |W....2,...k.....|
  496. 00000110 e1 78 7d 8d e6 1d 76 7e fa 4c a2 51 ae 4f c8 7a |.x}...v~.L.Q.O.z|
  497. 00000120 ea a8 4b 7f eb 9d be bd b0 40 47 25 90 97 9a 77 |..K......@G%...w|
  498. 00000130 dc 0b ad a1 3c ba 30 f5 23 22 d9 e7 80 c8 b6 1f |....<.0.#"......|
  499. 00000140 4b 5d 1f 38 ca 6b 97 b7 e8 57 66 99 6b d8 a2 60 |K].8.k...Wf.k..`|
  500. 00000150 89 ca 0f 18 92 1d 03 a3 ee b9 e3 5c 42 4d ed 52 |...........\BM.R|
  501. 00000160 a9 b4 8f fb 65 67 f3 53 f8 a8 d7 ce f5 7b 98 46 |....eg.S.....{.F|
  502. 00000170 d9 bc 4d 27 81 d7 85 e5 9d a4 ae f5 4a 67 28 c7 |..M'........Jg(.|
  503. 00000180 cc 78 bb d7 91 31 00 3b 35 e5 08 31 59 38 09 67 |.x...1.;5..1Y8.g|
  504. 00000190 c9 b0 8b b0 2b 54 d5 d5 9c 47 dc 39 68 09 a2 09 |....+T...G.9h...|
  505. 000001a0 db 6c 22 aa cc 14 ee 12 b1 41 d4 e9 47 54 22 5e |.l"......A..GT"^|
  506. 000001b0 23 ae c0 39 ff 67 ab 87 27 31 c4 1e fa 28 00 fe |#..9.g..'1...(..|
  507. 000001c0 ff ff 82 fe ff ff 02 00 00 00 00 00 2a 01 00 fe |............*...|
  508. 000001d0 ff ff 05 fe ff ff 02 00 2a 01 00 50 f2 70 00 00 |........*..P.p..|
  509. 000001e0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................|
  510. 000001f0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 55 aa |..............U.|
  511. 00000200
  512. =============================== StdErr Messages ================================
  513. File descriptor 63 (pipe:[353396]) leaked on lvs invocation. Parent PID 38122: /bin/bash
  514. ================================= User choice ==================================
  515. Is sda (ATA TOSHIBA HDWD110) a removable disk? no
  516. Suggested repair: ______________________________________________________________
  517. The default repair of the Boot-Repair utility would reinstall the grub2 of
  518. sda1 into the MBRs of all disks (except live-disks and removable disks without OS).
  519. Additional repair would be performed: unhide-bootmenu-10s
  520. Final advice in case of suggested repair: ______________________________________
  521. Please do not forget to make your BIOS boot on sda (ATA TOSHIBA HDWD110) disk!