fengyun520 写了:onshoestring 写了:终端运行:
代码: 全选
cd ~/桌面 && wget 'http://nchc.dl.sourceforge.net/project/bootinfoscript/bootinfoscript/0.55/boot_info_script055.sh' && sudo bash boot_info_script055.sh
把RESULTS.txt文件内容贴上来。
执行 结果为 :
bash: cd: /root/桌面: No such file or directory
不好意思,对 LINUX类SYSTEM不了解,没马上里解命令意思,员来只 要 :一 条就 可 l
RESULTS.TXT内 容 为 :
Boot Info Script 0.55 dated February 15th, 2010
============================= Boot Info Summary: ==============================
=> Windows is installed in the MBR of /dev/sda
sda1: _________________________________________________________________________
File system: vfat
Boot sector type: Windows XP: Fat32
Boot sector info: No errors found in the Boot Parameter Block.
Operating System: Windows XP
Boot files/dirs: /menu.lst /boot.ini /grldr /ntldr /NTDETECT.COM
/IO.SYS /MSDOS.SYS /COMMAND.COM
sda2: _________________________________________________________________________
File system: Extended Partition
Boot sector type: -
Boot sector info:
sda5: _________________________________________________________________________
File system: vfat
Boot sector type: Windows XP: Fat32
Boot sector info: According to the info in the boot sector, sda5 starts
at sector 63.
Operating System:
Boot files/dirs: /boot.ini
sda6: _________________________________________________________________________
File system: vfat
Boot sector type: -
Boot sector info: No errors found in the Boot Parameter Block.
Operating System:
Boot files/dirs: /grldr
sda7: _________________________________________________________________________
File system: swap
Boot sector type: -
Boot sector info:
sda8: _________________________________________________________________________
File system: ext4
Boot sector type: -
Boot sector info:
Operating System:
Boot files/dirs: /grub/grub.cfg /grub/core.img
sda9: _________________________________________________________________________
File system: ext4
Boot sector type: -
Boot sector info:
Operating System: Ubuntu 10.04.1 LTS
Boot files/dirs: /etc/fstab
sda10: _________________________________________________________________________
File system: ext4
Boot sector type: -
Boot sector info:
Operating System:
Boot files/dirs:
sda11: _________________________________________________________________________
File system: ext4
Boot sector type: -
Boot sector info:
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 39,070,079 39,070,017 c W95 FAT32 (LBA)
/dev/sda2 39,070,141 312,580,095 273,509,955 f W95 Ext d (LBA)
/dev/sda5 39,070,143 117,274,499 78,204,357 b W95 FAT32
/dev/sda6 117,274,563 195,414,659 78,140,097 b W95 FAT32
/dev/sda7 195,416,064 197,414,911 1,998,848 82 Linux swap / Solaris
/dev/sda8 197,416,960 197,609,471 192,512 83 Linux
/dev/sda9 197,611,520 217,141,247 19,529,728 83 Linux
/dev/sda10 217,143,296 236,673,023 19,529,728 83 Linux
/dev/sda11 236,675,072 312,580,095 75,905,024 83 Linux
blkid -c /dev/null: ____________________________________________________________
Device UUID TYPE LABEL
/dev/loop0 iso9660 Ubuntu 10.04.1 LTS i386
/dev/loop1 squashfs
/dev/sda10 d9bdd4c4-c1e8-4ede-913d-6101c3a4face ext4
/dev/sda11 2bf17cae-f1a2-44b0-8cc7-ae346025b72a ext4
/dev/sda1 335E-15FE vfat WINXP
/dev/sda2: PTTYPE="dos"
/dev/sda5 49A2-B9AD vfat ÿÿÄé?ûÿÿ
/dev/sda6 7668-CA4C vfat DISK1_VOL3
/dev/sda7 90c53b45-793b-472a-a83a-4595a1f25b46 swap
/dev/sda8 09b6aa2c-c9bf-4d07-97a4-ebe4c0e11a37 ext4
/dev/sda9 ef87db3e-c379-40c4-8d83-a89c7c8cfef6 ext4
/dev/sda: PTTYPE="dos"
============================ "mount | grep ^/dev output: ===========================
Device Mount_Point Type Options
aufs / aufs (rw)
/dev/sda1 /isodevice vfat (rw,relatime,fmask=0022,dmask=0022,codepage=cp437,iocharset=iso8859-1,shortname=mixed,errors=remount-ro)
/dev/loop0 /cdrom iso9660 (ro,noatime)
/dev/loop1 /rofs squashfs (ro,noatime)
/dev/sda9 /media/ef87db3e-c379-40c4-8d83-a89c7c8cfef6 ext4 (rw,nosuid,nodev,uhelper=udisks)
/dev/sda10 /media/d9bdd4c4-c1e8-4ede-913d-6101c3a4face ext4 (rw,nosuid,nodev,uhelper=udisks)
/dev/sda6 /media/DISK1_VOL3 vfat (rw,nosuid,nodev,uhelper=udisks,uid=999,gid=999,shortname=mixed,dmask=0077,utf8=1,flush)
/dev/sda5 /media/49A2-B9AD vfat (rw,nosuid,nodev,uhelper=udisks,uid=999,gid=999,shortname=mixed,dmask=0077,utf8=1,flush)
/dev/sda11 /media/2bf17cae-f1a2-44b0-8cc7-ae346025b72a ext4 (rw,nosuid,nodev,uhelper=udisks)
================================ sda1/menu.lst: ================================
title Install Ubuntu 10.04.1-desktop
find --set-root /ubuntu-10.04.1-desktop-i386.iso
kernel /vmlinuz boot=casper iso-scan/filename=/ubuntu-10.04.1-desktop-i386.iso locale=zh_CN.UTF-8
initrd /initrd.lz
title BOOT Ubuntu_10.04
find --set-root --ignore-floppies --ignore-cd /boot/grub/core.img
kernel /boot/grub/core.img
boot
title commandline
commandline
title reboot
reboot
title halt
halt
================================ 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 Professional" /noexecute=optin /fastdetect
C:\="Microsoft Windows"
c:\grldr="ϵͳά»€"
=================== sda1: Location of files loaded by Grub: ===================
??GB: initrd.lz
??GB: menu.lst
??GB: vmlinuz
================================ sda5/boot.ini: ================================
[Boot Loader]
Timeout=5
Default=C:\$WIN_NT$.~BT\BOOTSECT.DAT
[Operating Systems]
C:\ = "Previous Operating System on C:"
C:\$WIN_NT$.~BT\BOOTSECT.DAT = "Windows XP Installation/Upgrade"
============================= sda8/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="4"
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,10)'
search --no-floppy --fs-uuid --set d9bdd4c4-c1e8-4ede-913d-6101c3a4face
if loadfont /share/grub/unicode.pf2 ; then
set gfxmode=640x480
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,8)'
search --no-floppy --fs-uuid --set 09b6aa2c-c9bf-4d07-97a4-ebe4c0e11a37
set locale_dir=($root)/grub/locale
set lang=zh
insmod gettext
if [ ${recordfail} = 1 ]; then
set timeout=-1
else
set timeout=5
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
### END /etc/grub.d/05_debian_theme ###
### BEGIN /etc/grub.d/10_linux ###
menuentry 'Ubuntu, with Linux 2.6.32-24-generic' --class ubuntu --class gnu-linux --class gnu --class os {
recordfail
insmod ext2
set root='(hd0,8)'
search --no-floppy --fs-uuid --set 09b6aa2c-c9bf-4d07-97a4-ebe4c0e11a37
linux /vmlinuz-2.6.32-24-generic root=UUID=ef87db3e-c379-40c4-8d83-a89c7c8cfef6 ro quiet splash
initrd /initrd.img-2.6.32-24-generic
}
menuentry 'Ubuntu, with Linux 2.6.32-24-generic (recovery mode)' --class ubuntu --class gnu-linux --class gnu --class os {
recordfail
insmod ext2
set root='(hd0,8)'
search --no-floppy --fs-uuid --set 09b6aa2c-c9bf-4d07-97a4-ebe4c0e11a37
echo 'Loading Linux 2.6.32-24-generic ...'
linux /vmlinuz-2.6.32-24-generic root=UUID=ef87db3e-c379-40c4-8d83-a89c7c8cfef6 ro single
echo 'Loading initial ramdisk ...'
initrd /initrd.img-2.6.32-24-generic
}
### END /etc/grub.d/10_linux ###
### BEGIN /etc/grub.d/20_memtest86+ ###
menuentry "Memory test (memtest86+)" {
insmod ext2
set root='(hd0,8)'
search --no-floppy --fs-uuid --set 09b6aa2c-c9bf-4d07-97a4-ebe4c0e11a37
linux16 /memtest86+.bin
}
menuentry "Memory test (memtest86+, serial console 115200)" {
insmod ext2
set root='(hd0,8)'
search --no-floppy --fs-uuid --set 09b6aa2c-c9bf-4d07-97a4-ebe4c0e11a37
linux16 /memtest86+.bin console=ttyS0,115200n8
}
### END /etc/grub.d/20_memtest86+ ###
### BEGIN /etc/grub.d/30_os-prober ###
menuentry "Microsoft Windows XP Professional (on /dev/sda1)" {
insmod fat
set root='(hd0,1)'
search --no-floppy --fs-uuid --set 335e-15fe
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.
### END /etc/grub.d/40_custom ###
=================== sda8: Location of files loaded by Grub: ===================
101.0GB: boot/grub/stage2
101.1GB: grub/core.img
101.0GB: grub/grub.cfg
101.1GB: initrd.img-2.6.32-24-generic
101.0GB: vmlinuz-2.6.32-24-generic
=============================== sda9/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/sda9 during installation
UUID=ef87db3e-c379-40c4-8d83-a89c7c8cfef6 / ext4 errors=remount-ro 0 1
# /boot was on /dev/sda8 during installation
UUID=09b6aa2c-c9bf-4d07-97a4-ebe4c0e11a37 /boot ext4 defaults 0 2
# /home was on /dev/sda11 during installation
UUID=2bf17cae-f1a2-44b0-8cc7-ae346025b72a /home ext4 defaults 0 2
# /usr was on /dev/sda10 during installation
UUID=d9bdd4c4-c1e8-4ede-913d-6101c3a4face /usr ext4 defaults 0 2
/dev/sda7 none swap sw 0 0