当前时区为 UTC + 8 小时



发表新帖 回复这个主题  [ 11 篇帖子 ] 
作者 内容
1 楼 
 文章标题 : (以解决)求助!装了ubuntu10.10之后进不了WIN7,求修复WIN7的引导方法!
帖子发表于 : 2011-03-03 16:29 

注册: 2011-03-03 16:23
帖子: 7
送出感谢: 0 次
接收感谢: 0 次
以前是WIN 7的系统,装了ubuntu 10.10之后引导不了WIN 7了。求修复WIN 7引导的方法!
这次真杯具了...装ubuntu之前没有上网查一下资料。
各位高手,我在线等哦。


一楼有boot_info_script055.sh这个脚本生成的RESULTS.txt文件内容。


最后由 yuanzhe96 编辑于 2011-03-03 19:35,总共编辑了 1 次

页首
 用户资料  
 
2 楼 
 文章标题 : Re: 求助!装了ubuntu10.10之后进不了WIN7,求修复WIN7的引导方法!
帖子发表于 : 2011-03-03 16:31 

注册: 2011-03-03 16:23
帖子: 7
送出感谢: 0 次
接收感谢: 0 次
代码:
                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 (,msdos5)/grub.

sda1: _________________________________________________________________________

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

sda5: _________________________________________________________________________

    File system:       ext3
    Boot sector type:  -
    Boot sector info: 
    Operating System: 
    Boot files/dirs:   /grub/grub.cfg /grub/core.img

sda6: _________________________________________________________________________

    File system:       swap
    Boot sector type:  -
    Boot sector info: 

sda7: _________________________________________________________________________

    File system:       ext3
    Boot sector type:  -
    Boot sector info: 
    Operating System: 
    Boot files/dirs:   

sda8: _________________________________________________________________________

    File system:       ext3
    Boot sector type:  -
    Boot sector info: 
    Operating System: 
    Boot files/dirs:   

sda9: _________________________________________________________________________

    File system:       ext3
    Boot sector type:  -
    Boot sector info: 
    Operating System:  Ubuntu 10.10
    Boot files/dirs:   /etc/fstab

sda10: _________________________________________________________________________

    File system:       ext3
    Boot sector type:  -
    Boot sector info: 
    Operating System: 
    Boot files/dirs:   

sda2: _________________________________________________________________________

    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:   /Windows/System32/winload.exe

sda3: _________________________________________________________________________

    File system:       ntfs
    Boot sector type:  Windows Vista/7
    Boot sector info:  No errors found in the Boot Parameter Block.
    Operating System: 
    Boot files/dirs:   

sda4: _________________________________________________________________________

    File system:       ntfs
    Boot sector type:  Windows Vista/7
    Boot sector info:  No errors found in the Boot Parameter Block.
    Operating System: 
    Boot files/dirs:   

=========================== 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    *    552,964,094   625,141,759    72,177,666   5 Extended
/dev/sda5         552,964,096   553,156,607       192,512  83 Linux
/dev/sda6         553,158,656   568,780,799    15,622,144  82 Linux swap / Solaris
/dev/sda7         568,782,848   570,343,423     1,560,576  83 Linux
/dev/sda8         570,345,472   572,344,319     1,998,848  83 Linux
/dev/sda9         572,346,368   601,640,959    29,294,592  83 Linux
/dev/sda10        601,643,008   625,141,759    23,498,752  83 Linux
/dev/sda2             206,848    61,442,047    61,235,200   7 HPFS/NTFS
/dev/sda3          61,442,048   184,322,047   122,880,000   7 HPFS/NTFS
/dev/sda4         184,322,048   552,962,047   368,640,000   7 HPFS/NTFS


blkid -c /dev/null: ____________________________________________________________

Device           UUID                                   TYPE       LABEL                         

/dev/sda10       75cf5c00-5f61-4f49-91a4-9ba7a2c5dcbb   ext3                                     
/dev/sda1: PTTYPE="dos"
/dev/sda2        329266169265DEBB                       ntfs                                     
/dev/sda3        DA6A9D556A9D2EEF                       ntfs                                     
/dev/sda4        185CA4D75CA4B144                       ntfs                                     
/dev/sda5        1010b7f4-0688-4b0a-bf55-a43da5399739   ext3                                     
/dev/sda6        3ab84a8c-0a04-4a37-aeb9-55aeddc48843   swap                                     
/dev/sda7        e46b463d-69a1-4b0f-8a00-fb2501f2439f   ext3                                     
/dev/sda8        1d02518b-5ddd-4b63-a447-e36381eac131   ext3                                     
/dev/sda9        223d4760-6549-4ff6-9e2b-127c4a3bf25e   ext3                                     
/dev/sda: PTTYPE="dos"

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

Device           Mount_Point              Type       Options

/dev/sda9        /                        ext3       (rw,errors=remount-ro,commit=0)
/dev/sda5        /boot                    ext3       (rw,commit=0)
/dev/sda7        /home                    ext3       (rw,commit=0)
/dev/sda8        /var                     ext3       (rw,commit=0)
/dev/sda10       /usr                     ext3       (rw,commit=0)


============================= sda5/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 {
  insmod vbe
  insmod vga
}

insmod part_msdos
insmod ext2
set root='(hd0,msdos10)'
search --no-floppy --fs-uuid --set 75cf5c00-5f61-4f49-91a4-9ba7a2c5dcbb
if loadfont /share/grub/unicode.pf2 ; then
  set gfxmode=640x480
  load_video
  insmod gfxterm
fi
terminal_output gfxterm
insmod part_msdos
insmod ext2
set root='(hd0,msdos5)'
search --no-floppy --fs-uuid --set 1010b7f4-0688-4b0a-bf55-a43da5399739
set locale_dir=($root)/grub/locale
set lang=zh
insmod gettext
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
### END /etc/grub.d/05_debian_theme ###

### BEGIN /etc/grub.d/10_linux ###
menuentry 'Ubuntu, with Linux 2.6.35-22-generic-pae' --class ubuntu --class gnu-linux --class gnu --class os {
    recordfail
    insmod part_msdos
    insmod ext2
    set root='(hd0,msdos5)'
    search --no-floppy --fs-uuid --set 1010b7f4-0688-4b0a-bf55-a43da5399739
    linux    /vmlinuz-2.6.35-22-generic-pae root=UUID=223d4760-6549-4ff6-9e2b-127c4a3bf25e ro   quiet splash
    initrd    /initrd.img-2.6.35-22-generic-pae
}
menuentry 'Ubuntu, with Linux 2.6.35-22-generic-pae (recovery mode)' --class ubuntu --class gnu-linux --class gnu --class os {
    recordfail
    insmod part_msdos
    insmod ext2
    set root='(hd0,msdos5)'
    search --no-floppy --fs-uuid --set 1010b7f4-0688-4b0a-bf55-a43da5399739
    echo    'Loading Linux 2.6.35-22-generic-pae ...'
    linux    /vmlinuz-2.6.35-22-generic-pae root=UUID=223d4760-6549-4ff6-9e2b-127c4a3bf25e ro single
    echo    'Loading initial ramdisk ...'
    initrd    /initrd.img-2.6.35-22-generic-pae
}
### END /etc/grub.d/10_linux ###

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

### BEGIN /etc/grub.d/20_memtest86+ ###
menuentry "Memory test (memtest86+)" {
    insmod part_msdos
    insmod ext2
    set root='(hd0,msdos5)'
    search --no-floppy --fs-uuid --set 1010b7f4-0688-4b0a-bf55-a43da5399739
    linux16    /memtest86+.bin
}
menuentry "Memory test (memtest86+, serial console 115200)" {
    insmod part_msdos
    insmod ext2
    set root='(hd0,msdos5)'
    search --no-floppy --fs-uuid --set 1010b7f4-0688-4b0a-bf55-a43da5399739
    linux16    /memtest86+.bin console=ttyS0,115200n8
}
### END /etc/grub.d/20_memtest86+ ###

### BEGIN /etc/grub.d/30_os-prober ###
if [ "x${timeout}" != "x-1" ]; then
  if keystatus; then
    if keystatus --shift; then
      set timeout=-1
    else
      set timeout=0
    fi
  else
    if sleep --interruptible 3 ; then
      set timeout=0
    fi
  fi
fi
### 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 ###

=================== sda5: Location of files loaded by Grub: ===================


 283.1GB: grub/core.img
 283.1GB: grub/grub.cfg
 283.1GB: initrd.img-2.6.35-22-generic-pae
 283.1GB: vmlinuz-2.6.35-22-generic-pae

=============================== 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=223d4760-6549-4ff6-9e2b-127c4a3bf25e /               ext3    errors=remount-ro 0       1
# /boot was on /dev/sda5 during installation
UUID=1010b7f4-0688-4b0a-bf55-a43da5399739 /boot           ext3    defaults        0       2
# /home was on /dev/sda7 during installation
UUID=e46b463d-69a1-4b0f-8a00-fb2501f2439f /home           ext3    defaults        0       2
# /usr was on /dev/sda10 during installation
UUID=75cf5c00-5f61-4f49-91a4-9ba7a2c5dcbb /usr            ext3    defaults        0       2
# /var was on /dev/sda8 during installation
UUID=1d02518b-5ddd-4b63-a447-e36381eac131 /var            ext3    defaults        0       2
# swap was on /dev/sda6 during installation
UUID=3ab84a8c-0a04-4a37-aeb9-55aeddc48843 none            swap    sw              0       0

=================== sda9: Location of files loaded by Grub: ===================


 293.0GB: initrd.img
 293.0GB: vmlinuz
=========================== Unknown MBRs/Boot Sectors/etc =======================

Unknown BootLoader  on sda1

00000000  00 00 40 c0 c0 c0 00 c0  c0 c0 00 c0 c0 c0 00 00  |..@.............|
00000010  00 00 40 c0 c0 c0 00 00  00 00 40 c0 c0 c0 00 c0  |..@.......@.....|
00000020  c0 c0 00 c0 c0 c0 00 00  00 00 40 c0 c0 c0 00 00  |..........@.....|
00000030  00 00 40 c0 c0 c0 00 c0  c0 c0 00 00 00 00 40 c0  |..@...........@.|
00000040  c0 c0 00 c0 c0 c0 00 00  00 00 40 c0 c0 c0 00 c0  |..........@.....|
00000050  c0 c0 00 00 00 00 40 c0  c0 c0 00 00 00 00 40 c0  |......@.......@.|
00000060  c0 c0 00 c0 c0 c0 00 c0  c0 c0 00 00 00 00 40 c0  |..............@.|
00000070  c0 c0 00 c0 c0 c0 00 c0  c0 c0 00 c0 c0 c0 00 c0  |................|
00000080  c0 c0 00 00 00 00 40 c0  c0 c0 00 00 00 00 40 c0  |......@.......@.|
00000090  c0 c0 00 c0 c0 c0 00 00  00 00 40 c0 c0 c0 00 c0  |..........@.....|
000000a0  c0 c0 00 c0 c0 c0 00 c0  c0 c0 00 c0 c0 c0 00 c0  |................|
000000b0  c0 c0 00 80 80 80 00 00  00 00 00 ff ff ff 00 df  |................|
000000c0  df df 00 c0 c0 c0 00 c0  c0 c0 00 c0 c0 c0 00 c0  |................|
000000d0  c0 c0 00 c0 c0 c0 00 00  00 00 40 c0 c0 c0 00 c0  |..........@.....|
000000e0  c0 c0 00 00 00 00 40 00  00 00 40 c0 c0 c0 00 c0  |......@...@.....|
000000f0  c0 c0 00 00 00 00 40 c0  c0 c0 00 c0 c0 c0 00 c0  |......@.........|
00000100  c0 c0 00 c0 c0 c0 00 c0  c0 c0 00 c0 c0 c0 00 c0  |................|
*
00000140  c0 c0 00 00 00 00 40 00  00 00 40 c0 c0 c0 00 c0  |......@...@.....|
00000150  c0 c0 00 c0 c0 c0 00 c0  c0 c0 00 c0 c0 c0 00 c0  |................|
00000160  c0 c0 00 c0 c0 c0 00 c0  c0 c0 00 00 00 00 40 c0  |..............@.|
00000170  c0 c0 00 c0 c0 c0 00 c0  c0 c0 00 c0 c0 c0 00 c0  |................|
*
000001b0  c0 c0 00 c0 c0 c0 00 c0  c0 c0 00 c0 c0 c0 00 fe  |................|
000001c0  ff ff 83 fe ff ff 02 00  00 00 00 f0 02 00 00 fe  |................|
000001d0  ff ff 05 fe ff ff 02 f0  02 00 00 68 ee 00 00 00  |...........h....|
000001e0  00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00  |................|
000001f0  00 00 00 00 00 00 00 00  00 00 00 00 00 00 55 aa  |..............U.|
00000200



页首
 用户资料  
 
3 楼 
 文章标题 : Re: 求助!装了ubuntu10.10之后进不了WIN7,求修复WIN7的引导方法!
帖子发表于 : 2011-03-03 16:41 
头像

注册: 2009-03-28 15:12
帖子: 7867
送出感谢: 2
接收感谢: 20
把100M隐藏启动分区干掉了?

手上有win7安装版光盘或安装镜像文件吗?


_________________
Grub2 基础教程


页首
 用户资料  
 
