Re: Linux-image-2.6.25 won't boot - target filesystem error -SOLVED
On 30 Jun 2008, Andrei Popescu wrote:
> On Mon, Jun 30, 2008 at 03:28:10PM +0100, Anthony Campbell wrote:
> > > Uh-oh, speaking of initrds: I forgot that in my previous message; you
> > > should probably rebuild it if you change your fstab to labels or UUIDs.
> > How do you do that? I changed to UUID and I got the same message with
> > 2.6.25 although 2.6.23 still boots normally. I don't know how you would
> > rebuilt initrds.
> dpkg-reconfigure linux-image-...
> If you can't explain it simply, you don't understand it well enough.
> (Albert Einstein)
Well, I finally found the answer but it's very odd. I don't think it
should work but it does. I put the "wrong" root entry in
/boot/grub/menu.lst. All previous kernels have had /dev/hdb9 but this
kernel seems to need /dev/hdb10. Here is the relevant section of the
title Debian GNU/Linux, kernel 2.6.25-2-amd64
kernel /boot/vmlinuz-2.6.25-2-amd64 root=/dev/hdb10 ro
title Debian GNU/Linux, kernel 2.6.25-2-amd64 (recovery mode)
kernel /boot/vmlinuz-2.6.25-2-amd64 root=/dev/hdb10 ro single
title Debian GNU/Linux, kernel 2.6.23-1-amd64
kernel /boot/vmlinuz-2.6.23-1-amd64 root=/dev/hdb9 ro
title Debian GNU/Linux, kernel 2.6.23-1-amd64 (recovery mode)
kernel /boot/vmlinuz-2.6.23-1-amd64 root=/dev/hdb9 ro single
I don't understand this at all.
Anthony Campbell - email@example.com
Microsoft-free zone - Using Debian GNU/Linux
http://www.acampbell.org.uk (blog, book reviews,
and sceptical articles)