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.
I have a problem with my Debian (SID 3.1). Actually i have problem compiling a new kernel (2.6.8). After running make menuconfig, make, make modules_install, make install, i realize that the initrd.img-2.6.8 file is missing from /boot, so I tried to make it myself:
mkinitrd -o /boot/initrd-2.6.8.img 2.6.8
and the reply was:
cpio: /etc/modprobe.conf: No such file or directory
cpio: /lib/modules/modprobe.conf: No such file or directory
and makes the file.
Then I edit my grub bootloader, and reboot.
When i select the new entry in to boot from, after a few lines of text, stops with this error message:
VFS: Cannot open root device "hde2" or unknown-block(0,0)
Please append a correct "root=" boot option.
Kernel panic: VFS: Unable to mount root fs on unknown-block(0,0)
I suppose it can't find my Serial ATA disk, and I'm sure that the drivers are compiled in the new kernel (not as modules).
If anyone has any idea how to fix this problem, do not hesitate to send it.
Have you run a 2.6 series kernel prior to this upgrade? If not you will need to install module-init-tools, which is required by the 2.6 series of the kernel.
Also, check out make-kpkg. It makes building Debian packages of locally built kernels very easy as it automatically updates your Grub/Lilo setup and more.
Håkan
Edit:The package that provides make-kpkg is called kernel-package, so just apt-get it.
Hmmm. On another note - what SATA drivers did you use? If you use the (preferred) libata drivers under SCSI low level drivers in the kernel configuration, and you previously used the drivers provided in ATA/IDE devices, the device names will have changed from /dev/hde to /dev/sda and so on.
Thanks very much!
I canged the hde to sda, and it worked!
Ofcourse compileing won't be fun if there weren't any more errors :-)
Now i'm getting this message:
pivot_root: No such file or directory
/sbin/init: 424: cannot open dev/console: No such file
Kernel panic: attempt to kill init!
I looked in /dev for the console, and I find it, I eaven gave everyove every permition.
Maybe it's because that cpio error that I get when makeing mkinitrd.
Thanks very much!
I changed the hde to sda, and it worked!
Of course compiling won't be fun if there weren't any more errors :-)
Now i'm getting this message:
pivot_root: No such file or directory
/sbin/init: 424: cannot open dev/console: No such file
Kernel panic: attempt to kill init!
I looked in /dev for the console, and I find it, I even gave everyone every permission.
Maybe it's because that cpio error that I get when makeing mkinitrd.
Do you have devfs in your kernel? I think it is needed. Also try adding "devfs=mount" to the parameters passed to the kernel. In Grub, simply append "devfs=mount" (without quotes) to the kernel line. If you use Lilo, edit /etc/lilo.conf and add:
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.