|
|
发表于 2007-11-9 10:33:33
|
显示全部楼层
那提取出来的:vmlinuz和initrd.img 这两个文件放在哪里呀?
我的GRUB:
[root@Centos hades]# more /etc/grub.conf
# grub.conf generated by anaconda
#
# Note that you do not have to rerun grub after making changes to this
file
# NOTICE: You have a /boot partition. This means that
# all kernel and initrd paths are relative to /boot/, eg.
# root (hd0,4)
# kernel /vmlinuz-version ro root=/dev/hda1
# initrd /initrd-version.img
#boot=/dev/hda
default=0
timeout=3
title CentOS (2.6.23.1)
root (hd0,4)
kernel /vmlinuz-2.6.23.1 ro root=/dev/hda1
initrd /initrd-2.6.23.1.img
title CentOS (2.6.18-8.el5)
root (hd0,4)
kernel /vmlinuz-2.6.18-8.el5 ro root=/dev/hda1
initrd /initrd-2.6.18-8.el5.img
再次感谢,因我只有LINUX,硬盘分区:
/dev/hda1 /
/dev/hda5 /boot
/dev/hda6 swap
/dev/hda7 /home
我通常安装LINUX时,/home是不格式化的,只用hda 1 5 6,然后再通过fstab文件来挂接。 |
|