请教安装win7的问题【已解决】

系统安装、升级讨论
版面规则
我们都知道新人的确很菜,也喜欢抱怨,并且带有浓厚的Windows习惯,但既然在这里询问,我们就应该有责任帮助他们解决问题,而不是直接泼冷水、简单的否定或发表对解决问题没有任何帮助的帖子。乐于分享,以人为本,这正是Ubuntu的精神所在。
Chrome
帖子: 132
注册时间: 2009-04-11 23:20

请教安装win7的问题【已解决】

#1

帖子 Chrome » 2009-06-30 11:51

我有两块硬盘,主硬盘C盘安装的是xp,然后在第二块硬盘上安装了ubuntu,现在是linux在管理启动引导。
我现在想在主硬盘的I盘上安装win7,可以直接进xp下安装吗?安装后会不会损坏xp和ubuntu的启动?
谢谢 :em01
上次由 Chrome 在 2009-07-03 13:22,总共编辑 1 次。
Super126
帖子: 557
注册时间: 2008-03-30 8:46
来自: 江西吉安

Re: 请教安装win7的问题

#2

帖子 Super126 » 2009-06-30 12:10

额。。。。貌似破坏grub的启动引导是必然的,而且windows的引导器貌似只能默认安装在MBR+主分区里面,不知道LZ能不能顺利安装win7还是一个问题。。。。。。。
Chrome
帖子: 132
注册时间: 2009-04-11 23:20

Re: 请教安装win7的问题

#3

帖子 Chrome » 2009-06-30 13:33

Super126 写了:额。。。。貌似破坏grub的启动引导是必然的,而且windows的引导器貌似只能默认安装在MBR+主分区里面,不知道LZ能不能顺利安装win7还是一个问题。。。。。。。
为什么不能安装呢?
如何才能让三个系统的引导共存呢?
头像
smallapple
论坛版主
帖子: 7868
注册时间: 2009-03-28 15:12

Re: 请教安装win7的问题

#4

帖子 smallapple » 2009-06-30 15:11

可以 安装,win7的引导器会替换linux的引导器,接管xp的引导,装完只有win7引导的win7和xp选项。
可以用grub4dos引导ubuntu,也可以用livecd修复grub。
Chrome
帖子: 132
注册时间: 2009-04-11 23:20

Re: 请教安装win7的问题

#5

帖子 Chrome » 2009-06-30 15:16

smallapple 写了:可以 安装,win7的引导器会替换linux的引导器,接管xp的引导,装完只有win7引导的win7和xp选项。
可以用grub4dos引导ubuntu,也可以用livecd修复grub。
谢谢smallapple
只要安装后能进入系统、能上网、能修复就ok :em05
Chrome
帖子: 132
注册时间: 2009-04-11 23:20

Re: 请教安装win7的问题

#6

帖子 Chrome » 2009-06-30 15:33

帮忙看看下面的方法可行吗? :em06
1. 放入Ubuntu的Live CD,启动安装。
2. 然后启动命令控制台,输入如下的命令:
#sudo grub
#find /boot/grub/stage1
3. 这里会得到一个(hd?,?),hd?表示当前要安装的GRUB的存储设备,?表示Ubuntu所在的分区编号。以它为参数进行下面的操作。
4. 安装RGUB
#root (hd?,?)
#setup (hd0)
5. 退出
#quit
6.重新启动,可看到修复成功。
Chrome
帖子: 132
注册时间: 2009-04-11 23:20

Re: 请教安装win7的问题

#7

帖子 Chrome » 2009-06-30 16:11

Chrome 写了:帮忙看看下面的方法可行吗? :em06

4. 安装RGUB
#root (hd?,?)
#setup (hd0)
我的ubuntu在第二个硬盘里,也该这样输入命令吗?
头像
smallapple
论坛版主
帖子: 7868
注册时间: 2009-03-28 15:12

Re: 请教安装win7的问题

#8

帖子 smallapple » 2009-06-30 16:36

代码: 全选

我的ubuntu在第二个硬盘里,也该这样输入命令吗?
Chrome
帖子: 132
注册时间: 2009-04-11 23:20

Re: 请教安装win7的问题

#9

帖子 Chrome » 2009-06-30 18:20

遇到麻烦了,xp是32bit,没法安装64的win7 :em06
如果不刻盘,该怎么安装?我的ubuntu是64bit的
头像
smallapple
论坛版主
帖子: 7868
注册时间: 2009-03-28 15:12

Re: 请教安装win7的问题

#10

帖子 smallapple » 2009-06-30 18:26

找个支持 win7安装的64位winpe。
Chrome
帖子: 132
注册时间: 2009-04-11 23:20

Re: 请教安装win7的问题

#11

帖子 Chrome » 2009-06-30 18:31

smallapple 写了:找个支持 win7安装的64位winpe。
及时雨啊,马上去试试 :em09
Chrome
帖子: 132
注册时间: 2009-04-11 23:20

Re: 请教安装win7的问题

#12

帖子 Chrome » 2009-07-02 10:55

我还是刻盘安装的,原来的启动引导配置倒是没有被损坏,但没法找到win7的启动项,不过可以通过光盘直接启动win7.好像启动里多了个Other operating systems,但选这个会error。我把menu.lst贴出来,请教改怎么修改呢? :em06

# menu.lst - See: grub(8), info grub, update-grub(8)
# grub-install(8), grub-floppy(8),
# grub-md5-crypt, /usr/share/doc/grub
# and /usr/share/doc/grub-doc/.

## default num
# Set the default entry to the entry number NUM. Numbering starts from 0, and
# the entry number 0 is the default if the command is not used.
#
# You can specify 'saved' instead of a number. In this case, the default entry
# is the entry saved with the command 'savedefault'.
# WARNING: If you are using dmraid do not use 'savedefault' or your
# array will desync and will not let you boot your system.
default 0

## timeout sec
# Set a timeout, in SEC seconds, before automatically booting the default entry
# (normally the first entry defined).
timeout 10

## hiddenmenu
# Hides the menu by default (press ESC to see the menu)
#hiddenmenu

# Pretty colours
#color cyan/blue white/blue

## password ['--md5'] passwd
# If used in the first section of a menu file, disable all interactive editing
# control (menu entry editor and command-line) and entries protected by the
# command 'lock'
# e.g. password topsecret
# password --md5 $1$gLhU0/$aW78kHK1QfV3P2b2znUoe/
# password topsecret

#
# examples
#
# title Windows 95/98/NT/2000
# root (hd0,0)
# makeactive
# chainloader +1
#
# title Linux
# root (hd0,1)
# kernel /vmlinuz root=/dev/hda2 ro
#

#
# Put static boot stanzas before and/or after AUTOMAGIC KERNEL LIST

### BEGIN AUTOMAGIC KERNELS LIST
## lines between the AUTOMAGIC KERNELS LIST markers will be modified
## by the debian update-grub script except for the default options below

## DO NOT UNCOMMENT THEM, Just edit them to your needs

## ## Start Default Options ##
## default kernel options
## default kernel options for automagic boot options
## If you want special options for specific kernels use kopt_x_y_z
## where x.y.z is kernel version. Minor versions can be omitted.
## e.g. kopt=root=/dev/hda1 ro
## kopt_2_6_8=root=/dev/hdc1 ro
## kopt_2_6_8_2_686=root=/dev/hdc2 ro
# kopt=root=UUID=f03dbaec-c33e-4cf4-9074-218c528a290a ro locale=zh_CN

## default grub root device
## e.g. groot=(hd0,0)
# groot=f03dbaec-c33e-4cf4-9074-218c528a290a

## should update-grub create alternative automagic boot options
## e.g. alternative=true
## alternative=false
# alternative=true

## should update-grub lock alternative automagic boot options
## e.g. lockalternative=true
## lockalternative=false
# lockalternative=false

## additional options to use with the default boot option, but not with the
## alternatives
## e.g. defoptions=vga=791 resume=/dev/hda5
# defoptions=quiet splash

