Jun 23

用win2k/xp的启动管理器引导linux[转] 不指定

choicky , 00:37 , 电脑系统 , 评论(0) , 引用(247) , 阅读(1277) , Via 本站原创 | |
收藏到   [Del.icio.us] [天天] [和讯] [我摘] [天极] [新浪] [博采]
来源:http://bbs.sj.net.cn/cgi-bin/lb5000/view.cgi?forum=51&topic=47

现在不少人装了windows的双重启动,如果再安装linux的话,会出现两次启动菜单,也就必须选择2次。那有没有办法只使用一个启动管理器呢?当然有,这样你就可以直接选择需要启动的系统,不必求助于第三方软件。

1.进入linux,输入以下命令
mount -t vfat /dev/hda1 /mnt/winc
将c盘mount到/mnt/winc下

dd if=/dev/hda of=/mnt/winc/mylinux bs=512 count=1
将主引导记录保存为mylinux

vi /etc/lilo.conf(如果安装的是grub,则修改grub.conf)
将timeout设为0,并确认默认启动选项为linux
保存后执行/sbin/lilo

2.用windows启动盘启动到dos,执行fdisk/mbr。重起后会发现没有lilo启动菜单了,但在win2k的启动管理菜单也没有linux启动选项。不要紧,进入windows,修改boot.ini,在[operating systems]添加一行
c:\linux="linux"
保存退出,至此大功告成,重起后即可看到linux在win2k的启动菜单里了。


最后编辑: choicky 编辑于June 22, 2006 21:48
Tags: , ,

发表评论
表情
emotemotemotemotemotemotemotemot
emotemotemotemotemotemotemotemot
emotemotemotemotemotemotemotemot
emot
打开HTML
打开UBB
打开表情
隐藏
记住我
昵称   密码   游客无需密码
网址   电邮   [注册]