Quote:
Originally posted by madhead
When you say you had this exact same problem. Do you mean you also have a AMD k6 II 500Mhz machine?
|
LoL. I have an AMD K6-II+ @ 500 Mhz on a VIA MVP3
. So, it might be a hardware issue at last. Ok, on with the kernel... there are quite a few threads on the forum about compiling/recompiling a kernel...
1. Make sure you have the kernel-source package installed. Chrooting from a rescue mode should give you just enough power to do that.
2. cd /usr/src/linux
3. make menuconfig - this is the step where you customise your kernel to match your hardware (preferably). Leaving the default options would fill your kernel with a pile of crap (a.k.a drivers for hardware you'd never consider even buying). This took me as long as it took to actually compile the kernel. (read: a lot). It's best not to compile the experimental drivers (plus, it disables quite a few options). Make sure you compile your IDE/ATA-xxx drivers and the driver for the filesystem on the root in the kernel (not as a module). It's a good ideea compiling ext3/jfs/xfs/reiserfs all as built-in. Less headaches.
Don't hurry doing this. Wrong options may lead to an unbottable if not unusable kernel. The key-element: trial-error.
4. make
5. make modules_install - this will make sure the kernel finds all the drivers it needs after boot-up. (I was able to boot up a kernel with no modules but those built-in, but it's not so nice with no 3D, sound, net and some other stuff)
6. make install - this will create an initrd appropiate to your install. If it doesn't detect your root filesystem correctly, the initrd will fail and it will end with a Kernel panic: No root found. Please make sure to pass an int=... to the kernel (or something like this). In case this happens, youd' load the freshly compiled vmlinuz and the stock initrd that was installed with the distro. It's ugly, but you can boot up and make a new correct initrd.
make install will also make sure to install itself in /boot and update the bootloader configs accordingly. You might want to double-check them.
This was the crash-course in kernel compilation. Make sure you know your hardware (use Windows to help you out if necessary) before doing anything. Saves a lot of time and energy