Linux - HardwareThis forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with 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.
Distribution: OpenBSD 4.6, OS X 10.6.2, CentOS 4 & 5
Posts: 3,660
Rep:
devfs woes
I'm running Mandrake 9.0 with the stock kernel. Everything was fine until I started having problems with my HDD. Apparently there were physical problems with it. I would boot my system off a Knoppix CD and fsck.ext3 on all the partitions of the HDD which would recover the journal, but within a few minutes of booting MDK from the HDD I would start to get write errors.
So I bought a new hard disk, identical to the previous drive. The new hd went on the secondary IDE controller. So now I had HDA as the bad drive and HDC as the good drive. I partitioned the new drive from Knoppix and copied all the files from HDA to HDC with tar. Everything seemed like it went fine.
I changed /etc/fstab so everything was being mounted from HDC. The only thing I didn't switch over was booting (it still booted off of HDA). Just the other day I had more problems with HDA and now it seems pretty much dead (can no longer boot from it). I switched the boot device in the BIOS to boot from HDC and I made sure I ran LILO to install the MBR on HDC (same kernels and everything).
Here's the problem. I can get the boot splash on HDC and select my kernel. If I choose the stock kernel, I get the line that says loading kernel, then four lines that same unknown bridge, assuming transparent, then it hangs. If I choose the failsafe kernel option (which includes nodevfs) it will boot all the way through the kernel to the point where it says "remounting devfs in the proper place" then it halts. It seems to me that the problem is with mounting devfs, but I have no idea why or what I can do to fix it. Everything should be the same as the other hard drive since I copied everything to the correct partitions.
Distribution: OpenBSD 4.6, OS X 10.6.2, CentOS 4 & 5
Posts: 3,660
Original Poster
Rep:
Come to think of it, I'm not so sure it's devfs since I can't seem to find any references to that on my system. Could it be that / isn't being mounted correctly (since checking for devfs would require reading from /)? If so, what would cause a partition to not be mountable at boot when I can mount it with Knoppix?
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.