Melihat informasi yang berkaitan dengan booting dengan Boot Info Script

on Minggu, 08 Mei 2011

mengutip dari http://sourceforge.net/projects/bootinfoscript/ Boot Info Script adalah script bash untuk mencari informasi seluruh hard disk yang terpasangi komputer dan yang berkaitan dengan booting. Penggunaan utamanya adalah untuk pemecahan masalah boot.

Semoga ane gak salah mengartikan bahsa dewa di atas gan :D
pokoknya intinya (kata dosen ane ini mah behavior banget kata-katanya pkoknya-red) Boot Info Script ini fungsinya untuk mengetahui informasi yang berkaitan dengan perbootingan :D
Biar lebih jelas silahkan disimak hasil pemeriksaan boot scrip info di pc saya berikut ini...


Boot Info Script 0.55 dated February 15th, 2010

============================= Boot Info Summary: ==============================

=> Grub 2 is installed in the MBR of /dev/sda and looks for b2d.

sda2: _________________________________________________________________________

File system: Extended Partition
Boot sector type: Grub
Boot sector info: Grub is installed in the boot sector of sda2 and looks
at sector 58658288 of the same hard drive for the
stage2 file, but no stage2 files can be found at this
location.

sda5: _________________________________________________________________________

File system: swap
Boot sector type: -
Boot sector info:

sda6: _________________________________________________________________________

File system: ext4
Boot sector type: -
Boot sector info:
Operating System:
Boot files/dirs:

sda7: _________________________________________________________________________

File system: ext4
Boot sector type: -
Boot sector info:
Operating System: Ubuntu 11.04
Boot files/dirs: /boot/grub/grub.cfg /etc/fstab /boot/grub/core.img

sda8: _________________________________________________________________________

File system: ext4
Boot sector type: -
Boot sector info:
Operating System: Debian GNU/Linux 6.0
Boot files/dirs: /boot/grub/grub.cfg /etc/fstab /boot/grub/core.img

sda3: _________________________________________________________________________

File system: vfat
Boot sector type: Fat32
Boot sector info: According to the info in the boot sector, sda3 starts
at sector 0. But according to the info from fdisk,
sda3 starts at sector 83168505. According to the info
in the boot sector, sda3 has 73111814 sectors.. But
according to the info from the partition table , it
has 73132806 sectors.
Operating System:
Boot files/dirs:

=========================== Drive/Partition Info: =============================

Drive: sda ___________________ _____________________________________________________

Disk /dev/sda: 80.0 GB, 80026361856 bytes
255 heads, 63 sectors/track, 9729 cylinders, total 156301488 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes

Partition Boot Start End Size Id System

/dev/sda2 11,454,469 83,150,847 71,696,379 5 Extended
/dev/sda5 11,454,471 13,590,989 2,136,519 82 Linux swap / Solaris
/dev/sda6 13,591,053 54,926,234 41,335,182 83 Linux
/dev/sda7 54,927,360 64,724,991 9,797,632 83 Linux
/dev/sda8 64,733,184 83,150,847 18,417,664 83 Linux
/dev/sda3 83,168,505 156,301,311 73,132,807 c W95 FAT32 (LBA)


blkid -c /dev/null: ____________________________________________________________

Device UUID TYPE LABEL

/dev/sda2: PTTYPE="dos"
/dev/sda3 6563-DF42 vfat
/dev/sda5 3644c4aa-5d0f-434a-a003-a2c510af90fb swap
/dev/sda6 d34a1841-47ef-44e6-8dd5-dd7d0ddaea3c ext4
/dev/sda7 da3f2722-1d19-44fc-809f-e33fa1129efc ext4
/dev/sda8 43de55a5-eba9-43c8-a4b5-4b833b434263 ext4
/dev/sda: PTTYPE="dos"

============================ "mount | grep ^/dev output: ===========================

Device Mount_Point Type Options

/dev/sda7 / ext4 (rw,errors=remount-ro,commit=0)
/dev/sda6 /media/d34a1841-47ef-44e6-8dd5-dd7d0ddaea3c ext4 (rw,nosuid,nodev,uhelper=udisks)


=========================== sda7/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
set default="0"
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 {
insmod vbe
insmod vga
insmod video_bochs
insmod video_cirrus
}

