现在510DD怎么路由器进不去去了

365面对面视频游戏进不去房间怎么回事
365面对面视频游戏中的八球,连连碰等进不去房间其他的都可以进去,进去房间提示游戏启动失败,然后自动退出请问如何解决??
10-02-08 &匿名提问
&&现在365面对面升级了,&你把以前的365面对面的版本删了。在从它的官方网站下载:/&下载完了你在进去看下可以了没。祝你玩的愉快。
请登录后再发表评论!结婚多年处女第一次进不去-55BBS 我爱购物网
&&结婚多年处女第一次进不去
结婚多年处女第一次进不去
87年9月22日 主星:处女座. 月亮星:处女座 金星:天秤座87年8月29日 主星:处女座. 月亮星:天秤座 金星:处女座就你而然,你是个典型的处女座,为什么这么说,因为我们发现同星座的人性格上也会许多的不同,这是因为每人的性格都会受都时间,环境,家庭上有所改变,就家庭而然,你会吸收一点你父母的特性,而月亮星是母系的代表,影响你的内心想法,你的月亮星落在处女座,说明你的母亲就是一个典型的,勤劳的处女座.主星则是外在的,行动上的.所以你无论外在内心都是个处女座.再说说她,她外在的和你一样,但内心和你却大不同,他的家人,很有魅力,为人处事方面做的都很好.她也一定是个很有组织能力的人.她的金星在处女座(金星是对爱情的看法,想法)所以她焦虑,理性,对爱显得冷感,所以常有你追我逃的局面产生。但是处女金星好学不倦,如果以请教课业的藉口接近她,当她邀你上图书馆,或挑剔你毛病时,可能已爱上你了。总结一下,就你们的性格上有许多的相似之处,内心想法和行动上都会有许会达成一致.只要彼比不挑剔对方,太多指责就好.按星座来说你们配对指数在50%-90%之间,情况一般,程中上的位置.单从星座主面来看比较不错,但不是绝对的,按我读过这么多书籍和接触来说,你们结合,你也不能单从星座入手,星座只分析了你和她的性格特征,其中呢还要靠你们互相的努力啊.正所谓性格不和,了解分开,性格虽和,不用心也白搭.最后送你一句,把自己成熟起来,你一定会成功的,祝你幸
9条其他回答
结婚后……你的意思是保持处男和处女之身直到结婚,把第一次给伴侣吗?还是结婚了,忠贞于婚姻,只和伴侣一个人发生关系、或者两者兼具,就是婚前是处男处女,婚后忠贞不渝?怎么说呢,大城市可能比较少吧,但像我身后的这种中小型城镇,大部分大部分绝大部分都是婚前很纯洁的,婚后想出轨也遇不到合适的人选,嗯,所以总的来说,我身边的处男处女,贤妻贤夫还是比较多的现在有很多文学作品喜欢把现实生活写成肉欲世界,但我想拿真的只是作者的一家之言而已,他们写的东西YY,只是为了满足无法YY的人们的YY情节~~~~没有和异性做过的可以理解,但是看过异性的身体就不是处男或处女了吗现在有很多宅男宅女思想开放,但行为保守很多人涉及过黄色书刊,但那也只是看看而已,并没有付诸行动不过如果你是说看过真实的,那我就不知道了,应该没有很多人吧,谁会在不YY的时候,脱光光给人看的?(精神受了重大刺激,或行为艺术的人才会吧)总之,偶个人感觉现实生活中绝大多数的人还是蛮纯洁的,物以类聚人以群分,你要找处男处女,建议还是到相对纯洁的群体、阶层去找,那样比较不容易失望,O(∩_∩)O哈哈~
我只能这么说,处女情节是种追求完美的心理,很正常.但是我绝对不会迂腐到把是不是处女作为衡量一个女孩品质好坏的唯一标准.人品比是不是处女重要.当然我承认,如果老婆不是处女,我有心理阴影!
现在关于处女的提问真的很多,你是男生所以可能比较纠缠这个结,但是你想想,你满足了自己的心愿找了一个处女,然后你们整天吵吵闹闹、或者她背着你和别的人在一起或是心里藏着别人和你结婚,处女不是选择妻子的唯一标准,你要的是幸福生活。你女朋友第一次是给了别人,但是那也是她很纯真的爱情,你爱她,就应该尊重她的感情和她的过往,这样才是大爱。你如果太纠缠她的过去最后失去了这个女人,可能你以后再找不到如此对心的人,你不后悔吗?遇事情多往宽处想,这个社会已经很开放了,你还有什么放不开自己的心呢?
我老婆不是处女,
在结婚之初,我因为她不是处女痛苦过,闹过一段时间,
但随着时间的流逝,这种处女情节被生活所淡化,我渐渐的模糊了处女的意识,
本以为一切就此风平浪静,
但是最近发生的一些事情打破了这份来之不易的平静!
在我老婆的QQ空间有好几篇博文都写的难思其义,
以前,我以为只是她随兴而写,并不带什么情感色彩的一些小诗,
但最近这段时间,我们夫妻关系紧张,
我又看了她的QQ空间,
我才理解到,她空间中那个“蛀牙”原来是指的她以前的男人。
字里行间的深情,那种对她以前男朋友的思念,
这让我的心都碎了,
我终于彻悟,
原来,不论我生活中对她怎么好,
在思想上,强迫自己去接受她不是处女的事实,并且为之平复自己的心绪,
形成了现在我可以不轻易为此感到难过的这一艰难的心路历程,
不过是我在自我娱乐。
在她的心,那个男人永远是最优秀的,对她最好的,
我和那个男人是没有可比性的。
久违的心痛,再次奔涌袭来,
那是种“心是冷冷的,但却有万针相扎”的感觉。
我三年的努力,“在她对他的思念中”荡然无存,
此时的我因为工作关系,在外地出差,
可自从知晓了这件事情后,我却仿如在地狱煎熬中度过每一个昼夜,
她不会明白,一个男人能够因为爱她,而甘愿在承受痛苦中改变自己,
是多么不易的一件事情,
这种爱,岂是那个男人能给她的。
她沉溺于过去,却将我永远的挡在了她的心门之外
同学,这个问题很容易解释,只要你把你们的角度互换一下就能理解了,问你哦,现在满世界的男人都要找处女老婆,可偏偏又管不住自己的“二弟”出去乱搞。处男是非常难以鉴别的,处女就不同了,所以换做是你是女孩,你会不会把自己最宝贵的第一次,交给一个未知的男人?想想看,若你现在是女孩,而你现在的女友是男孩,你就算再爱他只要是脑袋没烧坏的就一定要婚后给他。懂了没?
不一定,极少数会.
大部分男人应该是无所谓的态度,因为处女跟美好生活没有必然关系.当然处女纯洁,完美,当然最好.
要都找处女结婚,估计10个男人9个现在还是光棍
她是处女,我们相爱,我爱她 她不是处女,我们相爱,我也爱她 她是处女,她背叛我,我恨她 她不是处女,她背叛我,我更恨爱她 现在是什么社会了,还计较这点,爱一个不在乎她过去,不然你们会存在黑影,更会影响你们感情的
"如果与非处女结婚,孩子一定不会长得像你"一点科学依据都没有!看来你得去找点生理科教片来看看. 现在处女越来越少,是因为破处的男人越来越多的原因. 处女还是有的,就看你找不找得到,找到了,她属不属于你!我的身边就有一位同事27岁了还是处女,不是说她没男人追.只因为她不愿发生婚前性行为,很男人都以为她有病,不正常.假正经....... 其实,做为她的姐妹的我,最明白,她只是坚持自己的原则.等待一个真正珍惜她的人出现.也许,现在的坚持会很苦.但我觉得,她将来的老公真幸运
中国男人都好自私,此类问题争议的人太多,我想先请问中国男人,在需要对方是处女之前,你是否还是处男?如果中国男人能检点一些,那怎么会那么多女孩子都不是处女了呢,难道自己捅破的,这叫搬石头砸自己的脚
扫描下载客户端新人求教 光驱安装ubuntu10.04后,为什么win7系统进不去了 - 查看主题 & Ubuntu中文论坛
&[ 20 篇帖子 ]&
&文章标题 : 新人求教 光驱安装ubuntu10.04后,为什么win7系统进不去了发表于 :
0:43帖子: 13
送出感谢: 0 次
接收感谢: 0 次
启动项最后一项是windows 7 loader(on /dev/sda1)结果回车后,出现 NTLDR is missing这是什么情况?
&文章标题 : Re: 新人求教 光驱安装ubuntu10.04后,为什么win7系统进不去了发表于 :
5:53帖子: 4663
bootmgr在么?
_________________电子书下载:
&文章标题 : Re: 新人求教 光驱安装ubuntu10.04后,为什么win7系统进不去了发表于 :
0:43帖子: 13
送出感谢: 0 次
接收感谢: 0 次
onshoestring 写道:bootmgr在么?c盘有这个文件
&文章标题 : Re: 新人求教 光驱安装ubuntu10.04后,为什么win7系统进不去了发表于 :
5:53帖子: 4663
终端运行:代码:&cd ~/桌面 && wget 'http://nchc.dl.sourceforge.net/project/bootinfoscript/bootinfoscript/0.55/boot_info_script055.sh' && sudo bash boot_info_script055.sh把RESULTS.txt文件内容贴上来。
_________________电子书下载:
&文章标题 : Re: 新人求教 光驱安装ubuntu10.04后,为什么win7系统进不去了发表于 :
0:43帖子: 13
送出感谢: 0 次
接收感谢: 0 次
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文件内容贴上来。-- 16:36:23--
Resolving nchc.dl.sourceforge.net... 211.79.60.17, 2001:e10:ffff:1f02::17Connecting to nchc.dl.sourceforge.net|211.79.60.17|:80... connected.HTTP request sent, awaiting response... 200 OKLength: 70588 (69K) [application/x-sh]Saving to: `boot_info_script055.sh'100%[======================================&] 70,588
16:36:26 (36.3 KB/s) - `boot_info_script055.sh' saved []
&文章标题 : Re: 新人求教 光驱安装ubuntu10.04后,为什么win7系统进不去了发表于 :
5:53帖子: 4663
RESULTS.txt
_________________电子书下载:
&文章标题 : Re: 新人求教 光驱安装ubuntu10.04后,为什么win7系统进不去了发表于 :
0:43帖子: 13
送出感谢: 0 次
接收感谢: 0 次
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文件内容贴上来。#!/bin/bashVERSION=0.55DATE=&February 15th, 2010&#to use this script:##
sudo bash boot_info_script055.sh#or#
bash boot_info_script055.sh##### last-modified ##author
Ulrich Meierfrankenfeld (aka meierfra.) # with
contributions from caljohnsmith# (both members of ubuntuforums.org)# and Gert Hulselmans##hosted at: # #The birth of the boot info script:#
##Looks at all MBRs and identifies the boot loader. #
For Grub and Supergrub:
displays the controlling partition.#
MBR is unknown, displays the whole MBR.#Looks at all
partitions:#
Determines their type#
Identifies their boot sectors.#
For grub: displays the controlling partition and the offset#
of the stage2 file as recorded in the boot sector.#
For NTFS and Fat, examines the Boot Parameter Block for errors.#
Identifies the operating system#
boot programs.#
Displays the partition table#
Displays &blkid -c /dev/null&#
boot directories and displays their contents.#
Looks in &/& and &NST& for
bootpart codes
and displays the offset#
and boot drive it is trying to chainload#
Looks on &/& and &/NST& for stage1 files and displays the offset#
and bootdrive of the stage 2
files is trying to chainload.#
boot configuration files.#
Is able to search LVM partitions if
the LVM2 package is install#
(&apt-get install lvm2&
in debian based
Is able to search Linux Software Raid partitions (MD Raids) if#
the &mdadm& package is installed.#
If dmraid is installed, searches all raid drives, detected by dmraid.#All information is written to the file &RESULTS.txt& in the#
same folder as the script. But
when run from /bin, /sbin, /usr/bin,#
other system folder the file &RESULTS.txt& is written to the#
home directory of the user who runs this script.###### Display version and date of the script when asked:# ./boot_info_script -v# ./boot_info_script -V# ./boot_info_script --version if [ x&$1& = x'-v' ] || [ x&$1& = x'-V' ] || [ x&$1& = x'--version' ] ;then
echo &boot_info_script version $VERSION&
echo &Dated , $DATE&
exit 0fi ###### Check if all necessary programs are availablePrograms=&
whoami&Check_Prog=1;for Program in $P do
if ! type $Program & /dev/null 2&&1 ; then
echo \&$Program\& could not be found. &&2
Check_Prog=0;
fidoneif [ $Check_Prog -eq 0 ];then
echo &Please install the
missing program(s) and run boot_info_script again.& &&2
exit 1;###### check whether user is rootif [ $(whoami) != &root& ];then
Please use \&sudo\& or become \&root\& to run this script. &&2;
List of folders which might contained files used for chainloadingBoot_Codes_Dir=&
&#################
List of folders whose content will be displayed################# Since all the important files in these folder are already displayed################# it doesn't seem necessary to display the contents of these folders.#Boot_Dir=&#
/boot/grub#
/ubuntu/disks#
/ubuntu/disks/boot/#
/ubuntu/disks/boot/grub#
/ubuntu/disks/install/boot#
/ubuntu/disks/boot/grub#
&##############
List of files whose names will be displayed (if they exists)Boot_Prog_Normal=&
/bootmgr /BOOTMGR
/boot/bcd /BOOT/bcd /Boot/bcd
/boot/BCD /BOOT/BCD
/Windows/System32/winload.exe /WINDOWS/system32/winload.exe /WINDOWS/SYSTEM32/winload.exe /windows/system32/winload.exe
/Windows/System32/Winload.exe /WINDOWS/system32/Winload.exe /WINDOWS/SYSTEM32/Winload.exe /windows/system32/Winload.exe
/grldr /GRLDR
/ntldr /NTLDR
/NTBOOTDD.SYS
/ntbootdd.sys
/wubildr.mbr
/ubuntu/winboot/wubildr.mbr
/ubuntu/winboot/wubildr
/ubuntu/disks/root.disk
/ubuntu/disks/home.disk
/ubuntu/disks/swap.disk
/grub/core.img
/boot/grub/core.img
/DEFAULT.MNU /default.mnu
/IO.SYS /io.sys
/MSDOS.SYS /msdos.sys
&Boot_Prog_Fat=&
/Windows/System32/winload.exe
/NTBOOTDD.SYS
/wubildr.mbr
/ubuntu/winboot/wubildr
/ubuntu/winboot/wubildr.mbr
/ubuntu/disks/root.disk
/ubuntu/disks/home.disk
/ubuntu/disks/swap.disk
/grub/core.img
/boot/grub/core.img
/DEFAULT.MNU
/MSDOS.SYS
&############### List of files whose contents will be displayed.Boot_Files_Normal=&
/boot/grub/menu.lst /grub/menu.lst
/NST/menu.lst
/grub/grub.cfg
/boot/grub/grub.cfg
/ubuntu/disks/boot/grub/menu.lst /ubuntu/disks/install/boot/grub/menu.lst /ubuntu/winboot/menu.lst
/boot/grub/grub.conf
/grub/grub.conf
/grub.conf
/etc/fstab
/etc/lilo.conf
/lilo.conf
&Boot_Files_Fat=&
/boot/grub/menu.lst /grub/menu.lst
/NST/menu.lst
/grub/grub.cfg
/boot/grub/grub.cfg
/ubuntu/disks/boot/grub/menu.lst /ubuntu/disks/install/boot/grub/menu.lst /ubuntu/winboot/menu.lst
/boot/grub/grub.conf
/grub/grub.conf
/grub.conf
/etc/fstab
/etc/lilo.conf
/lilo.conf
&############### List of files whose end point (in GB) will be displayed.GrubError18_Files=&
boot/grub/menu.lst
grub/menu.lst
menu.lst /NST/menu.lst
ubuntu/disks/boot/grub/menu.lst
boot/grub/grub.conf
grub/grub.conf
grub/grub.cfg
boot/grub/grub.cfg
grub/core.img
boot/grub/core.img
boot/grub/stage2
grub/stage2
boot/vmlinuz*
ubuntu/disks/boot/vmlinuz*
boot/initrd*
ubuntu/disks/boot/initrd*
boot/kernel*.img
initramfs* boot/initramfs*
Directory containing the script.Dir=$(cd &$(dirname &$0&)&;pwd);# Set $Dir to the home folder of the current user if the script is in one of the# system folders# This allows placement of the script in /bin, /sbin, /usr/bin, ...# while still having a normal location to write the output file.for systemdir in /bin /boot /cdrom /dev /etc /lib /lost+found /opt /proc /sbin /selinux /srv /sys /usr / do
if [ $(expr &$Dir& : $systemdir) -ne 0 ]; then Dir=&$HOME& break
fidone########
To avoid overwriting existing files, look for a non-existing file ########
RESULT.txt RESULTS1.txt
RESULTS2.txt ... LogFile=&${Dir}/RESULTS&while ( [ -e &${LogFile}${j}.txt& ] )
if [ &j& = && ]; then j=0;
j=$((j+1));
doneLogFile=&${LogFile}${j}.txt&
#### The RESULTS file.######
Redirect stdout to RESULT File#exec 6&&1
#exec & &$LogFile&########### Create previously non-existing
folder of the form##########
/tmp/BootInfo
/tmp/BootInfo1, /tmp/BootInfo2 ... Folder=/tmp/BootInfoi=0;while (! mkdir ${Folder}${i} 2&/dev/null)
i=$((i+1));
doneFolder=${Folder}${i}cd $FolderLog=$Folder/Log
#File to record the summary.Log1=$Folder/Log1
Most of the information which is not part of
#the summary is recorded in this file.Error_Log=$Folder/Error_Log
File to catch all unusal Standar Errors Trash=$Folder/Trash
File to catch all usual Standard Errors
these messagges will not be included in the RESULTS
Mount_Error=$Folder/Mount_Error # File to catch Mounting ErrorsUnknown_MBR=$Folder/Unknown_MBR # File to record all unknown MBR and Boot sectors. Tmp_Log=$Folder/Tmp_Log
# File to temporarily hold some information.PartitionTable=$Folder/PT
# File to store the Partition
TableFakeHardDrives=$Folder/FakeHD
# File to list devices which seem to have
no corresponding drive.BLKID=$Folder/BLKID
# File to store the output of blkidexec 2&$Error_Log
#Redirect all standard error to the file Error_LogAll_Hard_Drives=$(ls /dev/hd? /dev/sd? 2&&$Trash );
### List of all Hard drives.if type dmraid &&$Trash 2&&$Tthen
InActiveDMRaid=$(dmraid -si -c);
[ &$InActiveDMRaid& = &no raid disks& ];
InActiveDMRaid=&&;
[ &$InActiveDMRaid& != && ];
dmraid -ay $InActiveDMRaid &&$T
if [ &$(dmraid -sa -c)& != &no raid disks& ];
All_DMRaid=$(dmraid -sa -c|awk '{print &/dev/mapper/&$0}');
All_Hard_Drives=${All_Hard_Drives}& &${All_DMRaid};
####Arrays to hold information about Partitions: name, starting sector, ending sector, size in sector, Partition Type, Filesystem typ, UUID, Kind(Logical, Primary, Extended), HardDrive, boot flag,
parent (for logical partitions), label, system(the partition id according the partition table), the device associate to the partition.declare -a NamesArray StartArray EndArray SizeArray TypeArray
FileArray UUIDArray KindArray DriveArray BootArray ParentArray LabelArray SystemArray DeviceArray
#####Arrays to hold information about the harddrives.declare -a HDName
FirstPartion LastPartition
HDSize HDMBR HDHead HDTrack HDCylinder HDPT HDStart HDEnd HDUUID;####Array for Hard drives formated as Filesystem declare -a FilesystemDPI=-1 ## Counter for the identification number of a partition. (each partition gets unique number)HI=0 ## Counter for the identification number of a hard drive. (each hard drive gets unique number)PTFormat='%-10s %4s%14s%14s%14s %3s %s\n';
### standard format to use for Partition table,####
fdisk -s seems to malfunction sometimes. So use sfdisk -s if availablefunction fdisks (){if type sfdisk &&$Trash 2&&$Trashthen
sfdisk -s &$1& 2&&$Telse
fdisk -s &$1& 2&&$T}
A function which checks whether a file is on a mounted partition MountPoints=$(mount | grep -e ^/dev |awk '{print $3}' |grep -v
^/$); ##list of mountpoints for devices function FileNotMounted (){local File=$1 curmp=$2;
for mp in $MountP do
if [ $(expr match &$File& &$mp&&/& ) -ne 0 ] && [ &$mp& != &$curmp& ] then
return 1; return 0;}##### A function which converts the
two digit hexcode of a partition type # The following list is taken from sfdisk -T
work in progressfunction HexToSystem () {local type=$1 systemcase $type in 0) system=&Empty&;;1) system=&FAT12&;;2) system=&XENIX root&;;3) system=&XENIX usr&;;4) system=&FAT16 &32M&;;5) system=&Extended&;;6) system=&FAT16&;;7) system=&HPFS/NTFS&;;8) system=&AIX&;;9) system=&AIX bootable&;;a) system=&OS/2 Boot Manager&;;b) system=&W95 FAT32&;;c) system=&W95 FAT32 (LBA)&;;e) system=&W95 FAT16 (LBA)&;;f) system=&W95 Ext d (LBA)&;;10) system=&OPUS&;;11) system=&Hidden FAT12&;;12) system=&Compaq diagnostics&;;14) system=&Hidden FAT16 &32M&;;16) system=&Hidden FAT16&;;17) system=&Hidden HPFS/NTFS&;;18) system=&AST SmartSleep&;;1b) system=&Hidden W95 FAT32&;;1c) system=&Hidden W95 FAT32 (LBA)&;;1e) system=&Hidden W95 FAT16 (LBA)&;;24) system=&NEC DOS&;;27) system=&Hidden HPFS/NTFS&;;32) system=&NOS&;;35) system=&JFS on OS2&;;38) system=&Theos&;;39) system=&Plan 9&;;3a) system=&Theos&;;3b) system=&Theos Extended&;;3c) system=&PartitionMagic recovery&;;40) system=&Venix 80286&;;41) system=&PPC PReP Boot&;;42) system=&SFS&;;45) system=&Boot-US boot manager&;;4d) system=&QNX4.x&;;4e) system=&QNX4.x 2nd part&;;4f) system=&QNX4.x 3rd part&;;50) system=&OnTrack DM&;;51) system=&OnTrack DM6 Aux1&;;52) system=&CP/M&;;53) system=&OnTrack DM6 Aux3&;;54) system=&OnTrackDM6&;;55) system=&EZ-Drive&;;56) system=&Golden Bow&;;5c) system=&Priam Edisk&;;61) system=&SpeedStor&;;63) system=&GNU HURD or SysV&;;64) system=&Novell Netware 286&;;65) system=&Novell Netware 386&;;70) system=&DiskSecure Multi-Boot&;;75) system=&PC/IX&;;80) system=&Old Minix&;;81) system=&Minix / old Linux&;;82) system=&Linux swap / Solaris&;;83) system=&Linux&;;84) system=&OS/2 hidden C: drive&;;85) system=&Linux extended&;;86) system=&NTFS volume set&;;87) system=&NTFS volume set&;;88) system=&Linux plaintext&;;8e) system=&Linux LVM&;;93) system=&Amoeba/Accidently Hidden Linux&;;94) system=&Amoeba BBT&;;9f) system=&BSD/OS&;;a0) system=&IBM Thinkpad hibernation&;;a5) system=&FreeBSD&;;a6) system=&OpenBSD&;;a7) system=&NeXTSTEP&;;a8) system=&Darwin UFS&;;a9) system=&NetBSD&;;ab) system=&Darwin boot&;;af) system=&HFS&;;b0) sytem=&Boot Star&;;b1 | b2 | b3 | b4 | b6) system=&SpeedStor&;; b7) system=&BSDI fs&;;b8) system=&BSDI swap&;;bb) system=&Boot Wizard hidden&;;bc) system=&Acronis BackUp&;;be) system=&Solaris boot&;;bf) system=&Solaris&;;c0) system=&CTOS&;;c1) system=&DRDOS/sec (FAT-12)&;;c2) system=&Hidden Linux/PowerBoot&;;c3) system=&Hidden Linux Swap /PowerBoot&;;c4) system=&DRDOS/sec (FAT-16 & 32M)&;;c6) system=&DRDOS/sec (FAT-16)&;;c7) system=&Syrinx&;;cb) system=&DR-DOS
FAT32 (CHS)&;;cc) system=&DR-DOS
FAT32 (LBA)&;;cd) system=&CTOS Memdump?&;;ce) system=&DR-DOS FAT16X (LBA)&;;cf) system=& DR-DOS EXT DOS (LBA)&;;d0) system=& REAL/32 secure big partition&;;da) system=&Non-FS data&;;db) system=&CP/M / CTOS / ...&;;dd) system=&Dell Media Direct&;;de) system=&Dell Utility&;;df) system=&BootIt&;;e1) system=&DOS access&;;e3) system=&DOS R/O&;;e4) system=&SpeedStor&;;eb) system=&BeOS fs&;;ee) system=&GPT&;;ef) system=&EFI (FAT-12/16/32)&;;f0) system=&Linux/PA-RISC boot&;;f1) system=&SpeedStor&;;f4) system=&SpeedStor&;;f2) system=&DOS secondary&;;fb) system=&VMware VMFS&;;fc) system=&VMware VMKCORE&;;fd) system=&Linux raid autodetect&;;fe) system=&LANstep&;;ff) system=&BBT&;; *) system=&Unknown&;;echo $}##### Function to convert GPT's Partition Type.####
ABCDEFGH-IJKL-MNOP-QRST-UVWXYZabcdef is stored as####
GHEFCDAB-KLIJ-OPMN-QRST-UVWXYZabcdef (without the dashes)function UUIDToSystem() {local type=$1 systemcase $type in
system=&Empty&;;
41ee4d02e733dc781f39f)
system=&MBR partition scheme&;;
2d211ba4b00a0c93ec93b)
system=&System/Boot Partition&;;
a2a0d0ebe5bb6b72699c7)
system=&Linux or Data&;;
6dfd5706aba4cc84b4f4f)
system=&Linux Swap&;;
16e3c9e35c0bb84d817df92df00215ae)
system=&Microsoft Windows&;;
79d3d6e607f5c244a23c238f2a3df928)
system=&LVM&;;
aa11aaecac)
system=&HFS+&;;
system=&Bios Boot Partition&;;
system=&-&;
echo Unknown GPT Partiton Type&&$Unknown_MBR;
$type &&$Unknown_MBR;;
}##### Function which insert a comma every
third digit of a numberfunction InsertComma () {echo $1 |sed -e :a -e 's/\(.*[0-9]\)\([0-9]\{3\}\)/\1,\2/;ta'}##### Function to read 4 bytes starting at $1 of device $2 and convert to decimal.function Read4Bytes () {echo $(hexdump -v -s
-n 4 -e '4 &%u&'
$2);}##### Function to read 8 bytes starting at $1 of device $2 and convert to decimal.function Read8Bytes () {local start=$1 device=$2;local first4 second4;first4=$(hexdump -v -s
-n 4 -e '4 &%u&'
$device);second4=$(hexdump -v -s
$((start+4))
-n 4 -e '4 &%u&'
$device);echo $((second4*+first4));}#### Functions to pretty print blkid output ######BlkidFormat='%-16s %-38s %-10s %-30s\n'BlkidTag (){echo $(blkid -c /dev/null -s $2 -o value $1 2&&$Trash)}PrintBlkid (){local part=$1;if
&$(blkid -c /dev/null $part
2&$Tmp_Log)&
!= && ];thenprintf &$BlkidFormat& &$part&
&$(BlkidTag $part UUID)&
&$(BlkidTag
$part TYPE)& &$(BlkidTag $part LABEL)&&&$BLKID;else blkid
-p &$part&
2&&1 |grep &$part& &&$BLKID; #blkid -p is not avaible all all systems. This contructs makes sure the &usage& message is not displayed, but catches the &ambivalent& error.}## Reads and display the
a partition table of an extended partitons
########################
and check the partition
check for errors
######################
This function can be applied iteratively
to read the extended partiton table
# Variable 1:
HI of hard drive # Variable 2:
Start Sector of the extended Partition,# Variable 3:
Number of partitions in table (4 for regular PT, 2 for logical# Variable 4:
File for storing the partitions table.# Variable 5:
Format to use for displaying the partition table.
# Variable 6:
PI of the primary extended partition containing the extended partition.#
( equals &&
for hard drive)# Variable 7:
Last Linux Index assigned (the number in sdXY).ReadPT (){local HI=$1 StartEx=$2
N=$3 PT_file=$4 format=$5
EPI=$6 Base_Sector
LinuxIndex=$7
start elocal i=0
boot_hex label limit MBRSigdrive=${HDName[$HI]};limit=${HDSize[$HI]};$(dd if=$drive skip=$StartEx of=$Tmp_Log count=1 2&&$Trash);MBRSig=$(hexdump -v -s 510
-n 2 -e '&%x&'
$Tmp_Log);[[ &$MBRSig& != &aa55& ]]
Invalid MBR Signature found && $PT_if [[ $StartX -lt $limit ]];then
# set Base_Sector to 0 for HardDrive, and to the start
of primary extended partition otherwise
[[ &$EPI& = && ]] && Base_Sector=0 || Base_Sector=${StartArray[$EPI]}
for (( i=0; i & N; i++ ));
do $(dd if=$drive skip=$StartEx of=$Tmp_Log count=1 2&&$Trash);
boot_hex=$(hexdump -v -s
$((446+16*i))
1 -e '&%02x&'
$Tmp_Log) case $boot_hex
00) boot=& &;;
80) boot=&* &;;
*) boot=&?&;;
start=$(hexdump -v -s
$((454+16*i))
-n 4 -e '4 &%u&'
$Tmp_Log); size=$(hexdump -v -s
$((458+16*i))
-n 4 -e '4 &%u&'
$Tmp_Log); type=$(hexdump -v
$((450+16*i))
-n 1 -e '4 &%x&' $Tmp_Log); if
[[ $size != 0 ]]; then
[[ ( &$type& = &5& || &$type& = &f& )
&& $Base_Sector != 0 ]];
start=$((start+Base_Sector))
#start sector of an extended partition is
# relative to the start sector of an primary extended partition.
$i = 0 ]];
echo &Extended
linking to another extended partition& &&$PT_
ReadPT $HI $start
$PT_file &$format&
$EPI $LinuxI
[[ &$type& = &5& || &$type& = &f& ]];
KindArray[$PI]=&E&;
start=$((start+StartEx)); #Start sector of a logical partition is
# relative to the start sector of directly assocated
extented partition.
[[ $Base_Sector = 0 ]] && KindArray[$PI]=&P& || KindArray[$PI]=&L&;
LinuxIndex=$((LinuxIndex+1));
end=$((start+size-1));
[[ &${HDPT[$HI]}&
= &BootIt&
label=&${NamesArray[$EPI]}&&_& || label=$
system=$(HexToSystem $type)
printf &$format& &$label$LinuxIndex& &$boot& $(InsertComma $start) &$(InsertComma $end)&
&$(InsertComma $size)&
&$type& &$system& && $PT_
NamesArray[$PI]=&$label&$LinuxI
StartArray[$PI]=$
EndArray[$PI]=$
TypeArray[$PI]=$
SystemArray[$PI]=&$system&;
SizeArray[$PI]=$
BootArray[$PI]=&$boot&;
DriveArray[$PI]=$HI;
ParentArray[$PI]=$EPI;
( [[ &$EPI& = && ]] || [[ ${DeviceArray[$EPI]} != && ]] ) && DeviceArray[$PI]=$drive$LinuxI
if [[ &$type& = &5& || &$type& = &f& ]];
ReadPT $HI $start
$PT_file &$format&
elif [[ $Base_Sector != 0
echo &Empty Partition&&&$PT_ else
LinuxIndex=$((LinuxIndex+1)); else
echo &EBR refers to a
location outside the Hard drive& &&$PT_
}############### Read partition table of type GPT (GUID, EFI)################################
Variable 1:
HI of hard drive######
Variable 2:
File to store the PartitionTablefunction ReadEFI() {
local HI=$1 drive file=$2 Size N=0 i=0
format Label PRStart Start End
Type Size S
drive=&${HDName[$HI]}&;
format='%-10s %14s%14s%14s %s\n';
printf &$format&
Partition Start End Size
System && $
HDStart[$HI]=$(Read8Bytes
HDEnd[$HI]=$(Read8Bytes
HDUUID[$HI]=$(hexdump -v -s 568
-n 16 -e '/1 &%02x&'
PRStart=$(Read8Bytes
N=$(Read4Bytes
PRStart=$((PRStart*512));
PRSize=$(Read4Bytes 596
for (( i = 0; i& N; i++ ))
Type=$(hexdump -v -s $((PRStart+PRSize*i))
-n 16 -e '/1 &%02x&'
if [ &$Type& != && ];
Start=$(Read8Bytes $((PRStart+32+PRSize*i))
End=$(Read8Bytes $((PRStart+40+PRSize*i))
Size=$((End-Start+1));
System=$(UUIDToSystem $Type);
Label=$drive$((i+1));
printf &$format&
&$(InsertComma $Start)& &$(InsertComma $End)& &$(InsertComma $Size)&
NamesArray[$PI]=$L
DeviceArray[$PI]=$L
StartArray[$PI]=$S
TypeArray[$PI]=$T
SizeArray[$PI]=$S
SystemArray[$PI]=$S
EndArray[$PI]=$E
DriveArray[$PI]=$HI;
KindArray[$PI]=&P&;
ParentArray[$PI]=&&;
}############### Read the Master Partition Table of
BootIt NG################################
Variable 1:
HI of hard drive######
Variable 2:
File to store the MPT.function ReadEMBR() {
local HI=$1 drive MPT_file=$2 Size N=0 i=0
Type BINGUnknown format Size System StoredPI FirstPI=FirstPartition[$1] LastPI=$PI N
drive=&${HDName[$HI]}&;
format='%-18s %4s%14s%14s%14s %3s %-15s %3s %2s\n';
printf &$format&
Partition Boot Start End Size Id System
Ind &?&&& $MPT_
N=$(hexdump -v -s 534
'&%u&' $drive);
while [[ $i -lt &$N& ]] do
BINGUnknown=$(hexdump -v -s
$((541+28*i))
-n 1 -e '&%x&'
$drive) Start=$(hexdump -v -s
$((542+28*i))
-n 4 -e '4 &%u&'
End=$(hexdump -v -s
$((546+28*i))
-n 4 -e '4 &%u&'
$drive); BINGIndex=$(hexdump -v -s
$((550+28*i))
-n 1 -e '&%u&'
$drive); Type=$(hexdump -v -s
$((551+28*i))
-n 1 -e '&%x&'
Size=$((End-Start+1)); Label=$(hexdump -v -s
$((552+28*i))
-n 15 -e '&%_u&'
$drive| sed -e
s/nul[^$]*//);
System=$(HexToSystem $Type);
printf &$format&
&$Label& &-& &$(InsertComma $Start)& &$(InsertComma $End)& &$(InsertComma $Size)& &$Type& &$System&
&$BINGIndex& &$BINGUnknown&&&$MPT_
StoredPI=$PI;
for ((j = FirstPI; j&=LastPI; j++ ));
if (( ${StartArray[$j]} == $Start ));
if (( $New
StoredPI=$PI;
StartArray[$PI]=$S
TypeArray[$PI]=$T
SizeArray[$PI]=$S
SystemArray[$PI]=$S
EndArray[$PI]=$E
DriveArray[$PI]=$HI;
NamesArray[$PI]=$L
if [[ $Type = &f& || $Type = &5& ]];
KindArray[$PI]=&E&;
ParentArray[$PI]=$PI;
ReadPT $HI
$MPT_file &$format&
KindArray[$PI]=&P&;
ParentArray[$PI]=&&;
PI=$StoredPI;
}#################
Check partition table for errors
###################################
This function checks whether any two partitions
overlap###
and the logical partitions are inside the extended partition.###
Variable 1:
PI of First partition to consider###
Variable 2:
PI of Last Partition to consider###
Variable 3:
File for the error messages.###
Variable 4:
HI of containing hard drive CheckPT () {
first=$1 last=$2 file=$3;
Si Ei Sj Ej Ki
Kj i j k cyl track head cyl_bound sec_bound
cyl=${HDCylinder[$hi]};
track=${HDTrack[$hi]};
head=${HDHead[$hi]};
cyl_bound=$((cyl*track*head));
sec_bound=${HDSize[$hi]};
for (( i=$ i &= i++ ));
Si=${StartArray[$i]};
Ei=${EndArray[$i]};
Ki=${KindArray[$i]};
Ni=${NamesArray[$i]};
if [[ &$Ei& -gt &$sec_bound&
ends after the last sector of ${HDName[$hi]}&&$
[[ &$Ei& -gt &$cyl_bound&
echo $Ni ends after the last cylinder of ${HDName[$hi]}&&$T
if [[ $Ki = &L& ]];
k=${ParentArray[$i]};
Sk=${StartArray[$k]};
Ek=${EndArray[$k]};
Nk=${NamesArray[$k]};
[[ $Si -le $Sk || $Ei -gt $Ek ]] &&
the logical partition
$Ni is not contained in the extended partition
for (( j = i+1; j &= j++ ));
Sj=${StartArray[$j]};
Ej=${EndArray[$j]};
Kj=${KindArray[$j]};
Nj=${NamesArray[$j]};
[[ !( ( $Ki = &L& && $Kj = &E&
|| ( $Ki = &E& && $Kj = &L&
) ) && ( ( $Si -lt $Sj &&
-lt $Si && $Si -lt $Ej ) )]] && echo
$Ni overlaps with
done}#######################################################################################################
Determine the embeded location of stage 2
in a stage 1 file,##########
for the stage 2 and, if found, determine the#########$
the location and the path of the embedded menu.lststage2_loc (){
local stage1=$1
offset=$(hexdump -v -s 68 -n 4 -e '4 &%u&' $stage1 2&&$Trash);
dr=$(hexdump -v -s 64 -n 1 -e '&%d&' $stage1);
Grub_Version=&&;
for hi in ${!HDName[@]};
hdd=${HDName[$hi]};
if [ $offset -lt
${HDSize[hi]}
tmp=$(dd if=$hdd skip=$offset count=1 2&&$Trash | hexdump -v
-n 4 -e '&%x&');
if [[ &$tmp& = 3be5652 || &$tmp& =
If stage2 files was found.
dd if=$hdd skip=$((offset+1)) count=1 of=$Tmp_Log 2&&$T
pa=$(hexdump -v
-n 1 -e '&%d&' $Tmp_Log);
stage2_hdd=$
Grub_String=$(hexdump -v -s 18 -n 94 -e '&%_u&' $Tmp_Log);
Grub_Version=$(echo $Grub_String|sed -e
s/nul[^$]*//);
BL=$BL$Grub_V
menu=$(echo $Grub_String |sed -e
s/[^\/]*// -e s/nul[^$]*//);
menu=${menu%% *}; dr=$((dr-127)) Stage2_Msg=$(echo
looks at sector $offset )
if [ &$dr& = 128 ]; then
Stage2_Msg=$(echo $Stage2_Msg of the same hard drive)
Stage2_Msg=$(echo $Stage2_Msg on boot drive \#$dr) Stage2_Msg=$(echo $Stage2_Msg for the stage2 file);
if [ &$pa& = &T&
#### no stage 2 file found. then
Stage2_Msg=$(echo $Stage2_Msg, but no stage2 files can be found at this location.);
pa=$((pa+1))
Stage2_Msg=$(echo $Stage2_Msg.
A stage2 file is at
this location on $stage2_hdd.
Stage2 looks on )
if [ &$pa& = 256 ];
Stage2_Msg=$(echo $Stage2_Msg the same partition)
Stage2_Msg=$(echo $Stage2_Msg
partition \#$pa )
Stage2_Msg=$(echo $Stage2_Msg for
$menu.)}##############################################################################################################################################################################################
Determine the embeded location of core.img
for a Grub2 boot.img file,##########
for the core.img and,
the path of the Grub Folder.#############################################################################core_loc (){
local stage1=$1
grub2_version=$2
hi offset_loc dr_loc dir_
case $grub2_version in
1.96) offset_loc=68;
dr_loc=76; dir_loc=32;;
1.97) offset_loc=92;
dr_loc=91; dir_loc=28;;
offset=$(hexdump -v -s $offset_loc -n 4 -e '4 &%u&' &$stage1& 2&&$Trash);
dr=$(hexdump -v -s $dr_loc -n 1 -e '&%d&' &$stage1&);
for hi in ${!HDName[@]};
hdd=${HDName[$hi]};
if [ $offset -lt
${HDSize[hi]}
tmp=$(dd if=&$hdd& skip=$offset count=1 2&&$Trash | hexdump -v
-n 4 -e '&%x&');
if [ &$tmp& = 1bbe5652 ];
If conf.img
file was found.
dd if=$hdd skip=$((offset+1)) count=1 of=$Tmp_Log 2&&$T
pa=$(hexdump -v
-n 1 -e '&%d&' $Tmp_Log);
core_hdd=$
Grub_String=$(hexdump -v -s $dir_loc -n 64 -e '&%_u&' $Tmp_Log);
Core_Dir=$(echo
$Grub_String | sed s/nul[^$]*//); Core_Msg=$(echo
looks at sector $offset of the same hard drive for core.img)
if [ &$pa& = &T&
#### core.img not
Core_Msg=$(echo $Core_Msg, but core.img can not be found at this location.);
#### core.img
pa=$((pa+1))
Core_Msg=$(echo $Core_Msg,
core.img is
at this location on $core_hdd and looks
if [ &$pa& = 255 ];
Core_Msg=$(echo $Core_Msg for $Core_Dir.)
Core_Msg=$(echo $Core_Msg on
partition \#$pa
$Core_Dir.)
}######################################################################################################
Get_Partition_Info search a partition for information relevant for booting.####Variables:####
local version of RESULT.txt####
local version of log1####
device for the partition####
descriptive name for the partition####
path where
partition will be mounted.###
kind of the partition###
starting sector of the partition###
ending sector of the partition###
system of the partition###
pi of the partition, (equal to && if not a regular partition. Get_Partition_Info(){local Log=&$1& Log1=&$2& part=&$3& name=&$4& mountname=&$5&
start=&$7&
end=&$8& system=&$9& pi=&${10}&;local size=$((end-start)) BST=&&
OS=&& BootFiles=&&;
echo &Searching $name for information... &;
PrintBlkid $
type=$(BlkidTag $part TYPE);
##### type of file system according to blkid
[[ &$system& == &Bios Boot Partition& ]] && type=&Bios Boot Partition&
[[ $pi != && ]] && FileArray[$pi]=$
echo &$name: _________________________________________________________________________& &&&$Log&; echo&& &$Log&
mkdir -p &$mountname&
Directory where the partition will be mounted.
if [[ &$kind& = &E&
&$type& = && ]] ;
#### Check for extended partion.
type=&Extended Partition&;
cat $Tmp_Log&&$T
### Don't display
the error message from blkid for extended partition
cat $Tmp_Log&&$Error_Log
File system:
&$type&&&$Log&;
### Display the File System Type
Bytes8081=$(hexdump -v -s 128 -n
2 -e '/1 &%x&'
#### Use bytes 0x80,81 to idendtify Boot sectors
$Bytes8081
10f) BST=&HP Recovery&;;
BST=&BSD4.4: Fat32&;;
211) BST=&Dell Utility: Fat16&;;
BST=Dos_1.0;;
BST=&Vista:
BST=&MSDOS5.0: Fat 16&;;
8cd) BST=&Windows XP&;;
488) BST=&Grub 2's core.img&;;
b60) BST=&Dell Utility: Fat16&;;
bd0) BST=&MSWIN4.1: Fat 32&;;
e00) BST=&Dell Utility: Fat16&;;
2d5e) BST=Dos_1.1;;
3a5e) BST=&Recovery:Fat 32&;;
4445) BST=&DEll Restore: Fat32&;;
55aa) BST=&Windows Vista/7&;;
55cd) BST=&Fat32&;;
6616) BST=Fat16;;
696e) BST=Fat16;;
6974) BST=&BootIt: Fat16&;;
6f65) BST=&BootIt: Fat16&;;
6f74) BST=Fat32;;
6f6e) BST=&-&;;
#MSWIN4.1: Fat 32&
7815) BST=Fat32;;
7cc6) BST=&MSWIN4.1: Fat 32&;;
# 7cc6) BST=Win_98;;
8a56) BST=&Acronis SZ: Fat32&;;
8ec0) BST=&Windows XP&;;
8ed0) BST=&DEll Recovery: Fat32&;;
b6d1) BST=&Windows XP: Fat32&;;
e2f7) BST=&Fat32, Non Bootable&;;
e9d8) BST=&Windows Vista/7&;;
fa33) BST=&Windows XP&;;
####### if Grub, Grub 2 or Lilo
in the boot sector,
####### investigate the embedded information
48b4) BST=&Grub 1.96&;
core_loc $part 1.96;
BSI=$(echo $BSI Grub 1.96 is installed in the boot sector of $name
and $Core_Msg);;
7c3c) BST=&Grub 2&;
core_loc $part 1.97;
BSI=$(echo $BSI Grub 2 is installed in the boot sector of $name
and $Core_Msg);;
aa75 | 5272) BST=G
stage2_loc $
BSI=$(echo $BSI Grub $Grub_Version is installed in the boot sector of $name
and $Stage2_Msg);;
#############
If Lilo look for map file
##############################################
8053) BST=LILO;
offset=$(hexdump -v -s 32 -n 4 -e '&%u&' $part);
### 0x20-23 contains the offset
BSI=$(echo $BSI& &LILO
is installed in boot sector of $part and looks at sector $offset of $drive for the \&map\&
if [ $offset -lt
### check whether offset
#### is on the had drive.
tmp=$(dd if=$drive skip=$offset count=1 2&&$Trash | hexdump -v -s 508
-n 4 -e '&%_p&');
if [[ &$tmp& = &LILO& ]];
BSI=$(echo $BSI& &and the \&map\& file was found at this location.);
BSI=$(echo $BSI& &but the \&map\& file was not found at this location.);
BSI=$(echo $BSI& &but the \&map\& file was not found at this location.);
#########################################################################################
sig2=$(hexdump -v -s 128 -n
2 -e '/1 &%x&'
if [ &$sig2& = 00 ];
#### If the first two bytes are zero, the boot sector does not contain any boot loader.
###### Otherwise, display the boot sector, so we that we might identify it and add it to the list of known boot sectors.
BST=&Unknown&
echo &Unknown BootLoader
on $name& && $Unknown_MBR;
echo && $Unknown_MBR;
-n 512 -C $part && $Unknown_MBR;
echo && $Unknown_MBR;;
*) BST=&Unknown&
echo &Unknown BootLoader
on $name& && $Unknown_MBR;
echo && $Unknown_MBR;
hexdump -n 512 -C $part && $Unknown_MBR;
echo && $Unknown_MBR;######################
Display the boot sector type.
Boot sector type:
&$BST&&&$Log& ####################### Investigate the Boot Parameter Block of an NTFS partition.
if [[ &$type& = &ntfs& ]]
offset=$(hexdump -v -s 28 -n 4 -e '&%u&' $part);
BPB_Part_Size=$(hexdump -v -s 40 -n 4 -e '&%u&' $part)
Comp_Size=$(( (BPB_Part_Size - size)/256 ))
SectorsPerCluster=$(hexdump -v -s 13 -n 1 -e '&%d&' $part);
MFT_Cluster=$(hexdump -v -s 48 -n 4 -e '&%d&' $part);
MFT_Sector=$(( MFT_Cluster * SectorsPerCluster ));
Track=$(hexdump -v -s 24 -n 2 -e '&%u&' $part)''
### Number of sectors per track.
Heads=$(hexdump -v -s 26 -n 2 -e '&%u&' $part)''
### Number of heads
if [[ &$Heads& != 255
|| &$Track& != 63 ]]
BSI=$(echo $BSI& &Geometry: $Heads Heads and $Track sectors per Track.)
if [[ &$MFT_Sector& -lt &$size& ]];
MFT_FILE=$(dd if=$part skip=$MFT_Sector count=1 2&&$Trash | hexdump -v
-n 4 -e '&%_u&');
MFT_FILE=&&;
MFT_Mirr_Cluster=$(hexdump -v -s 56 -n 4 -e '&%d&' $part);
MFT_Mirr_Sector=$(( MFT_Mirr_Cluster * SectorsPerCluster ));
if [[ &$MFT_Mirr_Sector& -lt &$size& ]];
MFT_Mirr_FILE=$(dd if=$part skip=$MFT_Mirr_Sector count=1 2&&$Trash | hexdump -v
-n 4 -e '&%_u&');
MFT_Mirr_FILE=&&;
if [[ &$offset& = &$start&
&& &$MFT_FILE& = &FILE&
&& &$MFT_Mirr_FILE& = &FILE&
&& &$Comp_Size& = &0&
BSI=$(echo $BSI& &No errors found in the
Boot Parameter Block.);
if [[ &$offset& != &$start& ]]
BSI=$(echo $BSI&
&According to the info in the boot sector, $name starts at sector $offset.)
if [[ &$offset& != &63& && &$offset& != &2048&
&& &offset& != &0& ||
&$kind& != &L& ]]
BSI=$(echo $BSI& &But according to the info
from fdisk, $name starts at sector
[[ &$MFT_FILE& != &FILE&
BSI=$(echo $BSI& &The info in boot sector
the starting sector of the MFT is wrong.);
echo MFT Sector of $name && $Unknown_MBR;
echo && $Unknown_MBR
dd if=$part skip=$MFT_Sector count=1 2&&$Trash| hexdump -C &&$Unknown_MBR;
if [[ &$MFT_Mirr_FILE& != &FILE& ]];
BSI=$(echo $BSI& &The info in the boot sector on
the starting sector of the MFT Mirror
is wrong.);
[[ &$Comp_Size& != &0&
BSI=$(echo $BSI&
&According to the info in the boot sector, $name has
$BPB_Part_Size sectors, but according to the info
from fdisk, it has
$size sectors.);######################## Investigate the Boot Parameter Block (BPB)of some Fat partitions #####
Identifies Fat Bootsectors which are used for booting.##
if [[ &$Bytes8081& = &7cc6& ||
&$Bytes8081& = &7815&
&$Bytes8081& = &B6D1&
|| &$Bytes8081& =
&7405& || &$Bytes8081& = &6974& || &$Bytes8081& = &bd0& ||
&$Bytes8081& =
if [[ &$type& = &vfat& ]];
offset=$(hexdump -v -s 28 -n 4 -e '&%d\n&' $part); #### Starting sector the partition
according to BPP
BPB_Part_Size=$(hexdump -v -s 32 -n 4 -e '&%d&' $part); ### Partition Size in sectors accoring to BPB
Comp_Size=$(( (BPB_Part_Size - size)/256 )) ### This number will be unequal to zero
if the two partions size
differ by more than 255 sectors.
#Track=$(hexdump -v -s 24 -n 2 -e '&%u&' $part)''
### Number of sectors per track.
#Heads=$(hexdump -v -s 26 -n 2 -e '&%u&' $part)''
### Number of heads
#if [[ &$Heads& != 255
|| &$Track& != 63 ]] ###
Checks for an usual geometry.
BSI=$(echo $BSI& &Geometry: $Heads Heads and $Track sectors per Track.)
### Report unusal geometry
if [[ &$offset& = &$start& && &$Comp_Size& = &0&
### Check whether Partitons starting sector
the Partition Size of BPB and fdisk agree.
BSI=$(echo $BSI& &No errors found in the
Boot Parameter Block.);
##If they agreee
don't agree
if [[ &$offset& != &$start& ]]
if partition starting sector disagree
BSI=$(echo $BSI&
&According to the info in the boot sector, $name starts at sector $offset.)
### display the starting sector accoding to BPB
if [[ &$offset& != &63& && &$offset& != &2048& ||
&$kind& != &L& ]]
### check whether partition is logcial partition and starting sector is a 63.
### if not, display starting sector according to fdisk.
BSI=$(echo $BSI& &But according to the info
from fdisk, $name starts at sector
$start.); ### If not, don't display.
(This is quite common occurence, and only matters if one tries to boot Windows from a logical partition. So I decided not to display a warning message in this case.
#### If Partition sizes from BPB and FDISK differ by more than 255 sector, display both sizes.
if [[ &$Comp_Size& != &0&
BSI=$(echo $BSI&
&According to the info in the boot sector, $name has
$BPB_Part_Size sectors.)
if [[ &$BPB_Part_Size& != 0 ]];
BSI=$(echo &$BSI&.& & But according to the info
from the partition table , it has
$size sectors.);
## Don't display warning message in the common case BPB_Part_Size=0.
#### End of BPB Error if then else
###### End of Investigation of the BPB of vfat partitions. ################################################################################################
Display boot sector info
Boot sector info:
echo $BSI | fold -s -w 55 |
sed -e '2~1s/.*/
&/'&&&$Log&
####Exclude Partitions which contain no information,
##### or which we (currently) don't know how to
accces. #########
if [ &$type& != &swap& ]
&& [ &$type& != &Extended Partition&
] && [ &$type& != &unknown volume type& ] && [ &$type& != &LVM2_member& ]
&& [ &$type& != &linux_raid_member& ] && [ &$type& != &crypto_Luks& ] && [ &$system& != &Bios Boot Partition& ] ;
CheckMount=$(mount| grep &$part & |sed '2,$ d');
CheckMount=${CheckMount% type*};
CheckMount=${CheckMount#* on };
### Check whether partition is already mounted
[ &$CheckMount& != && ] ;
[ &$CheckMount& = &/& ];
then mountname=&&;
mountname=$CheckM
#### if yes,use existing mount point.
[ &$CheckMount& != && ] || mount -r
-t &$type& $part &$mountname& 2&&$Mount_Error
|| ( [ &$type& = ntfs ] &&
ntfs-3g -o ro
$part &$mountname& 2&&$Mount_Error )
####### Try to mount partition
############
if partition is
#####Try to identify the Operating
System (OS) by
looking for files specific to the OS
grep -q &W.i.n.d.o.w.s. .V.i.s.t.a&
&$mountname&/{windows,Windows,WINDOWS}/{System32,system32}/{Winload,winload}.exe 2&&$Trash && OS=&Windows Vista&;
grep -q &W.i.n.d.o.w.s. .7& &$mountname&/{windows,Windows,WINDOWS}/{System32,system32}/{Winload,winload}.exe 2&&$Trash && OS=&Windows 7&;
&MS-DOS 6.22& &MS-DOS 6.21& &MS-DOS 6.0& &MS-DOS 5.0& &MS-DOS 4.01& &MS-DOS 3.3& &Windows 98& &Windows 95&; do grep -q &$WinOS& &$mountname&/{IO.SYS,io.sys} 2&&$Trash && OS=&$WinOS&;
[ -s &$mountname/Windows/System32/config/SecEvent.Evt& ] ||
[ -s &$mountname/WINDOWS/system32/config/SecEvent.Evt& ] || [ -s &$mountname/WINDOWS/system32/config/secevent.evt& ] || [ -s &$mountname/windows/system32/config/secevent.evt& ] && OS=&Windows XP&;
[ -s &$mountname/etc/issue& ] && OS=$(sed -e 's/\\. //g' -e 's/\\.//g' -e 's/^[ \t]*//' &$mountname&/etc/issue);
[ -s &$mountname/etc/slackware-version& ] && OS=$(sed -e 's/\\. //g' -e 's/\\.//g' -e 's/^[ \t]*//' &$mountname&/etc/slackware-version);####################################
search for
the files in $Bootfiles
############################################################ and if found, display there contained ########################
BootFiles=&&
if [ &$type& = &vfat& ];
Boot_Files=$Boot_Files_F
Boot_Files=$Boot_Files_N
for file in $Boot_F
if [ -f &$mountname&$file ] && [ -s &$mountname&$file ] && FileNotMounted &$mountname&$file &$mountname&
BootFiles=$(echo $BootFiles&
if ! [ -h &$mountname&$file ];
### check whether file is
### if not a symlink, display content.
titlebar_gen &$name& $ ##generates a titlebar above each file/dir listed
cat &$mountname&$file
&& &$Log1&;
################# Search for Wubi partitions
###################################if [ -f &$mountname&&/ubuntu/disks/root.disk& ];
Wubi=$(losetup -a|awk '$3 ~ &(/host/ubuntu/disks/root.disk)&{print $1; exit}'|sed s/.$//)
#check whether Wubi already has a loop device.
if [[ &$Wubi& = && ]];
Wubi=$(losetup -f --show
&$mountname&&/ubuntu/disks/root.disk& );
WubiDev=0;
WubiDev=1;
if [ &$Wubi& != && ];
Get_Partition_Info &$Log&x &$Log1&x &$Wubi& &$name&&/Wubi& &Wubi/&&$mountname& &Wubi& 0 0 &Wubi& &&;
[[ $WubiDev = 0 ]] && losetup -d &$Wubi&;
#delete Wubu loop device, if created by BIS
echo &Found Wubi on $name. But could not create a loop device&&&$Error_L
#################################### Search for the programs in $Boot_Prog, ################################################## if found displays their names.
###############
if [ &$type& = &vfat& ];
Boot_Prog=$Boot_Prog_F
Boot_Prog=$Boot_Prog_N
for file in $Boot_P
if [ -f &$mountname&$file ] && [ -s &$mountname&$file ]
&& FileNotMounted &$mountname&$file &$mountname&;
BootFiles=$(echo $BootFiles&
################### Search for the directories related to Booting ##########################################, if found display the list of files
########################
for file in $Boot_D
#directories in that directory.#
if [ -d &$mountname&$file ];#
BootFiles=$(echo $BootFiles&
&$file); #
titlebar_gen &$name& $file ##generates a titlebar above each file/dir listed#
&$mountname&$file && &$Log1& ; #
&文章标题 : Re: 新人求教 光驱安装ubuntu10.04后,为什么win7系统进不去了发表于 :
0:43帖子: 13
送出感谢: 0 次
接收感谢: 0 次
onshoestring 写道:RESULTS.txt只有产生了boot_info_script055.sh文件,RESULST.txt 在哪?
&文章标题 : Re: 新人求教 光驱安装ubuntu10.04后,为什么win7系统进不去了发表于 :
14:45帖子: 86
送出感谢: 0 次
接收感谢: 0 次
5L运行一下那个sh贴出来结果让大家看看
&文章标题 : Re: 新人求教 光驱安装ubuntu10.04后,为什么win7系统进不去了发表于 :
5:53帖子: 4663
终端输入引用:sudo bash 空格把boot_info_script055.sh拽到终端,回车。
_________________电子书下载:
&文章标题 : Re: 新人求教 光驱安装ubuntu10.04后,为什么win7系统进不去了发表于 :
0:43帖子: 13
送出感谢: 0 次
接收感谢: 0 次
onshoestring 写道:RESULTS.txt请原谅我的无知吧。
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 #6 for /boot/grub.sda1: _________________________________________________________________________
File system:
Boot sector type:
Windows XP
Boot sector info:
No errors found in the Boot Parameter Block.
Operating System:
Boot files/dirs:
/bootmgr /Boot/BCD /Windows/System32/winload.exesda2: _________________________________________________________________________
File system:
Boot sector type:
Windows XP
Boot sector info:
No errors found in the Boot Parameter Block.
Operating System:
Boot files/dirs:
sda3: _________________________________________________________________________
File system:
Boot sector type:
Windows XP
Boot sector info:
No errors found in the Boot Parameter Block.
Operating System:
Boot files/dirs:
sda4: _________________________________________________________________________
File system:
Extended Partition
Boot sector type:
Boot sector info:
sda5: _________________________________________________________________________
File system:
Boot sector type:
Boot sector info:
sda6: _________________________________________________________________________
File system:
Boot sector type:
Boot sector info:
Operating System:
Ubuntu 10.04 LTS
Boot files/dirs:
/boot/grub/grub.cfg /etc/fstab /boot/grub/core.imgsda7: _________________________________________________________________________
File system:
Boot sector type:
Boot sector info:
Operating System:
Boot files/dirs:
=========================== Drive/Partition Info: =============================Drive: sda ___________________ _____________________________________________________Disk /dev/sda: 320.1 GB,
bytes255 heads, 63 sectors/track, 38913 cylinders, total
sectorsUnits = sectors of 1 * 512 = 512 bytesSector size (logical/physical): 512 bytes / 512 bytesPartition
Id System/dev/sda1
83,888,127
83,886,080
7 HPFS/NTFS/dev/sda2
83,888,128
264,663,039
180,774,912
7 HPFS/NTFS/dev/sda3
264,663,040
445,464,575
180,801,536
7 HPFS/NTFS/dev/sda4
445,466,385
625,153,409
179,687,025
f W95 Ext d (LBA)/dev/sda5
445,466,448
468,889,135
23,422,688
82 Linux swap / Solaris/dev/sda6
468,889,218
507,943,169
39,053,952
83 Linux/dev/sda7
507,953,152
625,139,711
117,186,560
83 Linux/dev/sda4 ends after the last sector of /dev/sdablkid -c /dev/null: ____________________________________________________________Device
926A13F56A13D4B7
F8AAFAC0AAFA7B08
/dev/sda4: PTTYPE=&dos& /dev/sda5
c6eb11c0-18f8--9f841e190b37
b6f7ac3e-71d4-4cb5-80c5-6e7e86473a5d
337cc865-1edf-4ac0-8570-1dcbf21d5a55
/dev/sda: PTTYPE=&dos& ============================ &mount | grep ^/dev
output: ===========================Device
Mount_Point
Options/dev/sda6
(rw,errors=remount-ro)/dev/sda1
(rw,nosuid,nodev,allow_other,blksize=4096,default_permissions)/dev/sda7
/media/_home
(rw,nosuid,nodev,uhelper=udisks)/dev/sda3
/media/000F2AC
(rw,nosuid,nodev,allow_other,blksize=4096,default_permissions)/dev/sda2
/media/新加卷
(rw,nosuid,nodev,allow_other,blksize=4096,default_permissions)=========================== sda6/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_envfiset 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=truefifunction 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_ fi}insmod ext2set root='(hd0,6)'search --no-floppy --fs-uuid --set b6f7ac3e-71d4-4cb5-80c5-6e7e86473a5dif loadfont /usr/share/grub/unicode.pf2 ; then
set gfxmode=640x480
insmod gfxterm
insmod vbe
if terminal_ else
# For backward compatibility with versions of terminal.mod that don't
# understand terminal_output
terminal gfxterm
fifiinsmod ext2set root='(hd0,6)'search --no-floppy --fs-uuid --set b6f7ac3e-71d4-4cb5-80c5-6e7e86473a5dset locale_dir=($root)/boot/grub/localeset lang=eninsmod gettextif [ ${recordfail} = 1 ]; then
set timeout=-1else
set timeout=10fi### END /etc/grub.d/00_header ###### BEGIN /etc/grub.d/05_debian_theme ###set menu_color_normal=white/blackset 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-21-generic' --class ubuntu --class gnu-linux --class gnu --class os { recordfail insmod ext2 set root='(hd0,6)' search --no-floppy --fs-uuid --set b6f7ac3e-71d4-4cb5-80c5-6e7e86473a5d linux /boot/vmlinuz-2.6.32-21-generic root=UUID=b6f7ac3e-71d4-4cb5-80c5-6e7e86473a5d 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 { recordfail insmod ext2 set root='(hd0,6)' search --no-floppy --fs-uuid --set b6f7ac3e-71d4-4cb5-80c5-6e7e86473a5d echo 'Loading Linux 2.6.32-21-generic ...' linux /boot/vmlinuz-2.6.32-21-generic root=UUID=b6f7ac3e-71d4-4cb5-80c5-6e7e86473a5d 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,6)' search --no-floppy --fs-uuid --set b6f7ac3e-71d4-4cb5-80c5-6e7e86473a5d linux16 /boot/memtest86+.bin}menuentry &Memory test (memtest86+, serial console 115200)& { insmod ext2 set root='(hd0,6)' search --no-floppy --fs-uuid --set b6f7ac3e-71d4-4cb5-80c5-6e7e86473a5d linux16 /boot/memtest86+.bin console=ttyS0,}### END /etc/grub.d/20_memtest86+ ###### BEGIN /etc/grub.d/30_os-prober ###menuentry &Windows 7 (loader) (on /dev/sda1)& { insmod ntfs set root='(hd0,1)' search --no-floppy --fs-uuid --set 926a13f56a13d4b7 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 ###=============================== sda6/etc/fstab: ===============================# /etc/fstab: static file system information.## Use 'blkid -o value -s UUID' to print the universally unique identifier# 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&
&pass&proc
nodev,noexec,nosuid 0
0# / was on /dev/sda6 during installationUUID=b6f7ac3e-71d4-4cb5-80c5-6e7e86473a5d /
errors=remount-ro 0
1# swap was on /dev/sda5 during installationUUID=c6eb11c0-18f8--9f841e190b37 none
0=================== sda6: Location of files loaded by Grub: =================== 253.7GB: boot/grub/core.img 240.2GB: boot/grub/grub.cfg 253.8GB: boot/initrd.img-2.6.32-21-generic 254.2GB: boot/vmlinuz-2.6.32-21-generic 253.8GB: initrd.img 254.2GB: vmlinuz
&文章标题 : Re: 新人求教 光驱安装ubuntu10.04后,为什么win7系统进不去了发表于 :
5:53帖子: 4663
正版,软破解的?有win7光盘?
_________________电子书下载:
&文章标题 : Re: 新人求教 光驱安装ubuntu10.04后,为什么win7系统进不去了发表于 :
0:43帖子: 13
送出感谢: 0 次
接收感谢: 0 次
onshoestring 写道:正版,软破解的?有win7光盘?有win7光盘,但不是正版。
&文章标题 : Re: 新人求教 光驱安装ubuntu10.04后,为什么win7系统进不去了发表于 :
0:43帖子: 13
送出感谢: 0 次
接收感谢: 0 次
7楼那是.sh里的内容,请删除吧。我太无知了。11楼是RESULTS.txt的内容
&文章标题 : Re: 新人求教 光驱安装ubuntu10.04后,为什么win7系统进不去了发表于 :
5:53帖子: 4663
非ghost win7安装光盘:引用:插入windows7安装光盘,从光盘启动,在光盘启动完成后,按下shift+f10键,调出cmd命令提示符。在命令提示符中输入:bootrec /fixboot回车。重新破解。
_________________电子书下载:
显示帖子 : 全部帖子1天7天2周1个月3个月6个月1年&排序 作者发表时间文章标题 升序降序&
&[ 20 篇帖子 ]&
正在浏览此版面的用户:没有注册用户 和 5 位游客
您 不能 在这个版面发表主题您 不能 在这个版面回复主题您 不能 在这个版面编辑帖子您 不能 在这个版面删除帖子您 不能 在这个版面提交附件
选择一个版面
------------------
公告/注意事项
& &新闻和通知
& &校园社团支持
& && &华东校区
& && &华南校区
& && &华北校区
& && &华中校区
& && &东北校区
& && &西北校区
& && &港澳台校区
& && &国外校区
& &软件推荐
& &非常任务
系统安装区
& &教学和常见问答
& && &课堂教学和培训
& &初学者园地 - 15.04
& &系统安装和升级
& && &新立得和软件源
& && &Wubi安装讨论
& &启动和引导
& &网卡问题以及网络和拨号
& && &校园网拨号
& &笔记本、UMPC支持
& &手机和平板
& && &Ubuntu移动应用开发
& &常用硬件支持
& &系统架构支持
配置美化区
& &字体美化和中文支持
& && &个人配置文件存放点
& &桌面特效
& &窗口管理器
& &屏幕抓图
& &办公、图像、机械电子设计等
& && &Vim和Emacs
& &因特网相关软件
& &影音多媒体
& &Wine及其分支
& &游戏和游戏模拟器
& &虚拟机和虚拟化
& &其它类软件
服务器管理
& &服务器基础应用
& &数据库管理
& &服务器维护和硬件相关
& &Ubuntu VPS
参与Ubuntu开发
& &软件和文档翻译
& &编译或打包
& &Ubuntu错误报告
程序设计区
& &Shell脚本
& &GTK+和QT
& &软件/网站开发
& && &Python/Php/Perl
& && &C/C++/Java
& &内核及嵌入式开发
& &开源小工具
& &Ubuntu 15.10
& &Ubuntu 14.10
& &Ubuntu 14.04 LTS
& &Ubuntu 12.04 LTS
& &Ubuntu 10.04 LTS
& &老旧版本支持
衍生发行版
& &Ubuntu GNOME
& &Kubuntu
& &Xubuntu & Lubuntu
& &Ubuntu中文衍生版
& && &Deepin
& && &UbuntuKylin
& &Ubuntu国外衍生版
& && &Mint
& &Ubuntu衍生版制作
& &其它类Unix OS发行版
& && &Arch发行版
& && &Debian发行版
& && &OpenSUSE发行版
& &深度PK版
& &Ubuntu故事和感慨
& &Full Circle开源杂志
分享交流区
& &同城交流
& &线下活动专版
& &Ubuntu宣传推广
& &论坛管理
& && && &Ubuntu中文网上商店

我要回帖

更多关于 现在已经回不去 的文章

 

随机推荐