Re: Linux-image-2.6.25 won't boot - target filesystem error -SOLVED
- To: firstname.lastname@example.org
- Subject: Re: Linux-image-2.6.25 won't boot - target filesystem error -SOLVED
- From: Anthony Campbell <email@example.com>
- Date: Tue, 1 Jul 2008 10:02:39 +0100
- Message-id: <20080701090239.GA4545@acampbell.org.uk>
- Mail-followup-to: firstname.lastname@example.org
- In-reply-to: <20080630162258.GA30501@think.homenet>
- References: <20080630091401.GA4126@acampbell.org.uk> <20080630121711.GL4859@think.homenet> <20080630124543.GA4337@acampbell.org.uk> <20080630125307.GA23813@pc0197> <20080630142810.GA4109@acampbell.org.uk> <20080630162258.GA30501@think.homenet>
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)