[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 Wed, Jul 02, 2008 at 07:51:20 +0100, Anthony Campbell (ac@acampbell.org.uk) 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
(florian.kulzer+debian@icfo.es) 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=....".

-- 
Bob Cox.  Stoke Gifford, near Bristol, UK.
Registered user #445000 with the Linux Counter - http://counter.li.org/


Reply to: