Skip to content

Instantly share code, notes, and snippets.

/-

Created December 26, 2016 19:37
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save anonymous/6571335dd1c5f597c31a2c868ea52b1d to your computer and use it in GitHub Desktop.
Save anonymous/6571335dd1c5f597c31a2c868ea52b1d to your computer and use it in GitHub Desktop.
Boot Info Script 0.61 [1 April 2012]
Identifying MBRs...
Computing Partition Table of /dev/sda...
Computing Partition Table of /dev/sdb...
Computing Partition Table of /dev/sdc...
Computing Partition Table of /dev/sdd...
Searching sda1 for information...
Searching sda2 for information...
Searching sda3 for information...
Searching sda4 for information...
Searching BOOT for information...
Searching Win7 for information...
Searching WinXP for information...
Searching sdb1 for information...
Searching sdc1 for information...
Searching sdc2 for information...
Searching sdd1 for information...
Boot Info Script 0.61 [1 April 2012]
============================= Boot Info Summary: ===============================
=> BootIt NG is installed in the MBR of /dev/sda.
=> Windows is installed in the MBR of /dev/sdb.
=> Windows is installed in the MBR of /dev/sdc.
=> No boot loader is installed in the MBR of /dev/sdd.
sda1: __________________________________________________________________________
File system: swap
Boot sector type: -
Boot sector info:
sda2: __________________________________________________________________________
File system: ext4
Boot sector type: Grub2 (v1.99)
Boot sector info: Grub2 (v1.99) is installed in the boot sector of sda2
and looks at sector 452404811 of the same hard drive
for core.img. core.img is at this location and looks
in partition 97 for .
Operating System: Linux Mint 18 Sarah
Boot files: /boot/grub/grub.cfg /etc/fstab
sda3: __________________________________________________________________________
File system: ext4
Boot sector type: -
Boot sector info:
Operating System:
Boot files:
sda4: __________________________________________________________________________
File system: ntfs
Boot sector type: BootIt: FAT16
Boot sector info: No errors found in the Boot Parameter Block.
Operating System:
Boot files:
BOOT: __________________________________________________________________________
File system: vfat
Boot sector type: MSWIN4.1: FAT32
Boot sector info: No errors found in the Boot Parameter Block.
Operating System: Windows 98
Boot files: /IO.SYS /MSDOS.SYS /COMMAND.COM
Win7: __________________________________________________________________________
File system: ntfs
Boot sector type: Windows Vista/7: NTFS
Boot sector info: No errors found in the Boot Parameter Block.
Operating System:
Boot files: /bootmgr /Boot/BCD /Windows/System32/winload.exe
WinXP: _________________________________________________________________________
File system: ntfs
Boot sector type: Windows XP: NTFS
Boot sector info: No errors found in the Boot Parameter Block.
Operating System: Windows XP
Boot files: /boot.ini /ntldr /NTDETECT.COM
sdb1: __________________________________________________________________________
File system: ntfs
Boot sector type: Windows XP: NTFS
Boot sector info: No errors found in the Boot Parameter Block.
Operating System:
Boot files:
sdc1: __________________________________________________________________________
File system: ntfs
Boot sector type: Windows XP: NTFS
Boot sector info: No errors found in the Boot Parameter Block.
Operating System:
Boot files:
sdc2: __________________________________________________________________________
File system: ntfs
Boot sector type: Windows XP: NTFS
Boot sector info: No errors found in the Boot Parameter Block.
Operating System:
Boot files:
sdd1: __________________________________________________________________________
File system: ntfs
Boot sector type: Windows XP: NTFS
Boot sector info: No errors found in the Boot Parameter Block.
Operating System:
Boot files:
============================ Drive/Partition Info: =============================
Drive: sda _____________________________________________________________________
Disk /dev/sda: 232.9 GiB, 250000000000 bytes, 488281250 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disklabel type: dos
Partition Boot Start Sector End Sector # of Sectors Id System
/dev/sda1 479,893,680 488,279,609 8,385,930 82 Linux swap / Solaris
/dev/sda2 * 438,943,995 479,893,679 40,949,685 83 Linux
/dev/sda3 426,847,050 438,943,994 12,096,945 83 Linux
/dev/sda4 139,283,550 372,756,194 233,472,645 7 NTFS / exFAT / HPFS
BootIt NG Partition Table detected.
Partition Boot Start Sector End Sector # of Sectors Id System Ind ?
BOOT - 63 14,346,044 14,345,982 b W95 FAT32 7 40
Win7 - 14,349,300 139,283,549 124,934,250 7 NTFS / exFAT / HPFS 5 0
Data - 139,283,550 372,756,194 233,472,645 7 NTFS / exFAT / HPFS 4 0
WinXP - 372,756,195 426,847,049 54,090,855 7 NTFS / exFAT / HPFS 6 0
Home - 426,847,050 438,943,994 12,096,945 83 Linux 3 0
Root - 438,943,995 479,893,679 40,949,685 83 Linux 2 0
Swap - 479,893,680 488,279,609 8,385,930 82 Linux swap / Solaris 1 0
Drive: sdb _____________________________________________________________________
Disk /dev/sdb: 1.8 TiB, 2000398934016 bytes, 3907029168 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 4096 bytes
I/O size (minimum/optimal): 4096 bytes / 4096 bytes
Disklabel type: dos
Partition Boot Start Sector End Sector # of Sectors Id System
/dev/sdb1 2,048 3,907,026,943 3,907,024,896 7 NTFS / exFAT / HPFS
Drive: sdc _____________________________________________________________________
Disk /dev/sdc: 232.9 GiB, 250000000000 bytes, 488281250 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disklabel type: dos
Partition Boot Start Sector End Sector # of Sectors Id System
/dev/sdc1 63 98,285,669 98,285,607 7 NTFS / exFAT / HPFS
/dev/sdc2 98,285,670 488,279,609 389,993,940 7 NTFS / exFAT / HPFS
Drive: sdd _____________________________________________________________________
Disk /dev/sdd: 298.1 GiB, 320072933376 bytes, 625142448 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disklabel type: dos
Partition Boot Start Sector End Sector # of Sectors Id System
/dev/sdd1 63 625,137,344 625,137,282 7 NTFS / exFAT / HPFS
"blkid" output: ________________________________________________________________
Device UUID TYPE LABEL
/dev/sda1 ebc9224e-0a81-4a01-b95c-c8d8ff653932 swap
/dev/sda2 f459dc96-8144-4d3a-93a6-53d5a216538b ext4
/dev/sda3 55838a69-20f7-43a2-a52b-8735fdc31fa1 ext4
/dev/sda4 01D1C20EA9874400 ntfs Data
/dev/sdb1 B64C3C7E4C3C3B85 ntfs Media
/dev/sdc1 01D16AC71F3CA7C0 ntfs AV-Data Backup
/dev/sdc2 01D16AC73A2A9380 ntfs Bkup
/dev/sdd1 0268B3A168B39241 ntfs xBkup
================================ Mount points: =================================
Device Mount_Point Type Options
/dev/sda2 / ext4 (rw,relatime,errors=remount-ro,data=ordered)
/dev/sda3 /home ext4 (rw,relatime,data=ordered)
/dev/sda4 /media/data fuseblk (rw,nosuid,nodev,noexec,relatime,user_id=0,group_id=0,allow_other,blksize=4096,user)
/dev/sdb1 /media/media fuseblk (rw,nosuid,nodev,noexec,relatime,user_id=0,group_id=0,allow_other,blksize=4096,user)
/dev/sdc2 /media/bkup fuseblk (rw,nosuid,nodev,noexec,relatime,user_id=0,group_id=0,allow_other,blksize=4096,user)
/dev/sdd1 /media/xbkup fuseblk (rw,nosuid,nodev,noexec,relatime,user_id=0,group_id=0,allow_other,blksize=4096,user)
=========================== sda2/boot/grub/grub.cfg: ===========================
--------------------------------------------------------------------------------
#
# DO NOT EDIT THIS FILE
#
# It is automatically generated by grub-mkconfig using templates
# from /etc/grub.d and settings from /etc/default/grub
#
### BEGIN /etc/grub.d/00_header ###
if [ -s $prefix/grubenv ]; then
set have_grubenv=true
load_env
fi
if [ "${next_entry}" ] ; then
set default="${next_entry}"
set next_entry=
save_env next_entry
set boot_once=true
else
set default="0"
fi
if [ x"${feature_menuentry_id}" = xy ]; then
menuentry_id_option="--id"
else
menuentry_id_option=""
fi
export menuentry_id_option
if [ "${prev_saved_entry}" ]; then
set saved_entry="${prev_saved_entry}"
save_env saved_entry
set prev_saved_entry=
save_env prev_saved_entry
set boot_once=true
fi
function savedefault {
if [ -z "${boot_once}" ]; then
saved_entry="${chosen}"
save_env saved_entry
fi
}
function recordfail {
set recordfail=1
if [ -n "${have_grubenv}" ]; then if [ -z "${boot_once}" ]; then save_env recordfail; fi; fi
}
function load_video {
if [ x$feature_all_video_module = xy ]; then
insmod all_video
else
insmod efi_gop
insmod efi_uga
insmod ieee1275_fb
insmod vbe
insmod vga
insmod video_bochs
insmod video_cirrus
fi
}
if [ x$feature_default_font_path = xy ] ; then
font=unicode
else
insmod part_msdos
insmod ext2
set root='hd0,msdos2'
if [ x$feature_platform_search_hint = xy ]; then
search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos2 --hint-efi=hd0,msdos2 --hint-baremetal=ahci0,msdos2 f459dc96-8144-4d3a-93a6-53d5a216538b
else
search --no-floppy --fs-uuid --set=root f459dc96-8144-4d3a-93a6-53d5a216538b
fi
font="/usr/share/grub/unicode.pf2"
fi
if loadfont $font ; then
set gfxmode=auto
load_video
insmod gfxterm
set locale_dir=$prefix/locale
set lang=en_US
insmod gettext
fi
terminal_output gfxterm
if [ "${recordfail}" = 1 ] ; then
set timeout=30
else
if [ x$feature_timeout_style = xy ] ; then
set timeout_style=hidden
set timeout=0
# Fallback hidden-timeout code in case the timeout_style feature is
# unavailable.
elif sleep --interruptible 0 ; then
set timeout=0
fi
fi
### END /etc/grub.d/00_header ###
### BEGIN /etc/grub.d/05_debian_theme ###
set menu_color_normal=white/black
set menu_color_highlight=black/light-gray
### END /etc/grub.d/05_debian_theme ###
### BEGIN /etc/grub.d/06_mint_theme ###
set menu_color_normal=white/black
set menu_color_highlight=white/light-gray
### END /etc/grub.d/06_mint_theme ###
### BEGIN /etc/grub.d/10_linux ###
function gfxmode {
set gfxpayload="${1}"
if [ "${1}" = "keep" ]; then
set vt_handoff=vt.handoff=7
else
set vt_handoff=
fi
}
if [ "${recordfail}" != 1 ]; then
if [ -e ${prefix}/gfxblacklist.txt ]; then
if hwmatch ${prefix}/gfxblacklist.txt 3; then
if [ ${match} = 0 ]; then
set linux_gfx_mode=keep
else
set linux_gfx_mode=text
fi
else
set linux_gfx_mode=text
fi
else
set linux_gfx_mode=keep
fi
else
set linux_gfx_mode=text
fi
export linux_gfx_mode
menuentry 'Linux Mint 18 Cinnamon 64-bit' --class ubuntu --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-simple-f459dc96-8144-4d3a-93a6-53d5a216538b' {
recordfail
load_video
gfxmode $linux_gfx_mode
insmod gzio
if [ x$grub_platform = xxen ]; then insmod xzio; insmod lzopio; fi
insmod part_msdos
insmod ext2
set root='hd0,msdos2'
if [ x$feature_platform_search_hint = xy ]; then
search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos2 --hint-efi=hd0,msdos2 --hint-baremetal=ahci0,msdos2 f459dc96-8144-4d3a-93a6-53d5a216538b
else
search --no-floppy --fs-uuid --set=root f459dc96-8144-4d3a-93a6-53d5a216538b
fi
linux /boot/vmlinuz-4.4.0-21-generic root=UUID=f459dc96-8144-4d3a-93a6-53d5a216538b ro quiet splash $vt_handoff
initrd /boot/initrd.img-4.4.0-21-generic
}
submenu 'Advanced options for Linux Mint 18 Cinnamon 64-bit' $menuentry_id_option 'gnulinux-advanced-f459dc96-8144-4d3a-93a6-53d5a216538b' {
menuentry 'Linux Mint 18 Cinnamon 64-bit, with Linux 4.4.0-21-generic' --class ubuntu --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-4.4.0-21-generic-advanced-f459dc96-8144-4d3a-93a6-53d5a216538b' {
recordfail
load_video
gfxmode $linux_gfx_mode
insmod gzio
if [ x$grub_platform = xxen ]; then insmod xzio; insmod lzopio; fi
insmod part_msdos
insmod ext2
set root='hd0,msdos2'
if [ x$feature_platform_search_hint = xy ]; then
search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos2 --hint-efi=hd0,msdos2 --hint-baremetal=ahci0,msdos2 f459dc96-8144-4d3a-93a6-53d5a216538b
else
search --no-floppy --fs-uuid --set=root f459dc96-8144-4d3a-93a6-53d5a216538b
fi
echo 'Loading Linux 4.4.0-21-generic ...'
linux /boot/vmlinuz-4.4.0-21-generic root=UUID=f459dc96-8144-4d3a-93a6-53d5a216538b ro quiet splash $vt_handoff
echo 'Loading initial ramdisk ...'
initrd /boot/initrd.img-4.4.0-21-generic
}
menuentry 'Linux Mint 18 Cinnamon 64-bit, with Linux 4.4.0-21-generic (upstart)' --class ubuntu --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-4.4.0-21-generic-init-upstart-f459dc96-8144-4d3a-93a6-53d5a216538b' {
recordfail
load_video
gfxmode $linux_gfx_mode
insmod gzio
if [ x$grub_platform = xxen ]; then insmod xzio; insmod lzopio; fi
insmod part_msdos
insmod ext2
set root='hd0,msdos2'
if [ x$feature_platform_search_hint = xy ]; then
search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos2 --hint-efi=hd0,msdos2 --hint-baremetal=ahci0,msdos2 f459dc96-8144-4d3a-93a6-53d5a216538b
else
search --no-floppy --fs-uuid --set=root f459dc96-8144-4d3a-93a6-53d5a216538b
fi
echo 'Loading Linux 4.4.0-21-generic ...'
linux /boot/vmlinuz-4.4.0-21-generic root=UUID=f459dc96-8144-4d3a-93a6-53d5a216538b ro quiet splash $vt_handoff init=/sbin/upstart
echo 'Loading initial ramdisk ...'
initrd /boot/initrd.img-4.4.0-21-generic
}
menuentry 'Linux Mint 18 Cinnamon 64-bit, with Linux 4.4.0-21-generic (recovery mode)' --class ubuntu --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-4.4.0-21-generic-recovery-f459dc96-8144-4d3a-93a6-53d5a216538b' {
recordfail
load_video
insmod gzio
if [ x$grub_platform = xxen ]; then insmod xzio; insmod lzopio; fi
insmod part_msdos
insmod ext2
set root='hd0,msdos2'
if [ x$feature_platform_search_hint = xy ]; then
search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos2 --hint-efi=hd0,msdos2 --hint-baremetal=ahci0,msdos2 f459dc96-8144-4d3a-93a6-53d5a216538b
else
search --no-floppy --fs-uuid --set=root f459dc96-8144-4d3a-93a6-53d5a216538b
fi
echo 'Loading Linux 4.4.0-21-generic ...'
linux /boot/vmlinuz-4.4.0-21-generic root=UUID=f459dc96-8144-4d3a-93a6-53d5a216538b ro recovery nomodeset
echo 'Loading initial ramdisk ...'
initrd /boot/initrd.img-4.4.0-21-generic
}
}
### END /etc/grub.d/10_linux ###
### BEGIN /etc/grub.d/10_lupin ###
### END /etc/grub.d/10_lupin ###
### BEGIN /etc/grub.d/20_linux_xen ###
### END /etc/grub.d/20_linux_xen ###
### BEGIN /etc/grub.d/20_memtest86+ ###
menuentry 'Memory test (memtest86+)' {
insmod part_msdos
insmod ext2
set root='hd0,msdos2'
if [ x$feature_platform_search_hint = xy ]; then
search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos2 --hint-efi=hd0,msdos2 --hint-baremetal=ahci0,msdos2 f459dc96-8144-4d3a-93a6-53d5a216538b
else
search --no-floppy --fs-uuid --set=root f459dc96-8144-4d3a-93a6-53d5a216538b
fi
knetbsd /boot/memtest86+.elf
}
menuentry 'Memory test (memtest86+, serial console 115200)' {
insmod part_msdos
insmod ext2
set root='hd0,msdos2'
if [ x$feature_platform_search_hint = xy ]; then
search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos2 --hint-efi=hd0,msdos2 --hint-baremetal=ahci0,msdos2 f459dc96-8144-4d3a-93a6-53d5a216538b
else
search --no-floppy --fs-uuid --set=root f459dc96-8144-4d3a-93a6-53d5a216538b
fi
linux16 /boot/memtest86+.bin console=ttyS0,115200n8
}
### END /etc/grub.d/20_memtest86+ ###
### BEGIN /etc/grub.d/30_os-prober ###
### END /etc/grub.d/30_os-prober ###
### BEGIN /etc/grub.d/30_uefi-firmware ###
### END /etc/grub.d/30_uefi-firmware ###
### BEGIN /etc/grub.d/40_custom ###
# This file provides an easy way to add custom menu entries. Simply type the
# menu entries you want to add after this comment. Be careful not to change
# the 'exec tail' line above.
### END /etc/grub.d/40_custom ###
### BEGIN /etc/grub.d/41_custom ###
if [ -f ${config_directory}/custom.cfg ]; then
source ${config_directory}/custom.cfg
elif [ -z "${config_directory}" -a -f $prefix/custom.cfg ]; then
source $prefix/custom.cfg;
fi
### END /etc/grub.d/41_custom ###
--------------------------------------------------------------------------------
=============================== sda2/etc/fstab: ================================
--------------------------------------------------------------------------------
#
# Use 'blkid' to print the universally unique identifier for a
# device; this may be used with UUID= as a more robust way to name devices
# that works even if disks are added and removed. See fstab(5).
#
# <file system> <mount point> <type> <options> <dump> <pass>
# / was on /dev/sda2 during installation
UUID=f459dc96-8144-4d3a-93a6-53d5a216538b / ext4 errors=remount-ro 0 1
# /home was on /dev/sda3 during installation
UUID=55838a69-20f7-43a2-a52b-8735fdc31fa1 /home ext4 defaults 0 2
# swap was on /dev/sda1 during installation
UUID=ebc9224e-0a81-4a01-b95c-c8d8ff653932 none swap sw 0 0
/dev/fd0 /media/floppy0 auto rw,user,noauto,exec,utf8 0 0
/dev/sda4 /media/data ntfs-3g rw,user,auto 0 0
/dev/sdb1 /media/media ntfs-3g rw,user,auto 0 0
/dev/sdc2 /media/bkup ntfs-3g rw,user,auto 0 0
/dev/sdd1 /media/xbkup ntfs-3g rw,user,auto 0 0
--------------------------------------------------------------------------------
=================== sda2: Location of files loaded by Grub: ====================
GiB - GB File Fragment(s)
=============================== WinXP/boot.ini: ================================
--------------------------------------------------------------------------------
[boot loader]
timeout=30
default=multi(0)disk(0)rdisk(0)partition(4)\WINDOWS
[operating systems]
multi(0)disk(0)rdisk(0)partition(4)\WINDOWS="Microsoft Windows XP Professional" /noexecute=optin /fastdetect
--------------------------------------------------------------------------------
========= Devices which don't seem to have a corresponding hard drive: =========
sde sdf
=============================== StdErr Messages: ===============================
cat: /tmp/BootInfo-CDesSPNU/Tmp_Log: No such file or directory
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment