bikal |
06-10-2016 10:42 PM |
Thanks for the reply.
I ran the bootinfoscript and got the following result in the terminal:
Code:
root@bt:~/Desktop# ./bootinfoscript.sh
Boot Info Script 0.74 [06 February 2016]
Identifying MBRs...
Computing Partition Table of /dev/sda...
Computing Partition Table of /dev/sdb...
Searching sda1 for information...
Searching sda2 for information...
Searching sda3 for information...
Searching sda4 for information...
Searching sda5 for information...
Searching sda6 for information...
Searching sdb1 for information...
Finished. The results are in the file "RESULTS.txt"
located in "/root/Desktop/".
I opened the result.txt and got the following results:
Code:
Boot Info Script 0.74 [06 February 2016]
============================= Boot Info Summary: ===============================
=> Windows 7/8/2012 is installed in the MBR of /dev/sda.
=> Syslinux MBR (4.04-4.07) is installed in the MBR of /dev/sdb.
sda1: __________________________________________________________________________
File system: ntfs
Boot sector type: Windows 7/2008: NTFS
Boot sector info: No errors found in the Boot Parameter Block.
Operating System:
Boot files: /bootmgr /Boot/BCD
sda2: __________________________________________________________________________
File system: ntfs
Boot sector type: Windows 7/2008: NTFS
Boot sector info: No errors found in the Boot Parameter Block.
Operating System: Windows 7
Boot files: /Windows/System32/winload.exe
sda3: __________________________________________________________________________
File system: ntfs
Boot sector type: Windows 7/2008: NTFS
Boot sector info: No errors found in the Boot Parameter Block.
Operating System:
Boot files:
sda4: __________________________________________________________________________
File system: Extended Partition
Boot sector type: Unknown
Boot sector info:
sda5: __________________________________________________________________________
File system: ntfs
Boot sector type: Windows 2000/XP: NTFS
Boot sector info: According to the info in the boot sector, sda5 starts
at sector 63.
Operating System:
Boot files:
sda6: __________________________________________________________________________
File system: ext4
Boot sector type: -
Boot sector info:
Operating System: Kali GNU/Linux Rolling
Boot files: /boot/grub/grub.cfg /etc/fstab
/boot/grub/i386-pc/core.img
sdb1: __________________________________________________________________________
File system: vfat
Boot sector type: Syslinux 4.03 or higher
Boot sector info: Syslinux looks at sector 1666688 of /dev/sdb1 for its
second stage. It is very unlikely that Syslinux is
(still) installed. The second stage could not be
found. No errors found in the Boot Parameter Block.
Operating System:
Boot files:
============================ Drive/Partition Info: =============================
Drive: sda _____________________________________________________________________
Disk /dev/sda: 500.1 GB, 500107862016 bytes
255 heads, 63 sectors/track, 60801 cylinders, total 976773168 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 4096 bytes
Partition Boot Start Sector End Sector # of Sectors Id System
/dev/sda1 2,048 206,847 204,800 7 NTFS / exFAT / HPFS
/dev/sda2 206,848 163,842,047 163,635,200 7 NTFS / exFAT / HPFS
/dev/sda3 163,842,048 788,024,439 624,182,392 7 NTFS / exFAT / HPFS
/dev/sda4 788,025,281 976,771,071 188,745,791 f W95 Extended (LBA)
/dev/sda5 788,025,344 850,939,903 62,914,560 7 NTFS / exFAT / HPFS
/dev/sda6 850,941,952 976,771,071 125,829,120 83 Linux
Drive: sdb _____________________________________________________________________
Disk /dev/sdb: 4041 MB, 4041211904 bytes
128 heads, 63 sectors/track, 978 cylinders, total 7892992 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
Partition Boot Start Sector End Sector # of Sectors Id System
/dev/sdb1 * 63 7,892,991 7,892,929 b W95 FAT32
"blkid" output: ________________________________________________________________
Device UUID TYPE LABEL
/dev/loop0 squashfs
/dev/sda1 468C81108C80FC25 ntfs System Reserved
/dev/sda2 C6748575748568CF ntfs
/dev/sda3 58749E4D749E2DAE ntfs android
/dev/sda5 01D1BE0D0BEFEB20 ntfs
/dev/sda6 f0982599-b505-4040-88d3-9a55a98ef78f ext4
/dev/sdb1 06F1-A361 vfat MYLINUXLIVE
/dev/sr0 iso9660 BT5
========================= "ls -l /dev/disk/by-id" output: ======================
total 0
lrwxrwxrwx 1 root root 9 2016-06-11 05:05 ata-TOSHIBA_DT01ACA050_Y46P62SHS -> ../../sda
lrwxrwxrwx 1 root root 10 2016-06-11 05:05 ata-TOSHIBA_DT01ACA050_Y46P62SHS-part1 -> ../../sda1
lrwxrwxrwx 1 root root 10 2016-06-11 05:05 ata-TOSHIBA_DT01ACA050_Y46P62SHS-part2 -> ../../sda2
lrwxrwxrwx 1 root root 10 2016-06-11 05:05 ata-TOSHIBA_DT01ACA050_Y46P62SHS-part3 -> ../../sda3
lrwxrwxrwx 1 root root 10 2016-06-11 05:05 ata-TOSHIBA_DT01ACA050_Y46P62SHS-part4 -> ../../sda4
lrwxrwxrwx 1 root root 10 2016-06-11 05:05 ata-TOSHIBA_DT01ACA050_Y46P62SHS-part5 -> ../../sda5
lrwxrwxrwx 1 root root 10 2016-06-11 05:05 ata-TOSHIBA_DT01ACA050_Y46P62SHS-part6 -> ../../sda6
lrwxrwxrwx 1 root root 9 2016-06-11 05:05 scsi-SATA_TOSHIBA_DT01ACA_Y46P62SHS -> ../../sda
lrwxrwxrwx 1 root root 10 2016-06-11 05:05 scsi-SATA_TOSHIBA_DT01ACA_Y46P62SHS-part1 -> ../../sda1
lrwxrwxrwx 1 root root 10 2016-06-11 05:05 scsi-SATA_TOSHIBA_DT01ACA_Y46P62SHS-part2 -> ../../sda2
lrwxrwxrwx 1 root root 10 2016-06-11 05:05 scsi-SATA_TOSHIBA_DT01ACA_Y46P62SHS-part3 -> ../../sda3
lrwxrwxrwx 1 root root 10 2016-06-11 05:05 scsi-SATA_TOSHIBA_DT01ACA_Y46P62SHS-part4 -> ../../sda4
lrwxrwxrwx 1 root root 10 2016-06-11 05:05 scsi-SATA_TOSHIBA_DT01ACA_Y46P62SHS-part5 -> ../../sda5
lrwxrwxrwx 1 root root 10 2016-06-11 05:05 scsi-SATA_TOSHIBA_DT01ACA_Y46P62SHS-part6 -> ../../sda6
lrwxrwxrwx 1 root root 9 2016-06-11 05:05 usb-ADATA_USB_Flash_Drive_10000004993B47-0:0 -> ../../sdb
lrwxrwxrwx 1 root root 10 2016-06-11 05:05 usb-ADATA_USB_Flash_Drive_10000004993B47-0:0-part1 -> ../../sdb1
lrwxrwxrwx 1 root root 9 2016-06-11 05:05 wwn-0x5000039ffde5d1a8 -> ../../sda
lrwxrwxrwx 1 root root 10 2016-06-11 05:05 wwn-0x5000039ffde5d1a8-part1 -> ../../sda1
lrwxrwxrwx 1 root root 10 2016-06-11 05:05 wwn-0x5000039ffde5d1a8-part2 -> ../../sda2
lrwxrwxrwx 1 root root 10 2016-06-11 05:05 wwn-0x5000039ffde5d1a8-part3 -> ../../sda3
lrwxrwxrwx 1 root root 10 2016-06-11 05:05 wwn-0x5000039ffde5d1a8-part4 -> ../../sda4
lrwxrwxrwx 1 root root 10 2016-06-11 05:05 wwn-0x5000039ffde5d1a8-part5 -> ../../sda5
lrwxrwxrwx 1 root root 10 2016-06-11 05:05 wwn-0x5000039ffde5d1a8-part6 -> ../../sda6
================================ Mount points: =================================
Device Mount_Point Type Options
/dev/loop0 /rofs squashfs (ro,noatime)
/dev/sdb1 /media/MYLINUXLIVE vfat (rw,nosuid,nodev,uhelper=udisks,uid=0,gid=0,shortname=mixed,dmask=0077,utf8=1,flush)
/dev/sr0 /cdrom iso9660 (ro,noatime)
=========================== sda6/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 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,msdos5'
if [ x$feature_platform_search_hint = xy ]; then
search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos5 --hint-efi=hd0,msdos5 --hint-baremetal=ahci0,msdos5 f0982599-b505-4040-88d3-9a55a98ef78f
else
search --no-floppy --fs-uuid --set=root f0982599-b505-4040-88d3-9a55a98ef78f
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=menu
set timeout=5
# Fallback normal timeout code in case the timeout_style feature is
# unavailable.
else
set timeout=5
fi
fi
### END /etc/grub.d/00_header ###
### BEGIN /etc/grub.d/05_debian_theme ###
insmod part_msdos
insmod ext2
set root='hd0,msdos5'
if [ x$feature_platform_search_hint = xy ]; then
search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos5 --hint-efi=hd0,msdos5 --hint-baremetal=ahci0,msdos5 f0982599-b505-4040-88d3-9a55a98ef78f
else
search --no-floppy --fs-uuid --set=root f0982599-b505-4040-88d3-9a55a98ef78f
fi
insmod png
if background_image /usr/share/images/desktop-base/kali-grub.png; then
set color_normal=white/black
set color_highlight=black/white
else
set menu_color_normal=cyan/blue
set menu_color_highlight=white/blue
fi
### END /etc/grub.d/05_debian_theme ###
### BEGIN /etc/grub.d/10_linux ###
function gfxmode {
set gfxpayload="${1}"
}
set linux_gfx_mode=
export linux_gfx_mode
menuentry 'Kali GNU/Linux' --class kali --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-simple-f0982599-b505-4040-88d3-9a55a98ef78f' {
load_video
insmod gzio
if [ x$grub_platform = xxen ]; then insmod xzio; insmod lzopio; fi
insmod part_msdos
insmod ext2
set root='hd0,msdos5'
if [ x$feature_platform_search_hint = xy ]; then
search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos5 --hint-efi=hd0,msdos5 --hint-baremetal=ahci0,msdos5 f0982599-b505-4040-88d3-9a55a98ef78f
else
search --no-floppy --fs-uuid --set=root f0982599-b505-4040-88d3-9a55a98ef78f
fi
echo 'Loading Linux 4.3.0-kali1-686-pae ...'
linux /boot/vmlinuz-4.3.0-kali1-686-pae root=UUID=f0982599-b505-4040-88d3-9a55a98ef78f ro initrd=/install/gtk/initrd.gz quiet
echo 'Loading initial ramdisk ...'
initrd /boot/initrd.img-4.3.0-kali1-686-pae
}
submenu 'Advanced options for Kali GNU/Linux' $menuentry_id_option 'gnulinux-advanced-f0982599-b505-4040-88d3-9a55a98ef78f' {
menuentry 'Kali GNU/Linux, with Linux 4.3.0-kali1-686-pae' --class kali --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-4.3.0-kali1-686-pae-advanced-f0982599-b505-4040-88d3-9a55a98ef78f' {
load_video
insmod gzio
if [ x$grub_platform = xxen ]; then insmod xzio; insmod lzopio; fi
insmod part_msdos
insmod ext2
set root='hd0,msdos5'
if [ x$feature_platform_search_hint = xy ]; then
search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos5 --hint-efi=hd0,msdos5 --hint-baremetal=ahci0,msdos5 f0982599-b505-4040-88d3-9a55a98ef78f
else
search --no-floppy --fs-uuid --set=root f0982599-b505-4040-88d3-9a55a98ef78f
fi
echo 'Loading Linux 4.3.0-kali1-686-pae ...'
linux /boot/vmlinuz-4.3.0-kali1-686-pae root=UUID=f0982599-b505-4040-88d3-9a55a98ef78f ro initrd=/install/gtk/initrd.gz quiet
echo 'Loading initial ramdisk ...'
initrd /boot/initrd.img-4.3.0-kali1-686-pae
}
menuentry 'Kali GNU/Linux, with Linux 4.3.0-kali1-686-pae (recovery mode)' --class kali --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-4.3.0-kali1-686-pae-recovery-f0982599-b505-4040-88d3-9a55a98ef78f' {
load_video
insmod gzio
if [ x$grub_platform = xxen ]; then insmod xzio; insmod lzopio; fi
insmod part_msdos
insmod ext2
set root='hd0,msdos5'
if [ x$feature_platform_search_hint = xy ]; then
search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos5 --hint-efi=hd0,msdos5 --hint-baremetal=ahci0,msdos5 f0982599-b505-4040-88d3-9a55a98ef78f
else
search --no-floppy --fs-uuid --set=root f0982599-b505-4040-88d3-9a55a98ef78f
fi
echo 'Loading Linux 4.3.0-kali1-686-pae ...'
linux /boot/vmlinuz-4.3.0-kali1-686-pae root=UUID=f0982599-b505-4040-88d3-9a55a98ef78f ro single initrd=/install/gtk/initrd.gz
echo 'Loading initial ramdisk ...'
initrd /boot/initrd.img-4.3.0-kali1-686-pae
}
}
### END /etc/grub.d/10_linux ###
### BEGIN /etc/grub.d/20_linux_xen ###
### END /etc/grub.d/20_linux_xen ###
### BEGIN /etc/grub.d/30_os-prober ###
menuentry 'Windows 7 (loader) (on /dev/sda1)' --class windows --class os $menuentry_id_option 'osprober-chain-468C81108C80FC25' {
insmod part_msdos
insmod ntfs
set root='hd0,msdos1'
if [ x$feature_platform_search_hint = xy ]; then
search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos1 --hint-efi=hd0,msdos1 --hint-baremetal=ahci0,msdos1 468C81108C80FC25
else
search --no-floppy --fs-uuid --set=root 468C81108C80FC25
fi
parttool ${root} hidden-
chainloader +1
}
### END /etc/grub.d/30_os-prober ###
### BEGIN /etc/grub.d/31_uefi-firmware ###
### END /etc/grub.d/31_uefi-firmware ###
### BEGIN /etc/grub.d/40_custom ###
### 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 ###
### BEGIN /etc/grub.d/90_custom_proxy ###
menuentry "Android-x86"{
set root='(hd0,2)'
linux /android-4.4-RC1/kernel quiet root=/dev/ram0 androidboot.hardware=android_x86 video=-16 SRC=/android-4.4-RC1 SDCARD=/media/root/MYLINUXLIVE
initrd /android-4.4-RC1/initrd.img
}
### END /etc/grub.d/90_custom_proxy ###
--------------------------------------------------------------------------------
=============================== sda6/etc/fstab: ================================
--------------------------------------------------------------------------------
# /etc/fstab: static file system information.
#
# 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/sda5 during installation
UUID=f0982599-b505-4040-88d3-9a55a98ef78f / ext4 errors=remount-ro 0 1
/dev/sr0 /media/cdrom0 udf,iso9660 user,noauto 0 0
--------------------------------------------------------------------------------
=================== sda6: Location of files loaded by Grub: ====================
GiB - GB File Fragment(s)
448.065769196 = 481.106956288 boot/grub/grub.cfg 1
448.088047028 = 481.130876928 boot/grub/i386-pc/core.img 1
433.891208649 = 465.887137792 boot/vmlinuz-4.3.0-kali1-686-pae 1
433.891208649 = 465.887137792 vmlinuz 1
448.088497162 = 481.131360256 boot/initrd.img-4.3.0-kali1-686-pae 5
======================== Unknown MBRs/Boot Sectors/etc: ========================
Unknown BootLoader on sda4
00000000 93 7e 5c 27 25 0d 8b 5f 5f 99 68 e7 fd 04 f9 5c |.~\'%..__.h....\|
00000010 22 02 e0 c0 48 68 9f 5c 00 01 b5 2b fb 5b 0c 01 |"...Hh.\...+.[..|
00000020 00 14 63 c9 eb eb 6f 1f 7c bf 63 1a 3a 9a da be |..c...o.|.c.:...|
00000030 a4 9e 63 6d 6d 6f 6f 1f 74 9f 6b 98 a8 e8 ea 3f |..cmmoo.t.k....?|
00000040 74 5f 73 00 2e ff 5f 9f 5c a3 0a 20 3e 3d 35 9e |t_s..._.\.. >=5.|
00000050 75 1f 84 82 42 62 52 df 0e b7 fe ff 20 51 3c 80 |u...BbR..... Q<.|
00000060 5e aa 64 ea 00 00 00 03 6a 9e 6c 3f 64 d5 95 ea |^.d.....j.l?d...|
00000070 ea fe ac 1c 4c 42 c2 c2 c2 1d b5 fd 3b 22 9f cf |....LB......;"..|
00000080 3e 8d 1e 22 1c b8 0e c0 9f 94 1e 5b 2d 2d 25 b5 |>..".......[--%.|
00000090 de 94 bf 7b f7 56 dc f8 0c 3d 02 74 b8 bc b6 ae |...{.V...=.t....|
000000a0 0c 5d 00 0c 7c a2 28 be bd bf 93 7e 63 35 b5 f5 |.]..|.(....~c5..|
000000b0 d5 fe 9c 1e a4 82 95 56 89 7e 9c 1f 74 ea 6a ca |.......V.~..t.j.|
000000c0 ce 9e 5f 7e dc f3 82 54 fa 03 9f 83 b5 57 82 6e |.._~...T.....W.n|
000000d0 54 c1 02 7c fe 7a 37 2f 22 1c 4f 01 6f aa e0 77 |T..|.z7/".O.o..w|
000000e0 22 dc 48 01 bb be 1e 36 22 fc 64 02 d6 5c de df |".H....6".d..\..|
000000f0 7f 0c 7b 00 12 97 c9 f5 76 3f 83 bf 7c 2a bb 7f |..{.....v?..|*..|
00000100 ff 7c bb 3f 84 57 fd fd 01 fd b3 1f 84 55 d7 d6 |.|.?.W.......U..|
00000110 d4 5d b3 5f 7c f5 7f 7f c0 5c c2 03 6c 3c 2d 8a |.]._|....\..l<-.|
00000120 aa bf 0c 7d 09 f5 ae 22 a9 3f 7c 9f 7b 76 c0 2a |...}...".?|.{v.*|
00000130 ba 22 1c 20 01 8b 96 f1 55 0f fb 74 0f e7 21 b4 |.". ....U..t..!.|
00000140 ce 21 1c 40 09 05 28 63 e9 bf 7b fe 53 42 c8 60 |.!.@..(c..{.SB.`|
00000150 c0 5f 54 73 95 15 00 00 06 be a3 df 84 70 da 7f |._Ts.........p..|
00000160 5e 9f 5d 06 ea 21 82 d7 be 8a 0c 65 00 14 89 89 |^.]..!.....e....|
00000170 c3 aa be 62 be 8a a5 65 45 85 de 72 9f 63 80 80 |...b...eE..r.c..|
00000180 70 fa 5f 63 3e 5c 78 5e 7b 5e 5f 94 3f 6c 41 43 |p._c>\x^{^_.?lAC|
00000190 e3 e3 1f 74 5f 48 70 58 78 0c 29 00 04 9e 5c 89 |...t_HpXx.)...\.|
000001a0 81 01 21 7f 84 5c 74 0b 2b 2b 09 df 64 3f 8c 55 |..!..\t.++..d?.U|
000001b0 55 55 aa 20 67 9c d7 22 fc 4f 01 ab 82 7f 00 fe |UU. g..".O......|
000001c0 ff ff 07 fe ff ff 3f 00 00 00 00 00 c0 03 00 fe |......?.........|
000001d0 ff ff 05 fe ff ff 3d 08 c0 03 02 00 80 07 00 00 |......=.........|
000001e0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................|
000001f0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 55 aa |..............U.|
00000200
Hope you figure out this one.
|