Re: Linux-image-2.6.25 won't boot - target filesystem error -SOLVED
- From: Anthony Campbell <ac@xxxxxxxxxxxxxxxx>
- Date: Wed, 2 Jul 2008 08:46:53 +0100
On 02 Jul 2008, Bob Cox wrote:
On Wed, Jul 02, 2008 at 07:51:20 +0100, Anthony Campbell (ac@xxxxxxxxxxxxxxxx) 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@xxxxxxx) 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
--
Anthony Campbell - ac@xxxxxxxxxxxxxxxx
Microsoft-free zone - Using Debian GNU/Linux
http://www.acampbell.org.uk (blog, book reviews,
and sceptical articles)
--
To UNSUBSCRIBE, email to debian-user-REQUEST@xxxxxxxxxxxxxxxx
with a subject of "unsubscribe". Trouble? Contact listmaster@xxxxxxxxxxxxxxxx
- Follow-Ups:
- Re: Linux-image-2.6.25 won't boot - target filesystem error -SOLVED
- From: Andrei Popescu
- Re: Linux-image-2.6.25 won't boot - target filesystem error -SOLVED
- From: Wackojacko
- Re: Linux-image-2.6.25 won't boot - target filesystem error -SOLVED
- References:
- Re: Linux-image-2.6.25 won't boot - target filesystem error -SOLVED
- From: Anthony Campbell
- Re: Linux-image-2.6.25 won't boot - target filesystem error -SOLVED
- From: Andrei Popescu
- Re: Linux-image-2.6.25 won't boot - target filesystem error -SOLVED
- From: Anthony Campbell
- Re: Linux-image-2.6.25 won't boot - target filesystem error -SOLVED
- From: Bob Cox
- Re: Linux-image-2.6.25 won't boot - target filesystem error -SOLVED
- Prev by Date: Re: install (k)ubuntu on external hard drives
- Next by Date: Re: shutdown and reboot scripts
- Previous by thread: Re: Linux-image-2.6.25 won't boot - target filesystem error -SOLVED
- Next by thread: Re: Linux-image-2.6.25 won't boot - target filesystem error -SOLVED
- Index(es):
Relevant Pages
|
|