QQ登录

只需一步,快速开始

 找回密码
 注册

QQ登录

只需一步,快速开始

查看: 2106|回复: 3

grub.conf文件丢了

[复制链接]
发表于 2004-8-19 14:26:20 | 显示全部楼层 |阅读模式
请问大虾,grub.conf文件丢了是不是要手工touch一个,然后手工把内容添进去?有更好的办法吗?
发表于 2004-8-19 14:49:21 | 显示全部楼层
按照下面的自己写一个就可以了。

[code:1]# 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,5)
#          kernel /boot/vmlinuz-version ro root=/dev/hda6
#          initrd /boot/initrd-version.img
#boot=/dev/hda
default=0
timeout=10
splashimage=(hd0,4)/boot/grub/splash.xpm.gz
title Windows 2000
        rootnoverify (hd0,0)
        chainloader +1
title Slackware 10
        root (hd0,7)
        kernel /vmlinuz ro root=/dev/hda8 vga=0x314
title FreeBSD
        rootnoverify (hd0,2)
        chainloader +1
title Fedora Core (2.6.7-bk21)
        root (hd0,4)
        kernel /boot/vmlinuz-2.6.7-bk21 ro root=/dev/hda5 vga=0x314
        initrd /boot/initrd-2.6.7-bk21.img

[/code:1]
回复

使用道具 举报

 楼主| 发表于 2004-8-19 17:15:47 | 显示全部楼层
OK,受下,谢谢!!!!!!!!!!!!!!!!
回复

使用道具 举报

发表于 2004-8-27 19:23:13 | 显示全部楼层
:)
回复

使用道具 举报

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

本版积分规则

GMT+8, 2024-4-19 02:47 , Processed in 0.207872 second(s), 15 queries .

© 2021 Powered by Discuz! X3.5.

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