Linux - SoftwareThis forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
Hello everybody, This is my problem : when I compile the kernel (2.6.7), and after finishing the whole process -> and I restart the computer I get this error message" VFS: unable to mount root fs on HDB1 ( and sth like an error 341)" .
I have tried many things in order to solve this problem but it seems that I am missing something. Below are the setps that I have followed the last time that i compiled my Kernel.:
1.Extract the Kernel in a folder named Linux-2.6.7
2.make menuconfig ......etc
3.make bzImage
4.make modules
5.make modules_install install
6.cp /usr/src...../bzimage /boot/vmlinuz
7.cp /usr/src/linux/system.map /boot/system.map
Also I have deleted the Linux folder in /usr/src and i made a new symbolic link between /usr/src/linux and /usr/src/linux-2.6.7
I have also tried to run make mrproper prior to installation
and the process used in older kernels like make dep.... etc.
I found a guide in the forum that tells u to copy the file config inside the /boot but I cannot find that file.
Well it didn't work. when I did /sbin/mkinitrd-2.6.7.img 2.6.7 it didnt work. What i did next was to type man mkinitird , mkinit ...etc. I could not find anything.
==================================
srichand
from the kernel source directory, do a
# /sbin/mkinitrd initrd-2.6.7.img 2.6.7
copy this initrd-2.6.7.img to your boot partition and add the following to your grub conf line
title Kernel 2.6.7
root (hdx,y)
kernel /kernel.img -- whatever your kernel image is
initrd /initrd-2.6.7.img -- the image we just created
No shouldn't make any difference.....I just wonder why you dont use the debian way of installing a kernel
as root:
apt-get install kernel-source-2.6.7
cd /usr/src
tar jxvf kernel-source-2.6.7.tar.bz2
ln -s kernel-source-2.6.7 linux
make sure you have done an apt-get install kernel-package debhelper dpkg-dev
If you are going to use menuconfig you will be required to install libncurses5-dev by doing: apt-get install libncurses5-dev
cd linux
make oldconfig
make menuconfig
make-kpkg clean
make-kpkg --initrd (if you need it*) --append-to-version=.ddmmyyyy --revision=ddmmyyyy kernel_image
dpkg -i /usr/src/kernel-image-2.6.7-ddmmyyyy.deb
or if you don't have any reason to compile your own kernel and just want it to run. you could:
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.