Code:
Boot Info Script 0.55 dated February 15th, 2010
============================= Boot Info Summary: ==============================
=> Grub 2 is installed in the MBR of /dev/sda and looks on the same drive in
partition #5 for /boot/grub.
=> No boot loader is installed in the MBR of /dev/sdb
sda1: _________________________________________________________________________
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/dirs: /boot.ini /ntldr /NTDETECT.COM
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 LTS
Boot files/dirs: /boot/grub/grub.cfg /etc/fstab /boot/grub/core.img
sda6: _________________________________________________________________________
File system: swap
Boot sector type: -
Boot sector info:
sda7: _________________________________________________________________________
File system: ext4
Boot sector type: -
Boot sector info:
Operating System:
Boot files/dirs:
sda8: _________________________________________________________________________
File system: swap
Boot sector type: -
Boot sector info:
sda3: _________________________________________________________________________
File system: vfat
Boot sector type: Windows XP: Fat32
Boot sector info: No errors found in the Boot Parameter Block.
Operating System:
Boot files/dirs: /ntldr /NTDETECT.COM
sda4: _________________________________________________________________________
File system:
Boot sector type: -
Boot sector info:
Mounting failed:
mount: unknown filesystem type ''
sdb1: _________________________________________________________________________
File system: vfat
Boot sector type: -
Boot sector info: No errors found in the Boot Parameter Block.
Operating System:
Boot files/dirs:
=========================== Drive/Partition Info: =============================
Drive: sda ___________________ _____________________________________________________
Disk /dev/sda: 160.0 GB, 160041885696 bytes
255 heads, 63 sectors/track, 19457 cylinders, total 312581808 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
Partition Boot Start End Size Id System
/dev/sda1 * 63 50,010,344 50,010,282 7 HPFS/NTFS
/dev/sda2 50,010,406 302,230,844 252,220,439 5 Extended
/dev/sda5 50,010,408 126,174,509 76,164,102 83 Linux
/dev/sda6 126,174,573 128,134,439 1,959,867 82 Linux swap / Solaris
/dev/sda7 128,134,503 300,190,589 172,056,087 83 Linux
/dev/sda8 300,190,653 302,230,844 2,040,192 82 Linux swap / Solaris
/dev/sda3 302,230,845 312,480,314 10,249,470 1c Hidden W95 FAT32 (LBA)
/dev/sda4 312,480,315 312,576,704 96,390 ef EFI (FAT-12/16/32)
Drive: sdb ___________________ _____________________________________________________
Disk /dev/sdb: 7948 MB, 7948206080 bytes
81 heads, 10 sectors/track, 19165 cylinders, total 15523840 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
Partition Boot Start End Size Id System
/dev/sdb1 8,192 15,523,839 15,515,648 b W95 FAT32
blkid -c /dev/null: ____________________________________________________________
Device UUID TYPE LABEL
/dev/sda1 5C60BE8360BE6404 ntfs
/dev/sda2: PTTYPE="dos"
/dev/sda3 CCED-990E vfat PE
/dev/sda4: PTTYPE="dos"
/dev/sda5 8630c8f7-8a6f-49aa-b74e-4aad2554dd0b ext4
/dev/sda6 ef7f1486-9989-4939-b2c8-70441453f1ea swap
/dev/sda7 79c9ef95-0a4e-4f24-9cea-57ca4ab96580 ext4
/dev/sda8 79176e55-08ff-477e-bb54-0baad71b8c6a swap
/dev/sda: PTTYPE="dos"
/dev/sdb1 6439-3131 vfat
/dev/sdb: PTTYPE="dos"
============================ "mount | grep ^/dev output: ===========================
Device Mount_Point Type Options
/dev/sda5 / ext4 (rw,errors=remount-ro)
/dev/sda7 /home ext4 (rw)
/dev/sdb1 /media/6439-3131 vfat (rw,nosuid,nodev,uhelper=udisks,uid=1000,gid=1000,shortname=mixed,dmask=0077,utf8=1,flush)
================================ sda1/boot.ini: ================================
[boot loader]
timeout=30
default=multi(0)disk(0)rdisk(0)partition(1)\WINDOWS
[operating systems]
multi(0)disk(0)rdisk(0)partition(1)\WINDOWS="Microsoft Windows XP dition familiale" /noexecute=optin /fastdetect
=========================== sda5/boot/grub/grub.cfg: ===========================
#
# DO NOT EDIT THIS FILE
#
# It is automatically generated by /usr/sbin/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 recordfail {
set recordfail=1
if [ -n ${have_grubenv} ]; then if [ -z ${boot_once} ]; then save_env recordfail; fi; fi
}
insmod ext2
set root='(hd0,5)'
search --no-floppy --fs-uuid --set 8630c8f7-8a6f-49aa-b74e-4aad2554dd0b
if loadfont /usr/share/grub/unicode.pf2 ; then
set gfxmode=1366x768
insmod gfxterm
insmod vbe
if terminal_output gfxterm ; then true ; else
# For backward compatibility with versions of terminal.mod that don't
# understand terminal_output
terminal gfxterm
fi
fi
insmod ext2
set root='(hd0,5)'
search --no-floppy --fs-uuid --set 8630c8f7-8a6f-49aa-b74e-4aad2554dd0b
set locale_dir=($root)/boot/grub/locale
set lang=en
insmod gettext
if [ ${recordfail} = 1 ]; then
set timeout=-1
else
set timeout=10
fi
set superusers="phoenadmin"
password phoenadmin twosheds
### 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/10_linux ###
menuentry 'Ubuntu, with Linux 2.6.32-22-generic' --class ubuntu --class gnu-linux --class gnu --class os --users phoenadmin {
recordfail
insmod ext2
set root='(hd0,5)'
search --no-floppy --fs-uuid --set 8630c8f7-8a6f-49aa-b74e-4aad2554dd0b
linux /boot/vmlinuz-2.6.32-22-generic root=UUID=8630c8f7-8a6f-49aa-b74e-4aad2554dd0b ro quiet splash
initrd /boot/initrd.img-2.6.32-22-generic
}
menuentry 'Ubuntu, with Linux 2.6.32-22-generic (recovery mode)' --class ubuntu --class gnu-linux --class gnu --class os --users phoenadmin {
recordfail
insmod ext2
set root='(hd0,5)'
search --no-floppy --fs-uuid --set 8630c8f7-8a6f-49aa-b74e-4aad2554dd0b
echo 'Loading Linux 2.6.32-22-generic ...'
linux /boot/vmlinuz-2.6.32-22-generic root=UUID=8630c8f7-8a6f-49aa-b74e-4aad2554dd0b ro single
echo 'Loading initial ramdisk ...'
initrd /boot/initrd.img-2.6.32-22-generic
}
menuentry 'Ubuntu, with Linux 2.6.32-21-generic' --class ubuntu --class gnu-linux --class gnu --class os --users phoenadmin {
recordfail
insmod ext2
set root='(hd0,5)'
search --no-floppy --fs-uuid --set 8630c8f7-8a6f-49aa-b74e-4aad2554dd0b
linux /boot/vmlinuz-2.6.32-21-generic root=UUID=8630c8f7-8a6f-49aa-b74e-4aad2554dd0b ro quiet splash
initrd /boot/initrd.img-2.6.32-21-generic
}
menuentry 'Ubuntu, with Linux 2.6.32-21-generic (recovery mode)' --class ubuntu --class gnu-linux --class gnu --class os --users phoenadmin {
recordfail
insmod ext2
set root='(hd0,5)'
search --no-floppy --fs-uuid --set 8630c8f7-8a6f-49aa-b74e-4aad2554dd0b
echo 'Loading Linux 2.6.32-21-generic ...'
linux /boot/vmlinuz-2.6.32-21-generic root=UUID=8630c8f7-8a6f-49aa-b74e-4aad2554dd0b ro single
echo 'Loading initial ramdisk ...'
initrd /boot/initrd.img-2.6.32-21-generic
}
### END /etc/grub.d/10_linux ###
### BEGIN /etc/grub.d/20_memtest86+ ###
menuentry "Memory test (memtest86+)" {
insmod ext2
set root='(hd0,5)'
search --no-floppy --fs-uuid --set 8630c8f7-8a6f-49aa-b74e-4aad2554dd0b
linux16 /boot/memtest86+.bin
}
menuentry "Memory test (memtest86+, serial console 115200)" {
insmod ext2
set root='(hd0,5)'
search --no-floppy --fs-uuid --set 8630c8f7-8a6f-49aa-b74e-4aad2554dd0b
linux16 /boot/memtest86+.bin console=ttyS0,115200n8
}
### END /etc/grub.d/20_memtest86+ ###
### BEGIN /etc/grub.d/30_os-prober ###
menuentry "Windows NT/2000/XP (on /dev/sda1)" {
insmod ntfs
set root='(hd0,1)'
search --no-floppy --fs-uuid --set 5c60be8360be6404
drivemap -s (hd0) ${root}
chainloader +1
}
menuentry "Windows NT/2000/XP (on /dev/sda3)" {
insmod fat
set root='(hd0,3)'
search --no-floppy --fs-uuid --set cced-990e
drivemap -s (hd0) ${root}
chainloader +1
}
### 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.
# added by A.S. May 17 '10
# source: http://ubuntuforums.org/showthread.php?t=1229345&page=47 post #461
insmod 915resolution
915resolution 5c 1366 768
set gfxmode=1366x768
### END /etc/grub.d/40_custom ###
=============================== sda5/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).
#
# <file system> <mount point> <type> <options> <dump> <pass>
proc /proc proc nodev,noexec,nosuid 0 0
# / was on /dev/sda5 during installation
UUID=8630c8f7-8a6f-49aa-b74e-4aad2554dd0b / ext4 errors=remount-ro 0 1
# /home was on /dev/sda7 during installation
UUID=79c9ef95-0a4e-4f24-9cea-57ca4ab96580 /home ext4 defaults 0 2
# swap was on /dev/sda6 during installation
UUID=ef7f1486-9989-4939-b2c8-70441453f1ea none swap sw 0 0
# swap was on /dev/sda8 during installation
UUID=79176e55-08ff-477e-bb54-0baad71b8c6a none swap sw 0 0
=================== sda5: Location of files loaded by Grub: ===================
53.6GB: boot/grub/core.img
30.2GB: boot/grub/grub.cfg
53.6GB: boot/initrd.img-2.6.32-21-generic
55.7GB: boot/initrd.img-2.6.32-22-generic
53.6GB: boot/vmlinuz-2.6.32-21-generic
55.7GB: boot/vmlinuz-2.6.32-22-generic
55.7GB: initrd.img
53.6GB: initrd.img.old
55.7GB: vmlinuz
53.6GB: vmlinuz.old
Code:
#
# DO NOT EDIT THIS FILE
#
# It is automatically generated by /usr/sbin/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 recordfail {
set recordfail=1
if [ -n ${have_grubenv} ]; then if [ -z ${boot_once} ]; then save_env recordfail; fi; fi
}
insmod ext2
set root='(hd0,5)'
search --no-floppy --fs-uuid --set 8630c8f7-8a6f-49aa-b74e-4aad2554dd0b
if loadfont /usr/share/grub/unicode.pf2 ; then
set gfxmode=1366x768
insmod gfxterm
insmod vbe
if terminal_output gfxterm ; then true ; else
# For backward compatibility with versions of terminal.mod that don't
# understand terminal_output
terminal gfxterm
fi
fi
insmod ext2
set root='(hd0,5)'
search --no-floppy --fs-uuid --set 8630c8f7-8a6f-49aa-b74e-4aad2554dd0b
set locale_dir=($root)/boot/grub/locale
set lang=en
insmod gettext
if [ ${recordfail} = 1 ]; then
set timeout=-1
else
set timeout=10
fi
set superusers="phoenadmin"
password phoenadmin twosheds
### 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/10_linux ###
menuentry 'Ubuntu, with Linux 2.6.32-23-generic' --class ubuntu --class gnu-linux --class gnu --class os --users phoenadmin {
recordfail
insmod ext2
set root='(hd0,5)'
search --no-floppy --fs-uuid --set 8630c8f7-8a6f-49aa-b74e-4aad2554dd0b
linux /boot/vmlinuz-2.6.32-23-generic root=UUID=8630c8f7-8a6f-49aa-b74e-4aad2554dd0b ro quiet splash
initrd /boot/initrd.img-2.6.32-23-generic
}
menuentry 'Ubuntu, with Linux 2.6.32-23-generic (recovery mode)' --class ubuntu --class gnu-linux --class gnu --class os --users phoenadmin {
recordfail
insmod ext2
set root='(hd0,5)'
search --no-floppy --fs-uuid --set 8630c8f7-8a6f-49aa-b74e-4aad2554dd0b
echo 'Loading Linux 2.6.32-23-generic ...'
linux /boot/vmlinuz-2.6.32-23-generic root=UUID=8630c8f7-8a6f-49aa-b74e-4aad2554dd0b ro single
echo 'Loading initial ramdisk ...'
initrd /boot/initrd.img-2.6.32-23-generic
}
menuentry 'Ubuntu, with Linux 2.6.32-22-generic' --class ubuntu --class gnu-linux --class gnu --class os --users phoenadmin {
recordfail
insmod ext2
set root='(hd0,5)'
search --no-floppy --fs-uuid --set 8630c8f7-8a6f-49aa-b74e-4aad2554dd0b
linux /boot/vmlinuz-2.6.32-22-generic root=UUID=8630c8f7-8a6f-49aa-b74e-4aad2554dd0b ro quiet splash
initrd /boot/initrd.img-2.6.32-22-generic
}
menuentry 'Ubuntu, with Linux 2.6.32-22-generic (recovery mode)' --class ubuntu --class gnu-linux --class gnu --class os --users phoenadmin {
recordfail
insmod ext2
set root='(hd0,5)'
search --no-floppy --fs-uuid --set 8630c8f7-8a6f-49aa-b74e-4aad2554dd0b
echo 'Loading Linux 2.6.32-22-generic ...'
linux /boot/vmlinuz-2.6.32-22-generic root=UUID=8630c8f7-8a6f-49aa-b74e-4aad2554dd0b ro single
echo 'Loading initial ramdisk ...'
initrd /boot/initrd.img-2.6.32-22-generic
}
### END /etc/grub.d/10_linux ###
### BEGIN /etc/grub.d/20_memtest86+ ###
menuentry "Memory test (memtest86+)" {
insmod ext2
set root='(hd0,5)'
search --no-floppy --fs-uuid --set 8630c8f7-8a6f-49aa-b74e-4aad2554dd0b
linux16 /boot/memtest86+.bin
}
menuentry "Memory test (memtest86+, serial console 115200)" {
insmod ext2
set root='(hd0,5)'
search --no-floppy --fs-uuid --set 8630c8f7-8a6f-49aa-b74e-4aad2554dd0b
linux16 /boot/memtest86+.bin console=ttyS0,115200n8
}
### END /etc/grub.d/20_memtest86+ ###
### BEGIN /etc/grub.d/30_os-prober ###
menuentry "Windows NT/2000/XP (on /dev/sda1)" {
insmod ntfs
set root='(hd0,1)'
search --no-floppy --fs-uuid --set 5c60be8360be6404
drivemap -s (hd0) ${root}
chainloader +1
}
menuentry "Windows NT/2000/XP (on /dev/sda3)" {
insmod fat
set root='(hd0,3)'
search --no-floppy --fs-uuid --set cced-990e
drivemap -s (hd0) ${root}
chainloader +1
}
### 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.
# added by A.S. Jul 11 '10 -- same result as for automatic entry!
# source: http://ubuntuforums.org/showthread.php?p=8363434#post8363434 post #2
menuentry "Windows XP (on /dev/sda1) - customised version" {
insmod ntfs
set root=(hd0,1)
chainloader +1
}
# added by A.S. May 17 '10
# source: http://ubuntuforums.org/showthread.php?t=1229345&page=47 post #461
insmod 915resolution
915resolution 5c 1366 768
set gfxmode=1366x768
### END /etc/grub.d/40_custom ###
### BEGIN /etc/grub.d/40_custom.backup ###
# 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.
# added by A.S. May 17 '10
# source: http://ubuntuforums.org/showthread.php?t=1229345&page=47 post #461
insmod 915resolution
915resolution 5c 1366 768
set gfxmode=1366x768
### END /etc/grub.d/40_custom.backup ###
Bookmarks