[help]xp光盘安装ubuntu后无法进入xp

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

[help]xp光盘安装ubuntu后无法进入xp

#1

帖子 bitwzy » 2009-11-08 19:06

安装9。04后,选择xp home启动,显示一行 Loading... 就没反应了。XP安装在hd(0,2)还是(0,3)(ubuntu下无法挂载此分区),反正不在第一个分区就是了。
附上我的menu.lst:

# 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=fefdc151-b26c-44f0-8e7e-da7822a39bdc ro locale=zh_CN

## default grub root device
## e.g. groot=(hd0,0)
# groot=fefdc151-b26c-44f0-8e7e-da7822a39bdc

## 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-16-generic
uuid fefdc151-b26c-44f0-8e7e-da7822a39bdc
kernel /boot/vmlinuz-2.6.28-16-generic root=UUID=fefdc151-b26c-44f0-8e7e-da7822a39bdc ro locale=zh_CN quiet splash
initrd /boot/initrd.img-2.6.28-16-generic
quiet

title Ubuntu 9.04, kernel 2.6.28-16-generic (recovery mode)
uuid fefdc151-b26c-44f0-8e7e-da7822a39bdc
kernel /boot/vmlinuz-2.6.28-16-generic root=UUID=fefdc151-b26c-44f0-8e7e-da7822a39bdc ro locale=zh_CN single
initrd /boot/initrd.img-2.6.28-16-generic

title Ubuntu 9.04, kernel 2.6.28-11-generic
uuid fefdc151-b26c-44f0-8e7e-da7822a39bdc
kernel /boot/vmlinuz-2.6.28-11-generic root=UUID=fefdc151-b26c-44f0-8e7e-da7822a39bdc 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 fefdc151-b26c-44f0-8e7e-da7822a39bdc
kernel /boot/vmlinuz-2.6.28-11-generic root=UUID=fefdc151-b26c-44f0-8e7e-da7822a39bdc ro locale=zh_CN single
initrd /boot/initrd.img-2.6.28-11-generic

title Ubuntu 9.04, memtest86+
uuid fefdc151-b26c-44f0-8e7e-da7822a39bdc
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 Home Edition
rootnoverify (hd0,0)
savedefault
makeactive
chainloader +1
#当然,我改成过hd(0,2),但是ntldr,boot.ini什么的都不在那个分区,自然启动不了。
#电脑是dell的品牌机,隐藏分区被删掉了(在xp的磁盘管理下)。
#望牛们支援
#毕竟还需要用windows
#谢谢!
头像
nuanhuai
帖子: 7813
注册时间: 2009-03-10 13:04

Re: [help]xp光盘安装ubuntu后无法进入xp

#2

帖子 nuanhuai » 2009-11-08 19:09

df -h
sudo fdisk -l
结果贴来看看
ps:贴那么长的东西会让人懒得看,直接略过的
bitwzy
帖子: 16
注册时间: 2009-11-08 18:58

[help]xp光盘安装ubuntu后无法进入xp

#3

帖子 bitwzy » 2009-11-14 13:44

不好意思,当时忘了贴了
wzy@wzy-desktop:~$ df -h
文件系统 容量 已用 可用 已用% 挂载点
/dev/sda6 25G 8.4G 15G 37% /
tmpfs 1007M 0 1007M 0% /lib/init/rw
varrun 1007M 116K 1006M 1% /var/run
varlock 1007M 0 1007M 0% /var/lock
udev 1007M 152K 1006M 1% /dev
tmpfs 1007M 496K 1006M 1% /dev/shm
lrm 1007M 2.2M 1004M 1% /lib/modules/2.6.28-16-generic/volatile

wzy@wzy-desktop:~$ sudo fdisk -l
[sudo] password for wzy:

Disk /dev/sda: 250.0 GB, 250000000000 bytes
255 heads, 63 sectors/track, 30394 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Disk identifier: 0xf0000000

