LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Hardware (https://www.linuxquestions.org/questions/linux-hardware-18/)
-   -   Installation of Vanilla kernel on SCSI disk (https://www.linuxquestions.org/questions/linux-hardware-18/installation-of-vanilla-kernel-on-scsi-disk-617064/)

pprs project 01-29-2008 03:08 AM

Installation of Vanilla kernel on SCSI disk
 
I have installed Suse 10.1 linux on my laptop(IBM) with 20GB partition. I was trying to install vanilla kernel (version-2.6.21.5). But it is not working properly. I followed following steps while installing -

1. tar -xvf linux-2.6.21.5.tar
2. cp /boot/config-2.6.16.13-4-default ./.config
3. mrproper
4. makexconfig (here i enabled all SCISI options)
5. make
6. make modules
7. make modules_install
8. make install
9. yast

After this, i reboot my laptop and selected vanilla kernel. At this time, it went into shell and no command was working except few basic commands like ls,etc.
Can you suggest any solution for this problem?

Lenard 01-29-2008 05:49 AM

Wrong order, try again from the usr/src/linux-2.6.21.5 directory location;

make clean
cp /boot/config-2.6.16.13-4-default ./.config
make xconfig
make
make modules_install
make install

In the future do it in this order;

1. tar -xvf linux-2.6.21.5.tar
2. mrproper
3. cp /boot/config-2.6.16.13-4-default ./.config
4. makexconfig (here i enabled all SCISI options)
5. make
6. make modules_install
7. make install
8. yast

I'm not sure the last command is needed or not. You created the .config file before running make mrproper which is not a good idea.


All times are GMT -5. The time now is 12:08 AM.