九死一生的安装好了ubuntu 6.06,但是一个新的问题 来了 !
版面规则
我们都知道新人的确很菜,也喜欢抱怨,并且带有浓厚的Windows习惯,但既然在这里询问,我们就应该有责任帮助他们解决问题,而不是直接泼冷水、简单的否定或发表对解决问题没有任何帮助的帖子。乐于分享,以人为本,这正是Ubuntu的精神所在。
我们都知道新人的确很菜,也喜欢抱怨,并且带有浓厚的Windows习惯,但既然在这里询问,我们就应该有责任帮助他们解决问题,而不是直接泼冷水、简单的否定或发表对解决问题没有任何帮助的帖子。乐于分享,以人为本,这正是Ubuntu的精神所在。
- maodi0614
- 帖子: 31
- 注册时间: 2006-07-06 20:10
九死一生的安装好了ubuntu 6.06,但是一个新的问题 来了 !
我这是第一次接触Linux,一点经验也没有!
我看了教程,自己摸索把它 安装上了!
我安装之前预留了一个10G的分区,我就安装在这个分区里面
安装成功以后,桌面上还可以看到XP的那个系统盘
可是我每次重新起动的时候,就直接进入了Linux
要怎样才可以有XP和ubuntu的选项啊?
我的XP还有很多资料没有备份的
我查看了boot.ini文件,这个文件里面是 空白的
我尝试重新写入,可提示boot.ini文件为只读状态,无法修改
请问,我目前要怎样才可以恢复双系统启动?
我在论坛搜了,但是没有找到!
小弟不生感激!
刚看了看置顶,我操做了一下,但是不知道怎么修改menu.lst
于是,我帖出来,大家指点一下
(我想在启动的时候,自己选择进入XP还是ubuntu,谢谢! )
## 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=/dev/hda2 ro
## default grub root device
## e.g. groot=(hd0,0)
# groot=(hd0,1)
## 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
## altoption boot targets option
## multiple altoptions lines are allowed
## e.g. altoptions=(extra menu suffix) extra boot options
## altoptions=(recovery mode) 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
## 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
## ## End Default Options ##
title Ubuntu, kernel 2.6.15-23-386
root (hd0,1)
kernel /boot/vmlinuz-2.6.15-23-386 root=/dev/hda2 ro quiet splash
initrd /boot/initrd.img-2.6.15-23-386
savedefault
boot
title Ubuntu, kernel 2.6.15-23-386 (recovery mode)
root (hd0,1)
kernel /boot/vmlinuz-2.6.15-23-386 root=/dev/hda2 ro single
initrd /boot/initrd.img-2.6.15-23-386
boot
title Ubuntu, memtest86+
root (hd0,1)
kernel /boot/memtest86+.bin
boot
### END DEBIAN AUTOMAGIC KERNELS LIST
我看了教程,自己摸索把它 安装上了!
我安装之前预留了一个10G的分区,我就安装在这个分区里面
安装成功以后,桌面上还可以看到XP的那个系统盘
可是我每次重新起动的时候,就直接进入了Linux
要怎样才可以有XP和ubuntu的选项啊?
我的XP还有很多资料没有备份的
我查看了boot.ini文件,这个文件里面是 空白的
我尝试重新写入,可提示boot.ini文件为只读状态,无法修改
请问,我目前要怎样才可以恢复双系统启动?
我在论坛搜了,但是没有找到!
小弟不生感激!
刚看了看置顶,我操做了一下,但是不知道怎么修改menu.lst
于是,我帖出来,大家指点一下
(我想在启动的时候,自己选择进入XP还是ubuntu,谢谢! )
## 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=/dev/hda2 ro
## default grub root device
## e.g. groot=(hd0,0)
# groot=(hd0,1)
## 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
## altoption boot targets option
## multiple altoptions lines are allowed
## e.g. altoptions=(extra menu suffix) extra boot options
## altoptions=(recovery mode) 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
## 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
## ## End Default Options ##
title Ubuntu, kernel 2.6.15-23-386
root (hd0,1)
kernel /boot/vmlinuz-2.6.15-23-386 root=/dev/hda2 ro quiet splash
initrd /boot/initrd.img-2.6.15-23-386
savedefault
boot
title Ubuntu, kernel 2.6.15-23-386 (recovery mode)
root (hd0,1)
kernel /boot/vmlinuz-2.6.15-23-386 root=/dev/hda2 ro single
initrd /boot/initrd.img-2.6.15-23-386
boot
title Ubuntu, memtest86+
root (hd0,1)
kernel /boot/memtest86+.bin
boot
### END DEBIAN AUTOMAGIC KERNELS LIST
- maodi0614
- 帖子: 31
- 注册时间: 2006-07-06 20:10
我按照你的方法还是没有成功sigma 写了:在menu.list里加上上面的这段,你要改的就是 (hd0,0),不一定会和我的一样代码: 全选
title Other operating systems: root title Microsoft Windows XP Professional root (hd0,0) savedefault makeactive chainloader +1
这个表示你的windows分区的设备号
但是我理清头绪了!
我原有的XP系统盘下的boot.ini文件被损坏成为了一个0字节的空文件
我尝试写入字符,但是提示Boot.ini无法修改,是只读状态,说我没有权限!
天啊!
我的boot.ini文件位于: /media/hda6(标题栏上写的)
-
- 帖子: 37
- 注册时间: 2006-06-10 14:39
- sigma
- 帖子: 439
- 注册时间: 2006-06-01 22:45
- 来自: Fujian
- maodi0614
- 帖子: 31
- 注册时间: 2006-07-06 20:10
- sigma
- 帖子: 439
- 注册时间: 2006-06-01 22:45
- 来自: Fujian
-
- 帖子: 20
- 注册时间: 2006-07-08 22:24
-
- 帖子: 217
- 注册时间: 2006-04-29 15:43
- 联系:
boot.ini字节为0,说明你安装ubuntu时启动项就被你搞坏了maodi0614 写了:我按照你的方法还是没有成功sigma 写了:在menu.list里加上上面的这段,你要改的就是 (hd0,0),不一定会和我的一样代码: 全选
title Other operating systems: root title Microsoft Windows XP Professional root (hd0,0) savedefault makeactive chainloader +1
这个表示你的windows分区的设备号
但是我理清头绪了!
我原有的XP系统盘下的boot.ini文件被损坏成为了一个0字节的空文件
我尝试写入字符,但是提示Boot.ini无法修改,是只读状态,说我没有权限!
天啊!
我的boot.ini文件位于: /media/hda6(标题栏上写的)
即使安装好grub也引导不了win
你用ghost备份好win分区,然后用Ghostexp提取数据好了
- millenniumdark
- 论坛版主
- 帖子: 4159
- 注册时间: 2005-07-02 14:41
- 系统: Ubuntu 14.04 (Kylin)
- 联系: