device label
Rashkae
ubuntu at tigershaunt.com
Sat Sep 11 23:28:12 UTC 2010
Robert Holtzman wrote:
> Tried to change the label on a thumb drive using
>
> e2label /dev/sdb1 disk
>
> and got "e2label: Bad magic number in super-block while trying to open
> /dev/sdb
> Couldn't find valid filesystem superblock."
>
> fdisk -lu shows
>
> Device Boot Start End Blocks Id System
> /dev/sdb1 * 128 3915775 1957824 b W95 FAT32
> Partition 1 has different physical/logical endings:
> phys=(242, 254, 63) logical=(243, 190, 11)
>
> A search on the error message and on the output of disk turned up
> several hits but they had to do with the inability to mount.
>
> Also tried to use gparted but the label option was greyed out.
>
> All this on a fully updated Lucid.
>
> Any ideas?
>
>
e2label is for ext2/3/4 filesystems. This is a Fat32 file system (aka:
ms-dos filesystem), so you need mtools.
Here's a good step by step: (although, it's a bit dated, so I don't know
if there's an easier way to do this now)
http://embraceubuntu.com/2006/03/01/editing-fat32-partition-labels-using-mtools/
More information about the ubuntu-users
mailing list