代码:
Boot Info Script 0.61 [1 April 2012]
============================= Boot Info Summary: ===============================
=> Grub2 (v1.99) is installed in the MBR of /dev/sda and looks at sector 1 of
the same hard drive for core.img. core.img is at this location and looks
in partition 135 for .
sda1: __________________________________________________________________________
File system: ntfs
Boot sector type: Windows Vista/7: NTFS
Boot sector info: No errors found in the Boot Parameter Block.
Operating System: Windows 7
Boot files: /bootmgr /Boot/BCD /Windows/System32/winload.exe
sda2: __________________________________________________________________________
File system: Extended Partition
Boot sector type: -
Boot sector info:
sda5: __________________________________________________________________________
File system: ntfs
Boot sector type: Windows 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:
Boot files:
sda7: __________________________________________________________________________
File system: ext4
Boot sector type: -
Boot sector info:
Operating System:
Boot files:
sda8: __________________________________________________________________________
File system: swap
Boot sector type: -
Boot sector info:
sda9: __________________________________________________________________________
File system: ext4
Boot sector type: -
Boot sector info:
Operating System: Ubuntu Vivid Vervet
(development branch)
Boot files: /boot/grub/grub.cfg /etc/fstab
============================ Drive/Partition Info: =============================
Drive: sda _____________________________________________________________________
Disk /dev/sda: 465.8 GiB, 500107862016 bytes, 976773168 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
Partition Boot Start Sector End Sector # of Sectors Id System
/dev/sda1 * 63 48,828,187 48,828,125 7 NTFS / exFAT / HPFS
/dev/sda2 48,828,414 976,768,064 927,939,651 f W95 Extended (LBA)
/dev/sda5 102,414,438 409,625,369 307,210,932 7 NTFS / exFAT / HPFS
/dev/sda6 409,625,433 716,834,417 307,208,985 83 Linux
/dev/sda7 716,836,428 976,768,064 259,931,637 83 Linux
/dev/sda8 48,828,416 52,733,951 3,905,536 82 Linux swap / Solaris
/dev/sda9 52,736,000 102,413,734 49,677,735 83 Linux
"blkid" output: ________________________________________________________________
Device UUID TYPE LABEL
/dev/sda1 2A923043923015B3 ntfs
/dev/sda5 DCA4FFBEA4FF98EA ntfs
/dev/sda6 030246bd-cd62-4ae7-acdb-b3d32b4d48b5 ext4
/dev/sda7 c629ea95-568f-45ec-820b-db8cbd00965e ext4
/dev/sda8 48cf90ab-aeb1-46c1-8d0a-cd4d597f5db0 swap
/dev/sda9 1f870406-ec09-4d0a-8f23-f4c00885ec3b ext4
================================ Mount points: =================================
Device Mount_Point Type Options
/dev/sda1 /windows fuseblk (rw,relatime,user_id=0,group_id=0,default_permissions,allow_other,blksize=4096)
/dev/sda5 /dos fuseblk (rw,relatime,user_id=0,group_id=0,default_permissions,allow_other)
/dev/sda6 /backup ext4 (rw,relatime,data=ordered)
/dev/sda7 /home ext4 (rw,relatime,data=ordered)
/dev/sda9 / ext4 (rw,relatime,errors=remount-ro,data=ordered)
=========================== sda9/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,msdos9'
if [ x$feature_platform_search_hint = xy ]; then
search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos9 --hint-efi=hd0,msdos9 --hint-baremetal=ahci0,msdos9 1f870406-ec09-4d0a-8f23-f4c00885ec3b
else
search --no-floppy --fs-uuid --set=root 1f870406-ec09-4d0a-8f23-f4c00885ec3b
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=10
else
if [ x$feature_timeout_style = xy ] ; then
set timeout_style=menu
set timeout=10
# Fallback normal timeout code in case the timeout_style feature is
# unavailable.
else
set timeout=10
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
if background_color 44,0,30,0; then
clear
fi
### END /etc/grub.d/05_debian_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 'Ubuntu' --class ubuntu --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-simple-1f870406-ec09-4d0a-8f23-f4c00885ec3b' {
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,msdos9'
if [ x$feature_platform_search_hint = xy ]; then
search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos9 --hint-efi=hd0,msdos9 --hint-baremetal=ahci0,msdos9 1f870406-ec09-4d0a-8f23-f4c00885ec3b
else
search --no-floppy --fs-uuid --set=root 1f870406-ec09-4d0a-8f23-f4c00885ec3b
fi
linux /boot/vmlinuz-3.19.0-12-generic root=UUID=1f870406-ec09-4d0a-8f23-f4c00885ec3b ro quiet splash $vt_handoff
initrd /boot/initrd.img-3.19.0-12-generic
}
submenu 'Advanced options for Ubuntu' $menuentry_id_option 'gnulinux-advanced-1f870406-ec09-4d0a-8f23-f4c00885ec3b' {
menuentry 'Ubuntu, with Linux 3.19.0-12-generic' --class ubuntu --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-3.19.0-12-generic-advanced-1f870406-ec09-4d0a-8f23-f4c00885ec3b' {
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,msdos9'
if [ x$feature_platform_search_hint = xy ]; then
search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos9 --hint-efi=hd0,msdos9 --hint-baremetal=ahci0,msdos9 1f870406-ec09-4d0a-8f23-f4c00885ec3b
else
search --no-floppy --fs-uuid --set=root 1f870406-ec09-4d0a-8f23-f4c00885ec3b
fi
echo 'Loading Linux 3.19.0-12-generic ...'
linux /boot/vmlinuz-3.19.0-12-generic root=UUID=1f870406-ec09-4d0a-8f23-f4c00885ec3b ro quiet splash $vt_handoff
echo 'Loading initial ramdisk ...'
initrd /boot/initrd.img-3.19.0-12-generic
}
menuentry 'Ubuntu, with Linux 3.19.0-12-generic (upstart)' --class ubuntu --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-3.19.0-12-generic-init-upstart-1f870406-ec09-4d0a-8f23-f4c00885ec3b' {
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,msdos9'
if [ x$feature_platform_search_hint = xy ]; then
search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos9 --hint-efi=hd0,msdos9 --hint-baremetal=ahci0,msdos9 1f870406-ec09-4d0a-8f23-f4c00885ec3b
else
search --no-floppy --fs-uuid --set=root 1f870406-ec09-4d0a-8f23-f4c00885ec3b
fi
echo 'Loading Linux 3.19.0-12-generic ...'
linux /boot/vmlinuz-3.19.0-12-generic root=UUID=1f870406-ec09-4d0a-8f23-f4c00885ec3b ro quiet splash $vt_handoff init=/sbin/upstart
echo 'Loading initial ramdisk ...'
initrd /boot/initrd.img-3.19.0-12-generic
}
menuentry 'Ubuntu, with Linux 3.19.0-12-generic (recovery mode)' --class ubuntu --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-3.19.0-12-generic-recovery-1f870406-ec09-4d0a-8f23-f4c00885ec3b' {
recordfail
load_video
insmod gzio
if [ x$grub_platform = xxen ]; then insmod xzio; insmod lzopio; fi
insmod part_msdos
insmod ext2
set root='hd0,msdos9'
if [ x$feature_platform_search_hint = xy ]; then
search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos9 --hint-efi=hd0,msdos9 --hint-baremetal=ahci0,msdos9 1f870406-ec09-4d0a-8f23-f4c00885ec3b
else
search --no-floppy --fs-uuid --set=root 1f870406-ec09-4d0a-8f23-f4c00885ec3b
fi
echo 'Loading Linux 3.19.0-12-generic ...'
linux /boot/vmlinuz-3.19.0-12-generic root=UUID=1f870406-ec09-4d0a-8f23-f4c00885ec3b ro recovery nomodeset
echo 'Loading initial ramdisk ...'
initrd /boot/initrd.img-3.19.0-12-generic
}
menuentry 'Ubuntu, with Linux 3.19.0-10-generic' --class ubuntu --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-3.19.0-10-generic-advanced-1f870406-ec09-4d0a-8f23-f4c00885ec3b' {
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,msdos9'
if [ x$feature_platform_search_hint = xy ]; then
search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos9 --hint-efi=hd0,msdos9 --hint-baremetal=ahci0,msdos9 1f870406-ec09-4d0a-8f23-f4c00885ec3b
else
search --no-floppy --fs-uuid --set=root 1f870406-ec09-4d0a-8f23-f4c00885ec3b
fi
echo 'Loading Linux 3.19.0-10-generic ...'
linux /boot/vmlinuz-3.19.0-10-generic root=UUID=1f870406-ec09-4d0a-8f23-f4c00885ec3b ro quiet splash $vt_handoff
echo 'Loading initial ramdisk ...'
initrd /boot/initrd.img-3.19.0-10-generic
}
menuentry 'Ubuntu, with Linux 3.19.0-10-generic (upstart)' --class ubuntu --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-3.19.0-10-generic-init-upstart-1f870406-ec09-4d0a-8f23-f4c00885ec3b' {
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,msdos9'
if [ x$feature_platform_search_hint = xy ]; then
search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos9 --hint-efi=hd0,msdos9 --hint-baremetal=ahci0,msdos9 1f870406-ec09-4d0a-8f23-f4c00885ec3b
else
search --no-floppy --fs-uuid --set=root 1f870406-ec09-4d0a-8f23-f4c00885ec3b
fi
echo 'Loading Linux 3.19.0-10-generic ...'
linux /boot/vmlinuz-3.19.0-10-generic root=UUID=1f870406-ec09-4d0a-8f23-f4c00885ec3b ro quiet splash $vt_handoff init=/sbin/upstart
echo 'Loading initial ramdisk ...'
initrd /boot/initrd.img-3.19.0-10-generic
}
menuentry 'Ubuntu, with Linux 3.19.0-10-generic (recovery mode)' --class ubuntu --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-3.19.0-10-generic-recovery-1f870406-ec09-4d0a-8f23-f4c00885ec3b' {
recordfail
load_video
insmod gzio
if [ x$grub_platform = xxen ]; then insmod xzio; insmod lzopio; fi
insmod part_msdos
insmod ext2
set root='hd0,msdos9'
if [ x$feature_platform_search_hint = xy ]; then
search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos9 --hint-efi=hd0,msdos9 --hint-baremetal=ahci0,msdos9 1f870406-ec09-4d0a-8f23-f4c00885ec3b
else
search --no-floppy --fs-uuid --set=root 1f870406-ec09-4d0a-8f23-f4c00885ec3b
fi
echo 'Loading Linux 3.19.0-10-generic ...'
linux /boot/vmlinuz-3.19.0-10-generic root=UUID=1f870406-ec09-4d0a-8f23-f4c00885ec3b ro recovery nomodeset
echo 'Loading initial ramdisk ...'
initrd /boot/initrd.img-3.19.0-10-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/30_os-prober ###
menuentry 'Windows 7 (loader) (on /dev/sda1)' --class windows --class os $menuentry_id_option 'osprober-chain-2A923043923015B3' {
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 2A923043923015B3
else
search --no-floppy --fs-uuid --set=root 2A923043923015B3
fi
parttool ${root} hidden-
chainloader +1
}
set timeout_style=menu
if [ "${timeout}" = 0 ]; then
set timeout=10
fi
### 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 ###
--------------------------------------------------------------------------------
=============================== sda9/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/sda9 during installation
UUID=1f870406-ec09-4d0a-8f23-f4c00885ec3b / ext4 errors=remount-ro 0 1
# /backup was on /dev/sda6 during installation
UUID=030246bd-cd62-4ae7-acdb-b3d32b4d48b5 /backup ext4 defaults 0 2
# /dos was on /dev/sda5 during installation
UUID=DCA4FFBEA4FF98EA /dos ntfs defaults,umask=007,gid=46 0 0
# /home was on /dev/sda7 during installation
UUID=c629ea95-568f-45ec-820b-db8cbd00965e /home ext4 defaults 0 2
# /windows was on /dev/sda1 during installation
UUID=2A923043923015B3 /windows ntfs defaults,umask=007,gid=46 0 0
# swap was on /dev/sda8 during installation
UUID=48cf90ab-aeb1-46c1-8d0a-cd4d597f5db0 none swap sw 0 0
--------------------------------------------------------------------------------
=================== sda9: Location of files loaded by Grub: ====================
GiB - GB File Fragment(s)
=============================== StdErr Messages: ===============================
cat: /tmp/BootInfo-TDNlPP9s/Tmp_Log: 没有那个文件或目录