QQ登录

只需一步,快速开始

 找回密码
 注册

QQ登录

只需一步,快速开始

查看: 814|回复: 0

编译好内核后改grub.conf的问题

[复制链接]
发表于 2004-12-18 00:23:06 | 显示全部楼层 |阅读模式
编译完内核后
cp arch/i386/boot/bzImage /boot/vmlinuz-mykernel
原来的grub.conf
# 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,0)
#          kernel /boot/vmlinuz-version ro root=/dev/hda1
#          initrd /boot/initrd-version.img
#boot=/dev/hda
default=0
timeout=10
splashimage=(hd0,0)/boot/grub/splash.xpm.gz
title Red Hat Linux (2.4.20- A.ZA.A.ZA.Fighting
        root (hd0,0)
        kernel /boot/vmlinuz-2.4.20-8 ro root=LABEL=/
        initrd /boot/initrd-2.4.20-8.img
title Microsoft Windows XP Good Weather
        map (hd0) (hd1)
        map (hd1) (hd0)
        rootnoverify (hd1,0)
        makeactive
        chainloader +1
        boot
append="hdd=ide-scsi"
是不是只要把kernel /boot/vmlinuz-2.4.20-8 改为/boot/vmlinuz-mykernel就行了,
可是不懂initrd这个语句是干什么的,怎么改
您需要登录后才可以回帖 登录 | 注册

本版积分规则

GMT+8, 2024-9-19 19:43 , Processed in 0.039832 second(s), 15 queries .

© 2021 Powered by Discuz! X3.5.

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