change name
Michael Havens
bmike1 at gmail.com
Tue May 6 17:23:15 MST 2014
bmike1 at PresarioLapTop1:~$ blkid
/dev/sda1: UUID="cc83628a-2b28-40b4-8f02-c8a818ef55e9" TYPE="ext4"
/dev/sda5: UUID="31eb4a2e-cf07-47d8-9f0a-2b12795b32fc" TYPE="swap"
/dev/sda6: UUID="0653ee3e-f753-42a3-a6b6-dc2948cb8859" TYPE="ext4"
/dev/sda7: LABEL="entertainment"
UUID="9be45b98-d619-4a31-a951-5dd63fab9775" TYPE="ext4"
/dev/sda8: SEC_TYPE="msdos" UUID="F3E7-6D4B" TYPE="vfat"
/dev/sda9: LABEL="backtrack" UUID="b75029ca-b18f-4310-8800-916ef23ea3cf"
TYPE="ext4"
*****
Nope, it doesn't see it. That is the second thumb drive that died this
year. the first one was only a few months old whereas this one is a few
years old. Is there any way to tell how old it is?
:-)~MIKE~(-:
On Tue, May 6, 2014 at 4:54 PM, James Dugger <james.dugger at gmail.com> wrote:
> Try
>
> $ blkid
>
> If Linux is seeing the drive as a device it should return a UUID and a
> device assignment for it.
> On May 6, 2014 2:46 PM, "Michael Havens" <bmike1 at gmail.com> wrote:
>
>> unplugging it was the first thing I tried. Then I tried to fix it with a
>> reboot (that fixed things for me before when dealing with things.
>>
>> :-)~MIKE~(-:
>>
>>
>> On Tue, May 6, 2014 at 2:18 PM, Michael Havens <bmike1 at gmail.com> wrote:
>>
>>> bmike1 at PresarioLapTop1:~$ /etc/init.d/autofs status
>>> bash: /etc/init.d/autofs: No such file or directory
>>> bmike1 at PresarioLapTop1:~$
>>> bmike1 at PresarioLapTop1:~$ ps |grep automount
>>> bmike1 at PresarioLapTop1:~$
>>>
>>>
>>> :-)~MIKE~(-:
>>>
>>>
>>> On Tue, May 6, 2014 at 11:51 AM, Mike Ballon <mike.ballon at gmail.com>wrote:
>>>
>>>> unplug/plug, it should automount, if not check:
>>>>
>>>> $ /etc/init.d/autofs status
>>>>
>>>> automount (pid 1442) is running...
>>>>
>>>>
>>>> On Tue, May 6, 2014 at 2:44 PM, Michael Havens <bmike1 at gmail.com>wrote:
>>>>
>>>>> it isn't automounting.
>>>>>
>>>>>
>>>>> :-)~MIKE~(-:
>>>>>
>>>>>
>>>>> On Tue, May 6, 2014 at 11:41 AM, Michael Havens <bmike1 at gmail.com>wrote:
>>>>>
>>>>>> got it all to work.... even changed the label name. What messed me up
>>>>>> was:
>>>>>>
>>>>>> $> Command > 1 (press enter 3times) -- again maybe you don't need
>>>>>> the one
>>>>>>
>>>>>> I didn't understand at first that was part of the 'n' command.
>>>>>>
>>>>>>
>>>>>> bmike1 at PresarioLapTop1:/media/bmike1/OpenELEC$ sudo fdisk /dev/sdd
>>>>>>
>>>>>> Command (m for help): o
>>>>>> Building a new DOS disklabel with disk identifier 0x3e8c35b3.
>>>>>> Changes will remain in memory only, until you decide to write them.
>>>>>> After that, of course, the previous content won't be recoverable.
>>>>>>
>>>>>> Warning: invalid flag 0x0000 of partition table 4 will be corrected
>>>>>> by w(rite)
>>>>>>
>>>>>> Command (m for help): n
>>>>>> Partition type:
>>>>>> p primary (0 primary, 0 extended, 4 free)
>>>>>> e extended
>>>>>> Select (default p): p
>>>>>> Partition number (1-4, default 1):
>>>>>> Using default value 1
>>>>>> First sector (2048-3913663, default 2048):
>>>>>> Using default value 2048
>>>>>> Last sector, +sectors or +size{K,M,G} (2048-3913663, default
>>>>>> 3913663):
>>>>>> Using default value 3913663
>>>>>>
>>>>>> Command (m for help): t
>>>>>> Selected partition 1
>>>>>> Hex code (type L to list codes): ntfs
>>>>>> Hex code (type L to list codes):
>>>>>> Hex code (type L to list codes): l
>>>>>>
>>>>>> 0 Empty 24 NEC DOS 81 Minix / old Lin bf
>>>>>> Solaris
>>>>>> 1 FAT12 27 Hidden NTFS Win 82 Linux swap / So c1
>>>>>> DRDOS/sec (FAT-
>>>>>> 2 XENIX root 39 Plan 9 83 Linux c4
>>>>>> DRDOS/sec (FAT-
>>>>>> 3 XENIX usr 3c PartitionMagic 84 OS/2 hidden C: c6
>>>>>> DRDOS/sec (FAT-
>>>>>> 4 FAT16 <32M 40 Venix 80286 85 Linux extended c7
>>>>>> Syrinx
>>>>>> 5 Extended 41 PPC PReP Boot 86 NTFS volume set da
>>>>>> Non-FS data
>>>>>> 6 FAT16 42 SFS 87 NTFS volume set db CP/M
>>>>>> / CTOS / .
>>>>>> 7 HPFS/NTFS/exFAT 4d QNX4.x 88 Linux plaintext de Dell
>>>>>> Utility
>>>>>> 8 AIX 4e QNX4.x 2nd part 8e Linux LVM df
>>>>>> BootIt
>>>>>> 9 AIX bootable 4f QNX4.x 3rd part 93 Amoeba e1 DOS
>>>>>> access
>>>>>> a OS/2 Boot Manag 50 OnTrack DM 94 Amoeba BBT e3 DOS
>>>>>> R/O
>>>>>> b W95 FAT32 51 OnTrack DM6 Aux 9f BSD/OS e4
>>>>>> SpeedStor
>>>>>> c W95 FAT32 (LBA) 52 CP/M a0 IBM Thinkpad hi eb BeOS
>>>>>> fs
>>>>>> e W95 FAT16 (LBA) 53 OnTrack DM6 Aux a5 FreeBSD ee GPT
>>>>>>
>>>>>> f W95 Ext'd (LBA) 54 OnTrackDM6 a6 OpenBSD ef EFI
>>>>>> (FAT-12/16/
>>>>>> 10 OPUS 55 EZ-Drive a7 NeXTSTEP f0
>>>>>> Linux/PA-RISC b
>>>>>> 11 Hidden FAT12 56 Golden Bow a8 Darwin UFS f1
>>>>>> SpeedStor
>>>>>> 12 Compaq diagnost 5c Priam Edisk a9 NetBSD f4
>>>>>> SpeedStor
>>>>>> 14 Hidden FAT16 <3 61 SpeedStor ab Darwin boot f2 DOS
>>>>>> secondary
>>>>>> 16 Hidden FAT16 63 GNU HURD or Sys af HFS / HFS+ fb
>>>>>> VMware VMFS
>>>>>> 17 Hidden HPFS/NTF 64 Novell Netware b7 BSDI fs fc
>>>>>> VMware VMKCORE
>>>>>> 18 AST SmartSleep 65 Novell Netware b8 BSDI swap fd Linux
>>>>>> raid auto
>>>>>> 1b Hidden W95 FAT3 70 DiskSecure Mult bb Boot Wizard hid fe
>>>>>> LANstep
>>>>>> 1c Hidden W95 FAT3 75 PC/IX be Solaris boot ff BBT
>>>>>>
>>>>>> 1e Hidden W95 FAT1 80 Old Minix
>>>>>> Hex code (type L to list codes): 86
>>>>>> Changed system type of partition 1 to 86 (NTFS volume set)
>>>>>>
>>>>>> Command (m for help): b
>>>>>> There is no *BSD partition on /dev/sdd.
>>>>>>
>>>>>> Command (m for help): p
>>>>>>
>>>>>> Disk /dev/sdd: 2003 MB, 2003795968 bytes
>>>>>> 11 heads, 4 sectors/track, 88946 cylinders, total 3913664 sectors
>>>>>> Units = sectors of 1 * 512 = 512 bytes
>>>>>> Sector size (logical/physical): 512 bytes / 512 bytes
>>>>>> I/O size (minimum/optimal): 512 bytes / 512 bytes
>>>>>> Disk identifier: 0x3e8c35b3
>>>>>>
>>>>>> Device Boot Start End Blocks Id System
>>>>>> /dev/sdd1 2048 3913663 1955808 86 NTFS volume
>>>>>> set
>>>>>>
>>>>>> Command (m for help): w
>>>>>> The partition table has been altered!
>>>>>>
>>>>>> Calling ioctl() to re-read partition table.
>>>>>> Syncing disks.
>>>>>> bmike1 at PresarioLapTop1:/media/bmike1/OpenELEC$
>>>>>>
>>>>>>
>>>>>>
>>>>>> :-)~MIKE~(-:
>>>>>>
>>>>>>
>>>>>> On Tue, May 6, 2014 at 11:23 AM, Mike Ballon <mike.ballon at gmail.com>wrote:
>>>>>>
>>>>>>> After the 1 is t, 1 might have been selected for you by default.
>>>>>>>
>>>>>>> start over...
>>>>>>>
>>>>>>> $> fdisk /dev/sdd
>>>>>>> $> Command > o (create new table)
>>>>>>> $> Command > n (create part, 1 would be the default, maybe you don't
>>>>>>> need the 1)
>>>>>>> $> Command > 1 (press enter 3times) -- again maybe you don't need
>>>>>>> the one
>>>>>>> $> Command > t (select fs type)
>>>>>>> $> Command > b (selects fat for fs)
>>>>>>> $> Command > p (print the table)
>>>>>>> $> Command > w (write the changes)
>>>>>>>
>>>>>>> don't make me do a video I don't have time ;)
>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>> On Tue, May 6, 2014 at 1:57 PM, Michael Havens <bmike1 at gmail.com>wrote:
>>>>>>>
>>>>>>>> Okay.... I think I really screwed things up. YOu said:
>>>>>>>>
>>>>>>>> $> fdisk /dev/sdb
>>>>>>>> $> Command > o
>>>>>>>> $> Command > n
>>>>>>>> $> Command > 1 (press enter 3times)
>>>>>>>> $> Command > t
>>>>>>>> $> Command > b
>>>>>>>> $> Command > w
>>>>>>>> $> Command > p
>>>>>>>>
>>>>>>>> ***The above didn't look like that. There was no '$>'
>>>>>>>> But I figured your computer was just configured differently
>>>>>>>> so I carried on!
>>>>>>>>
>>>>>>>> bmike1 at PresarioLapTop1:/media/bmike1/OpenELEC$ sudo fdisk /dev/sdd
>>>>>>>>
>>>>>>>> Command (m for help): o
>>>>>>>> Building a new DOS disklabel with disk identifier 0xf66cb38c.
>>>>>>>> Changes will remain in memory only, until you decide to write them.
>>>>>>>> After that, of course, the previous content won't be recoverable.
>>>>>>>>
>>>>>>>> Warning: invalid flag 0x0000 of partition table 4 will be corrected
>>>>>>>> by w(rite)
>>>>>>>>
>>>>>>>> Command (m for help): n
>>>>>>>> Partition type:
>>>>>>>> p primary (0 primary, 0 extended, 4 free)
>>>>>>>> e extended
>>>>>>>> Select (default p): p
>>>>>>>> Partition number (1-4, default 1):
>>>>>>>> Using default value 1
>>>>>>>> First sector (2048-3913663, default 2048):
>>>>>>>> Using default value 2048
>>>>>>>> Last sector, +sectors or +size{K,M,G} (2048-3913663, default
>>>>>>>> 3913663):
>>>>>>>> Using default value 3913663
>>>>>>>>
>>>>>>>> Command (m for help): 1
>>>>>>>> 1: unknown command
>>>>>>>> Command action
>>>>>>>> a toggle a bootable flag
>>>>>>>> b edit bsd disklabel
>>>>>>>> c toggle the dos compatibility flag
>>>>>>>> d delete a partition
>>>>>>>> l list known partition types
>>>>>>>> m print this menu
>>>>>>>> n add a new partition
>>>>>>>> o create a new empty DOS partition table
>>>>>>>> p print the partition table
>>>>>>>> q quit without saving changes
>>>>>>>> s create a new empty Sun disklabel
>>>>>>>> t change a partition's system id
>>>>>>>> u change display/entry units
>>>>>>>> v verify the partition table
>>>>>>>> w write table to disk and exit
>>>>>>>> x extra functionality (experts only)
>>>>>>>>
>>>>>>>> Command (m for help): t
>>>>>>>> Selected partition 1
>>>>>>>> Hex code (type L to list codes):
>>>>>>>> Hex code (type L to list codes): w
>>>>>>>> Hex code (type L to list codes): ^[^[
>>>>>>>> Hex code (type L to list codes):
>>>>>>>> Hex code (type L to list codes): ^Cbmike1 at PresarioLapTop1:/media/bmike1/OpenELEC$
>>>>>>>> sudo fdisk /dev/sdd
>>>>>>>>
>>>>>>>> Command (m for help): o
>>>>>>>> Building a new DOS disklabel with disk identifier 0xbdd16f92.
>>>>>>>> Changes will remain in memory only, until you decide to write them.
>>>>>>>> After that, of course, the previous content won't be recoverable.
>>>>>>>>
>>>>>>>> Warning: invalid flag 0x0000 of partition table 4 will be corrected
>>>>>>>> by w(rite)
>>>>>>>>
>>>>>>>> Command (m for help): n
>>>>>>>> Partition type:
>>>>>>>> p primary (0 primary, 0 extended, 4 free)
>>>>>>>> e extended
>>>>>>>> Select (default p): b
>>>>>>>> Invalid partition type `b'
>>>>>>>>
>>>>>>>> Command (m for help): n
>>>>>>>> Partition type:
>>>>>>>> p primary (0 primary, 0 extended, 4 free)
>>>>>>>> e extended
>>>>>>>> Select (default p): p
>>>>>>>> Partition number (1-4, default 1):
>>>>>>>> Using default value 1
>>>>>>>> First sector (2048-3913663, default 2048):
>>>>>>>> Using default value 2048
>>>>>>>> Last sector, +sectors or +size{K,M,G} (2048-3913663, default
>>>>>>>> 3913663):
>>>>>>>> Using default value 3913663
>>>>>>>>
>>>>>>>> Command (m for help): b
>>>>>>>> There is no *BSD partition on /dev/sdd.
>>>>>>>>
>>>>>>>> Command (m for help): w
>>>>>>>> The partition table has been altered!
>>>>>>>>
>>>>>>>> Calling ioctl() to re-read partition table.
>>>>>>>> Syncing disks.
>>>>>>>> bmike1 at PresarioLapTop1:/media/bmike1/OpenELEC$ sudo fdisk /dev/sdd
>>>>>>>>
>>>>>>>> Command (m for help): p
>>>>>>>>
>>>>>>>> Disk /dev/sdd: 2003 MB, 2003795968 bytes
>>>>>>>> 11 heads, 4 sectors/track, 88946 cylinders, total 3913664 sectors
>>>>>>>> Units = sectors of 1 * 512 = 512 bytes
>>>>>>>> Sector size (logical/physical): 512 bytes / 512 bytes
>>>>>>>> I/O size (minimum/optimal): 512 bytes / 512 bytes
>>>>>>>> Disk identifier: 0xbdd16f92
>>>>>>>>
>>>>>>>> Device Boot Start End Blocks Id System
>>>>>>>> /dev/sdd1 2048 3913663 1955808 83 Linux
>>>>>>>>
>>>>>>>> Command (m for help): ^[[B^[[A^[
>>>>>>>> [: unknown command
>>>>>>>> Command action
>>>>>>>> a toggle a bootable flag
>>>>>>>> b edit bsd disklabel
>>>>>>>> c toggle the dos compatibility flag
>>>>>>>> d delete a partition
>>>>>>>> l list known partition types
>>>>>>>> m print this menu
>>>>>>>> n add a new partition
>>>>>>>> o create a new empty DOS partition table
>>>>>>>> p print the partition table
>>>>>>>> q quit without saving changes
>>>>>>>> s create a new empty Sun disklabel
>>>>>>>> t change a partition's system id
>>>>>>>> u change display/entry units
>>>>>>>> v verify the partition table
>>>>>>>> w write table to disk and exit
>>>>>>>> x extra functionality (experts only)
>>>>>>>>
>>>>>>>> Command (m for help): q
>>>>>>>>
>>>>>>>> sudo fdisk -l /dev/sdd1
>>>>>>>>
>>>>>>>> Disk /dev/sdd1: 2001 MB, 2001731584 bytes
>>>>>>>> 62 heads, 62 sectors/track, 1017 cylinders, total 3909632 sectors
>>>>>>>> Units = sectors of 1 * 512 = 512 bytes
>>>>>>>> Sector size (logical/physical): 512 bytes / 512 bytes
>>>>>>>> I/O size (minimum/optimal): 512 bytes / 512 bytes
>>>>>>>> Disk identifier: 0x20ac7dda
>>>>>>>>
>>>>>>>> This doesn't look like a partition table
>>>>>>>> Probably you selected the wrong device.
>>>>>>>>
>>>>>>>> Device Boot Start End Blocks Id System
>>>>>>>> /dev/sdd1p1 ? 3224498923 3657370039 216435558+ 7
>>>>>>>> HPFS/NTFS/exFAT
>>>>>>>> /dev/sdd1p2 ? 3272020941 930513678 976730017 16 Hidden
>>>>>>>> FAT16
>>>>>>>> /dev/sdd1p3 ? 0 0 0 6f Unknown
>>>>>>>> /dev/sdd1p4 50200576 974536369 462167897 0 Empty
>>>>>>>>
>>>>>>>> Partition table entries are not in disk order
>>>>>>>>
>>>>>>>> ****Now when I plug the USB drive in and it automounts nothing new
>>>>>>>> appears in the file manager. SO I ran another program to see what it says:
>>>>>>>>
>>>>>>>> bmike1 at PresarioLapTop1:/media/bmike1/OpenELEC$ sudo sfdisk /dev/sdd
>>>>>>>> Checking that no-one is using this disk right now ...
>>>>>>>> OK
>>>>>>>>
>>>>>>>> Disk /dev/sdd: 1018 cylinders, 62 heads, 62 sectors/track
>>>>>>>> Old situation:
>>>>>>>> Warning: The partition table looks like it was made
>>>>>>>> for C/H/S=*/11/4 (instead of 1018/62/62).
>>>>>>>> For this listing I'll assume that geometry.
>>>>>>>> Units = cylinders of 22528 bytes, blocks of 1024 bytes, counting
>>>>>>>> from 0
>>>>>>>>
>>>>>>>> Device Boot Start End #cyls #blocks Id System
>>>>>>>> /dev/sdd1 46+ 88946- 88901- 1955808 83 Linux
>>>>>>>> start: (c,h,s) expected (46,6,1) found (1,78,9)
>>>>>>>> end: (c,h,s) expected (1023,10,4) found (34,10,4)
>>>>>>>> /dev/sdd2 0 - 0 0 0 Empty
>>>>>>>> /dev/sdd3 0 - 0 0 0 Empty
>>>>>>>> /dev/sdd4 0 - 0 0 0 Empty
>>>>>>>> Input in the following format; absent fields get a default value.
>>>>>>>> <start> <size> <type [E,S,L,X,hex]> <bootable [-,*]> <c,h,s> <c,h,s>
>>>>>>>> Usually you only need to specify <start> and <size> (and perhaps
>>>>>>>> <type>).
>>>>>>>>
>>>>>>>> /dev/sdd1 :?
>>>>>>>> trailing junk after number
>>>>>>>>
>>>>>>>> /dev/sdd1 :
>>>>>>>>
>>>>>>>>
>>>>>>>> :-)~MIKE~(-:
>>>>>>>>
>>>>>>>>
>>>>>>>> On Tue, May 6, 2014 at 7:29 AM, Mike Ballon <mike.ballon at gmail.com>wrote:
>>>>>>>>
>>>>>>>>> First I was wrong to say that /dev/sdd1 would not exist it you
>>>>>>>>> simply unmounted it. I believe it can vary between a physical system and a
>>>>>>>>> VM.
>>>>>>>>>
>>>>>>>>> -- returns the memory stick i just plugged in and assigns device
>>>>>>>>> /dev/sdb
>>>>>>>>>
>>>>>>>>> $> dmesg
>>>>>>>>>
>>>>>>>>> [ 452.300827] scsi 3:0:0:0: Direct-Access Kingston
>>>>>>>>> DataTraveler 2.0 PMAP PQ: 0 ANSI: 4
>>>>>>>>> [ 452.302226] sd 3:0:0:0: Attached scsi generic sg2 type 0
>>>>>>>>> [ 452.316528] sd 3:0:0:0: [sdb] 15240576 512-byte logical blocks:
>>>>>>>>> (7.80 GB/7.26
>>>>>>>>>
>>>>>>>>> -- automount presents the stick to me because it has a file system
>>>>>>>>>
>>>>>>>>> $> mount | grep sdb
>>>>>>>>>
>>>>>>>>> /dev/sdb1 on /media/UNTITLED type vfat
>>>>>>>>>
>>>>>>>>> -- fdisk returns the partition info
>>>>>>>>>
>>>>>>>>> $> fdisk -l /dev/sdb
>>>>>>>>>
>>>>>>>>> Device Boot Start End Blocks Id System
>>>>>>>>> /dev/sdb1 2 15240575 7620287 b W95 FAT32
>>>>>>>>>
>>>>>>>>> -- use fdisk to delete the partition
>>>>>>>>>
>>>>>>>>> $> fdisk /dev/sdb
>>>>>>>>> $> Command > d
>>>>>>>>> $> Command > w
>>>>>>>>> $> Command > p
>>>>>>>>>
>>>>>>>>> Device Boot Start End Blocks Id System
>>>>>>>>>
>>>>>>>>> -- use fdisk to create the partition
>>>>>>>>>
>>>>>>>>> $> fdisk /dev/sdb
>>>>>>>>> $> Command > o
>>>>>>>>> $> Command > n
>>>>>>>>> $> Command > 1 (press enter 3times)
>>>>>>>>> $> Command > t
>>>>>>>>> $> Command > b
>>>>>>>>> $> Command > w
>>>>>>>>> $> Command > p
>>>>>>>>>
>>>>>>>>> Device Boot Start End Blocks Id System
>>>>>>>>> /dev/sdb1 2048 15240575 7619264 b W95 FAT32
>>>>>>>>>
>>>>>>>>> -- make the file system if needed, I say if needed because since
>>>>>>>>> the partition is exactly the same and the fs is the same, automount mounted
>>>>>>>>> the stick for me automagically
>>>>>>>>>
>>>>>>>>> $> umount /dev/sdb1
>>>>>>>>> $> mkfs.vfat /dev/sdb1
>>>>>>>>> $> mount /dev/sdb /mnt/foobar
>>>>>>>>> $> touch /mnt/foobar/test.txt
>>>>>>>>> $> ls /mnt/fobar
>>>>>>>>>
>>>>>>>>> test.txt
>>>>>>>>>
>>>>>>>>> -- oops forgot the renaming of volume, I'm on debian so
>>>>>>>>>
>>>>>>>>> $> apt-get install mtools
>>>>>>>>>
>>>>>>>>> Setting up mtools (4.0.17-1) ...
>>>>>>>>>
>>>>>>>>> $> mlabel -i /dev/sdb1 ::usb_stick
>>>>>>>>>
>>>>>>>>> again... gparted is your friend
>>>>>>>>>
>>>>>>>>>
>>>>>>>>> On Tue, May 6, 2014 at 9:42 AM, Mike Ballon <
>>>>>>>>> mike.ballon at gmail.com> wrote:
>>>>>>>>>
>>>>>>>>>> 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 <bmike1 at gmail.com>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 at 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 at PresarioLapTop1:/media/bmike1/OpenELEC$
>>>>>>>>>>> bmike1 at 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 at 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 <bmike1 at gmail.com
>>>>>>>>>>> > 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 <ry at n.rix.si> wrote:
>>>>>>>>>>>>
>>>>>>>>>>>>> Yeah, you're right Mike.
>>>>>>>>>>>>>
>>>>>>>>>>>>>
>>>>>>>>>>>>> https://help.ubuntu.com/community/RenameUSBDrive#FAT16_and_FAT32
>>>>>>>>>>>>>
>>>>>>>>>>>>> Michael Havens <bmike1 at gmail.com> 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 <
>>>>>>>>>>>>> mike.ballon at gmail.com>
>>>>>>>>>>>>> > 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" <
>>>>>>>>>>>>> bmike1 at gmail.com> 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
>>>>>>>>>>>>> > <mike.ballon at gmail.com> wrote:
>>>>>>>>>>>>> >
>>>>>>>>>>>>> >
>>>>>>>>>>>>> > e2label
>>>>>>>>>>>>> >
>>>>>>>>>>>>> >
>>>>>>>>>>>>> >
>>>>>>>>>>>>> >
>>>>>>>>>>>>> > On Mon, May 5, 2014 at 7:05 PM, Michael Havens
>>>>>>>>>>>>> > <bmike1 at gmail.com> 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 -
>>>>>>>>>>>>> > PLUG-discuss at lists.phxlinux.org
>>>>>>>>>>>>> > To subscribe, unsubscribe, or to change your
>>>>>>>>>>>>> mail
>>>>>>>>>>>>> > settings:
>>>>>>>>>>>>> >
>>>>>>>>>>>>> http://lists.phxlinux.org/mailman/listinfo/plug-discuss
>>>>>>>>>>>>> >
>>>>>>>>>>>>> >
>>>>>>>>>>>>> >
>>>>>>>>>>>>> >
>>>>>>>>>>>>> ---------------------------------------------------
>>>>>>>>>>>>> > PLUG-discuss mailing list -
>>>>>>>>>>>>> > PLUG-discuss at lists.phxlinux.org
>>>>>>>>>>>>> > To subscribe, unsubscribe, or to change your mail
>>>>>>>>>>>>> > settings:
>>>>>>>>>>>>> >
>>>>>>>>>>>>> http://lists.phxlinux.org/mailman/listinfo/plug-discuss
>>>>>>>>>>>>> >
>>>>>>>>>>>>> >
>>>>>>>>>>>>> >
>>>>>>>>>>>>> > ---------------------------------------------------
>>>>>>>>>>>>> > PLUG-discuss mailing list -
>>>>>>>>>>>>> PLUG-discuss at lists.phxlinux.org
>>>>>>>>>>>>> > To subscribe, unsubscribe, or to change your mail
>>>>>>>>>>>>> settings:
>>>>>>>>>>>>> >
>>>>>>>>>>>>> http://lists.phxlinux.org/mailman/listinfo/plug-discuss
>>>>>>>>>>>>> >
>>>>>>>>>>>>> > ---------------------------------------------------
>>>>>>>>>>>>> > PLUG-discuss mailing list -
>>>>>>>>>>>>> PLUG-discuss at lists.phxlinux.org
>>>>>>>>>>>>> > To subscribe, unsubscribe, or to change your mail
>>>>>>>>>>>>> settings:
>>>>>>>>>>>>> > http://lists.phxlinux.org/mailman/listinfo/plug-discuss
>>>>>>>>>>>>> >
>>>>>>>>>>>>> >
>>>>>>>>>>>>> > ---------------------------------------------------
>>>>>>>>>>>>> > PLUG-discuss mailing list - PLUG-discuss at lists.phxlinux.org
>>>>>>>>>>>>> > To subscribe, unsubscribe, or to change your mail settings:
>>>>>>>>>>>>> > http://lists.phxlinux.org/mailman/listinfo/plug-discuss
>>>>>>>>>>>>> ---------------------------------------------------
>>>>>>>>>>>>> PLUG-discuss mailing list - PLUG-discuss at lists.phxlinux.org
>>>>>>>>>>>>> To subscribe, unsubscribe, or to change your mail settings:
>>>>>>>>>>>>> http://lists.phxlinux.org/mailman/listinfo/plug-discuss
>>>>>>>>>>>>>
>>>>>>>>>>>>
>>>>>>>>>>>>
>>>>>>>>>>>
>>>>>>>>>>> ---------------------------------------------------
>>>>>>>>>>> PLUG-discuss mailing list - PLUG-discuss at lists.phxlinux.org
>>>>>>>>>>> To subscribe, unsubscribe, or to change your mail settings:
>>>>>>>>>>> http://lists.phxlinux.org/mailman/listinfo/plug-discuss
>>>>>>>>>>>
>>>>>>>>>>
>>>>>>>>>>
>>>>>>>>>
>>>>>>>>> ---------------------------------------------------
>>>>>>>>> PLUG-discuss mailing list - PLUG-discuss at lists.phxlinux.org
>>>>>>>>> To subscribe, unsubscribe, or to change your mail settings:
>>>>>>>>> http://lists.phxlinux.org/mailman/listinfo/plug-discuss
>>>>>>>>>
>>>>>>>>
>>>>>>>>
>>>>>>>> ---------------------------------------------------
>>>>>>>> PLUG-discuss mailing list - PLUG-discuss at lists.phxlinux.org
>>>>>>>> To subscribe, unsubscribe, or to change your mail settings:
>>>>>>>> http://lists.phxlinux.org/mailman/listinfo/plug-discuss
>>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>> ---------------------------------------------------
>>>>>>> PLUG-discuss mailing list - PLUG-discuss at lists.phxlinux.org
>>>>>>> To subscribe, unsubscribe, or to change your mail settings:
>>>>>>> http://lists.phxlinux.org/mailman/listinfo/plug-discuss
>>>>>>>
>>>>>>
>>>>>>
>>>>>
>>>>> ---------------------------------------------------
>>>>> PLUG-discuss mailing list - PLUG-discuss at lists.phxlinux.org
>>>>> To subscribe, unsubscribe, or to change your mail settings:
>>>>> http://lists.phxlinux.org/mailman/listinfo/plug-discuss
>>>>>
>>>>
>>>>
>>>> ---------------------------------------------------
>>>> PLUG-discuss mailing list - PLUG-discuss at lists.phxlinux.org
>>>> To subscribe, unsubscribe, or to change your mail settings:
>>>> http://lists.phxlinux.org/mailman/listinfo/plug-discuss
>>>>
>>>
>>>
>>
>> ---------------------------------------------------
>> PLUG-discuss mailing list - PLUG-discuss at lists.phxlinux.org
>> To subscribe, unsubscribe, or to change your mail settings:
>> http://lists.phxlinux.org/mailman/listinfo/plug-discuss
>>
>
> ---------------------------------------------------
> PLUG-discuss mailing list - PLUG-discuss at lists.phxlinux.org
> To subscribe, unsubscribe, or to change your mail settings:
> http://lists.phxlinux.org/mailman/listinfo/plug-discuss
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.phxlinux.org/pipermail/plug-discuss/attachments/20140506/a97fae9b/attachment.html>
More information about the PLUG-discuss
mailing list