QQ登录

只需一步,快速开始

 找回密码
 注册

QQ登录

只需一步,快速开始

查看: 1370|回复: 7

如何用grub引导slackware10.2?

[复制链接]
发表于 2006-7-9 19:22:22 | 显示全部楼层 |阅读模式
我已经有了magiclinux和winxp。原来的grub选项有dos和magiclinux,dos里有winxp和ghost两个选项,但是我现在装了slackware后grub没有显示slackware的引导选项。请问怎么用grub引导slackware?
ps:忘了grub是不是装在MBR了。但是用ghost还原winxp后,grub还可以用。还可以选择启动xp和magic。
发表于 2006-7-9 20:13:45 | 显示全部楼层
似乎slack只能用lilo,不确定
回复

使用道具 举报

发表于 2006-7-9 20:19:17 | 显示全部楼层
先安装上grub
后修改grub.conf
最后才按精华里的方法重新安装grub到mbr
回复

使用道具 举报

 楼主| 发表于 2006-7-9 20:19:42 | 显示全部楼层
不可能吧?我去查过了,好象可以呢?不过我不知道怎么弄啊?我弄了一下午呢
回复

使用道具 举报

 楼主| 发表于 2006-7-9 21:06:34 | 显示全部楼层
[quote:15af9e919e="fox_eagle2003"]先安装上grub
后修改grub.conf
最后才按精华里的方法重新安装grub到mbr[/quote]
我主要的是不懂要怎么修改grub。conf
请问怎么弄呢?谢谢了! :D
回复

使用道具 举报

发表于 2006-7-9 21:14:22 | 显示全部楼层
还以为是什么事呢!
搜索一下论坛里的grub.conf
然后照着他们的改不就成了?
先说说你的分区情况
回复

使用道具 举报

 楼主| 发表于 2006-7-10 11:40:51 | 显示全部楼层
我的分区是这样的:hda (c 1hda5(Dhda6(swap)hda7(magiclinux)hda8(slackware) :-)
回复

使用道具 举报

发表于 2006-7-11 01:00:46 | 显示全部楼层
# grub.conf generated by anaconda
#
# Note that you do not have to rerun grub after making changes to this file
# NOTICE: You do not have a /boot partition. This means that
# all kernel and initrd paths are relative to /, eg.
# root (hd0,6)
# kernel /boot/vmlinuz-version ro root=/dev/hdb7
# initrd /boot/initrd-version.img
#boot=/dev/hdb7
default=1
timeout=10
splashimage=(hd0,6)/boot/grub/splash.xpm.gz
title Red Hat Linux (2.4.20- )
root (hd0,6)
kernel /boot/vmlinuz-2.4.20-8 ro root=LABEL=/
initrd /boot/initrd-2.4.20-8.img
title DOS
rootnoverify (hd0,0)
chainloader +1


你看用于引导slackware的那两个文件叫什么?
就是lilo.conf里写的那两个核心文件
我也只用lilo
回复

使用道具 举报

您需要登录后才可以回帖 登录 | 注册

本版积分规则

GMT+8, 2024-9-22 19:47 , Processed in 0.078209 second(s), 16 queries .

© 2021 Powered by Discuz! X3.5.

快速回复 返回顶部 返回列表