当前时区为 UTC + 8 小时



发表新帖 回复这个主题  [ 7 篇帖子 ] 
作者 内容
1 楼 
 文章标题 : 安装11.04后,无法进入win7,求助!!!
帖子发表于 : 2011-05-03 22:38 

注册: 2011-05-03 22:17
帖子: 4
送出感谢: 0 次
接收感谢: 0 次
谢谢大家帮我解决问题,,
我是在win7的基础上安装了ubuntu11.04(同一个盘符),安装成功,一切正常,但由于每次开机都要选择操作系统,我就在win7里把ubuntu设为默认操作系统,把选择操作系统列表的等待时间设为0,
现在我进入ubuntu正常,但通过ubuntu选择列表里的"windows7(loader)"却无法进入win7,都是选中之后黑屏一下,又回到ubuntu的选择列表(就是有ubuntu**.** ubuntu**.**(recover mode) windows7(loader)****"的那个界面),用win7安装盘修复引导也进入不了,试了论坛中的很多方法都没有解决,希望大家能帮帮忙,,
手头有win7安装盘,机器能联网,也有PE盘,,怎么办才能修复win7引导啊(或者进入win7)???请教各位大神!!!!

不胜感谢 !

先前看其他帖子都要那个txt文件,我也传一下吧~~~


Boot Info Script 0.55 dated February 15th, 2010

============================= Boot Info Summary: ==============================

=> Windows is installed in the MBR of /dev/sda
=> Windows is installed in the MBR of /dev/sdb

sda1: _________________________________________________________________________

File system: ntfs
Boot sector type: Windows Vista/7
Boot sector info: No errors found in the Boot Parameter Block.
Operating System: Windows 7
Boot files/dirs: /bootmgr /Boot/BCD /Windows/System32/winload.exe
/grldr /ntldr /NTDETECT.COM /wubildr.mbr
/ubuntu/winboot/wubildr.mbr /wubildr
/ubuntu/winboot/wubildr /ubuntu/disks/root.disk
/ubuntu/disks/swap.disk

sda1/Wubi: _________________________________________________________________________

File system: ext4
Boot sector type: -
Boot sector info:
Operating System: Ubuntu 11.04
Boot files/dirs: /boot/grub/grub.cfg /etc/fstab

sda2: _________________________________________________________________________

File system: Extended Partition
Boot sector type: -
Boot sector info:

sda5: _________________________________________________________________________

File system: ntfs
Boot sector type: Windows Vista/7
Boot sector info: According to the info in the boot sector, sda5 starts
at sector 63.
Operating System:
Boot files/dirs:

sda6: _________________________________________________________________________

File system: ntfs
Boot sector type: Windows Vista/7
Boot sector info: According to the info in the boot sector, sda6 starts
at sector 63.
Operating System:
Boot files/dirs:

sda7: _________________________________________________________________________

File system: ntfs
Boot sector type: Windows XP
Boot sector info: According to the info in the boot sector, sda7 starts
at sector 63.
Operating System:
Boot files/dirs:

sdb1: _________________________________________________________________________

File system:
Boot sector type: Unknown
Boot sector info:
Mounting failed:
mount: 未知的文件系统 `'

=========================== Drive/Partition Info: =============================

Drive: sda ___________________ _____________________________________________________

Disk /dev/sda: 320.1 GB, 320072933376 bytes
255 heads, 63 sectors/track, 38913 cylinders, total 625142448 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 61,432,559 61,432,497 7 HPFS/NTFS
/dev/sda2 61,432,560 625,121,279 563,688,720 f W95 Ext d (LBA)
/dev/sda5 61,432,623 245,746,304 184,313,682 7 HPFS/NTFS
/dev/sda6 245,746,368 430,060,049 184,313,682 7 HPFS/NTFS
/dev/sda7 430,060,113 625,121,279 195,061,167 7 HPFS/NTFS


Drive: sdb ___________________ _____________________________________________________

Disk /dev/sdb: 4093 MB, 4093640704 bytes
255 heads, 63 sectors/track, 497 cylinders, total 7995392 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 7,995,391 7,987,200 7 HPFS/NTFS


blkid -c /dev/null: ____________________________________________________________

Device UUID TYPE LABEL

/dev/loop0 e353b820-3245-4762-a30d-0a4e13d78908 ext4
/dev/sda1 248C8F1C8C8EE81E ntfs 系统
/dev/sda2: PTTYPE="dos"
/dev/sda5 4028B78028B7738E ntfs 软件
/dev/sda6 168CBDD78CBDB19B ntfs 文件
/dev/sda7 242C653B2C6508DE ntfs 资料
/dev/sda: PTTYPE="dos"
/dev/sdb: PTTYPE="dos"
error: /dev/sdb1: No such file or directory
error: /dev/sdc: No medium found
error: /dev/sdd: No medium found
error: /dev/sde: No medium found
error: /dev/sdf: No medium found

============================ "mount | grep ^/dev output: ===========================

Device Mount_Point Type Options

/dev/loop0 / ext4 (rw,errors=remount-ro,commit=0)
/dev/sda1 /host fuseblk (rw,nosuid,nodev,relatime,user_id=0,group_id=0,allow_other,blksize=4096)


======================== sda1/Wubi/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
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
}

function load_video {
true
}

insmod part_msdos
insmod ntfs
set root='(/dev/sda,msdos1)'
search --no-floppy --fs-uuid --set=root 248C8F1C8C8EE81E
loopback loop0 /ubuntu/disks/root.disk
set root=(loop0)
if loadfont /usr/share/grub/unicode.pf2 ; then
set gfxmode=auto
load_video
insmod gfxterm
fi
terminal_output gfxterm
if [ "${recordfail}" = 1 ]; then
set timeout=-1
else
set timeout=10
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; then
clear
fi
### END /etc/grub.d/05_debian_theme ###

### BEGIN /etc/grub.d/10_linux ###
### END /etc/grub.d/10_linux ###

### BEGIN /etc/grub.d/10_lupin ###
menuentry "Ubuntu, Linux 2.6.38-8-generic" {
insmod part_msdos
insmod ntfs
set root='(/dev/sda,msdos1)'
search --no-floppy --fs-uuid --set=root 248C8F1C8C8EE81E
loopback loop0 /ubuntu/disks/root.disk
set root=(loop0)
linux /boot/vmlinuz-2.6.38-8-generic root=UUID=248C8F1C8C8EE81E loop=/ubuntu/disks/root.disk ro quiet splash
initrd /boot/initrd.img-2.6.38-8-generic
}
menuentry "Ubuntu, Linux 2.6.38-8-generic (recovery mode)" {
insmod part_msdos
insmod ntfs
set root='(/dev/sda,msdos1)'
search --no-floppy --fs-uuid --set=root 248C8F1C8C8EE81E
loopback loop0 /ubuntu/disks/root.disk
set root=(loop0)
linux /boot/vmlinuz-2.6.38-8-generic root=UUID=248C8F1C8C8EE81E loop=/ubuntu/disks/root.disk ro single
initrd /boot/initrd.img-2.6.38-8-generic
}
### END /etc/grub.d/10_lupin ###

### BEGIN /etc/grub.d/20_linux_xen ###
### END /etc/grub.d/20_linux_xen ###

### BEGIN /etc/grub.d/20_memtest86+ ###
### END /etc/grub.d/20_memtest86+ ###

### BEGIN /etc/grub.d/30_os-prober ###
menuentry "Windows 7 (loader) (on /dev/sda1)" --class windows --class os {
insmod part_msdos
insmod ntfs
set root='(/dev/sda,msdos1)'
search --no-floppy --fs-uuid --set=root 248C8F1C8C8EE81E
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 ###

### BEGIN /etc/grub.d/41_custom ###
if [ -f $prefix/custom.cfg ]; then
source $prefix/custom.cfg;
fi
### END /etc/grub.d/41_custom ###

============================= sda1/Wubi/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
/host/ubuntu/disks/root.disk / ext4 loop,errors=remount-ro 0 1
/host/ubuntu/disks/swap.disk none swap loop,sw 0 0

================= sda1/Wubi: Location of files loaded by Grub: =================


3.3GB: boot/grub/grub.cfg
3.3GB: boot/initrd.img-2.6.38-8-generic
3.2GB: boot/vmlinuz-2.6.38-8-generic
3.3GB: initrd.img
3.2GB: vmlinuz
=========================== Unknown MBRs/Boot Sectors/etc =======================

Unknown BootLoader on sdb1



=======Devices which don't seem to have a corresponding hard drive==============

sdc sdd sde sdf
=============================== StdErr Messages: ===============================

hexdump: /dev/sdb1: 没有那个文件或目录
hexdump: /dev/sdb1: 没有那个文件或目录










————————————————————————————————————————————————————————————————————————————————————————————————————————
再次谢谢大家!
平时上课挺忙不一定能回应大家对情况的询问,,我会尽可能来看看!!

谢谢大家!


页首
 用户资料  
 
2 楼 
 文章标题 : Re: 安装11.04后,无法进入win7,求助!!!
帖子发表于 : 2011-05-03 22:44 
头像

注册: 2009-03-28 15:12
帖子: 7867
送出感谢: 2
接收感谢: 20
wubi安装还把时间改为0??? :em06 :em20
用PE启动 再用 bcdedit 修改吧。


_________________
Grub2 基础教程


页首
 用户资料  
 
3 楼 
 文章标题 : Re: 安装11.04后,无法进入win7,求助!!!
帖子发表于 : 2011-05-03 22:48 

注册: 2011-05-03 22:17
帖子: 4
送出感谢: 0 次
接收感谢: 0 次
smallapple 写道:
wubi安装还把时间改为0??? :em06 :em20
用PE启动 再用 bcdedit 修改吧。

菜鸟表示真的不会用什么bcdedit啊,,大神救命!!


页首
 用户资料  
 
4 楼 
 文章标题 : Re: 安装11.04后,无法进入win7,求助!!!
帖子发表于 : 2011-05-03 22:57 
头像

注册: 2009-03-28 15:12
帖子: 7867
送出感谢: 2
接收感谢: 20
用WinPE光盘启动,打开 cmd,在命令行下输入
代码:
C:
cd Windows
cd system32
bcdedit /store c:\boot\bcd /set {bootmgr} timeout 5

再重启看看
注意每个空格,输入正确会提示修改成功的。


_________________
Grub2 基础教程


页首
 用户资料  
 
5 楼 
 文章标题 : Re: 安装11.04后,无法进入win7,求助!!!
帖子发表于 : 2011-05-04 20:44 

注册: 2011-05-03 22:17
帖子: 4
送出感谢: 0 次
接收感谢: 0 次
谢谢,我先去试试,,


页首
 用户资料  
 
6 楼 
 文章标题 : Re: 安装11.04后,无法进入win7,求助!!!
帖子发表于 : 2011-05-07 11:33 

注册: 2011-05-03 22:17
帖子: 4
送出感谢: 0 次
接收感谢: 0 次
恩,,恢复了,,其实用win7安装盘启动,再输那些代码也可以~


页首
 用户资料  
 
7 楼 
 文章标题 : Re: 安装11.04后,无法进入win7,求助!!!
帖子发表于 : 2011-05-07 11:36 
头像

注册: 2009-03-28 15:12
帖子: 7867
送出感谢: 2
接收感谢: 20
那个,没注意到你有win7安装盘
win7安装盘启动下的修复模式,实际上就是win7的PE。


_________________
Grub2 基础教程


页首
 用户资料  
 
显示帖子 :  排序  
发表新帖 回复这个主题  [ 7 篇帖子 ] 

当前时区为 UTC + 8 小时


在线用户

正在浏览此版面的用户:没有注册用户 和 3 位游客


不能 在这个版面发表主题
不能 在这个版面回复主题
不能 在这个版面编辑帖子
不能 在这个版面删除帖子
不能 在这个版面提交附件

前往 :  
本站点为公益性站点,用于推广开源自由软件,由 DiaHosting VPSBudgetVM VPS 提供服务。
我们认为:软件应可免费取得,软件工具在各种语言环境下皆可使用,且不会有任何功能上的差异;
人们应有定制和修改软件的自由,且方式不受限制,只要他们自认为合适。

Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group
简体中文语系由 王笑宇 翻译