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 (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



Relevant Pages

  • Re: Installing on a small root partition
    ... Installing on a small root partition ... > I am trying to do a specialized install of Debian. ... To UNSUBSCRIBE, email to debian-user-REQUEST@xxxxxxxxxxxxxxxx ...
    (Debian-User)
  • Re: Linux-image-2.6.25 wont boot - target filesystem error -SOLVED
    ... robust if a newer kernel changes the device nodes (e.g. from /dev/hda to ... I labeled my root partition "root" and this is ... To UNSUBSCRIBE, email to debian-user-REQUEST@xxxxxxxxxxxxxxxx ...
    (Debian-User)
  • Re: OK to install across 2 HDs?
    ... Windows 2000 partition to another one without crashing ... Linux can have four primaries, ... Services Analyst ... TO UNSUBSCRIBE FROM THIS MAILING LIST: ...
    (Debian-User)
  • Re: reading MS word files
    ... do about his c partition he was unable to save more files to that partition ... windows I told him that C was only for windows files. ... or post links to why its bad they still do it. ... To UNSUBSCRIBE, email to debian-user-REQUEST@xxxxxxxxxxxxxxxx ...
    (Debian-User)
  • Re: Installation of hard drive
    ... Tell us which is the file systems that you have used on new disk partitions. ... Windows should be cleared, but how thee partition ... Where did you install ... To UNSUBSCRIBE, email to debian-user-REQUEST@xxxxxxxxxxxxxxxx ...
    (Debian-User)