这样启动我真想杀人!~~~~
版面规则
我们都知道新人的确很菜,也喜欢抱怨,并且带有浓厚的Windows习惯,但既然在这里询问,我们就应该有责任帮助他们解决问题,而不是直接泼冷水、简单的否定或发表对解决问题没有任何帮助的帖子。乐于分享,以人为本,这正是Ubuntu的精神所在。
我们都知道新人的确很菜,也喜欢抱怨,并且带有浓厚的Windows习惯,但既然在这里询问,我们就应该有责任帮助他们解决问题,而不是直接泼冷水、简单的否定或发表对解决问题没有任何帮助的帖子。乐于分享,以人为本,这正是Ubuntu的精神所在。
- leozzyi
- 帖子: 45
- 注册时间: 2007-11-05 1:22
这样启动我真想杀人!~~~~
本来两个系统用的好好的,可是由于我的疏忽导致xp无法启动!没有更好的解决办法,只好重新安装,但是问题出现了,安装好之后,ubuntu无法启动!上论坛查看了资料,目前这个问题已经解决!不过,开机的启动太繁琐!
如下:
windows xp
一键恢复
ubuntu
然后选择ubuntu
就又来到了原来的linux的启动项目如下:
Ubuntu 7.10,kernel 2.6.22-14-generic
Ubuntu 7.10,kernel 2.6.22-14-generic(recovery mode)
Ubuntu 7.10,memtest86+
other operating systems:
]windows xp
然后选择第一个才进入ubuntu太麻烦了!~~~~
那位高人可以指点一下看能不能简单化一点
!!!!!
如下:
windows xp
一键恢复
ubuntu
然后选择ubuntu
就又来到了原来的linux的启动项目如下:
Ubuntu 7.10,kernel 2.6.22-14-generic
Ubuntu 7.10,kernel 2.6.22-14-generic(recovery mode)
Ubuntu 7.10,memtest86+
other operating systems:
]windows xp
然后选择第一个才进入ubuntu太麻烦了!~~~~
那位高人可以指点一下看能不能简单化一点
!!!!!
- leeaman
- 帖子: 30702
- 注册时间: 2007-02-02 18:14
- 系统: debian sid
- leozzyi
- 帖子: 45
- 注册时间: 2007-11-05 1:22
-
- 帖子: 3
- 注册时间: 2007-11-13 0:13
这个是我的menu.lst,装了三块硬盘,两个系统。UBUNTU装在IDE接口硬盘,设为主盘。XP装SATA上,CMOS设置硬盘启动优先顺序,为IDE主盘第一,SATA第二。先装的XP,后装的UBUNTU。
你的说明不够详细,一下难以判断,如有改过XP里的BOOT.INI时,启动时可能先从XP引导,再从UBUNTU引导,所以出现了两次的启动选单,修改方法,应该是可以删除grub,直接从XP的BOOT.INI里启动(但不建议)。另外的方法是在UBUNTU里修改BOOT.INI和menu.lst,具体还要看你的UBUNTU装在了哪个硬盘和哪个分区。其实,修改menu.lst是最简单的方法。可以找找网上关于grub的说明,搞明白后再动手。
default saved #设为优先XP启动,如改为UBUNTU优先,设为0
## timeout sec
# Set a timeout, in SEC seconds, before automatically booting the default entry
# (normally the first entry defined).
timeout 10 #启动选单默认为10秒,可以改为1~2秒
## ## End Default Options ##
title Ubuntu 7.10, kernel 2.6.22-14-generic
root (hd0,0) #IDE主盘,第一分区
kernel /boot/vmlinuz-2.6.22-14-generic root=UUID=a96e2eed-d5db-4b09-a937-1e8e46ef7b77 ro quiet splash locale=zh_CN
initrd /boot/initrd.img-2.6.22-14-generic
quiet
title Ubuntu 7.10, kernel 2.6.22-14-generic (recovery mode)
root (hd0,0)
kernel /boot/vmlinuz-2.6.22-14-generic root=UUID=a96e2eed-d5db-4b09-a937-1e8e46ef7b77 ro single
initrd /boot/initrd.img-2.6.22-14-generic
title Ubuntu 7.10, memtest86+
root (hd0,0)
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/sdc1
title Microsoft Windows XP Professional
root (hd3,0) #第三硬盘,第一分区,没装有系统的硬盘分配为了hd2,所以装XP的变为了3
savedefault
makeactive
map (hd0) (hd3)
map (hd3) (hd0)
chainloader +1
你的说明不够详细,一下难以判断,如有改过XP里的BOOT.INI时,启动时可能先从XP引导,再从UBUNTU引导,所以出现了两次的启动选单,修改方法,应该是可以删除grub,直接从XP的BOOT.INI里启动(但不建议)。另外的方法是在UBUNTU里修改BOOT.INI和menu.lst,具体还要看你的UBUNTU装在了哪个硬盘和哪个分区。其实,修改menu.lst是最简单的方法。可以找找网上关于grub的说明,搞明白后再动手。
default saved #设为优先XP启动,如改为UBUNTU优先,设为0
## timeout sec
# Set a timeout, in SEC seconds, before automatically booting the default entry
# (normally the first entry defined).
timeout 10 #启动选单默认为10秒,可以改为1~2秒
## ## End Default Options ##
title Ubuntu 7.10, kernel 2.6.22-14-generic
root (hd0,0) #IDE主盘,第一分区
kernel /boot/vmlinuz-2.6.22-14-generic root=UUID=a96e2eed-d5db-4b09-a937-1e8e46ef7b77 ro quiet splash locale=zh_CN
initrd /boot/initrd.img-2.6.22-14-generic
quiet
title Ubuntu 7.10, kernel 2.6.22-14-generic (recovery mode)
root (hd0,0)
kernel /boot/vmlinuz-2.6.22-14-generic root=UUID=a96e2eed-d5db-4b09-a937-1e8e46ef7b77 ro single
initrd /boot/initrd.img-2.6.22-14-generic
title Ubuntu 7.10, memtest86+
root (hd0,0)
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/sdc1
title Microsoft Windows XP Professional
root (hd3,0) #第三硬盘,第一分区,没装有系统的硬盘分配为了hd2,所以装XP的变为了3
savedefault
makeactive
map (hd0) (hd3)
map (hd3) (hd0)
chainloader +1
- leozzyi
- 帖子: 45
- 注册时间: 2007-11-05 1:22
我只有一块硬盘120g,装两个系统!xp装在c盘。ubuntu装在e分区!
我的目的是简化启动项目!
这个是我的/boot/grub/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=c303bfa5-14ae-4726-a9a4-c25e942aa33c ro
## Setup crashdump menu entries
## e.g. crashdump=1
# crashdump=0
## default grub root device
## e.g. groot=(hd0,0)
# groot=(hd0,7)
## 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
## 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 7.10, kernel 2.6.22-14-generic
root (hd0,7)
kernel /boot/vmlinuz-2.6.22-14-generic root=UUID=c303bfa5-14ae-4726-a9a4-c25e942aa33c ro quiet splash
initrd /boot/initrd.img-2.6.22-14-generic
quiet
title Ubuntu 7.10, kernel 2.6.22-14-generic (recovery mode)
root (hd0,7)
kernel /boot/vmlinuz-2.6.22-14-generic root=UUID=c303bfa5-14ae-4726-a9a4-c25e942aa33c ro single
initrd /boot/initrd.img-2.6.22-14-generic
title Ubuntu 7.10, memtest86+
root (hd0,7)
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
root (hd0,0)
savedefault
makeactive
chainloader +1
========================================
这个文件是windows的boot.ini文件内容:
[boot loader]
timeout=5
default=multi(0)disk(0)rdisk(0)partition(1)\WINDOWS
[operating systems]
multi(0)disk(0)rdisk(0)partition(1)\WINDOWS="Microsoft Windows XP Professional" /noexecute=optin /fastdetect
C:\GHLDR=一键GHOST v11.0 Build 070707
C:\grldr=ubuntu
我的目的是简化启动项目!
这个是我的/boot/grub/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=c303bfa5-14ae-4726-a9a4-c25e942aa33c ro
## Setup crashdump menu entries
## e.g. crashdump=1
# crashdump=0
## default grub root device
## e.g. groot=(hd0,0)
# groot=(hd0,7)
## 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
## 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 7.10, kernel 2.6.22-14-generic
root (hd0,7)
kernel /boot/vmlinuz-2.6.22-14-generic root=UUID=c303bfa5-14ae-4726-a9a4-c25e942aa33c ro quiet splash
initrd /boot/initrd.img-2.6.22-14-generic
quiet
title Ubuntu 7.10, kernel 2.6.22-14-generic (recovery mode)
root (hd0,7)
kernel /boot/vmlinuz-2.6.22-14-generic root=UUID=c303bfa5-14ae-4726-a9a4-c25e942aa33c ro single
initrd /boot/initrd.img-2.6.22-14-generic
title Ubuntu 7.10, memtest86+
root (hd0,7)
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
root (hd0,0)
savedefault
makeactive
chainloader +1
========================================
这个文件是windows的boot.ini文件内容:
[boot loader]
timeout=5
default=multi(0)disk(0)rdisk(0)partition(1)\WINDOWS
[operating systems]
multi(0)disk(0)rdisk(0)partition(1)\WINDOWS="Microsoft Windows XP Professional" /noexecute=optin /fastdetect
C:\GHLDR=一键GHOST v11.0 Build 070707
C:\grldr=ubuntu
-
- 帖子: 94
- 注册时间: 2007-06-12 17:54
回复8楼: 红色的是我修改你的,你试试
============================================
这个文件是windows的boot.ini文件内容:
[boot loader]
timeout=0
default=C:\grldr
[operating systems]
multi(0)disk(0)rdisk(0)partition(1)\WINDOWS="Microsoft Windows XP Professional" /noexecute=optin /fastdetect
C:\GHLDR=一键GHOST v11.0 Build 070707
C:\grldr=ubuntu
=======================================================
(这样改应该可以,请高手看一看,有错请指正)
你的/boot/grub/menu.lst 不用修改了
改后其实也是选择两次,只是把时间设置为0,可以让它自己进去,第2次要自己选择而已。
============================================
这个文件是windows的boot.ini文件内容:
[boot loader]
timeout=0
default=C:\grldr
[operating systems]
multi(0)disk(0)rdisk(0)partition(1)\WINDOWS="Microsoft Windows XP Professional" /noexecute=optin /fastdetect
C:\GHLDR=一键GHOST v11.0 Build 070707
C:\grldr=ubuntu
=======================================================
(这样改应该可以,请高手看一看,有错请指正)
你的/boot/grub/menu.lst 不用修改了
改后其实也是选择两次,只是把时间设置为0,可以让它自己进去,第2次要自己选择而已。
- leozzyi
- 帖子: 45
- 注册时间: 2007-11-05 1:22
这样不行!~~~weiwei330 写了:回复8楼: 红色的是我修改你的,你试试
============================================
这个文件是windows的boot.ini文件内容:
[boot loader]
timeout=0
default=C:\grldr
[operating systems]
multi(0)disk(0)rdisk(0)partition(1)\WINDOWS="Microsoft Windows XP Professional" /noexecute=optin /fastdetect
C:\GHLDR=一键GHOST v11.0 Build 070707
C:\grldr=ubuntu
=======================================================
(这样改应该可以,请高手看一看,有错请指正)
你的/boot/grub/menu.lst 不用修改了
改后其实也是选择两次,只是把时间设置为0,可以让它自己进去,第2次要自己选择而已。
我刚刚式了,结果默认启动到windows里面去了!