insmod part_msdos
insmod ext2
set root='(/dev/sda,msdos7)'
search --no-floppy --fs-uuid --set=root da3f2722-1d19-44fc-809f-e33fa1129efc
if loadfont /usr/share/grub/unicode.pf2 ; then
set gfxmode=auto
load_video
insmod gfxterm
fi
terminal_output gfxterm
insmod part_msdos
insmod ext2
set root='(/dev/sda,msdos7)'
search --no-floppy --fs-uuid --set=root da3f2722-1d19-44fc-809f-e33fa1129efc
set locale_dir=($root)/boot/grub/locale
set lang=en_US
insmod gettext
if [ "${recordfail}" = 1 ]; then
set timeout=-1
else
set timeout=10
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
if background_color 44,0,30; then
clear
fi
### END /etc/grub.d/05_debian_theme ###

### BEGIN /etc/grub.d/10_linux ###
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
if [ "$linux_gfx_mode" != "text" ]; then load_video; fi
menuentry 'Ubuntu, with Linux 2.6.38-8-generic' --class ubuntu --class gnu-linux --class gnu --class os {
recordfail
set gfxpayload=$linux_gfx_mode
insmod part_msdos
insmod ext2
set root='(/dev/sda,msdos7)'
search --no-floppy --fs-uuid --set=root da3f2722-1d19-44fc-809f-e33fa1129efc
linux /boot/vmlinuz-2.6.38-8-generic root=UUID=da3f2722-1d19-44fc-809f-e33fa1129efc ro quiet splash vt.handoff=7
initrd /boot/initrd.img-2.6.38-8-generic
}
menuentry 'Ubuntu, with Linux 2.6.38-8-generic (recovery mode)' --class ubuntu --class gnu-linux --class gnu --class os {
recordfail
set gfxpayload=$linux_gfx_mode
insmod part_msdos
insmod ext2
set root='(/dev/sda,msdos7)'
search --no-floppy --fs-uuid --set=root da3f2722-1d19-44fc-809f-e33fa1129efc
echo 'Loading Linux 2.6.38-8-generic ...'
linux /boot/vmlinuz-2.6.38-8-generic root=UUID=da3f2722-1d19-44fc-809f-e33fa1129efc ro single
echo 'Loading initial ramdisk ...'
initrd /boot/initrd.img-2.6.38-8-generic
}
### END /etc/grub.d/10_linux ###

### 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='(/dev/sda,msdos7)'
search --no-floppy --fs-uuid --set=root da3f2722-1d19-44fc-809f-e33fa1129efc
linux16 /boot/memtest86+.bin
}
menuentry "Memory test (memtest86+, serial console 115200)" {
insmod part_msdos
insmod ext2
set root='(/dev/sda,msdos7)'
search --no-floppy --fs-uuid --set=root da3f2722-1d19-44fc-809f-e33fa1129efc
linux16 /boot/memtest86+.bin console=ttyS0,115200n8
}
### END /etc/grub.d/20_memtest86+ ###

### BEGIN /etc/grub.d/30_os-prober ###
menuentry "Debian GNU/Linux, with Linux 2.6.32-5-686 (on /dev/sda8)" --class gnu-linux --class gnu --class os {
insmod part_msdos
insmod ext2
set root='(/dev/sda,msdos8)'
search --no-floppy --fs-uuid --set=root 43de55a5-eba9-43c8-a4b5-4b833b434263
linux /boot/vmlinuz-2.6.32-5-686 root=UUID=43de55a5-eba9-43c8-a4b5-4b833b434263 ro quiet
initrd /boot/initrd.img-2.6.32-5-686
}
menuentry "Debian GNU/Linux, with Linux 2.6.32-5-686 (recovery mode) (on /dev/sda8)" --class gnu-linux --class gnu --class os {
insmod part_msdos
insmod ext2
set root='(/dev/sda,msdos8)'
search --no-floppy --fs-uuid --set=root 43de55a5-eba9-43c8-a4b5-4b833b434263
linux /boot/vmlinuz-2.6.32-5-686 root=UUID=43de55a5-eba9-43c8-a4b5-4b833b434263 ro single
initrd /boot/initrd.img-2.6.32-5-686
}
### END /etc/grub.d/30_os-prober ###

### 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 $prefix/custom.cfg ]; then
source $prefix/custom.cfg;
fi
### END /etc/grub.d/41_custom ###

=============================== sda7/etc/fstab: ===============================

# /etc/fstab: static file system information.
#
# Use 'blkid -o value -s UUID' 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).
#
#
proc /proc proc nodev,noexec,nosuid 0 0
# / was on /dev/sda7 during installation
UUID=da3f2722-1d19-44fc-809f-e33fa1129efc / ext4 errors=remount-ro 0 1
# swap was on /dev/sda5 during installation
UUID=3644c4aa-5d0f-434a-a003-a2c510af90fb none swap sw 0 0
/dev/fd0 /media/floppy0 auto rw,user,noauto,exec,utf8 0 0



=================== sda7: Location of files loaded by Grub: ===================


30.9GB: boot/grub/core.img
28.6GB: boot/grub/grub.cfg
33.0GB: boot/initrd.img-2.6.38-8-generic
31.0GB: boot/vmlinuz-2.6.38-8-generic
33.0GB: initrd.img
31.0GB: vmlinuz

=========================== sda8/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
load_env
fi
set default="0"
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 {
insmod vbe
insmod vga
insmod video_bochs
insmod video_cirrus
}

insmod part_msdos
insmod ext2
set root='(hd0,msdos8)'
search --no-floppy --fs-uuid --set 43de55a5-eba9-43c8-a4b5-4b833b434263
if loadfont /usr/share/grub/unicode.pf2 ; then
set gfxmode=640x480
load_video
insmod gfxterm
fi
terminal_output gfxterm
insmod part_msdos
insmod ext2
set root='(hd0,msdos8)'
search --no-floppy --fs-uuid --set 43de55a5-eba9-43c8-a4b5-4b833b434263
set locale_dir=($root)/boot/grub/locale
set lang=en
insmod gettext
set timeout=5
### END /etc/grub.d/00_header ###

### BEGIN /etc/grub.d/05_debian_theme ###
insmod part_msdos
insmod ext2
set root='(hd0,msdos8)'
search --no-floppy --fs-uuid --set 43de55a5-eba9-43c8-a4b5-4b833b434263
insmod png
if background_image /usr/share/images/desktop-base/spacefun-grub.png; then
set color_normal=light-gray/black
set color_highlight=white/black
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 ###
menuentry 'Debian GNU/Linux, with Linux 2.6.32-5-686' --class debian --class gnu-linux --class gnu --class os {
insmod part_msdos
insmod ext2
set root='(hd0,msdos8)'
search --no-floppy --fs-uuid --set 43de55a5-eba9-43c8-a4b5-4b833b434263
echo 'Loading Linux 2.6.32-5-686 ...'
linux /boot/vmlinuz-2.6.32-5-686 root=UUID=43de55a5-eba9-43c8-a4b5-4b833b434263 ro quiet
echo 'Loading initial ramdisk ...'
initrd /boot/initrd.img-2.6.32-5-686
}
menuentry 'Debian GNU/Linux, with Linux 2.6.32-5-686 (recovery mode)' --class debian --class gnu-linux --class gnu --class os {
insmod part_msdos
insmod ext2
set root='(hd0,msdos8)'
search --no-floppy --fs-uuid --set 43de55a5-eba9-43c8-a4b5-4b833b434263
echo 'Loading Linux 2.6.32-5-686 ...'
linux /boot/vmlinuz-2.6.32-5-686 root=UUID=43de55a5-eba9-43c8-a4b5-4b833b434263 ro single
echo 'Loading initial ramdisk ...'
initrd /boot/initrd.img-2.6.32-5-686
}
### 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 ###
### END /etc/grub.d/30_os-prober ###

### 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 $prefix/custom.cfg ]; then
source $prefix/custom.cfg;
fi
### END /etc/grub.d/41_custom ###

=============================== sda8/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).
#
#
proc /proc proc defaults 0 0
# / was on /dev/sda8 during installation
UUID=43de55a5-eba9-43c8-a4b5-4b833b434263 / ext4 errors=remount-ro 0 1
# /home was on /dev/sda6 during installation
UUID=d34a1841-47ef-44e6-8dd5-dd7d0ddaea3c /home ext4 defaults 0 2
# swap was on /dev/sda5 during installation
UUID=3644c4aa-5d0f-434a-a003-a2c510af90fb none swap sw 0 0
/dev/scd0 /media/cdrom0 udf,iso9660 user,noauto 0 0
/dev/fd0 /media/floppy0 auto rw,user,noauto 0 0

=================== sda8: Location of files loaded by Grub: ===================


33.2GB: boot/grub/core.img
33.3GB: boot/grub/grub.cfg
35.9GB: boot/initrd.img-2.6.32-5-686
34.7GB: boot/vmlinuz-2.6.32-5-686
35.9GB: initrd.img
34.7GB: vmlinuz



Panjang banget gan :D


baiklah untuk mendapatkan hasil seperti diatas lakukan beberapa mantra berikut ini :D

download boot info script disini

jalankan boot info script (boot_info_script*.sh terletak di home)
sudo bash ~/boot_info_script*.sh


tunggu sampai selesai file outputnya bernama RESULTS.txt


Ranking: 5
Comments
0 Comments
 
© Geazzy Corner All Rights Reserved