Re: Debian AMD64 boots only at random: how to use labels/fstab/grub



This one time, at band camp, Joost Kraaijeveld said:
Hi Bob,

Thanks: it works as described.

Just 1 other question: can I label my swap partition?

If I try e2label /dev/sda5 /my_name it returns:

e2label: Bad magic number in super-block while trying to open /dev/sdb5
Couldn't find valid filesystem superblock.

e2label, perhaps unsurprisingly, given it's name, only handles ext2 and
ext3 filesystems. See
http://www.sgvlug.org/pipermail/sgvlug/2005-September/000874.html for a
discussion of swap labels.
--
-----------------------------------------------------------------
| ,''`. Stephen Gran |
| : :' : sgran@xxxxxxxxxx |
| `. `' Debian user, admin, and developer |
| `- http://www.debian.org |
-----------------------------------------------------------------

Attachment: signature.asc
Description: Digital signature



Relevant Pages