分页: 1 / 1
用Win loader引导 linux要怎么做。。。麻烦大家给出个主题好吗?
发表于 : 2005-12-12 14:29
由 yanguang
装了好多此都是不理想。。。用grub虽然能引导。。。但是这样好像PowerMgaic会认为磁盘分区错误。。。
救命啊。。。我要怎么做。。。我想用XP的引导程序来引导linux。。。请问。。。在luinx安装过程中询问我要不要把grub安装到mbr中时我改怎么选择??
我不想装在MBR中那????请大家帮帮忙。。。谢谢了、、、我初接触LINUX很多东西不会。。。
发表于 : 2005-12-12 17:12
由 phoenix
把GRUB装在linux所在分区,然后用bootpart添加linux到xp的启动菜单。
bootpart有google可以搜索到。
发表于 : 2005-12-13 12:39
由 yanguang
把GRUB装在linux所在分区???这个步骤要怎么做那???
发表于 : 2005-12-13 12:46
由 gnix_oag
用 grub for dos
发表于 : 2005-12-13 12:55
由 yanguang
还是不明白哦。。。。我只到要用grub for dos。。但是要怎么把grub装到linux分区那????xp下不能写linux分区的啊
Re: 用Win loader引导 linux要怎么做。。。麻烦大家给出个主题好吗?
发表于 : 2005-12-13 14:18
由 phoenix
yanguang 写了:在luinx安装过程中询问我要不要把grub安装到mbr中时我改怎么选择??
我不想装在MBR中那????请大家帮帮忙。。。谢谢了、、、我初接触LINUX很多东西不会。。。
在这一步选择不装到MBR,然后装到你的linux所在的分区,比如hdan之类的。
发表于 : 2005-12-14 0:25
由 yanguang
出现问题拉。。。。
在luinx安装过程中询问我要不要把grub安装到mbr中时我改怎么选择??
我不想装在MBR中那????请大家帮帮忙。。。谢谢了、、、我初接触LINUX很多东西不会。。。
在这一步选择不装到MBR,然后装到你的linux所在的分区,比如hdan之类的。
可是当我选择安装到 Linux所在分区之中。。。时。。。可以安装成功。。。可是当重启之后。。。变出现系统无法引导。。。。提示找不到系统盘。。。
有人可以教下我怎么做吗??、
发表于 : 2005-12-14 0:49
由 yanguang
这个是我的linux里面boot目录下的grub menulist。。。。那里出错了那??
# 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'.
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 specifiv 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=root=/dev/hda8 ro
## 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
## 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
## nonaltoption boot targets option
## This option controls options to pass to only the
## primary kernel menu item.
## You can have ONLY one nonaltoptions line
# nonaltoptions=quiet splash
## 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
## ## End Default Options ##
title Ubuntu, kernel 2.6.12-9-386
root (hd0,7)
kernel /boot/vmlinuz-2.6.12-9-386 root=/dev/hda8 ro quiet splash
initrd /boot/initrd.img-2.6.12-9-386
savedefault
boot
title Ubuntu, kernel 2.6.12-9-386 (recovery mode)
root (hd0,7)
kernel /boot/vmlinuz-2.6.12-9-386 root=/dev/hda8 ro single
initrd /boot/initrd.img-2.6.12-9-386
boot
title Ubuntu, memtest86+
root (hd0,7)
kernel /boot/memtest86+.bin
boot
### 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/hda1
title Windows XP Professional Service Pack 2
root (hd0,0)
savedefault
chainloader +1
发表于 : 2005-12-14 0:51
由 yanguang
我成功的把grub 放置到 liunx的目录里面去了。。。。
但是启动错误。。。。各位能帮我看看是什么地方出错了吗??
谢谢大家了
发表于 : 2005-12-14 0:55
由 yanguang
一下是我的 Partition List
hd(0,0) C: FAT32
hd(0,1) EXTendedX FAT32
hd(0,4) D: FAT32
hd(0,5) E: FAT32
hd(0,6) linux Swap
hd(0,7) linux Ext2
发表于 : 2005-12-14 9:54
由 phoenix
启动时能出现grub的菜单吗?选择xp能正常启动吗?
我在MBR和linux所在分区都装了GRUB,没有任何问题。
发表于 : 2005-12-14 10:27
由 szdino
我觉得对你我这样的菜鸟,用这种方法来接触、安装linux是非常明智的。只要留出足够的空间,一次设置好,就可随意安装或重新安装不同的linux版本。我现在电脑里装了四个发行版本,安装时全都是选择不安装到mbr,所有的启动、安装都通过安装在windows启动分区的grub进行调整,很方便,你可以参考一下:
1、首先按照下面的方法安装grub到你的windows启动分区。
http://fedora.linuxsir.org/main/?q=node/37
2、编辑c:\grub\menu.lst:
timeout 15 (启动等待时间)
default 0 (默认从第一个选项启动,依此类推)
title Start Windows (启动C盘的windows)
root (hd0,0)
chainloader +1
title Start ubuntu (启动安装在hda8的ubuntu)
root (hd0,7) (是根据你的分区情况填的,如果改动要相应调整)
kernel /boot/vmlinuz-2.6.12-9-386 root=/dev/hda8 ro quiet splash
initrd /boot/initrd.img-2.6.12-9-386 (后面的数字在升级了内核后要做相应的调整,上同)
boot
title Install Ubuntu form iso-file (用放在hda6-fat32分区中的iso文件来硬盘安装)
root (hd0,5)
kernel /vmlinuz root=/dev/ram ramdisk_size=20000 devfs=mount,dall vga=791
initrd /initrd.gz
boot
3、安装ubuntu时,到了"是否写到mbr"选项时,选择否,在下一个页面中什么都不要填,直接按回车,会出现两个提示,不管,继续。。在后面出现的安装选项菜单中选择“不安装bootloader”(大概是这个意思,具体词语忘了)
,然后跟着提示作,重启,就可以了。
4、一般情况下,在选择不安装到mbr时(不安装bootloader),安装好的linux的/boot下是没有menu.lst文件的。不同版本的linux启动参数会有些不同,安装别的版本时,发帖请好心的网友把他的menu.lst貼上来,把相应的字段拷贝到上面的文件里去,就可以正常启动了。另外,“savedefault ”这行字最好不要加到上面去,不知为什么,我加了总是死循环,去掉就好了。。。
当然,在grub菜单中也可手动输入启动、安装linux,还可加入启动画面,grub很好用,多研究一下吧。。