|
楼主 |
发表于 2003-5-22 22:26:53
|
显示全部楼层
my /etc/fstab:
LABEL=/ / ext2 defaults 1 1
none /dev/pts devpts gid=5,mode=620 0 0
none /proc proc defaults 0 0
none /dev/shm tmpfs defaults 0 0
/dev/hde8 swap swap defaults 0 0
/dev/hde5 /mnt/d vfat umask=022,iocharset=cp936 0 0
/dev/hde6 /mnt/e vfat umask=022,iocharset=cp936 0 0
/dev/hde9 /mnt/f vfat umask=022,iocharset=cp936 0 0
/dev/hde10 /mnt/g vfat umask=022,iocharset=cp936 0 0
/dev/hde11 /mnt/h vfat umask=002,iocharset=cp936 0 0
/dev/hdf5 /mnt/j vfat umask=022,iocharset=cp936 0 0
/dev/cdrom /mnt/cdrom iso9660 noauto,owner,kudzu,ro 0 0
my /boot/grub/grub.conf
# 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/hdc7
# initrd /boot/initrd-version.img
#boot=/dev/hdc
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 ro root=/dev/hde6
initrd /boot/initrd-2.4.20.img
title Red Hat Linux (2.4.18-14)
root (hd0,6)
kernel /boot/vmlinuz-2.4.18-14 ro root=LABEL=/
initrd /boot/initrd-2.4.18-14.img
title DOS
rootnoverify (hd0,0)
chainloader +1
my new kernel is 2.4.20
today,i try the other way:
run 'make install' after 'make modules_install'
then have the same result
such as:
kmod:failed to exec /sbin/modprobe -s -k nls_cp437,errno=2
failed to exec /sbin/modprobe -s -k nls_iso8859-1,errno=2
failed to exec /sbin/modprobe -s -k nls_iso8859-1,errno=2
failed to exec /sbin/modprobe -s -k nls_iso8859-1,errno=2
Warning:unable to open an initial console
kernel panic:No init found.Try passing init= option |
|