Re: Linux-image-2.6.25 won't boot - target filesystem error -SOLVED
- To: debian-user@lists.debian.org
- Subject: Re: Linux-image-2.6.25 won't boot - target filesystem error -SOLVED
- From: Anthony Campbell <ac@acampbell.org.uk>
- Date: Tue, 1 Jul 2008 10:02:39 +0100
- Message-id: <[🔎] 20080701090239.GA4545@acampbell.org.uk>
- Mail-followup-to: debian-user@lists.debian.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-...
>
> Regards,
> Andrei
> --
> 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
file:
title Debian GNU/Linux, kernel 2.6.25-2-amd64
root (hd1,9)
kernel /boot/vmlinuz-2.6.25-2-amd64 root=/dev/hdb10 ro
initrd /boot/initrd.img-2.6.25-2-amd64
title Debian GNU/Linux, kernel 2.6.25-2-amd64 (recovery mode)
root (hd1,9)
kernel /boot/vmlinuz-2.6.25-2-amd64 root=/dev/hdb10 ro single
initrd /boot/initrd.img-2.6.25-2-amd64
title Debian GNU/Linux, kernel 2.6.23-1-amd64
root (hd1,9)
kernel /boot/vmlinuz-2.6.23-1-amd64 root=/dev/hdb9 ro
initrd /boot/initrd.img-2.6.23-1-amd64
title Debian GNU/Linux, kernel 2.6.23-1-amd64 (recovery mode)
root (hd1,9)
kernel /boot/vmlinuz-2.6.23-1-amd64 root=/dev/hdb9 ro single
initrd /boot/initrd.img-2.6.23-1-amd64
I don't understand this at all.
Anthony
--
Anthony Campbell - ac@acampbell.org.uk
Microsoft-free zone - Using Debian GNU/Linux
http://www.acampbell.org.uk (blog, book reviews,
and sceptical articles)
Reply to: