求助,ubuntu下不能进win7了
-
- 帖子: 1
- 注册时间: 2010-11-22 19:17
求助,ubuntu下不能进win7了
各位大人,本人菜鸟,一开始单系统win7(c盘),后用光盘另分区D装10.04,引导挂在硬盘,使用一切正常,后来重新格掉d盘,其他未动,重新光盘安装10.10,引导挂在了win7,安装一切正常,后重启出现错误,什么系统都进不了,用winpe进入dos,diskgen重新设置主引导记录,重启后可进入ub,结果win7死活进入不了(也用win7安装盘修复过),用了很多办法都不行,补充一点,原来win7下用easybcd引导过mac,后来删除easybcd,恳请各位帮帮忙,不想重装win7,把win7引导出来,谢谢谢谢!
- onshoestring
- 论坛版主
- 帖子: 4666
- 注册时间: 2009-09-06 5:53
Re: 求助,ubuntu下不能进win7了
http://sourceforge.net/projects/bootinfoscript/
把文件先复制到桌面,终端运行:
把RESULTS.txt文件内容贴上来。
把文件先复制到桌面,终端运行:
代码: 全选
sudo bash ~/桌面/boot_info_script055.sh
-
- 帖子: 79
- 注册时间: 2008-02-24 14:39
Re: 求助,ubuntu下不能进win7了
想办法引导grub4dos,方法很多.cxl70 写了:各位大人,本人菜鸟,一开始单系统win7(c盘),后用光盘另分区D装10.04,引导挂在硬盘,使用一切正常,后来重新格掉d盘,其他未动,重新光盘安装10.10,引导挂在了win7,安装一切正常,后重启出现错误,什么系统都进不了,用winpe进入dos,diskgen重新设置主引导记录,重启后可进入ub,结果win7死活进入不了(也用win7安装盘修复过),用了很多办法都不行,补充一点,原来win7下用easybcd引导过mac,后来删除easybcd,恳请各位帮帮忙,不想重装win7,把win7引导出来,谢谢谢谢!
可以用grub2引导,可以在MBR引导,可以在windows启动中引导.
推荐bootice.把grub4dos装到mbr.记得把grldr放到c:\
然后把这个复制到c:\根目录,文件名menu.lst.没用的条目自己删.启动选vista应该可以.
结果反馈一下.
代码: 全选
# general configuration:
timeout 5
default 0
color light-blue/black light-cyan/blue
# boot sections follow
# each is implicitly numbered from 0 in the order of appearance below
#
# TIP: If you want a 1024x768 framebuffer, add "vga=773" to your kernel line.
#
#-*
# (0) Arch Linux
title Arch Linux /sda5
root (hd0,3)
kernel /vmlinuz26 root=/dev/sda5 ro vga=773
initrd /kernel26.img
# (0) Arch Linux
title Arch Linux
root (hd0,3)
kernel /vmlinuz26 root=/dev/disk/by-uuid/ce626b2a-1282-4bf1-97c7-ddd77876872e ro vga=773
initrd /kernel26.img
# (1) Arch Linux
title Arch Linux Fallback
root (hd0,3)
kernel /vmlinuz26 root=/dev/disk/by-uuid/ce626b2a-1282-4bf1-97c7-ddd77876872e ro
initrd /kernel26-fallback.img
title grub4dos
kernel /grub.exe
boot
# (2) Windows
title Windows
rootnoverify (hd0,0)
makeactive
chainloader +1
title Plop Boot Manager Install
root (hd0,3)
kernel /plpinstc.com
title Plop Boot Manager
root (hd0,3)
kernel /plpbt.bin
title Arch Linux test ubuntu core
root (hd0,3)
kernel /vmlinuz-2.6.32-25-generic root=/dev/sda5 ro vga=773
initrd /initrd.img-2.6.32-25-generic
# This is a sample menu.lst file. You should make some changes to it.
# The old install method of booting via the stage-files has been removed.
# Please install GRLDR boot strap code to MBR with the bootlace.com
# utility under DOS/Win9x or Linux.
color black/cyan yellow/cyan
timeout 5
default /default
title ubuntu10.04
find --set-root /boot/grub/core.img
kernel /boot/grub/core.img
boot
title find and load NTLDR of Windows NT/2K/XP
fallback 1
find --set-root /ntldr
chainloader /ntldr
savedefault --wait=2
title find and boot Linux with menu.lst already installed
fallback 5
find --set-root /sbin/init
savedefault --wait=2
configfile /boot/grub/menu.lst
title find and load NTLDR of Windows NT/2K/XP
fallback 1
find --set-root --ignore-floppies --ignore-cd /ntldr
map () (hd0)
map (hd0) ()
map --rehook
find --set-root --ignore-floppies --ignore-cd /ntldr
chainloader /ntldr
savedefault --wait=2
title find and load BOOTMGR of Windows VISTA
fallback 2
find --set-root --ignore-floppies --ignore-cd /bootmgr
map () (hd0)
map (hd0) ()
map --rehook
find --set-root --ignore-floppies --ignore-cd /bootmgr
chainloader /bootmgr
savedefault --wait=2
title find and load CMLDR, the Recovery Console of Windows NT/2K/XP
fallback 3
find --set-root --ignore-floppies --ignore-cd /cmldr
map () (hd0)
map (hd0) ()
map --rehook
find --set-root --ignore-floppies --ignore-cd /cmldr
chainloader /cmldr
#####################################################################
# write string "cmdcons" to memory 0000:7C03 in 2 steps:
#####################################################################
# step 1. Write 4 chars "cmdc" at 0000:7C03
write 0x7C03 0x63646D63
# step 2. Write 3 chars "ons" and an ending null at 0000:7C07
write 0x7C07 0x00736E6F
savedefault --wait=2
title find and load IO.SYS of Windows 9x/Me
fallback 4
find --set-root /io.sys
chainloader /io.sys
savedefault --wait=2
title Ultimate Boot CD ISO
fallback 8
find --set-root /ubcd.iso
map /ubcd.iso (0xff) || map --mem /ubcd.iso (0xff)
map --hook
chainloader (0xff)
savedefault --wait=2
title MAXDOS.IMG
find --set-root --ignore-floppies /boot/MAXDOS.IMG
map --mem /boot/MAXDOS.IMG (fd0)
map --hook
chainloader (fd0)+1
rootnoverify (fd0)
# (2) Windows
title Windows
rootnoverify (hd0,0)
makeactive
chainloader +1
title Plop Boot Manager Install
root (hd0,0)
kernel /boot/plpinstc.com
title ubuntu grub2
find --set-root /boot/grub/core.img
kernel /boot/grub/core.img
boot
title [08]--Loading Windows ntldr
find --set-root /ntldr
chainloader /ntldr