我的电脑是xp.ubuntu双系统,GRUB默认引导进入ubuntu,怎样改成默认进入xp?

作者&投稿:晏琴 (若有异议请与网页底部的电邮联系)
装Xp ubuntu双系统如何设置默认启动Xp~

这些都是收工修改/boot/grub/menu.lst来达到的,用root权限编辑此文件
第一个是修改default后面的数字,查看你的文件中windows的title是第几个,然后把default后面的数字修改成那个加一以后的数字
选择栏中,ubuntu的三个选项第一个是平常用的,第二和第三个分别用于恢复模式和内存测试,如果想去掉,可以将上面提到的文件中title ubuntu 9.04 kernel 2.6.28-11 generic(recovery mode)和title ubuntu 9.04 metest86+两行前面加一个#符号,表示注释掉,那么保存重启后就没有了,建议保留,以免万一出现情况可以恢复用

再windows下修改用easybcd,先重建mbr再自己添加启动项,在ubuntu下sudo gedit /boot/grub/grub.cfg修改文件,里面写的很清楚,自己看这修改

修改menu.lst即可。命令:
sudo gedit /boot/grub/menu.lst

修改
default 0
这一行。把后面的0修改为对应的系统。比如我的menu.lst的内容如下,我把这一行改为default 3 就默认从xp启动。:

# 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 2

## 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=1eea01c4-9dbf-421b-8912-cde923d39967 ro

## default grub root device
## e.g. groot=(hd0,0)
# groot=1eea01c4-9dbf-421b-8912-cde923d39967

## 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-12-generic
uuid 1eea01c4-9dbf-421b-8912-cde923d39967
kernel /boot/vmlinuz-2.6.28-12-generic root=UUID=1eea01c4-9dbf-421b-8912-cde923d39967 ro quiet splash
initrd /boot/initrd.img-2.6.28-12-generic
quiet

title Ubuntu 9.04, kernel 2.6.28-12-generic (recovery mode)
uuid 1eea01c4-9dbf-421b-8912-cde923d39967
kernel /boot/vmlinuz-2.6.28-12-generic root=UUID=1eea01c4-9dbf-421b-8912-cde923d39967 ro single
initrd /boot/initrd.img-2.6.28-12-generic

title Ubuntu 9.04, memtest86+
uuid 1eea01c4-9dbf-421b-8912-cde923d39967
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
chainloader +1

title Install Ubuntu 9.04
rootnoverify (hd0,5)

find --set-root /ubuntu-9.04-desktop-amd64.iso

kernel /vmlinuz boot=casper iso-scan/filename=/ubuntu-9.04-desktop-amd64.iso ro locale=zh_CN.UTF-8

initrd /initrd.gz

你 数数 你的 /boot/grub/menu.lst 文件里 有几个 title 开头 的行
xp 是第几?

比如 5 个

你 改 这一行

default 4 (0 表示 第一个)

保存,下次 就可以了

Good luck

因为装了Ubuntu之后,Ubuntu的引导程序替代了Windows的引导程序,就默认进入Ubuntu系统了

把/boot/grub/menu.lst 文件里修改一下,
用 sudo gedit /boot/grub/menu.lst 命令
如果是Ubuntu 8.04的话,
Windows是第七个启动的
把default 后面的 0改成6(表示第七)

两种方法:
1。在xp里面
右点我的电脑--属性--高级--启动和故障恢复--设置--里改就行了~
2。在ubuntu里面
安装启动管理工具
也可以选择启动项


我的本本装的是XP和UBUNTU8.04,现在想把XP删掉,而不改变任何UBUNTU的东 ...
如果你是先装windows后装ubuntu的正常装法,开机启动应该是进入Grub界面,这样的话,直接删掉Windows的那几个文件夹就好了,如果你要保险一点,可以在Ubuntu下把C盘的windows文件夹剪切到别的盘,然后重启看看有没有影响,如果有(我觉得不会)的话也可以方便的还原。如果你是先装ubuntu后装Windows的话,...

在xp系统中硬盘安装ubuntu11.04,装完后重启,结果显示“超出显示范围...
分辨率把,估计ub的分辨率弄太高了,超出xp分辨率范围了。你可以先把xp的分辨率调高点然后打开ub试试看。

电脑原来装的是xp,可以上网的,一切都很正常,现在又重新装了个ubuntu...
因 为 ubuntu占 用 了 网 卡 ,需 要 将 ubuntu关 闭 掉 ,或 者 将 ubuntu的 网 络 功 能 关 闭 .

虚拟机Ubuntu连接XP问题!!
如果仅仅只是想与母机交换文件,不管你是用VBOX还是VM,都需要安装增强功能包(不同虚拟机,称呼不同)。安装了之后,设置一下分配给虚拟机的文件夹,并在虚拟机中设置挂载路径就好了。如果是在局域网中,且要与其它电脑连接,那虚拟Ubuntu需要安装Samba,安装后设置一下也就OK了 LZ为什么不用Wubi安装呢...

电脑显示:ub>-要输什么入去?
下载完成之后Windows XP系统下直接双击运行即可,Windows Vista或Windows7\/8系统请点右键以管理员身份运行。 U盘启动安装盘的具体制作:1. 默认模式:默认模式1.1:打开主程序,插入U盘\/SD卡等可移动设备,在磁盘列表里会自动列出当前电脑中所有的可移动磁盘的盘符、型号、容量等信息。默认模式1.2:选择你要制作启动的可移动...

