Advertisement
Guest User

Untitled

a guest
Jun 15th, 2019
127
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 26.11 KB | None | 0 0
  1. Boot Info Script 0.61 [1 April 2012]
  2.  
  3.  
  4. ============================= Boot Info Summary: ===============================
  5.  
  6. => Windows is installed in the MBR of /dev/sda.
  7. => Windows is installed in the MBR of /dev/sdb.
  8. => Grub2 (v1.99) is installed in the MBR of /dev/sdc and looks at sector 1 of
  9. the same hard drive for core.img. core.img is at this location and looks
  10. in partition 97 for .
  11. => Grub2 (v1.99) is installed in the MBR of /dev/sdd and looks at sector 0 of
  12. the same hard drive for core.img, but core.img can not be found at this
  13. location.
  14.  
  15. sda1: __________________________________________________________________________
  16.  
  17. File system:
  18. Boot sector type: -
  19. Boot sector info:
  20. Mounting failed: mount: /tmp/BootInfo-fCa5EeNU/sda1: unknown filesystem type ''.
  21.  
  22. sda2: __________________________________________________________________________
  23.  
  24. File system: ntfs
  25. Boot sector type: Windows Vista/7: NTFS
  26. Boot sector info: No errors found in the Boot Parameter Block.
  27. Operating System:
  28. Boot files:
  29.  
  30. sda3: __________________________________________________________________________
  31.  
  32. File system: swap
  33. Boot sector type: Grub2 (v1.99)
  34. Boot sector info: Grub2 (v1.99) is installed in the boot sector of sda3
  35. and looks at sector 4222391744 of the same hard drive
  36. for core.img. core.img is at this location and looks
  37. in partition 97 for .
  38.  
  39. sdb1: __________________________________________________________________________
  40.  
  41. File system: ntfs
  42. Boot sector type: Windows Vista/7: NTFS
  43. Boot sector info: No errors found in the Boot Parameter Block.
  44. Operating System:
  45. Boot files:
  46.  
  47. sdc1: __________________________________________________________________________
  48.  
  49. File system: ntfs
  50. Boot sector type: Windows Vista/7: NTFS
  51. Boot sector info: No errors found in the Boot Parameter Block.
  52. Operating System:
  53. Boot files: /bootmgr /Boot/BCD
  54.  
  55. sdc2: __________________________________________________________________________
  56.  
  57. File system: ntfs
  58. Boot sector type: Windows Vista/7: NTFS
  59. Boot sector info: No errors found in the Boot Parameter Block.
  60. Operating System:
  61. Boot files: /Windows/System32/winload.exe
  62.  
  63. sdc3: __________________________________________________________________________
  64.  
  65. File system: ntfs
  66. Boot sector type: Windows Vista/7: NTFS
  67. Boot sector info: No errors found in the Boot Parameter Block.
  68. Operating System:
  69. Boot files:
  70.  
  71. sdd1: __________________________________________________________________________
  72.  
  73. File system: iso9660
  74. Boot sector type: Unknown
  75. Boot sector info:
  76. Operating System:
  77. Boot files: /boot/grub/grub.cfg
  78.  
  79. sdd2: __________________________________________________________________________
  80.  
  81. File system: vfat
  82. Boot sector type: FAT16
  83. Boot sector info: According to the info in the boot sector, sdd2 starts
  84. at sector 0. But according to the info from fdisk,
  85. sdd2 starts at sector 4094112. According to the info
  86. in the boot sector, sdd2 has 0 sectors.
  87. Operating System:
  88. Boot files: /efi/boot/bootx64.efi
  89.  
  90. ============================ Drive/Partition Info: =============================
  91.  
  92. Drive: sda _____________________________________________________________________
  93. Disk /dev/sda: 2.7 TiB, 3000592982016 bytes, 5860533168 sectors
  94. Disk model: ST3000DM008-2DM1
  95. Units: sectors of 1 * 512 = 512 bytes
  96. Sector size (logical/physical): 512 bytes / 4096 bytes
  97. I/O size (minimum/optimal): 4096 bytes / 4096 bytes
  98.  
  99. Partition Boot Start Sector End Sector # of Sectors Id System
  100.  
  101. /dev/sda1 1 4,294,967,295 4,294,967,295 ee GPT
  102.  
  103.  
  104. GUID Partition Table detected.
  105.  
  106. Partition Start Sector End Sector # of Sectors System
  107. /dev/sda1 34 262,177 262,144 Microsoft Reserved Partition (Windows)
  108. /dev/sda2 264,192 4,096,264,191 4,096,000,000 Data partition (Windows/Linux)
  109. /dev/sda3 4,096,264,192 4,111,888,383 15,624,192 Swap partition (Linux)
  110.  
  111. Drive: sdb _____________________________________________________________________
  112. Disk /dev/sdb: 931.5 GiB, 1000204886016 bytes, 1953525168 sectors
  113. Disk model: WDC WD10EZEX-08M
  114. Units: sectors of 1 * 512 = 512 bytes
  115. Sector size (logical/physical): 512 bytes / 4096 bytes
  116. I/O size (minimum/optimal): 4096 bytes / 4096 bytes
  117.  
  118. Partition Boot Start Sector End Sector # of Sectors Id System
  119.  
  120. /dev/sdb1 2,048 1,953,521,663 1,953,519,616 7 NTFS / exFAT / HPFS
  121.  
  122.  
  123. Drive: sdc _____________________________________________________________________
  124. Disk /dev/sdc: 111.8 GiB, 120034123776 bytes, 234441648 sectors
  125. Disk model: ADATA SSD S510 1
  126. Units: sectors of 1 * 512 = 512 bytes
  127. Sector size (logical/physical): 512 bytes / 512 bytes
  128. I/O size (minimum/optimal): 512 bytes / 512 bytes
  129.  
  130. Partition Boot Start Sector End Sector # of Sectors Id System
  131.  
  132. /dev/sdc1 * 2,048 206,847 204,800 7 NTFS / exFAT / HPFS
  133. /dev/sdc2 206,848 233,517,055 233,310,208 7 NTFS / exFAT / HPFS
  134. /dev/sdc3 233,517,056 234,438,655 921,600 27 Hidden NTFS (Recovery Environment)
  135.  
  136.  
  137. Drive: sdd _____________________________________________________________________
  138. Disk /dev/sdd: 14.9 GiB, 16008609792 bytes, 31266816 sectors
  139. Disk model: Cruzer Glide
  140. Units: sectors of 1 * 512 = 512 bytes
  141. Sector size (logical/physical): 512 bytes / 512 bytes
  142. I/O size (minimum/optimal): 512 bytes / 512 bytes
  143.  
  144. Partition Boot Start Sector End Sector # of Sectors Id System
  145.  
  146. /dev/sdd1 * 64 4,094,111 4,094,048 0 Empty
  147. /dev/sdd2 4,094,112 4,102,303 8,192 ef EFI (FAT-12/16/32)
  148.  
  149.  
  150. "blkid" output: ________________________________________________________________
  151.  
  152. Device UUID TYPE LABEL
  153.  
  154. /dev/loop0 squashfs
  155. /dev/loop1 squashfs
  156. /dev/loop2 squashfs
  157. /dev/loop3 squashfs
  158. /dev/sda1
  159. /dev/sda2 3E36D27F36D2379B ntfs Storage2
  160. /dev/sda3 0b55e370-eb7c-4212-82b7-6cc9f0ca158c swap
  161. /dev/sdb1 F024887F24884B14 ntfs Storage
  162. /dev/sdc1 10C631ABC6319248 ntfs System Reserved
  163. /dev/sdc2 F41C34CC1C348C1C ntfs
  164. /dev/sdc3 40C411ECC411E4C6 ntfs
  165. /dev/sdd1 2019-03-12-09-50-33-00 iso9660 M1804
  166. /dev/sdd2 F464-EFAB vfat MISO_EFI
  167.  
  168. ================================ Mount points: =================================
  169.  
  170. Device Mount_Point Type Options
  171.  
  172. /dev/loop0 /run/miso/sfs/livefs squashfs (ro,relatime)
  173. /dev/loop1 /run/miso/sfs/mhwdfs squashfs (ro,relatime)
  174. /dev/loop2 /run/miso/sfs/desktopfs squashfs (ro,relatime)
  175. /dev/loop3 /run/miso/sfs/rootfs squashfs (ro,relatime)
  176. /dev/sdd1 /run/miso/bootmnt iso9660 (ro,relatime,nojoliet,check=s,map=n,blocksize=2048)
  177.  
  178.  
  179. =========================== sdd1/boot/grub/grub.cfg: ===========================
  180.  
  181. --------------------------------------------------------------------------------
  182. insmod font
  183. insmod keylayouts
  184. insmod part_msdos
  185. insmod part_gpt
  186.  
  187. export loaded
  188. export koptsok
  189. export disable_gfxterm
  190. export bootarch
  191. export firmware
  192. export firmware_found
  193. export from
  194. export fromiso
  195. export bootlang
  196. export keyboard
  197. export timezone
  198. export drv
  199. export hwclock
  200. export def_bootlang
  201. export def_keyboard
  202. export def_timezone
  203. export def_drv
  204. export menu_color_normal
  205. export menu_color_highlight
  206. export pager
  207.  
  208. function menu_help {
  209. check_help
  210. grub_help
  211. }
  212.  
  213. function check_help {
  214. if [ -z "${koptsok}" ]; then
  215. echo $"WARNING: nothing set"
  216. echo $" System will use defaults"
  217. echo " American English <> utc clock <> us "$"keyboard <> free drivers"
  218. echo ""
  219. fi
  220. }
  221.  
  222. function kopts_help {
  223. echo $"Example boot command line arguments:"
  224. echo $" Setup"
  225. echo " lang=<language>_<variant> keytable=<layout> tz=<region>/<city>"
  226. echo " hostname=<name> username=<name>"
  227. echo $" Kernel"
  228. echo " blacklist=<module>"
  229. echo $" Video"
  230. echo " <module>.modeset=0"
  231. echo " radeon.modeset=0 nouveau.modeset=0 i915.modeset=0"
  232. echo " video=VGA-1:1920x1080e DVI-0:800x600"
  233. echo ""
  234. }
  235.  
  236. function grub_help {
  237. echo $"To use the menu:"
  238. echo $" press up or down to move between items"
  239. echo $" press enter or right to select the item"
  240. echo $" press e to edit the current item"
  241. echo $" press c to go to the grub command line"
  242. echo ""
  243. echo $"Simply edit the first line of most menus to control them"
  244. echo $"Select or edit the blank line to enter command line arguments"
  245. echo ""
  246. }
  247.  
  248. function menu_reload {
  249. configfile /boot/grub/grub.cfg
  250. }
  251.  
  252. function menu_continue {
  253. echo -n $"Press Enter to continue"
  254. read mcont
  255. }
  256.  
  257. function prompt {
  258. echo -n "> "
  259. }
  260.  
  261. function is_efi {
  262. if [ "${grub_platform}" = "efi" ]; then
  263. return 0
  264. fi
  265. return 1
  266. }
  267.  
  268. function efi_detect {
  269. if is_efi ; then
  270. submenu --class=find.efi --hotkey=f "Detect EFI bootloaders" {
  271. efi_found=false
  272.  
  273. for efi in (*,gpt*)/efi/*/*.efi (*,gpt*)/efi/*/*/*.efi (*,gpt*)/*.efi (*,gpt*)/*/*.efi ; do
  274. regexp --set=1:efi_device '^\((.*)\)/' "${efi}"
  275. if [ -e "${efi}" ]; then
  276. efi_found=true
  277.  
  278. menuentry --class=efi "${efi}" "${efi_device}" {
  279. root="${2}"
  280. chainloader "${1}"
  281. }
  282. fi
  283. done
  284.  
  285. if [ "${efi_found}" != true ]; then
  286. menuentry --hotkey=q --class=find.none "No EFI files detected." {menu_reload}
  287. else
  288. menuentry --hotkey=q --class=cancel "Cancel" {menu_reload}
  289. fi
  290. }
  291. fi
  292. }
  293.  
  294. function memtest_detect {
  295. if ! is_efi; then
  296. if [ -f /boot/memtest ]; then
  297. menuentry --class=memtest --hotkey=m "memtest" {linux16 /boot/$1}
  298. fi
  299. fi
  300. }
  301.  
  302. function lang_setup {
  303. source /boot/grub/locales/${1}
  304. menu_reload
  305. }
  306.  
  307. function lang_menu {
  308. menuentry --class=lang.${ll} "lang=${ll}" "${ll}" {lang_setup "${2}"}
  309. }
  310.  
  311. function show_timezones {
  312. submenu --class=tz --hotkey=t "tz=${def_timezone}" {# set the timezone above with the editor
  313. if [ -n "$1" ];then
  314. if [ "$1" = "tz=${def_timezone}" ]; then
  315. default=0
  316. menuentry --class=cancel --hotkey=q "Cancel (${def_timezone})" {menu_reload}
  317. for tt in Africa America Asia Atlantic Australia Etc Europe Pacific; do
  318. submenu --class=tz.${tt} "${tt}" {
  319. menuentry --class=cancel --hotkey=q "Cancel (${def_timezone})" {menu_reload}
  320. source "/boot/grub/tz/${1}"
  321. }
  322. done
  323. else
  324. regexp -s newtz '^tz=(.*)' "$1"
  325. if [ -z "$newtz" ]; then
  326. def_timezone="$1"
  327. else
  328. def_timezone="$newtz"
  329. fi
  330. timezone="tz=$def_timezone"
  331. menu_reload
  332. fi
  333. fi
  334. }
  335. }
  336.  
  337. function show_keymaps {
  338. submenu --class=kbd --hotkey=k "keytable=${def_keyboard}" {# set the timezone above with the editor
  339. if [ -n "$1" ]; then
  340. if [ "$1" = "keytable=${def_keyboard}" ]; then
  341. default=0
  342. menuentry --class=cancel --hotkey=q "Cancel (${def_keyboard})" {menu_reload}
  343. source /boot/grub/locales/keyboards
  344. else
  345. regexp -s newkey '^keytable=(.*)' "$1"
  346. if [ -z "$newkey" ]; then
  347. def_keyboard="$1"
  348. else
  349. def_keyboard="$newkey"
  350. fi
  351. keyboard="keytable=$def_keyboard"
  352. menu_reload
  353. fi
  354. fi
  355. }
  356. }
  357.  
  358. function show_drivers {
  359. submenu --class=driver --hotkey=m "driver=${def_drv}" {# set the driver above with the editor
  360. if [ -n "$1" ]; then
  361. if [ "$1" = "driver=${def_drv}" ]; then
  362. default=0
  363. menuentry --class=cancel --hotkey=q "Cancel (${def_drv})" {menu_reload}
  364. source /boot/grub/mhwd.cfg
  365. else
  366. regexp -s newdrv '^driver=(.*)' "$1"
  367. if [ -z "${newdrv}" ]; then
  368. def_drv="$1"
  369. else
  370. def_drv="${newdrv}"
  371. fi
  372. newdrv="driver=${def_drv}"
  373. menu_reload
  374. fi
  375. fi
  376. }
  377. }
  378.  
  379. function show_languages {
  380. submenu --hotkey=l --class=lang "lang=${def_bootlang}" {# set the timezone above with the editor
  381. if [ -n "$1" ]; then
  382. if [ "$1" = "lang=${def_bootlang}" ]; then
  383. default=0
  384. menuentry --class=lang.${def_bootlang} "lang=${def_bootlang}" {menu_reload}
  385. menuentry --class=lang.cs "Čeština" {lang_setup "cs_CZ"}
  386. menuentry --class=lang.da "Dansk" {lang_setup "da_DK"}
  387. submenu --class=lang.de "Deutsch" {
  388. for ll in de_DE de_AT de_BE de_CH de_LI de_LU; do
  389. lang_menu ${ll}
  390. done
  391. }
  392. submenu --class=lang.el "Ελληνικά" {
  393. for ll in el_GR el_CY; do
  394. lang_menu ${ll}
  395. done
  396. }
  397. submenu --class=lang.en "English" {
  398. for ll in en_US en_AG en_AU en_BW en_CA en_DK en_GB en_HK en_IE en_IN en_NG en_NZ en_PH en_SG en_ZA en_ZW; do
  399. lang_menu ${ll}
  400. done
  401. }
  402. submenu --class=lang.es "Español" {
  403. for ll in es_ES es_AR es_BO es_CL es_CO es_CR es_DO es_EC es_GT es_HN es_MX es_NI es_PA es_PE es_PR es_PY es_SV es_US es_UY es_VE; do
  404. lang_menu ${ll}
  405. done
  406. }
  407. submenu --class=lang.fr "Français" {
  408. for ll in fr_FR fr_BE fr_CA fr_CH fr_LU fr_NC; do
  409. lang_menu ${ll}
  410. done
  411. }
  412. menuentry --class=lang.he "עִבְרִית" {lang_setup "he_IL"}
  413. submenu --class=lang.it "Italiano" {
  414. for ll in it_IT it_CH; do
  415. lang_menu ${ll}
  416. done
  417. }
  418. menuentry --class=lang.ja "日本語" {lang_setup "ja_JP"}
  419. submenu --class=lang.nl "Nederlands" {
  420. for ll in nl_NL nl_AW nl_BE; do
  421. lang_menu ${ll}
  422. done
  423. }
  424. menuentry --class=lang.pl "Polski" {lang_setup "pl_PL"}
  425. submenu --class=lang.pt "Português" {
  426. for ll in pt_BR pt_PT; do
  427. lang_menu ${ll}
  428. done
  429. }
  430. menuentry --class=lang.ro "Română" {lang_setup "ro_RO"}
  431. submenu --class=lang.ru "Русский" {
  432. for ll in ru_RU ru_UA;do
  433. lang_menu ${ll}
  434. done
  435. }
  436. submenu --class=lang.zh "中文" {
  437. for ll in zh_CN zh_TW; do
  438. lang_menu ${ll}
  439. done
  440. }
  441. else
  442. regexp -s newlang '^lang=(.*)' "$1"
  443. if [ -z "$newlang" ]; then
  444. def_bootlang="$1"
  445. else
  446. def_bootlang="$newlang"
  447. fi
  448. bootlang="lang=$def_bootlang"
  449. if [ -f /boot/grub/locales/${def_bootlang} ]; then
  450. source /boot/grub/locales/${def_bootlang}
  451. fi
  452. menu_reload
  453. fi
  454. fi
  455. }
  456. }
  457.  
  458. function boot_menu {
  459. if [ "${hwclock}" = "utc=yes" ]; then
  460. class="utc"
  461. title="utc"
  462. clockset=""
  463. elif [ "${timezone}${bootlang}" = "" ]; then
  464. class="unset"
  465. title="utc"
  466. clockset=""
  467. else
  468. title="${def_timezone}"
  469. class="tz.${def_timezone}"
  470. clockset="utc=yes"
  471. fi
  472. min2d="$MINUTE"
  473. if regexp '(^.$)' "$min2d"; then
  474. min2d="0${min2d}"
  475. fi
  476. hour2d="$HOUR"
  477. if regexp '(^.$)' "$hour2d"; then
  478. hour2d="0${hour2d}"
  479. fi
  480. menuentry --class=tz.$class --hotkey=u "$hour2d:$min2d $title" "$clockset" {
  481. hwclock="$2"
  482. menu_reload
  483. }
  484. show_timezones
  485. show_keymaps
  486. show_languages
  487. show_drivers
  488. default=3
  489. }
  490.  
  491. function boot_defaults {
  492. source /boot/grub/defaults.cfg
  493. }
  494.  
  495. function grub_reboot {
  496. menuentry " " {true}
  497. menuentry --class=reboot "Reboot!" {reboot}
  498. }
  499.  
  500. function grub_bios_installed {
  501. if ! is_efi; then
  502. menuentry "" {true}
  503. menuentry --class=manjaro "Installed BIOS-System on $installed" {exit}
  504. fi
  505. }
  506.  
  507. function grub_efi_installed {
  508. if is_efi; then
  509. menu "" {true}
  510. menu --class=manjaro "Installed EFI-System on $installed" {exit}
  511. fi
  512. }
  513.  
  514.  
  515. function check {
  516. cliname="$1"
  517. varname="$2"
  518. if [ "${optname}" != "${cliname}" ]; then
  519. return 1
  520. fi
  521. if [ -z "$varname" ]; then
  522. varname="${cliname}"
  523. fi
  524. if [ -z "${optval}" ]; then
  525. eval ${varname}="${cliname}"
  526. else
  527. eval ${varname}="${cliname}=${optval}"
  528. if [ "${optname}" = "lang" ]; then
  529. lang_setup ${optval}
  530. elif [ "${optname}" = "keytable" ]; then
  531. def_keyboard="${optval}"
  532. elif [ "${optname}" = "tz" ]; then
  533. def_timezone="${optval}"
  534. elif [ "${optname}" = "driver" ]; then
  535. def_drv="${optval}"
  536. fi
  537. fi
  538. return 0
  539. }
  540.  
  541. function checkinput {
  542. newinput="$1"
  543. newoutput=""
  544. for newcli in ${newinput} ; do
  545. optname=""
  546. optval=""
  547. optdone=""
  548. regexp -s optname '^(.+)=.*$' "${newcli}"
  549. if [ -z "${optname}" ]; then
  550. optname="${newcli}"
  551. else
  552. regexp -s optval '^.+=(.*)$' "${newcli}"
  553. fi
  554. for tocheck in "lang bootlang" "keytable keyboard" "tz timezone" "utc hwclock" "driver drv"; do
  555. if check $tocheck ; then
  556. optdone="Y"
  557. break
  558. fi
  559. done
  560. if [ -z "${optdone}" ]; then
  561. if [ -z "${newoutput}" ]; then
  562. newoutput="${newcli}"
  563. else
  564. newoutput="${newoutput} ${newcli}"
  565. fi
  566. fi
  567. done
  568. }
  569.  
  570. function new2cli {
  571. newinput="$1"
  572. if [ -n "$newinput" ]; then
  573. checkinput "$newinput"
  574. if [ -n "${newoutput}" ]; then
  575. newinput="${newoutput}"
  576. if [ -n "$clinput" ]; then
  577. clinput="$clinput $newinput"
  578. else
  579. clinput="$newinput"
  580. fi
  581. export clinput
  582. fi
  583. fi
  584. }
  585.  
  586. function getargs {
  587. args=""
  588. for a in $@; do
  589. if [ -n "${a}" ]; then
  590. args="${args} ${a}"
  591. fi
  592. done
  593. }
  594.  
  595. function bootcheck {
  596. getargs
  597. }
  598.  
  599. pager=1
  600.  
  601. insmod regexp
  602. insmod datehook
  603. if ! is_efi; then
  604. insmod part_gpt
  605. fi
  606.  
  607. if is_efi; then
  608. insmod efi_gop
  609. insmod efi_uga
  610. fi
  611.  
  612. if [ -z "${loaded}" ]; then
  613. iscd=""
  614. auto=""
  615. regexp -s iscd '^(cd)' "${root}"
  616. if [ "${iscd}" != "cd" -a -e (cd) ]; then
  617. probe -s cdp -u cd
  618. probe -s hdp -u $root
  619. if [ -n "$cdp" -a "$cdp" = "$hdp" ]; then
  620. iscd="cd"
  621. fi
  622. fi
  623. if [ "${root}" != "hd96" -a "${iscd}" != "cd" ]; then
  624. auto="${auto}"
  625. fi
  626. source /boot/grub/variable.cfg
  627. loaded=true
  628.  
  629. if keystatus --shift; then
  630. disable_gfxterm=true
  631. fi
  632.  
  633. if [ "${disable_gfxterm}" != "true" ]; then
  634. if loadfont /boot/grub/unicode.pf2 ; then
  635. if [ -z "$gfxmode" ] ; then
  636. gfxmode=1024x768,auto # 1280x1024,1024x768,800x600,640x480 possible value
  637. gfxpayload=keep
  638. fi
  639. if keystatus --ctrl; then
  640. gfxok=""
  641. pager=0
  642. while [ -z "$gfxok" ]; do
  643. echo "gfxmode=$gfxmode"
  644. echo "Input new mode or Enter to confirm"
  645. prompt
  646. read gfxmodein
  647. if [ -n "$gfxmodein" ]; then
  648. gfxmode="$gfxmodein"
  649. echo ""
  650. else
  651. gfxok="true"
  652. fi
  653. done
  654. fi
  655. insmod all_video
  656. insmod gfxterm
  657. if terminal_output --append gfxterm; then
  658. terminal_output --remove console
  659. else
  660. disable_gfxterm=true
  661. fi
  662. else
  663. disable_gfxterm=true
  664. fi
  665. fi
  666.  
  667. if [ "${disable_gfxterm}" != "true" -a -f "${grub_theme}" ]; then
  668. insmod gfxmenu
  669. themedir=""
  670. regexp -s themedir '^(.*)/.*$' "${grub_theme}"
  671. for themefont in $themedir/*.pf2 $themedir/f/*.pf2; do
  672. if [ -f "${themefont}" ]; then
  673. loadfont "${themefont}"
  674. fi
  675. done
  676. for imagetype in jpg jpeg png tga; do
  677. for themeimage in ${themedir}/*.${imagetype}; do
  678. if [ -f "${themeimage}" ]; then
  679. if [ "${imagetype}" = "jpg" ]; then
  680. insmod jpeg
  681. else
  682. insmod $imagetype
  683. fi
  684. fi
  685. done
  686. done
  687. theme=${grub_theme}
  688. export theme
  689. fi
  690.  
  691. menu_color_normal=cyan/blue
  692. menu_color_highlight=white/blue
  693.  
  694. if [ -n "${iso_path}" ]; then
  695. auto="img_dev=/dev/disk/by-uuid/${rootuuid} img_loop=${iso_path}"
  696. fi
  697.  
  698. export auto
  699. fi
  700.  
  701. boot_defaults
  702.  
  703. for kopt in "${clinput}" "${bootlang}" "${keyboard}" "${timezone}" "${hwclock}" "${drv}" "${auto}"; do
  704. if [ -n "${kopt}" ]; then
  705. kopts="${kopts} ${kopt}"
  706. fi
  707. done
  708. if [ -n "${bootlang}${keyboard}${timezone}${drv}" ]; then
  709. koptsok="true"
  710. fi
  711.  
  712. boot_menu
  713.  
  714. source /boot/grub/kernels.cfg
  715. if [ -n "$clinput" ]; then
  716. menuentry --class=edit "$clinput" {
  717. if [ -n "$1" ]; then
  718. clinput="$@"
  719. else
  720. unset clinput
  721. fi
  722. menu_reload
  723. }
  724. fi
  725. menuentry --class=type --hotkey=tab "" {# set arguments above with the editor
  726. getargs $@
  727. pager=0
  728. if [ -z "$args" ]; then
  729. check_help
  730. kopts_help
  731. echo $"Input command line options, press Enter to continue"
  732. prompt
  733. read newinput
  734. else
  735. newinput="$args"
  736. fi
  737. new2cli "$newinput"
  738. pager=1
  739. menu_reload
  740. }
  741. menuentry --hotkey=h --class=help "help" {
  742. pager=0
  743. menu_help
  744. menu_continue
  745. pager=1
  746. }
  747. efi_detect
  748. memtest_detect
  749. search --no-floppy --file /etc/issue --set installed
  750. grub_bios_installed
  751. grub_efi_installed
  752. grub_reboot
  753. --------------------------------------------------------------------------------
  754.  
  755. =================== sdd1: Location of files loaded by Grub: ====================
  756.  
  757. GiB - GB File Fragment(s)
  758.  
  759.  
  760. ======================== Unknown MBRs/Boot Sectors/etc: ========================
  761.  
  762. Unknown BootLoader on sdd1
  763.  
  764. 00000000 01 43 44 30 30 31 01 00 20 20 20 20 20 20 20 20 |.CD001.. |
  765. 00000010 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | |
  766. 00000020 20 20 20 20 20 20 20 20 4d 31 38 30 34 20 20 20 | M1804 |
  767. 00000030 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | |
  768. 00000040 20 20 20 20 20 20 20 20 00 00 00 00 00 00 00 00 | ........|
  769. 00000050 28 a6 0f 00 00 0f a6 28 00 00 00 00 00 00 00 00 |(......(........|
  770. 00000060 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................|
  771. 00000070 00 00 00 00 00 00 00 00 01 00 00 01 01 00 00 01 |................|
  772. 00000080 00 08 08 00 c4 00 00 00 00 00 00 c4 5e 00 00 00 |............^...|
  773. 00000090 00 00 00 00 00 00 00 5f 00 00 00 00 22 00 22 00 |......._....".".|
  774. 000000a0 00 00 00 00 00 22 00 08 00 00 00 00 08 00 77 03 |....."........w.|
  775. 000000b0 0c 09 2b 22 00 02 00 00 01 00 00 01 01 00 20 20 |..+".......... |
  776. 000000c0 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | |
  777. *
  778. 00000130 20 20 20 20 20 20 20 20 20 20 20 20 20 20 4d 41 | MA|
  779. 00000140 4e 4a 41 52 4f 20 4c 49 4e 55 58 20 3c 48 54 54 |NJARO LINUX <HTT|
  780. 00000150 50 53 3a 2f 2f 57 57 57 2e 4d 41 4e 4a 41 52 4f |PS://WWW.MANJARO|
  781. 00000160 2e 4f 52 47 2f 3e 20 20 20 20 20 20 20 20 20 20 |.ORG/> |
  782. 00000170 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | |
  783. *
  784. 000001b0 20 20 20 20 20 20 20 20 20 20 20 20 20 20 50 52 | PR|
  785. 000001c0 45 50 41 52 45 44 20 42 59 20 4d 41 4e 4a 41 52 |EPARED BY MANJAR|
  786. 000001d0 4f 2d 54 4f 4f 4c 53 2f 42 55 49 4c 44 49 53 4f |O-TOOLS/BUILDISO|
  787. 000001e0 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | |
  788. *
  789. 00000200
  790.  
  791.  
  792. =============================== StdErr Messages: ===============================
  793.  
  794. cat: /tmp/BootInfo-fCa5EeNU/Tmp_Log: No such file or directory
  795. mdadm: No arrays found in config file or automatically
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement