1. Boot Info Script 0.61 [1 April 2012]
  2. ============================= Boot Info Summary: ===============================
  3. => Grub2 (v1.99) 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. in partition 112 for .
  6. => Grub2 (v1.99) is installed in the MBR of /dev/sdb and looks at sector 1 of
  7. the same hard drive for core.img. core.img is at this location and looks
  8. in partition 135 for .
  9. sda1: __________________________________________________________________________
  10. File system:
  11. Boot sector type: Unknown
  12. Boot sector info:
  13. Mounting failed: mount: /tmp/BootInfo-TcR57FmF/sda1: unknown filesystem type ''.
  14. dmesg(1) may have more information after failed mount system call.
  15. sdb1: __________________________________________________________________________
  16. File system: exfat
  17. Boot sector type: -
  18. Boot sector info:
  19. Mounting failed: mount: /tmp/BootInfo-TcR57FmF/sda1: unknown filesystem type ''.
  20. dmesg(1) may have more information after failed mount system call.
  21. mount: /tmp/BootInfo-TcR57FmF/sdb1: /dev/sdb1 already mounted or mount point busy.
  22. dmesg(1) may have more information after failed mount system call.
  23. sdb2: __________________________________________________________________________
  24. File system: iso9660
  25. Boot sector type: Grub2 (v1.99)
  26. Boot sector info: Grub2 (v1.99) is installed in the boot sector of sdb2
  27. and looks at sector 0 of the same hard drive for
  28. core.img, but core.img can not be found at this
  29. location.
  30. Operating System:
  31. Boot files: /boot/grub/grub.cfg
  32. ============================ Drive/Partition Info: =============================
  33. Drive: sda _____________________________________________________________________
  34. Disk /dev/sda: 465.76 GiB, 500107862016 bytes, 976773168 sectors
  35. Disk model: WDC WD5000AAKX-2
  36. Units: sectors of 1 * 512 = 512 bytes
  37. Sector size (logical/physical): 512 bytes / 512 bytes
  38. I/O size (minimum/optimal): 512 bytes / 512 bytes
  39. Partition Boot Start Sector End Sector # of Sectors Id System
  40. /dev/sda1 * 2,048 976,771,071 976,769,024 83 Linux
  41. Drive: sdb _____________________________________________________________________
  42. Disk /dev/sdb: 57.62 GiB, 61872793600 bytes, 120845300 sectors
  43. Disk model: DataTraveler 2.0
  44. Units: sectors of 1 * 512 = 512 bytes
  45. Sector size (logical/physical): 512 bytes / 512 bytes
  46. I/O size (minimum/optimal): 512 bytes / 512 bytes
  47. Partition Boot Start Sector End Sector # of Sectors Id System
  48. /dev/sdb1 * 2,048 120,779,759 120,777,712 7 NTFS / exFAT / HPFS
  49. /dev/sdb2 120,779,760 120,845,295 65,536 ef EFI (FAT-12/16/32)
  50. "blkid" output: ________________________________________________________________
  51. Device UUID TYPE LABEL
  52. /dev/loop0 squashfs
  53. /dev/loop1 squashfs
  54. /dev/loop10 squashfs
  55. /dev/loop11 squashfs
  56. /dev/loop12 squashfs
  57. /dev/loop2 squashfs
  58. /dev/loop3 squashfs
  59. /dev/loop4 squashfs
  60. /dev/loop5 squashfs
  61. /dev/loop6 squashfs
  62. /dev/loop7 squashfs
  63. /dev/loop8 squashfs
  64. /dev/loop9 squashfs
  65. /dev/mapper/ventoy 2023-10-16-11-29-57-00 iso9660 Ubuntu 23.10.1 amd64
  66. /dev/sdb1 4E21-0000 exfat Ventoy
  67. /dev/sdb2 2023-10-16-11-29-57-00 iso9660 Ubuntu 23.10.1 amd64
  68. ========================= "ls -R /dev/mapper/" output: =========================
  69. /dev/mapper:
  70. control
  71. ventoy
  72. ================================ Mount points: =================================
  73. Device Mount_Point Type Options
  74. /dev/loop0 /rofs squashfs (ro,noatime,errors=continue,threads=single)
  75. /dev/mapper/ventoy /cdrom iso9660 (ro,noatime,nojoliet,check=s,map=n,blocksize=2048,iocharset=utf8)
  76. =========================== sdb2/boot/grub/grub.cfg: ===========================
  77. --------------------------------------------------------------------------------
  78. set timeout=30
  79. loadfont unicode
  80. set menu_color_normal=white/black
  81. set menu_color_highlight=black/light-gray
  82. menuentry "Try or Install Ubuntu" {
  83. set gfxpayload=keep
  84. linux /casper/vmlinuz layerfs-path=minimal.standard.live.squashfs --- quiet splash
  85. initrd /casper/initrd
  86. }
  87. menuentry "Ubuntu (safe graphics)" {
  88. set gfxpayload=keep
  89. linux /casper/vmlinuz nomodeset layerfs-path=minimal.standard.live.squashfs --- quiet splash
  90. initrd /casper/initrd
  91. }
  92. grub_platform
  93. if [ "$grub_platform" = "efi" ]; then
  94. menuentry 'Boot from next volume' {
  95. exit 1
  96. }
  97. menuentry 'UEFI Firmware Settings' {
  98. fwsetup
  99. }
  100. else
  101. menuentry 'Test memory' {
  102. linux16 /boot/memtest86+x64.bin
  103. }
  104. fi
  105. --------------------------------------------------------------------------------
  106. =================== sdb2: Location of files loaded by Grub: ====================
  107. GiB - GB File Fragment(s)
  108. ======================== Unknown MBRs/Boot Sectors/etc: ========================
  109. Unknown BootLoader on sda1
  110. =============================== StdErr Messages: ===============================
  111. hexdump: /dev/sda1: Input/output error
  112. hexdump: /dev/sda1: Input/output error
  113. cat: /tmp/BootInfo-TcR57FmF/Tmp_Log: No such file or directory
  114. mdadm: No arrays found in config file or automatically

Boot Info Script