## should update-grub lock old automagic boot options
## e.g. lockold=false
## lockold=true
# lockold=false

## Xen hypervisor options to use with the default Xen boot option
# xenhopt=

## Xen Linux kernel options to use with the default Xen boot option
# xenkopt=console=tty0

## altoption boot targets option
## multiple altoptions lines are allowed
## e.g. altoptions=(extra menu suffix) extra boot options
## altoptions=(recovery) single
# altoptions=(recovery mode) single

## controls how many kernels should be put into the menu.lst
## only counts the first occurence of a kernel, not the
## alternative kernel options
## e.g. howmany=all
## howmany=7
# howmany=all

## specify if running in Xen domU or have grub detect automatically
## update-grub will ignore non-xen kernels when running in domU and vice versa
## e.g. indomU=detect
## indomU=true
## indomU=false
# indomU=detect

## should update-grub create memtest86 boot option
## e.g. memtest86=true
## memtest86=false
# memtest86=true

## should update-grub adjust the value of the default booted system
## can be true or false
# updatedefaultentry=false

## should update-grub add savedefault to the default options
## can be true or false
# savedefault=false

## ## End Default Options ##

title Ubuntu 9.04, kernel 2.6.28-13-generic
uuid f03dbaec-c33e-4cf4-9074-218c528a290a
kernel /boot/vmlinuz-2.6.28-13-generic root=UUID=f03dbaec-c33e-4cf4-9074-218c528a290a ro locale=zh_CN quiet splash
initrd /boot/initrd.img-2.6.28-13-generic
quiet

title Ubuntu 9.04, kernel 2.6.28-13-generic (recovery mode)
uuid f03dbaec-c33e-4cf4-9074-218c528a290a
kernel /boot/vmlinuz-2.6.28-13-generic root=UUID=f03dbaec-c33e-4cf4-9074-218c528a290a ro locale=zh_CN single
initrd /boot/initrd.img-2.6.28-13-generic

title Ubuntu 9.04, kernel 2.6.28-11-generic
uuid f03dbaec-c33e-4cf4-9074-218c528a290a
kernel /boot/vmlinuz-2.6.28-11-generic root=UUID=f03dbaec-c33e-4cf4-9074-218c528a290a ro locale=zh_CN quiet splash
initrd /boot/initrd.img-2.6.28-11-generic
quiet

title Ubuntu 9.04, kernel 2.6.28-11-generic (recovery mode)
uuid f03dbaec-c33e-4cf4-9074-218c528a290a
kernel /boot/vmlinuz-2.6.28-11-generic root=UUID=f03dbaec-c33e-4cf4-9074-218c528a290a ro locale=zh_CN single
initrd /boot/initrd.img-2.6.28-11-generic

title Ubuntu 9.04, memtest86+
uuid f03dbaec-c33e-4cf4-9074-218c528a290a
kernel /boot/memtest86+.bin
quiet

### END DEBIAN AUTOMAGIC KERNELS LIST

# This is a divider, added to separate the menu items below from the Debian
# ones.
title Other operating systems:
root


# This entry automatically added by the Debian installer for a non-linux OS
# on /dev/sda1
title Microsoft Windows XP Professional
rootnoverify (hd0,0)
savedefault
makeactive
chainloader +1
Chrome
帖子: 132
注册时间: 2009-04-11 23:20

Re: 请教安装win7的问题

#13

帖子 Chrome » 2009-07-02 17:11

我在最后添加了下面几行,ubuntu和xp都没发启动了 :em20

title Win7 RC
rootnoverify (hd0,6)
savedefault
makeactive
chainloader +1
头像
smallapple
论坛版主
帖子: 7868
注册时间: 2009-03-28 15:12

Re: 请教安装win7的问题

#14

帖子 smallapple » 2009-07-02 20:08

怀疑LZ到底有没有装win7。
Chrome
帖子: 132
注册时间: 2009-04-11 23:20

Re: 请教安装win7的问题

#15

帖子 Chrome » 2009-07-02 20:20

smallapple 写了:怀疑LZ到底有没有装win7。
:em20 正用着win7呢
回复