Device Boot Start End Blocks Id System
/dev/sda1 * 7 1312 10485760 7 HPFS/NTFS
Partition 1 does not end on cylinder boundary.
/dev/sda2 1313 6533 41937682+ 7 HPFS/NTFS
/dev/sda3 6534 30394 191663482+ f W95 Ext'd (LBA)
/dev/sda5 6534 27031 164642816 7 HPFS/NTFS
/dev/sda6 27032 30249 25848553+ 83 Linux
/dev/sda7 30250 30394 1164681 82 Linux swap / Solaris
bitwzy
帖子: 16
注册时间: 2009-11-08 18:58

Re: [help]xp光盘安装ubuntu后无法进入xp

#4

帖子 bitwzy » 2009-11-16 19:33

Ziji DIng
头像
smallapple
论坛版主
帖子: 7868
注册时间: 2009-03-28 15:12

Re: [help]xp光盘安装ubuntu后无法进入xp

#5

帖子 smallapple » 2009-11-16 19:43

sda1是什么用的?

代码: 全选

title Microsoft Windows XP Home Edition
rootnoverify (hd0,0)
savedefault
makeactive
chainloader +1
这个启动时有什么信息?
bitwzy
帖子: 16
注册时间: 2009-11-08 18:58

Re: [help]xp光盘安装ubuntu后无法进入xp

#6

帖子 bitwzy » 2009-11-28 14:54

没有信息,就是一行loading...please wait
头像
smallapple
论坛版主
帖子: 7868
注册时间: 2009-03-28 15:12

Re: [help]xp光盘安装ubuntu后无法进入xp

#7

帖子 smallapple » 2009-11-28 16:38

你的启动分区是在第一分区,那个分区到底干什么用的?
bitwzy
帖子: 16
注册时间: 2009-11-08 18:58

Re: [help]xp光盘安装ubuntu后无法进入xp

#8

帖子 bitwzy » 2010-01-02 21:29

不知道a
头像
luofeng1989
帖子: 766
注册时间: 2009-09-20 19:30
系统: ubuntu12.04
来自: GIS

Re: [help]xp光盘安装ubuntu后无法进入xp

#9

帖子 luofeng1989 » 2010-01-02 21:35

可能是分区的时候破坏了原始分区了。。。 :em04
人到暮年
帖子: 645
注册时间: 2009-08-01 9:50
来自: 泰安人在青岛

Re: [help]xp光盘安装ubuntu后无法进入xp

#10

帖子 人到暮年 » 2010-01-02 22:47

没见过
不能养成臭毛病.
头像
wangdu2002
帖子: 13284
注册时间: 2008-12-13 19:39
来自: 物华天宝人杰地灵

Re: [help]xp光盘安装ubuntu后无法进入xp

#11

帖子 wangdu2002 » 2010-01-02 23:27

嗨。。。新年了,楼主还是备份资料,重装新系统吧。。。 :em02
行到水穷处,坐看云起时。
海内生明月,天涯共此夕。
--------------------吾本独!
头像
yus253
帖子: 389
注册时间: 2009-05-31 20:52
联系:

Re: [help]xp光盘安装ubuntu后无法进入xp

#12

帖子 yus253 » 2010-01-03 0:47

我见人解决过,这个系统还有救。MBR被被改写了而已。上次我见得那个openSuse的工程师,一边和Ubuntu的人打赌一边就解决这个问题了。因为没明白是哪的问题,说要也不好向他请教了。。。这是9.10的大问题之一,不少人都有,楼主去网上查查看看那解决办法,不过,我可以肯定不需要格机子。
The root of bioengineering is the desire to control the organic long enough to improve it. Domesticated plants and animals are examples of technos -- logic applied to life.
bitwzy
帖子: 16
注册时间: 2009-11-08 18:58

Re: [help]xp光盘安装ubuntu后无法进入xp

#13

帖子 bitwzy » 2010-01-09 16:52

不好意思,我装的是9。04,而且在装之前,这个xp就挂了 :em06
能不能将server2003的启动文件考到hd(0,2)里?
那里面没有启动文件
bitwzy
帖子: 16
注册时间: 2009-11-08 18:58

Re: [help]xp光盘安装ubuntu后无法进入xp

#14

帖子 bitwzy » 2010-01-09 17:00

/dev/sda1/ 是理想情况下的启动分区
(装xp时它被排列在第一位)
启动文件在那里面
但挂载不了这个分区
回复