Linux - NewbieThis Linux forum is for members that are new to Linux.
Just starting out and have a question?
If it is not in the man pages or the how-to's this is the place!
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.
Introduction to Linux - A Hands on Guide
This guide was created as an overview of the Linux Operating System, geared toward new users as an exploration tour and getting started guide, with exercises at the end of each chapter.
For more advanced trainees it can be a desktop reference, and a collection of the base knowledge needed to proceed with system and network administration. This book contains many real life examples derived from the author's experience as a Linux system and network administrator, trainer and consultant. They hope these examples will help you to get a better understanding of the Linux system and that you feel encouraged to try out things on your own.
Click Here to receive this Complete Guide absolutely free.
I've just installed a gentoobox that I'm gonna use as a webserver.
I've been working with linux quite some time but still havent got all the basics togheter, however I managed to install gentoo without anyproblems... until I reboot.
According to the gentoo installationguide my grub.conf is correct, but something is wrong when i get:
VFS: Cannot open root device "hda3" or unknown-block(0,0)
Please append a correct "root=" boot option; here are the available partitions:
Kernel panic - not syncing: VFS: Unable to mount root fs on unknown-block(0,0)
Disk /dev/hda: 15.3 GB, 15382241280 bytes
16 heads, 63 sectors/track, 29805 cylinders
Units = cylinders of 1008 * 512 = 516096 bytes
Device Boot Start End Blocks Id System
/dev/hda1 * 1 969 488344+ 83 Linux
/dev/hda2 970 2678 861336 82 Linux swap / Solaris
/dev/hda3 * 2679 29805 13672008 83 Linux
title Gentoo Linux
kernel /boot/bzImage root=/dev/hda3
I have been looking for something in the kernel that I've missed. But I just cant find it if that is so. I have support for IDE, I hade support for ext3 and porc filesystems. I have even googled alot before asking here, found several with the same issue but their solution didnt help me either.
Anyone got some ideas?
Thx in advanced
Last edited by GeneralDark; 03-06-2008 at 06:34 PM.
... or the filesystem ...
I'd be (more than) mildly surprised if any (moderately) recent Gentoo doesn't have the libata changes included. hda ??? - try sda.
If filesystem support is missing then he'd have some non-zero numbers in the error message. (not unknown-block(0,0))
Gentoo is DIY. In installation process you configure and build your own kernel. Hence it's up to you whether you choose PATA (hdx) or libata (sdx) for your IDE drives.
Building every driver in does not help and can cause conflicts. Use lspci to determine the controller type you have and enable it in the kernel. Knowing your hardware before you install an (any) OS makes life much easier.
Edit: initrd is not required when you build your own kernel, it's needed only in very rare cases if there is no in-kernel drivers for booting hardware.
Ok, no wonder I didnt have the correct driver. lspci have showed me "Intel Corporation 82801AA IDE Controller (rev 02)" and therefore I compiled with support for the inteldriver I found. However, by checking the spec of the motherboard it turned out that it actually used the "iTE IT8712F" controller.
So I went back to the kernel and checked for a driver that would fit.
I didnt find a driver for the IT87-series only for 82 series. How do I resolv this? I have generic drivers kompiled into kernel already.
Also, I have tried to boot the two drivers for the older controllers from the 82series separetly but it still results into the same kernel panic.
Once again, thx for looking into this
I did boot on a live cd (gentoo minimal x86 2007) and used rmmod to remove all modules except for: ipv6 and usbcore. So The driver needed is compiled into the kernel I suppose. How do I find out wicth one it is?
Run lspci -v from a LiveCD and it will tell you what kernel driver is in use for every device. You can also run it with -nv, this will tell you PCI-ID, go to http://kmuto.jp/debian/hcl/ and see what driver can be used.
Sorry if this question is too obvious, just ruling out some simple checks.
1.) Are you sure that the filesystem on /dev/sda3 is ext3.
2.) You may also need to change the devices in fstab if the system is registering your devices sda instead of hda.
Ok, after searching the gentoo forums a while it turned out what IDE driver I should use (the one I used before starting expermanting).
Sp, whats left then? Whot is the problem really? I don have support for ext2, ext3, jfs, ROM, former shm fs, /proc/kcore, kernel automounter 4 support. Am I missing anything?