Advertisement
serenia

debian-boot-info

Dec 21st, 2021
58
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 15.47 KB | None | 0 0
  1. Boot Info Script 0.78 [09 October 2019]
  2.  
  3.  
  4. ============================= Boot Info Summary: ===============================
  5.  
  6. => Grub2 (v2.00) is installed in the MBR of /dev/sda and looks at sector
  7. 41920760 of the same hard drive for core.img. core.img is at this location
  8. and looks for (,gpt3)/boot/grub. It also embeds following components:
  9.  
  10. modules
  11. ---------------------------------------------------------------------------
  12. fshelp ext2 part_gpt biosdisk
  13. ---------------------------------------------------------------------------
  14.  
  15. sda1: __________________________________________________________________________
  16.  
  17. File system: vfat
  18. Boot sector type: -
  19. Boot sector info: No errors found in the Boot Parameter Block.
  20. Operating System:
  21. Boot files: /efi/BOOT/bootx64.efi
  22. /efi/BOOT-rEFIndBackup/bootx64.efi
  23. /efi/BOOT-rEFIndBackup/grubx64.efi
  24. /efi/Debian/fbx64.efi /efi/Debian/grubx64.efi
  25. /efi/Debian/mmx64.efi /efi/Debian/shimx64.efi
  26. /efi/Debian/grub.cfg /efi/BOOT/drivers_x64/ext4_x64.efi
  27.  
  28. sda2: __________________________________________________________________________
  29.  
  30. File system: swap
  31. Boot sector type: -
  32. Boot sector info:
  33.  
  34. sda3: __________________________________________________________________________
  35.  
  36. File system: ext4
  37. Boot sector type: -
  38. Boot sector info:
  39. Operating System: Debian GNU/Linux 11 (bullseye)
  40. Boot files: /boot/grub/grub.cfg /etc/fstab
  41. /boot/grub/i386-pc/core.img
  42.  
  43. sda4: __________________________________________________________________________
  44.  
  45. File system: ext4
  46. Boot sector type: -
  47. Boot sector info:
  48. Operating System:
  49. Boot files:
  50.  
  51. ============================ Drive/Partition Info: =============================
  52.  
  53. Drive: sda _____________________________________________________________________
  54. Disk /dev/sda: 465,76 GiB, 500107862016 bytes, 976773168 sectors
  55. Disk model: TOSHIBA HDWK105
  56. Units: sectors of 1 * 512 = 512 bytes
  57. Sector size (logical/physical): 512 bytes / 4096 bytes
  58. I/O size (minimum/optimal): 4096 bytes / 4096 bytes
  59.  
  60. Partition Boot Start Sector End Sector # of Sectors Id System
  61.  
  62. /dev/sda1 1 976,773,167 976,773,167 ee GPT
  63.  
  64.  
  65. GUID Partition Table detected.
  66.  
  67. Partition Attrs Start Sector End Sector # of Sectors System
  68. /dev/sda1 2,048 1,026,047 1,024,000 EFI System partition
  69. /dev/sda2 1,026,048 9,414,655 8,388,608 Swap partition (Linux)
  70. /dev/sda3 9,414,656 61,843,455 52,428,800 Data partition (Linux)
  71. /dev/sda4 61,843,456 976,773,119 914,929,664 Data partition (Linux)
  72.  
  73. Attributes: R=Required, N=No Block IO, B=Legacy BIOS Bootable, +=More bits set
  74.  
  75. "blkid" output: ________________________________________________________________
  76.  
  77. Device UUID TYPE LABEL
  78.  
  79. /dev/sda1 2F1D-01E6 vfat BOOT
  80. /dev/sda2 1274a782-676a-41b0-8509-92f73bd675c3 swap swap
  81. /dev/sda3 13503165-9c5f-498d-ab5f-0c13f11cbaa6 ext4 root
  82. /dev/sda4 93c98828-5fb8-4c0e-b6bf-de8d13a9d22e ext4 home
  83.  
  84. ========================= "ls -l /dev/disk/by-id" output: ======================
  85.  
  86. total 0
  87. lrwxrwxrwx 1 root root 9 dec 21 15:31 ata-TOSHIBA_HDWK105_X07PT7I7T -> ../../sda
  88. lrwxrwxrwx 1 root root 10 dec 21 15:31 ata-TOSHIBA_HDWK105_X07PT7I7T-part1 -> ../../sda1
  89. lrwxrwxrwx 1 root root 10 dec 21 15:31 ata-TOSHIBA_HDWK105_X07PT7I7T-part2 -> ../../sda2
  90. lrwxrwxrwx 1 root root 10 dec 21 15:31 ata-TOSHIBA_HDWK105_X07PT7I7T-part3 -> ../../sda3
  91. lrwxrwxrwx 1 root root 10 dec 21 15:31 ata-TOSHIBA_HDWK105_X07PT7I7T-part4 -> ../../sda4
  92. lrwxrwxrwx 1 root root 9 dec 21 15:31 ata-TSSTcorp_DVD+_-RW_SU-208GB_S16A6YEGB01AS8 -> ../../sr0
  93. lrwxrwxrwx 1 root root 9 dec 21 15:31 wwn-0x5000039a51c019f4 -> ../../sda
  94. lrwxrwxrwx 1 root root 10 dec 21 15:31 wwn-0x5000039a51c019f4-part1 -> ../../sda1
  95. lrwxrwxrwx 1 root root 10 dec 21 15:31 wwn-0x5000039a51c019f4-part2 -> ../../sda2
  96. lrwxrwxrwx 1 root root 10 dec 21 15:31 wwn-0x5000039a51c019f4-part3 -> ../../sda3
  97. lrwxrwxrwx 1 root root 10 dec 21 15:31 wwn-0x5000039a51c019f4-part4 -> ../../sda4
  98.  
  99. ================================ Mount points: =================================
  100.  
  101. Device Mount_Point Type Options
  102.  
  103. /dev/sda1 /boot/efi vfat (rw,noatime,fmask=0022,dmask=0022,codepage=437,iocharset=ascii,shortname=mixed,utf8,errors=remount-ro)
  104. /dev/sda3 / ext4 (rw,noatime,stripe=32679)
  105. /dev/sda4 /home ext4 (rw,noatime)
  106.  
  107.  
  108. ========================== sda1/efi/Debian/grub.cfg: ===========================
  109.  
  110. --------------------------------------------------------------------------------
  111. search.fs_uuid 13503165-9c5f-498d-ab5f-0c13f11cbaa6 root hd0,gpt3
  112. set prefix=($root)'/boot/grub'
  113. configfile $prefix/grub.cfg
  114. --------------------------------------------------------------------------------
  115.  
  116. =========================== sda3/boot/grub/grub.cfg: ===========================
  117.  
  118. --------------------------------------------------------------------------------
  119. #
  120. # DO NOT EDIT THIS FILE
  121. #
  122. # It is automatically generated by grub-mkconfig using templates
  123. # from /etc/grub.d and settings from /etc/default/grub
  124. #
  125.  
  126. ### BEGIN /etc/grub.d/00_header ###
  127. if [ -s $prefix/grubenv ]; then
  128. set have_grubenv=true
  129. load_env
  130. fi
  131. if [ "${next_entry}" ] ; then
  132. set default="${next_entry}"
  133. set next_entry=
  134. save_env next_entry
  135. set boot_once=true
  136. else
  137. set default="0"
  138. fi
  139.  
  140. if [ x"${feature_menuentry_id}" = xy ]; then
  141. menuentry_id_option="--id"
  142. else
  143. menuentry_id_option=""
  144. fi
  145.  
  146. export menuentry_id_option
  147.  
  148. if [ "${prev_saved_entry}" ]; then
  149. set saved_entry="${prev_saved_entry}"
  150. save_env saved_entry
  151. set prev_saved_entry=
  152. save_env prev_saved_entry
  153. set boot_once=true
  154. fi
  155.  
  156. function savedefault {
  157. if [ -z "${boot_once}" ]; then
  158. saved_entry="${chosen}"
  159. save_env saved_entry
  160. fi
  161. }
  162. function load_video {
  163. if [ x$feature_all_video_module = xy ]; then
  164. insmod all_video
  165. else
  166. insmod efi_gop
  167. insmod efi_uga
  168. insmod ieee1275_fb
  169. insmod vbe
  170. insmod vga
  171. insmod video_bochs
  172. insmod video_cirrus
  173. fi
  174. }
  175.  
  176. if [ x$feature_default_font_path = xy ] ; then
  177. font=unicode
  178. else
  179. insmod part_gpt
  180. insmod ext2
  181. set root='hd0,gpt3'
  182. if [ x$feature_platform_search_hint = xy ]; then
  183. search --no-floppy --fs-uuid --set=root --hint-bios=hd0,gpt3 --hint-efi=hd0,gpt3 --hint-baremetal=ahci0,gpt3 13503165-9c5f-498d-ab5f-0c13f11cbaa6
  184. else
  185. search --no-floppy --fs-uuid --set=root 13503165-9c5f-498d-ab5f-0c13f11cbaa6
  186. fi
  187. font="/usr/share/grub/unicode.pf2"
  188. fi
  189.  
  190. if loadfont $font ; then
  191. set gfxmode=auto
  192. load_video
  193. insmod gfxterm
  194. set locale_dir=$prefix/locale
  195. set lang=en_US
  196. insmod gettext
  197. fi
  198. terminal_output gfxterm
  199. if [ "${recordfail}" = 1 ] ; then
  200. set timeout=30
  201. else
  202. if [ x$feature_timeout_style = xy ] ; then
  203. set timeout_style=menu
  204. set timeout=5
  205. # Fallback normal timeout code in case the timeout_style feature is
  206. # unavailable.
  207. else
  208. set timeout=5
  209. fi
  210. fi
  211. ### END /etc/grub.d/00_header ###
  212.  
  213. ### BEGIN /etc/grub.d/05_debian_theme ###
  214. insmod part_gpt
  215. insmod ext2
  216. set root='hd0,gpt3'
  217. if [ x$feature_platform_search_hint = xy ]; then
  218. search --no-floppy --fs-uuid --set=root --hint-bios=hd0,gpt3 --hint-efi=hd0,gpt3 --hint-baremetal=ahci0,gpt3 13503165-9c5f-498d-ab5f-0c13f11cbaa6
  219. else
  220. search --no-floppy --fs-uuid --set=root 13503165-9c5f-498d-ab5f-0c13f11cbaa6
  221. fi
  222. insmod png
  223. if background_image /usr/share/desktop-base/homeworld-theme/grub/grub-4x3.png; then
  224. set color_normal=white/black
  225. set color_highlight=black/white
  226. else
  227. set menu_color_normal=cyan/blue
  228. set menu_color_highlight=white/blue
  229. fi
  230. ### END /etc/grub.d/05_debian_theme ###
  231.  
  232. ### BEGIN /etc/grub.d/10_linux ###
  233. function gfxmode {
  234. set gfxpayload="${1}"
  235. }
  236. set linux_gfx_mode=
  237. export linux_gfx_mode
  238. menuentry 'Debian GNU/Linux' --class debian --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-simple-13503165-9c5f-498d-ab5f-0c13f11cbaa6' {
  239. load_video
  240. insmod gzio
  241. if [ x$grub_platform = xxen ]; then insmod xzio; insmod lzopio; fi
  242. insmod part_gpt
  243. insmod ext2
  244. set root='hd0,gpt3'
  245. if [ x$feature_platform_search_hint = xy ]; then
  246. search --no-floppy --fs-uuid --set=root --hint-bios=hd0,gpt3 --hint-efi=hd0,gpt3 --hint-baremetal=ahci0,gpt3 13503165-9c5f-498d-ab5f-0c13f11cbaa6
  247. else
  248. search --no-floppy --fs-uuid --set=root 13503165-9c5f-498d-ab5f-0c13f11cbaa6
  249. fi
  250. echo 'Loading Linux 5.10.0-10-amd64 ...'
  251. linux /boot/vmlinuz-5.10.0-10-amd64 root=UUID=13503165-9c5f-498d-ab5f-0c13f11cbaa6 ro quiet splash
  252. echo 'Loading initial ramdisk ...'
  253. initrd /boot/initrd.img-5.10.0-10-amd64
  254. }
  255. submenu 'Advanced options for Debian GNU/Linux' $menuentry_id_option 'gnulinux-advanced-13503165-9c5f-498d-ab5f-0c13f11cbaa6' {
  256. menuentry 'Debian GNU/Linux, with Linux 5.10.0-10-amd64' --class debian --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-5.10.0-10-amd64-advanced-13503165-9c5f-498d-ab5f-0c13f11cbaa6' {
  257. load_video
  258. insmod gzio
  259. if [ x$grub_platform = xxen ]; then insmod xzio; insmod lzopio; fi
  260. insmod part_gpt
  261. insmod ext2
  262. set root='hd0,gpt3'
  263. if [ x$feature_platform_search_hint = xy ]; then
  264. search --no-floppy --fs-uuid --set=root --hint-bios=hd0,gpt3 --hint-efi=hd0,gpt3 --hint-baremetal=ahci0,gpt3 13503165-9c5f-498d-ab5f-0c13f11cbaa6
  265. else
  266. search --no-floppy --fs-uuid --set=root 13503165-9c5f-498d-ab5f-0c13f11cbaa6
  267. fi
  268. echo 'Loading Linux 5.10.0-10-amd64 ...'
  269. linux /boot/vmlinuz-5.10.0-10-amd64 root=UUID=13503165-9c5f-498d-ab5f-0c13f11cbaa6 ro quiet splash
  270. echo 'Loading initial ramdisk ...'
  271. initrd /boot/initrd.img-5.10.0-10-amd64
  272. }
  273. menuentry 'Debian GNU/Linux, with Linux 5.10.0-10-amd64 (recovery mode)' --class debian --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-5.10.0-10-amd64-recovery-13503165-9c5f-498d-ab5f-0c13f11cbaa6' {
  274. load_video
  275. insmod gzio
  276. if [ x$grub_platform = xxen ]; then insmod xzio; insmod lzopio; fi
  277. insmod part_gpt
  278. insmod ext2
  279. set root='hd0,gpt3'
  280. if [ x$feature_platform_search_hint = xy ]; then
  281. search --no-floppy --fs-uuid --set=root --hint-bios=hd0,gpt3 --hint-efi=hd0,gpt3 --hint-baremetal=ahci0,gpt3 13503165-9c5f-498d-ab5f-0c13f11cbaa6
  282. else
  283. search --no-floppy --fs-uuid --set=root 13503165-9c5f-498d-ab5f-0c13f11cbaa6
  284. fi
  285. echo 'Loading Linux 5.10.0-10-amd64 ...'
  286. linux /boot/vmlinuz-5.10.0-10-amd64 root=UUID=13503165-9c5f-498d-ab5f-0c13f11cbaa6 ro single
  287. echo 'Loading initial ramdisk ...'
  288. initrd /boot/initrd.img-5.10.0-10-amd64
  289. }
  290. menuentry 'Debian GNU/Linux, with Linux 5.10.0-9-amd64' --class debian --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-5.10.0-9-amd64-advanced-13503165-9c5f-498d-ab5f-0c13f11cbaa6' {
  291. load_video
  292. insmod gzio
  293. if [ x$grub_platform = xxen ]; then insmod xzio; insmod lzopio; fi
  294. insmod part_gpt
  295. insmod ext2
  296. set root='hd0,gpt3'
  297. if [ x$feature_platform_search_hint = xy ]; then
  298. search --no-floppy --fs-uuid --set=root --hint-bios=hd0,gpt3 --hint-efi=hd0,gpt3 --hint-baremetal=ahci0,gpt3 13503165-9c5f-498d-ab5f-0c13f11cbaa6
  299. else
  300. search --no-floppy --fs-uuid --set=root 13503165-9c5f-498d-ab5f-0c13f11cbaa6
  301. fi
  302. echo 'Loading Linux 5.10.0-9-amd64 ...'
  303. linux /boot/vmlinuz-5.10.0-9-amd64 root=UUID=13503165-9c5f-498d-ab5f-0c13f11cbaa6 ro quiet splash
  304. echo 'Loading initial ramdisk ...'
  305. initrd /boot/initrd.img-5.10.0-9-amd64
  306. }
  307. menuentry 'Debian GNU/Linux, with Linux 5.10.0-9-amd64 (recovery mode)' --class debian --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-5.10.0-9-amd64-recovery-13503165-9c5f-498d-ab5f-0c13f11cbaa6' {
  308. load_video
  309. insmod gzio
  310. if [ x$grub_platform = xxen ]; then insmod xzio; insmod lzopio; fi
  311. insmod part_gpt
  312. insmod ext2
  313. set root='hd0,gpt3'
  314. if [ x$feature_platform_search_hint = xy ]; then
  315. search --no-floppy --fs-uuid --set=root --hint-bios=hd0,gpt3 --hint-efi=hd0,gpt3 --hint-baremetal=ahci0,gpt3 13503165-9c5f-498d-ab5f-0c13f11cbaa6
  316. else
  317. search --no-floppy --fs-uuid --set=root 13503165-9c5f-498d-ab5f-0c13f11cbaa6
  318. fi
  319. echo 'Loading Linux 5.10.0-9-amd64 ...'
  320. linux /boot/vmlinuz-5.10.0-9-amd64 root=UUID=13503165-9c5f-498d-ab5f-0c13f11cbaa6 ro single
  321. echo 'Loading initial ramdisk ...'
  322. initrd /boot/initrd.img-5.10.0-9-amd64
  323. }
  324. }
  325.  
  326. ### END /etc/grub.d/10_linux ###
  327.  
  328. ### BEGIN /etc/grub.d/20_linux_xen ###
  329.  
  330. ### END /etc/grub.d/20_linux_xen ###
  331.  
  332. ### BEGIN /etc/grub.d/30_os-prober ###
  333. ### END /etc/grub.d/30_os-prober ###
  334.  
  335. ### BEGIN /etc/grub.d/30_uefi-firmware ###
  336. ### END /etc/grub.d/30_uefi-firmware ###
  337.  
  338. ### BEGIN /etc/grub.d/40_custom ###
  339. # This file provides an easy way to add custom menu entries. Simply type the
  340. # menu entries you want to add after this comment. Be careful not to change
  341. # the 'exec tail' line above.
  342. ### END /etc/grub.d/40_custom ###
  343.  
  344. ### BEGIN /etc/grub.d/41_custom ###
  345. if [ -f ${config_directory}/custom.cfg ]; then
  346. source ${config_directory}/custom.cfg
  347. elif [ -z "${config_directory}" -a -f $prefix/custom.cfg ]; then
  348. source $prefix/custom.cfg;
  349. fi
  350. ### END /etc/grub.d/41_custom ###
  351. --------------------------------------------------------------------------------
  352.  
  353. =============================== sda3/etc/fstab: ================================
  354.  
  355. --------------------------------------------------------------------------------
  356. # /etc/fstab: static file system information.
  357. #
  358. # Use 'blkid' to print the universally unique identifier for a device; this may
  359. # be used with UUID= as a more robust way to name devices that works even if
  360. # disks are added and removed. See fstab(5).
  361. #
  362. # <file system> <mount point> <type> <options> <dump> <pass>
  363. UUID=2F1D-01E6 /boot/efi vfat defaults,noatime 0 2
  364. UUID=13503165-9c5f-498d-ab5f-0c13f11cbaa6 / ext4 defaults,noatime 0 1
  365. UUID=93c98828-5fb8-4c0e-b6bf-de8d13a9d22e /home ext4 defaults,noatime 0 2
  366. --------------------------------------------------------------------------------
  367.  
  368. =================== sda3: Location of files loaded by Grub: ====================
  369.  
  370. GiB - GB File Fragment(s)
  371.  
  372. 17.480262756 = 18.769289216 boot/grub/grub.cfg 2
  373. 19.989398956 = 21.463453696 boot/grub/i386-pc/core.img 1
  374. 12.362815857 = 13.274472448 boot/vmlinuz-5.10.0-10-amd64 1
  375. 10.624755859 = 11.408244736 boot/vmlinuz-5.10.0-9-amd64 1
  376. 12.362815857 = 13.274472448 vmlinuz 1
  377. 10.624755859 = 11.408244736 vmlinuz.old 1
  378. 13.695411682 = 14.705336320 boot/initrd.img-5.10.0-10-amd64 1
  379. 26.109462738 = 28.034822144 boot/initrd.img-5.10.0-9-amd64 1
  380. 13.695411682 = 14.705336320 initrd.img 1
  381. 26.109462738 = 28.034822144 initrd.img.old 1
  382.  
  383. =============================== StdErr Messages: ===============================
  384.  
  385. mdadm: No arrays found in config file or automatically
  386.  
  387.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement