The instructions for FreeS/WAN require a kernel with source a tree.  I followed the instructions recommended by the docs at http://www.tldp.org/HOWTO/Kernel-HOWTO-2.html#ss2.4.  Please read the error and process below and offer any suggestions you may have.

Best regards,
Chris



When I try to reboot, I get the following error:

***************************************************************************************
NET4: Unix domain sockets 1.0/SMP for Linux NET4.0.ds: no socket drivers loaded!
request_module[block-major-8]: Root fs not mounted
VFS: Cannot open root device "sda2" or 08:02
Please append a correct "root=" option
Kernel panic: VFS: Unable to mount fs on 08:02
****************************************************************************************


Below is a summary of what I did to build the kernel:

****************************************************************************************
bash$ su - root
bash# cd /mnt/cdrom/RedHat/RPMS
bash# rpm -i kernel-headers*.rpm
bash# rpm -i kernel-source*.rpm
bash# rpm -i dev86*.rpm  
bash# rpm -i bin86*.rpm  

bash# cd /usr/src/linux-2.4.9-31
bash# make xconfig

bash# rpm -i /mnt/cdrom/Redhat/RPMS/modutils*.rpm

bash# make dep

bash# make clean

bash# cd /usr/src/linux-2.4.2-31
bash# man nohup
bash# nohup make bzImage & 
bash# man tail
bash# tail -f nohup.out     (.... to monitor the progress)

bash# cp /usr/src/linux/arch/i386/boot/bzImage     /boot/bzImage.myker.20020503smp

vi /boot/grub/grub.conf
****************************************************************************************


Lines added to /boot/grub/grub.conf

****************************************************************************************
title Red hat Linux-up (2.4.9-31smp with SOURCE)
        root (hd0,0)
        kernel /bzImage.myker.20020503smp no root=/dev/sda2
****************************************************************************************

Reply via email to