AlexP
07-28-2002, 01:46 PM
I have 7.2 Redhat Linux, and I want to run it on my Laptop just to learn the various Web technologies etc.
I have never managed to run Linux and I am a complete begginer.
I have a complete manual of Linux 7.2 so I prefer that I keep 7.2 and upgrade the kernel.
Kernels 2.4.16 and above are the only known to work on my AMD based Sony VAIO PCG - FX201 laptop. But I can't change the Kernel.
I am trying to change Linux's 7.2 Kernel to newest 2.4.18 version in order to make it run on my laptop. It seems that I got stuck and I can't proceed.
First of all I copied the new kernel file in folder "Temp" in windows. In C:\Temp
Now in Linux, in the shell (a command prompt for DOS people) I run the following command:
chroot /mnt/sysimage
Note: All this command is doing is basically setting the root of the tree to a directory two steps down from the root. This is useful if you are doing any compiling, as you will be doing in just a few minutes.
Next I create a directory to temporarily store the kernel source. For this I created a directory as follows:-
cd /usr
mkdir kernelsrc
cd /kernelsrc
Next I copy the kernel image from the windows partition using the following commands:
mkdir /cdrive
mount -t vfat /dev/hda1 /cdrive
cd /cdrive/temp
It seems that I stick here. It says "No such folder or File"
I can't apply the following command as well:
cp * /kernelsrc
Sorry people, but what have I done wrong here???
It seems that it sucks so much when I spend so many hours for something that could be solved in just 1 minute.
Any help appreciated:
Thanks for your time. I can even pay for good detailed advices, ( But I doubt that Redhat could ever bother to give me any advice..)
ALex
---------------------
I have never managed to run Linux and I am a complete begginer.
I have a complete manual of Linux 7.2 so I prefer that I keep 7.2 and upgrade the kernel.
Kernels 2.4.16 and above are the only known to work on my AMD based Sony VAIO PCG - FX201 laptop. But I can't change the Kernel.
I am trying to change Linux's 7.2 Kernel to newest 2.4.18 version in order to make it run on my laptop. It seems that I got stuck and I can't proceed.
First of all I copied the new kernel file in folder "Temp" in windows. In C:\Temp
Now in Linux, in the shell (a command prompt for DOS people) I run the following command:
chroot /mnt/sysimage
Note: All this command is doing is basically setting the root of the tree to a directory two steps down from the root. This is useful if you are doing any compiling, as you will be doing in just a few minutes.
Next I create a directory to temporarily store the kernel source. For this I created a directory as follows:-
cd /usr
mkdir kernelsrc
cd /kernelsrc
Next I copy the kernel image from the windows partition using the following commands:
mkdir /cdrive
mount -t vfat /dev/hda1 /cdrive
cd /cdrive/temp
It seems that I stick here. It says "No such folder or File"
I can't apply the following command as well:
cp * /kernelsrc
Sorry people, but what have I done wrong here???
It seems that it sucks so much when I spend so many hours for something that could be solved in just 1 minute.
Any help appreciated:
Thanks for your time. I can even pay for good detailed advices, ( But I doubt that Redhat could ever bother to give me any advice..)
ALex
---------------------
