rjyang 发表于 2004-8-19 14:26:20

grub.conf文件丢了

请问大虾,grub.conf文件丢了是不是要手工touch一个,然后手工把内容添进去?有更好的办法吗? :roll:

12543122 发表于 2004-8-19 14:49:21

按照下面的自己写一个就可以了。

# 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

rjyang 发表于 2004-8-19 17:15:47

OK,受下,谢谢!!!!!!!!!!!!!!!! :lol:

jackzheng2002 发表于 2004-8-27 19:23:13

:)
页: [1]
查看完整版本: grub.conf文件丢了