SlackwareThis Forum is for the discussion of Slackware Linux.
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 get the following error during the boot process:
mount: mounting /dev/sda9 on /mnt failed: No such device or address
ERROR: mount returned error code 1. Trouble ahead.
mount: Mounting /dev/sda9 on /mnt failed: Invalid argument
/boot/initrd.gz: exiting
where /sda9 is my root directory.
My lilo config file, fstab and my /boot/initrd-tree seems to be correctly configured, however my load_kernel_modules file is empty (apart from a few comment lines), is that correct?
Support for ext3 was compiled as part of the kernel (2.6).
sdXX(sda9) indicates this is a SATA drive, inwhich case you need to compile SATA support into the kernel.
or build an initrd file containing the SATA module.
SATA modules differ by interface manufacturer, check your motherboard manual.
I included support for Sata into the kernel (two sata drivers I selected, one of them being VIA which is also the chipset of my mb). I checked all the kernel options before I compiled. I can't think of what I could have forgotten, (ext3 and sata was compiled in the kernel and not as module). I am also puzzled by the load_kernel_module file being empty.
I was wondering about this file as it is empty, so useless. Do I have to fill it manually, can't imagine. I can't think of anything I did wrong in building the initrd-tree directory.
This is my fstab, I can't find anything wrong there either, and indeed why it wants to mount /sda9 on /mnt; seems rather nonsensical.
I removed the initrd line and now I got another error, something similar I had earlier:
VFS: Cannot open root device "809" or unknown-block (8,9)
Please append a correct "root=" boot option
Kernel panic - not syncing: VFS: Unable to mount root fs on unknown-block (8,9)
I'll check tomorrow, but I am almost sure I have.
I've always prefered Slackware, but this time it gives me the impression I don't understand much of it.
Take yourself some time, it is not slackware fault
Hardware becomes more and more sophisticated and
then the linux kernel too, so you need to take
some time to learn to enable the right things in
the kernel compilation
Last edited by keefaz; 11-05-2006 at 04:07 PM.
Reason: yes sophisticated :)
I checked scsi support in the compile options and this is what I had:
SCSI device support <m>
legacy /proc/scsi/support
scsi low level drivers:
serial ata support <m>
VIA sata support <m>
Support for Sata (deprecated: conflicts with Libata sata driver) I didn't select instead I selected the above options as the sata driver was now part of the scsi controller, so I understand, although reference to the Libata driver I didn't find in the helpsection.
I rebuilt my kernel and modules. I replaced the modules above by in-kernel built (as I did with filesystem support).
This resulted in a kernel panic error similar to what I had previously.
My load_kernel_module file was empty again. I was wondering whether it should contain the contents of the file modules.conf which was configured by alsaconf, although that has no priority at this moment.
I built the initrd-tree as follows:
mkinitrd -f ext3 -k 2.6.17.13 -r /dev/sda9
I don't know what's going wrong here and there is nothing special about my hardware.
That is what I did and wrote in my previous mail. Those compile options given I built in the kernel, * instead of m
When I removed the initrd section this time, I got the following error:
VFS: Cannot open root device "<NULL>" or unknown-block(8,9)
Please append a correct "root=" boot option
Kernel panic - not syncing: VFS: Unable to mount root fs on unknown-block (8,9)
The bootloader is in the root section, /sda9, not in the MBR. Could that make any difference?
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.