Re: change name

Top Page
Attachments:
Message as email
+ (text/plain)
+ (text/html)
+ (text/plain)
Delete this message
Reply to this message
Author: Mike Ballon
Date:  
To: Main PLUG discussion list
Subject: Re: change name
if you unmounted then /dev/sdd1 would no longer be there.

Give me a few mins and I'll spin up a VM (I'm on a Mac) and I'll run
through all the steps for you.


On Tue, May 6, 2014 at 3:34 AM, Michael Havens <> wrote:

> bummer.... new drive:
>
> mount
> ...
> /dev/sdd1 on /media/bmike1/OpenELEC type vfat
> (rw,nosuid,nodev,uid=1000,gid=1000,shortname=mixed,dmask=0077,utf8=1,showexec,flush,uhelper=udisks2)
> <unmout device with file manager>
> bmike1@PresarioLapTop1:/media/bmike1/OpenELEC$ sudo mkfs -t vfat /dev/sdd1
> mkfs.vfat 3.0.13 (30 Jun 2012)
> /dev/sdd1: No such file or directory
> bmike1@PresarioLapTop1:/media/bmike1/OpenELEC$
> bmike1@PresarioLapTop1:/media/bmike1/OpenELEC$ sudo mkfs -t vfat /dev/sdd1
> mkfs.vfat 3.0.13 (30 Jun 2012)
> /dev/sdd1: No such file or directory
> bmike1@PresarioLapTop1:/media/bmike1/OpenELEC$ sudo e2label /dev/sdd1
> Pny2G
> e2label: No such file or directory while trying to open /dev/sdd1
> Couldn't find valid filesystem superblock.
>
> what am I doing wrong?
>
> :-)~MIKE~(-:
>
>
> On Mon, May 5, 2014 at 8:28 PM, Michael Havens <> wrote:
>
>> that wouldn't change a vfat system but it inspired the correct search
>> terms and I found 'dosfslabel'. Thanks for the help, man:D
>>
>> :-)~MIKE~(-:
>>
>>
>> On Mon, May 5, 2014 at 7:50 PM, Ryan Rix <> wrote:
>>
>>> Yeah, you're right Mike.
>>>
>>> https://help.ubuntu.com/community/RenameUSBDrive#FAT16_and_FAT32
>>>
>>> Michael Havens <> writes:
>>> > same thing:
>>> >
>>> > sudo e2label /dev/sdd1 Goodwill
>>> > e2label: Bad magic number in super-block while trying to open
>>> > /dev/sdd1
>>> > Couldn't find valid filesystem superblock.
>>> >
>>> > could it be because it is a vfat file system? (while I love linux I
>>> > like to have the ability for my flash drives to be used on common
>>> > computers)
>>> >
>>> > :-)~MIKE~(-:
>>> >
>>> > On Mon, May 5, 2014 at 5:51 PM, Mike Ballon <>
>>> > wrote:
>>> >
>>> >     It's I file system label so yes, you'll need to format. If there
>>> >     is no partition will have to create a partition before you can do
>>> >     a mkfs gparted should do all that for you

>>> >
>>> >
>>> >
>>> >     On May 5, 2014 7:47 PM, "Michael Havens" <> wrote:

>>> >
>>> >
>>> >         Thanks Mike. Does this error mean I need to format the drive?

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

>>> >
>>> >
>>> >         This is what 'mount' shows sdc1 to be:

>>> >
>>> >
>>> >
>>> >         /dev/sdc1 on /media/bmike1/OpenELEC type vfat

>>> >
>>> (rw,nosuid,nodev,uid=1000,gid=1000,shortname=mixed,dmask=0077,utf8=1,
>>> >         showexec,flush,uhelper=udisks2)

>>> >
>>> >
>>> >         and to format this and apply the label it would be:

>>> >
>>> >         mkfs -t vfat /dev/sdc1;e2label /dev/sdc1 Goodwill

>>> >
>>> >
>>> >
>>> >
>>> >
>>> >
>>> >         :-)~MIKE~(-:

>>> >
>>> >
>>> >
>>> >         On Mon, May 5, 2014 at 4:08 PM, Mike Ballon
>>> >         <> wrote:

>>> >
>>> >
>>> >             e2label

>>> >
>>> >
>>> >
>>> >
>>> >             On Mon, May 5, 2014 at 7:05 PM, Michael Havens
>>> >             <> wrote:

>>> >
>>> >
>>> >
>>> >                 I have a few flash drives. When I plug them in to my
>>> >                 computer a name referring to that flash drive appears
>>> >                 in the file manager. I have two questions: the first
>>> >                 is how do I change that name? The second is how do I
>>> >                 set that name when I format the drive?

>>> >
>>> >                 :-)~MIKE~(-:

>>> >
>>> >
>>> >                 ---------------------------------------------------
>>> >                 PLUG-discuss mailing list -
>>> >                 
>>> >                 To subscribe, unsubscribe, or to change your mail
>>> >                 settings:

>>> >
>>> http://lists.phxlinux.org/mailman/listinfo/plug-discuss
>>> >
>>> >
>>> >
>>> >             ---------------------------------------------------
>>> >             PLUG-discuss mailing list -
>>> >             
>>> >             To subscribe, unsubscribe, or to change your mail
>>> >             settings:
>>> >             http://lists.phxlinux.org/mailman/listinfo/plug-discuss

>>> >
>>> >
>>> >
>>> >         ---------------------------------------------------
>>> >         PLUG-discuss mailing list - 
>>> >         To subscribe, unsubscribe, or to change your mail settings:
>>> >         http://lists.phxlinux.org/mailman/listinfo/plug-discuss

>>> >
>>> >     ---------------------------------------------------
>>> >     PLUG-discuss mailing list - 
>>> >     To subscribe, unsubscribe, or to change your mail settings:
>>> >     http://lists.phxlinux.org/mailman/listinfo/plug-discuss

>>> >
>>> >
>>> > ---------------------------------------------------
>>> > PLUG-discuss mailing list -
>>> > To subscribe, unsubscribe, or to change your mail settings:
>>> > http://lists.phxlinux.org/mailman/listinfo/plug-discuss
>>> ---------------------------------------------------
>>> PLUG-discuss mailing list -
>>> To subscribe, unsubscribe, or to change your mail settings:
>>> http://lists.phxlinux.org/mailman/listinfo/plug-discuss
>>>
>>
>>
>
> ---------------------------------------------------
> PLUG-discuss mailing list -
> To subscribe, unsubscribe, or to change your mail settings:
> http://lists.phxlinux.org/mailman/listinfo/plug-discuss
>

---------------------------------------------------
PLUG-discuss mailing list -
To subscribe, unsubscribe, or to change your mail settings:
http://lists.phxlinux.org/mailman/listinfo/plug-discuss