[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

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-...
> 
> 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: