Re: Linux-image-2.6.25 won't boot - target filesystem error -SOLVED
On 02 Jul 2008, Bob Cox wrote:
> On Wed, Jul 02, 2008 at 07:51:20 +0100, Anthony Campbell (email@example.com) wrote:
> > I don't understand label in this context. Where is it set?
> This was explained by Florian Kulzer earlier in this thread. (It was
> such a good explanation I kept it for future reference!)
> On Mon, Jun 30, 2008 at 12:30:00 +0200, Florian Kulzer
> (firstname.lastname@example.org) wrote:
> > You can use UUIDs or labels to refer to the partitions. This is
> > robust if a newer kernel changes the device nodes (e.g. from /dev/hda to
> > /dev/sda). You can use the "blkid" utility to find out the UUIDs of your
> > partitions, or you can set your own labels with e2label (and mkswap -L
> > for the swap partition).
> > To give you an example, I labeled my root partition "root" and this is
> > the corresponding fstab entry:
> > LABEL=root / ext3 defaults,errors=remount-ro 0 1
> > If you want to use UUIDs then the syntax is "UUID=....".
Sorry, I hadn't read the e2label line properly. But I don't think it
would affect the issue I encountered here, which was a change in the
actual partition referred to. The label would still be referring to
the wrong partition. Still, now that I know this can happen I will not
be caught by it in the future.
Anthony Campbell - email@example.com
Microsoft-free zone - Using Debian GNU/Linux
http://www.acampbell.org.uk (blog, book reviews,
and sceptical articles)