[Linux-disciples] Unable to mount root fs on unknown-block(0,0)
Adam Kessel
adam at rosi-kessel.org
Sat Jun 19 11:31:06 EDT 2004
Yup, that was me (the Debian link).
I could never figure out this problem. Kernels 2.6.x work on most of my
systems, except that one where I always get the unknown-block error.
Apparently there are many different causes for that error. I received
several suggestions, but none of them worked.
It's rather amazing that it worked once for you, though.
I don't really have any advice or ideas; it sounds like your errors might
be from an outdated version of gcc etc.?
Also, you probably shouldn't be doing make makeinstall etc., you should
use the Debian kernel tools, kernel-package.
You build the kernel with:
fakeroot make-kpkg kernel_image
or if you want to give it a name
fakeroot make-kpkg --append-to-version=-karl kernel_image
Or
fakeroot make-kpkg --append-to-version=-karl --revision=1 kernel_image
And then install the resulting DEB file. Try that and see if you still
get ldd errors.
On Fri, Jun 18, 2004 at 08:11:58AM -0700, Karl Sokol wrote:
> I have been spending the last week trying to upgrade
> to 2.6.6 from 2.2.20-idepci on my debian machine. I
> continually get "Unable to mount root fs on
> unknown-block(0,0)". That is, except for once, when
> it in fact worked (as checked with uname -a).
> Unfortunately, I do not know how I had things set up.
> I then went and changed some of the modules (make
> menuconfig; make; make modules install) and I am back
> to Unable to mount root fs on unknown-block(0,0). I
> learned a valuable lesson about documentation. I have
> done a bazillion different combinations of modules to
> no luck. I have done a very thorough google search,
> including a rather disheartening
> http://lists.debian.org/debian-user/2004/04/msg11005.html
> to no avail.
>
> My scrambled mind thinks that when it worked, I had
> compiled the kernel repeating a step twice, per
> something that I read on a web-site. I have not been
> able to find that site.
>
> It is undoubtedly connected to the rather early
> problem of...
> "Setting up kernel-image-2.6.6-1-k7 (2.6.6-1) ...
> ldd: /lib/ld-linux.so.2 exited with unknown exit code
> (139)
> Failed to create initrd image.
> dpkg: error processing kernel-image-2.6.6-1-k7
> (--configure):
> subprocess post-installation script returned error
> exit status 9
> Errors were encountered while processing:
> kernel-image-2.6.6-1-k7
> E: Sub-process /usr/bin/dpkg returned an error code
> (1)
> Ack! Something bad happened while installing
> packages. Trying to recover:
> Setting up kernel-image-2.6.6-1-k7 (2.6.6-1) ...
> ldd: /lib/ld-linux.so.2 exited with unknown exit code
> (139)
> Failed to create initrd image.
> dpkg: error processing kernel-image-2.6.6-1-k7
> (--configure):
> subprocess post-installation script returned error
> exit status 9
> Errors were encountered while processing:
> kernel-image-2.6.6-1-k7"
>
> What puzzles me is how I got it to work at all.
>
> Any ideas?
>
>
> =====
> Grace and peace,
> Karl
>
>
>
> __________________________________
> Do you Yahoo!?
> Yahoo! Mail is new and improved - Check it out!
> http://promotions.yahoo.com/new_mail
> _______________________________________________
> Linux-disciples mailing list
> Linux-disciples at lists.bostoncoop.net
> http://lists.bostoncoop.net/mailman/listinfo/linux-disciples
--
Adam Kessel
http://adam.rosi-kessel.org
More information about the Linux-disciples
mailing list