4 楼 
 文章标题 : Re: 求助!装了ubuntu10.10之后进不了WIN7,求修复WIN7的引导方法!
帖子发表于 : 2011-03-03 16:46 

注册: 2011-03-03 16:23
帖子: 7
送出感谢: 0 次
接收感谢: 0 次
smallapple 写道:
把100M隐藏启动分区干掉了?

手上有win7安装版光盘或安装镜像文件吗?



100M的隐藏分区已经删掉了
有WIN7的安装光盘


页首
 用户资料  
 
5 楼 
 文章标题 : Re: 求助!装了ubuntu10.10之后进不了WIN7,求修复WIN7的引导方法!
帖子发表于 : 2011-03-03 16:52 
头像

注册: 2009-03-28 15:12
帖子: 7867
送出感谢: 2
接收感谢: 20
boot标识给搞到sda1上了,先改到sda2

代码:
sudo fdisk /dev/sda
a
1
a
2
w

再把
代码:
sudo fdisk -l
贴出来看看


_________________
Grub2 基础教程


页首
 用户资料  
 
6 楼 
 文章标题 : Re: 求助!装了ubuntu10.10之后进不了WIN7,求修复WIN7的引导方法!
帖子发表于 : 2011-03-03 17:00 

注册: 2011-03-03 16:23
帖子: 7
送出感谢: 0 次
接收感谢: 0 次
:em06


最后由 yuanzhe96 编辑于 2011-03-25 18:17,总共编辑了 1 次

页首
 用户资料  
 
7 楼 
 文章标题 : Re: 求助!装了ubuntu10.10之后进不了WIN7,求修复WIN7的引导方法!
帖子发表于 : 2011-03-03 17:02 

注册: 2011-03-03 16:23
帖子: 7
送出感谢: 0 次
接收感谢: 0 次
知道怎么搞了,刚才没看明白.


页首
 用户资料  
 
8 楼 
 文章标题 : Re: 求助!装了ubuntu10.10之后进不了WIN7,求修复WIN7的引导方法!
帖子发表于 : 2011-03-03 17:03 

注册: 2011-03-03 16:23
帖子: 7
送出感谢: 0 次
接收感谢: 0 次
代码:
   Device Boot      Start         End      Blocks   Id  System
/dev/sda1           34421       38914    36088833    5  Extended
/dev/sda2   *          13        3825    30617600    7  HPFS/NTFS
/dev/sda3            3825       11474    61440000    7  HPFS/NTFS
/dev/sda4           11474       34421   184320000    7  HPFS/NTFS
/dev/sda5           34421       34433       96256   83  Linux
/dev/sda6           34433       35405     7811072   82  Linux swap / Solaris
/dev/sda7           35406       35503      780288   83  Linux
/dev/sda8           35503       35627      999424   83  Linux
/dev/sda9           35627       37451    14647296   83  Linux
/dev/sda10          37451       38914    11749376   83  Linux


页首
 用户资料  
 
9 楼 
 文章标题 : Re: 求助!装了ubuntu10.10之后进不了WIN7,求修复WIN7的引导方法!
帖子发表于 : 2011-03-03 17:11 
头像

注册: 2009-03-28 15:12
帖子: 7867
送出感谢: 2
接收感谢: 20
/dev/sda2 挂载上,把 win7光盘塞进去,把光盘目录下的 bootmgr 文件和 boot 目录复制到 /sda2 根目录下,
执行
代码:
sudo update-grub

应该会出来
代码:
windows7 lodaer on /dev/sda2

之类的选 项,重启,选win7光盘启动,到安装界面出来时,点左下角的修复计算机,再进修复命令行,执行
bootrec /RebuildBCD
重启选 win7试试


_________________
Grub2 基础教程


页首
 用户资料  
 
10 楼 
 文章标题 : Re: 求助!装了ubuntu10.10之后进不了WIN7,求修复WIN7的引导方法!
帖子发表于 : 2011-03-03 17:35 

注册: 2011-03-03 16:23
帖子: 7
送出感谢: 0 次
接收感谢: 0 次
额,修复好了。谢谢啦!


页首
 用户资料  
 
11 楼 
 文章标题 : Re: 求助!装了ubuntu10.10之后进不了WIN7,求修复WIN7的引导方法!
帖子发表于 : 2011-03-03 17:37 
头像

注册: 2009-03-28 15:12
帖子: 7867
送出感谢: 2
接收感谢: 20
请在标题加上
已解决

:em09


_________________
Grub2 基础教程


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

当前时区为 UTC + 8 小时


在线用户

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


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

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

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