光驱装xp系统geub输入什么
chainloader \/ntldr boot 就可以进入winxp的引导;或者,find --set-root \/bootmgr chainloader \/bootmgr boot 就可以进入win7 , vista 的引导;或者,chainloader (hd0,0)+1 boot 就可以从第一个硬盘第一个主引导区引导。或者,find --set-root \/peldr chainloader \/peldr boot 可以引导winpe,如果...

如何在一个硬盘上安装3个系统XP+ubuntu+Slackware
Slackware这个我倒没用过,看你问这个问题好像计算机水平很一般啊,XP和ubuntu,装在一个硬盘上?分区不就搞定了,选择不同分区安装;再说以你现在的情况来看,不要太贪心,同时不可以学这么多东西的,windows你都还不熟;如果只是学习为什么不考虑装虚拟机呢!

有ubotu和xp时怎样设置xp为默认系统
在显示倒数10秒的地方时,按下ESC键,然后就会进入GRUB4DOS启动画面,在OTHER OPERATION SYSTEM中选择Windows XP,输入bootsect \/nt52 sys,(BOOTSECT命令请自行在网上寻找)然后按下Windows徽标键+Pause Break打开系统属性,在高级中找到启动和故障恢复的高级——编辑,最后添加一行“C:\\wubildr.mbr=Ubuntu”...

我的系统是xp加vista加7,请问我可以直接在里面装ubuntu系统么?_百度...
可以直接装,菜单的只会出现2个选项,一个是ubuntu,一个是xp和vista,7一起的一个选项,进到这个选项后,就是你以前的菜单了

映泰a58主板装xp系统usb不能用
4.安装完成后,拔出U盘,电脑自动重启,点击:从本地硬盘启动电脑,继续安装。5.安装完成后,重启。开机-进入BIOS-设置电脑从硬盘启动-F10-Y-回车。以后开机就是从硬盘启动了。6.安装完系统后,用驱动精灵更新驱动程序。7.硬盘装(前提是有XP系统或WIN7系统)。(1)网上下载个GHOST系统,记住后缀名是...

子洲县13054924770: 怎样安装windows xp和ubuntu双系统? -
宠山塞必: 用U盘成功安装双系统的方法(别用虚拟机安装) 第一步:下载、安装老毛桃U盘制作软件最新版.第二步:制作安装系统的U盘启动器.第三步:用U盘安装计算机系统.设置电脑从USB启动进入U盘安装系统界面,找到:Windows系统安装图...

子洲县13054924770: 电脑想装两个系统,现在是XP的 ,想再装个Ubuntu的,想问下怎么装?应该注意点什么?会有什么影响?
宠山塞必: 需要注意先对分区进行隔离,调整出一部分空白分区出来.下载完Ubuntu的iso之后直接刻录成光盘,记住是刻录iso,不要把iso当做一个文件刻录到光盘里面,也不要解压缩出来只刻录里面的文件,这样都是不能启动的. 准备好光盘和空闲的...

子洲县13054924770: 双系统怎么设置开机的默认系统是XP?我的另一个系统是Ubuntu. -
宠山塞必: 我的电脑 右键属性 高级 启动和故障恢复 设置 在里面把默认的系统改成XP

子洲县13054924770: XP下如何安装ubuntu 双系统
宠山塞必: 用终端中输入命令:sudo update-manager -cd 的方法虽然可行,但是速度是特慢的.还可以在原来8.10的sources.list文件中直接加上9.04的源,再sudo apt-get update 更新源之后,再运行更新管理器即可发现9.04的安装包,安装即可.加入Ubuntu 9.04(Jaunty Jackalope)源直接升级就可以:一.换源sudo gedit /etc/apt/sources.list或sudo vim /etc/apt/sources.list选择合适的源覆盖进去并保存退出.

子洲县13054924770: 如何在XP下硬盘方式安装Ubuntu?并实现双系统?
宠山塞必: 用 Wubi 来安装 Ubuntu 8.10的步骤 第一步:为磁盘分区用来安装Ubuntu.(这一步就可以跳过,这样做只是为了方便管理文件,不另外分区也可以完成安装的!)首先,我们可以用分区工具分出一个10G(大小根据你自己的实际情况而定)的...

子洲县13054924770: XP和ubuntu双系统启动,如何设置ubuntu启动 -
宠山塞必: 我觉得还得用grub,你的情况应该能进xp吧,安装grub4dos在你的c盘,并修改boot.ini在启动时加载它(参考http://www.bitscn.com/network/soft/201007/188410.html看明白了再搞)重启后进入grub4dos,1.按c进入grub> 会出现这样的字符 grub> ...

子洲县13054924770: XP与linux双系统 -
宠山塞必: 1、比较流行的Linux有,ubuntu ,红旗,FreeBSD等.2、安装完成后,可以设置默认启动哪个系统,也可以手工选择.3、XP下的游戏,大部分不能使用.Linux上面也有几个小游戏.像CS、CF之类的,在Linux上玩不了.一些XP上的应用软...

子洲县13054924770: XP linux双系统安装
宠山塞必: BT4是基于Ubuntu系统的,下面我就转载一下windows和ubuntu的双系统方法:windows安装在前,ubuntu安装在后.ubuntu装完后自动将启动顺序改成首选,所以启动时默认情况下就进入了ubuntu.那么下面就说说怎么更改启动顺序,看了之...

子洲县13054924770: 能不能一个电脑装xp和ubuntu两个系统呢?
宠山塞必: 能装,先XP,后乌班图……Ext3的分区在Windows下用Ext2Fsd软件可以看见.配置你够用XP就够用乌班图.

本站内容来自于网友发表,不代表本站立场,仅表示其个人看法,不对其真实性、正确性、有效性作任何的担保
相关事宜请发邮件给我们
© 星空见康网