Re: Linux-image-2.6.25 won't boot - target filesystem error -SOLVED
On 01 Jul 2008, Andrei Popescu wrote:
> On Tue, Jul 01, 2008 at 10:02:39AM +0100, Anthony Campbell wrote:
>
> > 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:
>
> Just use labels and you'll never need to worry about this stuff. Find
> the line starting with '# kopt' and edit to your needs. Here is mine:
>
> $ grep ^#\ kopt /boot/grub/menu.lst
> # kopt=root=LABEL=sid ro vga=791
>
> Don't forget to run 'update-grub' as root afterwards.
>
I don't understand label in this context. Where is it set?
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: