九死一生的安装好了ubuntu 6.06,但是一个新的问题 来了 !
发表于 : 2006-07-07 9:51
我这是第一次接触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