// ubuntu site
https://help.ubuntu.com/community/Grub2#Reinstalling%20from%20LiveCD
Boot info script
http://sourceforge.net/projects/bootinfoscript/
ex)
Boot Info Script 0.60 from 17 May 2011
============================= Boot Info Summary: ================================> Windows is installed in the MBR of /dev/sda.
sda1: __________________________________________________________________________
File system: swap
Boot sector type: -
Boot sector info:sda2: __________________________________________________________________________
File system: Extended Partition
Boot sector type: -
Boot sector info:sda5: __________________________________________________________________________
File system: ext4
Boot sector type: -
Boot sector info:
Operating System: Ubuntu 10.04.2 LTS
Boot files: /boot/grub/grub.cfg /etc/fstab /boot/grub/core.imgsda3: __________________________________________________________________________
File system: ntfs
.
Boot sector type: Windows XP
Boot sector info: No errors found in the Boot Parameter Block.
Operating System: Windows XP
Boot files: /boot.ini /ntldr /NTDETECT.COM
.
.
.
super grub2
http://www.supergrubdisk.org/super-grub2-disk/
sudo lshw -businfo -C disk
root@chozo99-laptop:/boot/grub# sudo lshw -businfo -C disk
Bus info Device Class Description
====================================================
scsi@1:0.0.0 /dev/cdrom disk DVD reader
scsi@2:0.0.0 /dev/sda disk 54GB VBOX HARDDISK
chozo99@chozo99-laptop:~$ sudo fdisk -l
Disk /dev/sda: 55.0 GB, 54975791104 bytes
255 heads, 63 sectors/track, 6683 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x000b62f8Device Boot Start End Blocks Id System
/dev/sda1 1 487 3905536 82 Linux swap / Solaris
Partition 1 does not end on cylinder boundary.
/dev/sda2 487 4134 29295617 5 Extended
/dev/sda3 * 4135 6682 20466810 7 HPFS/NTFS
/dev/sda5 487 4134 29295616 83 Linux