<div dir="ltr">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.</div><div class="gmail_extra"><br clear="all"><div>:-)~MIKE~(-:</div>
<br><br><div class="gmail_quote">On Tue, May 6, 2014 at 2:18 PM, Michael Havens <span dir="ltr"><<a href="mailto:bmike1@gmail.com" target="_blank">bmike1@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div dir="ltr"><div>bmike1@PresarioLapTop1:~$ /etc/init.d/autofs status</div><div>bash: /etc/init.d/autofs: No such file or directory</div><div>bmike1@PresarioLapTop1:~$ </div><div><div>bmike1@PresarioLapTop1:~$ ps |grep automount</div>
<div>bmike1@PresarioLapTop1:~$ </div><div><br></div></div></div><div class="gmail_extra"><br clear="all"><div>:-)~MIKE~(-:</div><div><div class="h5">
<br><br><div class="gmail_quote">On Tue, May 6, 2014 at 11:51 AM, Mike Ballon <span dir="ltr"><<a href="mailto:mike.ballon@gmail.com" target="_blank">mike.ballon@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div dir="ltr">unplug/plug, it should automount, if not check:<div><br></div><div>
<p>$ /etc/init.d/autofs status</p>
<p>automount (pid 1442) is running...</p></div></div><div><div><div class="gmail_extra"><br><br><div class="gmail_quote">On Tue, May 6, 2014 at 2:44 PM, Michael Havens <span dir="ltr"><<a href="mailto:bmike1@gmail.com" target="_blank">bmike1@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">it isn't automounting.<div><br></div></div><div class="gmail_extra"><br clear="all"><div>:-)~MIKE~(-:</div>
<div><div>
<br><br><div class="gmail_quote">On Tue, May 6, 2014 at 11:41 AM, Michael Havens <span dir="ltr"><<a href="mailto:bmike1@gmail.com" target="_blank">bmike1@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div dir="ltr"><div>got it all to work.... even changed the label name. What messed me up was:</div><div><div><br></div><div><div style="font-family:arial,sans-serif;font-size:12.727272033691406px"><div class="gmail_quote">
<div class="gmail_quote">
<div class="gmail_quote"><div class="gmail_quote">$> Command > 1 (press enter 3times) -- again maybe you don't need the one</div></div></div></div></div><div class="gmail_quote" style="font-family:arial,sans-serif;font-size:12.727272033691406px">
</div></div><div><br></div></div><div>I didn't understand at first that was part of the 'n' command.</div><div><div><br></div><div><br></div><div>bmike1@PresarioLapTop1:/media/bmike1/OpenELEC$ sudo fdisk /dev/sdd</div>
<div>
<br></div><div>Command (m for help): o</div></div><div>Building a new DOS disklabel with disk identifier 0x3e8c35b3.</div><div><div>Changes will remain in memory only, until you decide to write them.</div><div>After that, of course, the previous content won't be recoverable.</div>
<div><br></div><div>Warning: invalid flag 0x0000 of partition table 4 will be corrected by w(rite)</div><div><br></div><div>Command (m for help): n</div><div>Partition type:</div><div> p primary (0 primary, 0 extended, 4 free)</div>
<div> e extended</div><div>Select (default p): p</div><div>Partition number (1-4, default 1): </div><div>Using default value 1</div><div>First sector (2048-3913663, default 2048): </div><div>Using default value 2048</div>
<div>Last sector, +sectors or +size{K,M,G} (2048-3913663, default 3913663): </div><div>Using default value 3913663</div><div><br></div></div><div><div>Command (m for help): t<br></div><div>Selected partition 1</div>
</div><div>Hex code (type L to list codes): ntfs</div><div>
<div>Hex code (type L to list codes): </div></div><div>Hex code (type L to list codes): l</div><div><br></div><div> 0 Empty 24 NEC DOS 81 Minix / old Lin bf Solaris </div><div> 1 FAT12 27 Hidden NTFS Win 82 Linux swap / So c1 DRDOS/sec (FAT-</div>
<div> 2 XENIX root 39 Plan 9 83 Linux c4 DRDOS/sec (FAT-</div><div> 3 XENIX usr 3c PartitionMagic 84 OS/2 hidden C: c6 DRDOS/sec (FAT-</div><div> 4 FAT16 <32M 40 Venix 80286 85 Linux extended c7 Syrinx </div>
<div> 5 Extended 41 PPC PReP Boot 86 NTFS volume set da Non-FS data </div><div> 6 FAT16 42 SFS 87 NTFS volume set db CP/M / CTOS / .</div><div> 7 HPFS/NTFS/exFAT 4d QNX4.x 88 Linux plaintext de Dell Utility </div>
<div> 8 AIX 4e QNX4.x 2nd part 8e Linux LVM df BootIt </div><div> 9 AIX bootable 4f QNX4.x 3rd part 93 Amoeba e1 DOS access </div><div> a OS/2 Boot Manag 50 OnTrack DM 94 Amoeba BBT e3 DOS R/O </div>
<div> b W95 FAT32 51 OnTrack DM6 Aux 9f BSD/OS e4 SpeedStor </div><div> c W95 FAT32 (LBA) 52 CP/M a0 IBM Thinkpad hi eb BeOS fs </div><div> e W95 FAT16 (LBA) 53 OnTrack DM6 Aux a5 FreeBSD ee GPT </div>
<div> f W95 Ext'd (LBA) 54 OnTrackDM6 a6 OpenBSD ef EFI (FAT-12/16/</div><div>10 OPUS 55 EZ-Drive a7 NeXTSTEP f0 Linux/PA-RISC b</div><div>11 Hidden FAT12 56 Golden Bow a8 Darwin UFS f1 SpeedStor </div>
<div>12 Compaq diagnost 5c Priam Edisk a9 NetBSD f4 SpeedStor </div><div>14 Hidden FAT16 <3 61 SpeedStor ab Darwin boot f2 DOS secondary </div><div>16 Hidden FAT16 63 GNU HURD or Sys af HFS / HFS+ fb VMware VMFS </div>
<div>17 Hidden HPFS/NTF 64 Novell Netware b7 BSDI fs fc VMware VMKCORE </div><div>18 AST SmartSleep 65 Novell Netware b8 BSDI swap fd Linux raid auto</div><div>1b Hidden W95 FAT3 70 DiskSecure Mult bb Boot Wizard hid fe LANstep </div>
<div>1c Hidden W95 FAT3 75 PC/IX be Solaris boot ff BBT </div><div>1e Hidden W95 FAT1 80 Old Minix </div><div>Hex code (type L to list codes): 86</div><div>Changed system type of partition 1 to 86 (NTFS volume set)</div>
<div>
<div><br></div><div>Command (m for help): b</div><div>There is no *BSD partition on /dev/sdd.</div><div><br></div></div><div><div>Command (m for help): p</div><div><br></div><div>Disk /dev/sdd: 2003 MB, 2003795968 bytes</div>
<div>11 heads, 4 sectors/track, 88946 cylinders, total 3913664 sectors</div>
<div>Units = sectors of 1 * 512 = 512 bytes</div><div>Sector size (logical/physical): 512 bytes / 512 bytes</div><div>I/O size (minimum/optimal): 512 bytes / 512 bytes</div></div><div>Disk identifier: 0x3e8c35b3</div><div>
<div><br></div>
<div> Device Boot Start End Blocks Id System</div></div><div>/dev/sdd1 2048 3913663 1955808 86 NTFS volume set</div><div><div><br></div><div>Command (m for help): w</div>
<div>The partition table has been altered!</div>
<div><br></div><div>Calling ioctl() to re-read partition table.</div><div>Syncing disks.</div><div>bmike1@PresarioLapTop1:/media/bmike1/OpenELEC$ </div><div><br></div><div><br></div></div></div><div class="gmail_extra"><br clear="all">
<div>:-)~MIKE~(-:</div><div><div>
<br><br><div class="gmail_quote">On Tue, May 6, 2014 at 11:23 AM, Mike Ballon <span dir="ltr"><<a href="mailto:mike.ballon@gmail.com" target="_blank">mike.ballon@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div dir="ltr"><div><div class="gmail_quote"><div class="gmail_quote">After the 1 is t, 1 might have been selected for you by default.</div><div class="gmail_quote"><br></div><div class="gmail_quote">start over...</div>
<div class="gmail_quote"><br></div><div class="gmail_quote">$> fdisk /dev/sdd<br></div></div><div class="gmail_quote"><div class="gmail_quote">$> Command > o (create new table)</div><div class="gmail_quote"><div class="gmail_quote">
$> Command > n (create part, 1 would be the default, maybe you don't need the 1)</div><div class="gmail_quote"><div class="gmail_quote">$> Command > 1 (press enter 3times) -- again maybe you don't need the one</div>
</div></div></div></div><div class="gmail_quote"><div class="gmail_quote">$> Command > t (select fs type)</div><div class="gmail_quote"><div><div class="gmail_quote">$> Command > b (selects fat for fs)</div>
<div class="gmail_quote">$> Command > p (print the table)<br></div></div><div class="gmail_quote"><div class="gmail_quote"><div class="gmail_quote" style="font-family:arial,sans-serif;font-size:12.727272033691406px">
$> Command > w (write the changes)<br></div><div class="gmail_quote" style="font-family:arial,sans-serif;font-size:12.727272033691406px"><br></div><div class="gmail_quote" style="font-family:arial,sans-serif;font-size:12.727272033691406px">
don't make me do a video I don't have time ;)</div><div><br></div></div></div></div></div></div><div><div><div class="gmail_extra"><br><br><div class="gmail_quote">On Tue, May 6, 2014 at 1:57 PM, Michael Havens <span dir="ltr"><<a href="mailto:bmike1@gmail.com" target="_blank">bmike1@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div>Okay.... I think I really screwed things up. YOu said:<div><br></div></div><div><div>
<div class="gmail_quote"><div class="gmail_quote">$> fdisk /dev/sdb<br></div></div><div class="gmail_quote"><div class="gmail_quote">
$> Command > o</div><div class="gmail_quote"><div class="gmail_quote">$> Command > n</div><div class="gmail_quote"><div class="gmail_quote">$> Command > 1 (press enter 3times)</div></div></div></div></div>
<div class="gmail_quote">
<div class="gmail_quote">$> Command > t</div><div class="gmail_quote"><div><div class="gmail_quote">$> Command > b</div><div class="gmail_quote">$> Command > w<br></div></div><div class="gmail_quote">
<div class="gmail_quote">
<div class="gmail_quote" style="font-family:arial,sans-serif;font-size:12.727272033691406px">$> Command > p<br></div><div><br></div><div>***The above didn't look like that. There was no '$>'</div><div>
But I figured your computer was just configured differently</div><div>so I carried on!</div><div><br></div><div><div>bmike1@PresarioLapTop1:/media/bmike1/OpenELEC$ sudo fdisk /dev/sdd</div><div><br></div><div>Command (m for help): o </div>
<div>Building a new DOS disklabel with disk identifier 0xf66cb38c.</div><div>Changes will remain in memory only, until you decide to write them.</div><div>After that, of course, the previous content won't be recoverable.</div>
<div><br></div><div>Warning: invalid flag 0x0000 of partition table 4 will be corrected by w(rite)</div><div><br></div><div>Command (m for help): n</div><div>Partition type:<br></div><div> p primary (0 primary, 0 extended, 4 free)</div>
<div> e extended</div><div>Select (default p): p</div><div>Partition number (1-4, default 1): </div><div>Using default value 1</div><div>First sector (2048-3913663, default 2048): </div><div>Using default value 2048</div>
<div>Last sector, +sectors or +size{K,M,G} (2048-3913663, default 3913663): </div><div>Using default value 3913663</div><div><br></div><div>Command (m for help): 1</div><div>1: unknown command</div><div>Command action</div>
<div> a toggle a bootable flag</div><div> b edit bsd disklabel</div><div> c toggle the dos compatibility flag</div><div> d delete a partition</div><div> l list known partition types</div><div> m print this menu</div>
<div> n add a new partition</div><div> o create a new empty DOS partition table</div><div> p print the partition table</div><div> q quit without saving changes</div><div> s create a new empty Sun disklabel</div>
<div> t change a partition's system id</div><div> u change display/entry units</div><div> v verify the partition table</div><div> w write table to disk and exit</div><div> x extra functionality (experts only)</div>
<div><br></div><div>Command (m for help): t</div><div>Selected partition 1</div><div>Hex code (type L to list codes): </div><div>Hex code (type L to list codes): w</div><div>Hex code (type L to list codes): ^[^[</div><div>
Hex code (type L to list codes): </div><div>Hex code (type L to list codes): ^Cbmike1@PresarioLapTop1:/media/bmike1/OpenELEC$ sudo fdisk /dev/sdd</div><div><br></div><div>Command (m for help): o</div><div>Building a new DOS disklabel with disk identifier 0xbdd16f92.</div>
<div>Changes will remain in memory only, until you decide to write them.</div><div>After that, of course, the previous content won't be recoverable.</div><div><br></div><div>Warning: invalid flag 0x0000 of partition table 4 will be corrected by w(rite)</div>
<div><br></div><div>Command (m for help): n</div><div>Partition type:</div><div> p primary (0 primary, 0 extended, 4 free)</div><div> e extended</div><div>Select (default p): b</div><div>Invalid partition type `b'</div>
<div><br></div><div>Command (m for help): n</div><div>Partition type:</div><div> p primary (0 primary, 0 extended, 4 free)</div><div> e extended</div><div>Select (default p): p</div><div>Partition number (1-4, default 1): </div>
<div>Using default value 1</div><div>First sector (2048-3913663, default 2048): </div><div>Using default value 2048</div><div>Last sector, +sectors or +size{K,M,G} (2048-3913663, default 3913663): </div><div>Using default value 3913663</div>
<div><br></div><div>Command (m for help): b</div><div>There is no *BSD partition on /dev/sdd.</div><div><br></div><div>Command (m for help): w</div><div>The partition table has been altered!</div><div><br></div><div>Calling ioctl() to re-read partition table.</div>
<div>Syncing disks.</div><div>bmike1@PresarioLapTop1:/media/bmike1/OpenELEC$ sudo fdisk /dev/sdd<br></div><div><br></div><div>Command (m for help): p</div><div><br></div><div>Disk /dev/sdd: 2003 MB, 2003795968 bytes</div>
<div>11 heads, 4 sectors/track, 88946 cylinders, total 3913664 sectors</div><div>Units = sectors of 1 * 512 = 512 bytes</div><div>Sector size (logical/physical): 512 bytes / 512 bytes</div><div>I/O size (minimum/optimal): 512 bytes / 512 bytes</div>
<div>Disk identifier: 0xbdd16f92</div><div><div><br></div><div> Device Boot Start End Blocks Id System</div></div><div>/dev/sdd1 2048 3913663 1955808 83 Linux</div><div>
<br></div><div>Command (m for help): ^[[B^[[A^[</div>
<div>[: unknown command</div><div>Command action</div><div> a toggle a bootable flag</div><div> b edit bsd disklabel</div><div> c toggle the dos compatibility flag</div><div> d delete a partition</div><div>
l list known partition types</div><div> m print this menu</div><div> n add a new partition</div><div> o create a new empty DOS partition table</div><div> p print the partition table</div><div> q quit without saving changes</div>
<div> s create a new empty Sun disklabel</div><div> t change a partition's system id</div><div> u change display/entry units</div><div> v verify the partition table</div><div> w write table to disk and exit</div>
<div> x extra functionality (experts only)</div><div><br></div><div>Command (m for help): q</div><div><br></div></div><div><div>sudo fdisk -l /dev/sdd1</div><div><br></div><div>Disk /dev/sdd1: 2001 MB, 2001731584 bytes</div>
<div>62 heads, 62 sectors/track, 1017 cylinders, total 3909632 sectors</div><div>Units = sectors of 1 * 512 = 512 bytes</div><div>Sector size (logical/physical): 512 bytes / 512 bytes</div><div>I/O size (minimum/optimal): 512 bytes / 512 bytes</div>
<div>Disk identifier: 0x20ac7dda</div><div><br></div><div>This doesn't look like a partition table</div><div>Probably you selected the wrong device.</div><div><div><br></div><div> Device Boot Start End Blocks Id System</div>
</div><div>/dev/sdd1p1 ? 3224498923 <a href="tel:3657370039" value="+13657370039" target="_blank">3657370039</a> 216435558+ 7 HPFS/NTFS/exFAT</div><div>/dev/sdd1p2 ? 3272020941 930513678 976730017 16 Hidden FAT16</div>
<div>/dev/sdd1p3 ? 0 0 0 6f Unknown</div>
<div>/dev/sdd1p4 50200576 974536369 462167897 0 Empty</div><div><br></div><div>Partition table entries are not in disk order</div></div><div><br></div></div></div></div></div></div><div><div>****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:</div>
<div><br></div><div>bmike1@PresarioLapTop1:/media/bmike1/OpenELEC$ sudo sfdisk /dev/sdd</div><div>Checking that no-one is using this disk right now ...</div><div>OK</div><div><br></div><div>Disk /dev/sdd: 1018 cylinders, 62 heads, 62 sectors/track</div>
<div>Old situation:</div><div>Warning: The partition table looks like it was made</div><div> for C/H/S=*/11/4 (instead of 1018/62/62).</div><div>For this listing I'll assume that geometry.</div><div>Units = cylinders of 22528 bytes, blocks of 1024 bytes, counting from 0</div>
<div><br></div><div> Device Boot Start End #cyls #blocks Id System</div><div>/dev/sdd1 46+ 88946- 88901- 1955808 83 Linux</div><div><span style="white-space:pre-wrap"> </span>start: (c,h,s) expected (46,6,1) found (1,78,9)</div>
<div><span style="white-space:pre-wrap"> </span>end: (c,h,s) expected (1023,10,4) found (34,10,4)</div><div>/dev/sdd2 0 - 0 0 0 Empty</div><div>/dev/sdd3 0 - 0 0 0 Empty</div>
<div>/dev/sdd4 0 - 0 0 0 Empty</div><div>Input in the following format; absent fields get a default value.</div><div><start> <size> <type [E,S,L,X,hex]> <bootable [-,*]> <c,h,s> <c,h,s></div>
<div>Usually you only need to specify <start> and <size> (and perhaps <type>).</div><div><br></div><div>/dev/sdd1 :?</div><div>trailing junk after number</div><div><br></div><div>/dev/sdd1 :</div></div>
<div>
<br></div></div><div class="gmail_extra"><br clear="all"><div>:-)~MIKE~(-:</div><div><div>
<br><br><div class="gmail_quote">On Tue, May 6, 2014 at 7:29 AM, Mike Ballon <span dir="ltr"><<a href="mailto:mike.ballon@gmail.com" target="_blank">mike.ballon@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div dir="ltr"><div>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.</div><div><br></div><div>-- returns the memory stick i just plugged in and assigns device /dev/sdb<br>
</div><div class="gmail_extra"><div class="gmail_extra"><br></div><div class="gmail_extra">$> dmesg<br></div><div class="gmail_extra"><br></div><div class="gmail_extra">[ 452.300827] scsi 3:0:0:0: Direct-Access Kingston DataTraveler 2.0 PMAP PQ: 0 ANSI: 4</div>
<div class="gmail_extra">[ 452.302226] sd 3:0:0:0: Attached scsi generic sg2 type 0</div><div class="gmail_extra">[ 452.316528] sd 3:0:0:0: [sdb] 15240576 512-byte logical blocks: (7.80 GB/7.26</div><br><div class="gmail_quote">
-- automount presents the stick to me because it has a file system<br></div><div class="gmail_quote"><br></div><div class="gmail_quote"><div class="gmail_quote">$> mount | grep sdb</div><div><br></div></div><div class="gmail_quote">
<div class="gmail_quote">/dev/sdb1 on /media/UNTITLED type vfat <br></div><div><br></div><div><div class="gmail_quote">-- fdisk returns the partition info<br></div></div><div><br></div></div><div class="gmail_quote">$> fdisk -l /dev/sdb<br>
</div><div class="gmail_quote"><div class="gmail_quote"><br></div><div class="gmail_quote">Device Boot Start End Blocks Id System<br></div><div class="gmail_quote">/dev/sdb1 2 15240575 7620287 b W95 FAT32</div>
<div><br></div><div><div class="gmail_quote">-- use fdisk to delete the partition</div></div><div><br></div><div>$> fdisk /dev/sdb<br></div></div><div class="gmail_quote">$> Command > d</div><div class="gmail_quote">
<div class="gmail_quote">$> Command > w</div><div class="gmail_quote"><div class="gmail_quote">$> Command > p</div><div><br></div></div><div class="gmail_quote">Device Boot Start End Blocks Id System<br>
</div><div class="gmail_quote"><div class="gmail_quote"><br></div></div></div><div class="gmail_quote"><div class="gmail_quote"><div><div class="gmail_quote">-- use fdisk to create the partition</div></div><div><br></div>
<div>$> fdisk /dev/sdb<br></div></div><div class="gmail_quote">$> Command > o</div><div class="gmail_quote"><div class="gmail_quote">$> Command > n</div><div class="gmail_quote"><div class="gmail_quote">$> Command > 1 (press enter 3times)</div>
</div></div></div><div class="gmail_quote"><div class="gmail_quote">$> Command > t</div><div class="gmail_quote"><div class="gmail_quote">$> Command > b</div><div class="gmail_quote">$> Command > w<br></div>
<div class="gmail_quote"><div class="gmail_quote"><div class="gmail_quote">$> Command > p<br></div><div class="gmail_quote"><br></div><div class="gmail_quote"></div></div><div class="gmail_quote"><div class="gmail_quote">
Device Boot Start End Blocks Id System</div><div class="gmail_quote">/dev/sdb1 2048 15240575 7619264 b W95 FAT32</div><div><br></div><div>-- 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</div>
<div><br></div><div>$> umount /dev/sdb1</div><div>$> mkfs.vfat /dev/sdb1</div><div>$> mount /dev/sdb /mnt/foobar</div><div>$> touch /mnt/foobar/test.txt</div><div>$> ls /mnt/fobar</div><div><br></div><div>
<div>
test.txt</div></div><div><br></div><div>-- oops forgot the renaming of volume, I'm on debian so</div><div><br></div><div>$> apt-get install mtools</div><div><br></div><div><div>Setting up mtools (4.0.17-1) ...</div>
</div><div><br></div><div>$> mlabel -i /dev/sdb1 ::usb_stick</div><div><br></div><div>again... gparted is your friend</div><div><br></div></div></div></div></div><div><div><div class="gmail_quote"><br></div>
<div class="gmail_quote">
On Tue, May 6, 2014 at 9:42 AM, Mike Ballon <span dir="ltr"><<a href="mailto:mike.ballon@gmail.com" target="_blank">mike.ballon@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex">
<div dir="ltr">if you unmounted then /dev/sdd1 would no longer be there.<div><br></div><div>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.</div></div><div>
<div><div class="gmail_extra">
<br><br><div class="gmail_quote">On Tue, May 6, 2014 at 3:34 AM, Michael Havens <span dir="ltr"><<a href="mailto:bmike1@gmail.com" target="_blank">bmike1@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex">
<div dir="ltr">bummer.... new drive:<div><div><br></div><div>mount</div><div>...</div><div>/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)</div>
<div><unmout device with file manager></div><div>bmike1@PresarioLapTop1:/media/bmike1/OpenELEC$ sudo mkfs -t vfat /dev/sdd1</div><div>mkfs.vfat 3.0.13 (30 Jun 2012)</div><div>/dev/sdd1: No such file or directory</div>
<div>bmike1@PresarioLapTop1:/media/bmike1/OpenELEC$ </div></div><div><div>bmike1@PresarioLapTop1:/media/bmike1/OpenELEC$ sudo mkfs -t vfat /dev/sdd1</div><div>mkfs.vfat 3.0.13 (30 Jun 2012)</div><div>/dev/sdd1: No such file or directory</div>
</div><div><div>bmike1@PresarioLapTop1:/media/bmike1/OpenELEC$ sudo e2label /dev/sdd1 Pny2G</div><div>e2label: No such file or directory while trying to open /dev/sdd1</div><div><div>Couldn't find valid filesystem superblock.</div>
</div></div><div><br></div><div>what am I doing wrong?</div></div><div class="gmail_extra"><br clear="all"><div>:-)~MIKE~(-:</div><div><div>
<br><br><div class="gmail_quote">On Mon, May 5, 2014 at 8:28 PM, Michael Havens <span dir="ltr"><<a href="mailto:bmike1@gmail.com" target="_blank">bmike1@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex">
<div dir="ltr">that wouldn't change a vfat system but it inspired the correct search terms and I found 'dosfslabel'. Thanks for the help, man:D</div><div class="gmail_extra"><br clear="all"><div>:-)~MIKE~(-:</div>
<div><div>
<br><br><div class="gmail_quote">On Mon, May 5, 2014 at 7:50 PM, Ryan Rix <span dir="ltr"><<a href="mailto:ry@n.rix.si" target="_blank">ry@n.rix.si</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex">
Yeah, you're right Mike.<br>
<br>
<a href="https://help.ubuntu.com/community/RenameUSBDrive#FAT16_and_FAT32" target="_blank">https://help.ubuntu.com/community/RenameUSBDrive#FAT16_and_FAT32</a><br>
<div><div><br>
Michael Havens <<a href="mailto:bmike1@gmail.com" target="_blank">bmike1@gmail.com</a>> writes:<br>
> same thing:<br>
><br>
> sudo e2label /dev/sdd1 Goodwill<br>
> e2label: Bad magic number in super-block while trying to open<br>
> /dev/sdd1<br>
> Couldn't find valid filesystem superblock.<br>
><br>
> could it be because it is a vfat file system? (while I love linux I<br>
> like to have the ability for my flash drives to be used on common<br>
> computers)<br>
><br>
> :-)~MIKE~(-:<br>
><br>
> On Mon, May 5, 2014 at 5:51 PM, Mike Ballon <<a href="mailto:mike.ballon@gmail.com" target="_blank">mike.ballon@gmail.com</a>><br>
> wrote:<br>
><br>
> It's I file system label so yes, you'll need to format. If there<br>
> is no partition will have to create a partition before you can do<br>
> a mkfs gparted should do all that for you<br>
><br>
><br>
><br>
> On May 5, 2014 7:47 PM, "Michael Havens" <<a href="mailto:bmike1@gmail.com" target="_blank">bmike1@gmail.com</a>> wrote:<br>
><br>
><br>
> Thanks Mike. Does this error mean I need to format the drive?<br>
><br>
><br>
><br>
> sudo e2label /dev/sdc1 Goodwill<br>
> e2label: Bad magic number in super-block while trying to open<br>
> /dev/sdc1<br>
> Couldn't find valid filesystem superblock.<br>
><br>
><br>
> This is what 'mount' shows sdc1 to be:<br>
><br>
><br>
><br>
> /dev/sdc1 on /media/bmike1/OpenELEC type vfat<br>
> (rw,nosuid,nodev,uid=1000,gid=1000,shortname=mixed,dmask=0077,utf8=1,<br>
> showexec,flush,uhelper=udisks2)<br>
><br>
><br>
> and to format this and apply the label it would be:<br>
><br>
> mkfs -t vfat /dev/sdc1;e2label /dev/sdc1 Goodwill<br>
><br>
><br>
><br>
><br>
><br>
><br>
> :-)~MIKE~(-:<br>
><br>
><br>
><br>
> On Mon, May 5, 2014 at 4:08 PM, Mike Ballon<br>
> <<a href="mailto:mike.ballon@gmail.com" target="_blank">mike.ballon@gmail.com</a>> wrote:<br>
><br>
><br>
> e2label<br>
><br>
><br>
><br>
><br>
> On Mon, May 5, 2014 at 7:05 PM, Michael Havens<br>
> <<a href="mailto:bmike1@gmail.com" target="_blank">bmike1@gmail.com</a>> wrote:<br>
><br>
><br>
><br>
> I have a few flash drives. When I plug them in to my<br>
> computer a name referring to that flash drive appears<br>
> in the file manager. I have two questions: the first<br>
> is how do I change that name? The second is how do I<br>
> set that name when I format the drive?<br>
><br>
> :-)~MIKE~(-:<br>
><br>
><br>
> ---------------------------------------------------<br>
> PLUG-discuss mailing list -<br>
> <a href="mailto:PLUG-discuss@lists.phxlinux.org" target="_blank">PLUG-discuss@lists.phxlinux.org</a><br>
> To subscribe, unsubscribe, or to change your mail<br>
> settings:<br>
> <a href="http://lists.phxlinux.org/mailman/listinfo/plug-discuss" target="_blank">http://lists.phxlinux.org/mailman/listinfo/plug-discuss</a><br>
><br>
><br>
><br>
> ---------------------------------------------------<br>
> PLUG-discuss mailing list -<br>
> <a href="mailto:PLUG-discuss@lists.phxlinux.org" target="_blank">PLUG-discuss@lists.phxlinux.org</a><br>
> To subscribe, unsubscribe, or to change your mail<br>
> settings:<br>
> <a href="http://lists.phxlinux.org/mailman/listinfo/plug-discuss" target="_blank">http://lists.phxlinux.org/mailman/listinfo/plug-discuss</a><br>
><br>
><br>
><br>
> ---------------------------------------------------<br>
> PLUG-discuss mailing list - <a href="mailto:PLUG-discuss@lists.phxlinux.org" target="_blank">PLUG-discuss@lists.phxlinux.org</a><br>
> To subscribe, unsubscribe, or to change your mail settings:<br>
> <a href="http://lists.phxlinux.org/mailman/listinfo/plug-discuss" target="_blank">http://lists.phxlinux.org/mailman/listinfo/plug-discuss</a><br>
><br>
> ---------------------------------------------------<br>
> PLUG-discuss mailing list - <a href="mailto:PLUG-discuss@lists.phxlinux.org" target="_blank">PLUG-discuss@lists.phxlinux.org</a><br>
> To subscribe, unsubscribe, or to change your mail settings:<br>
> <a href="http://lists.phxlinux.org/mailman/listinfo/plug-discuss" target="_blank">http://lists.phxlinux.org/mailman/listinfo/plug-discuss</a><br>
><br>
><br>
> ---------------------------------------------------<br>
> PLUG-discuss mailing list - <a href="mailto:PLUG-discuss@lists.phxlinux.org" target="_blank">PLUG-discuss@lists.phxlinux.org</a><br>
> To subscribe, unsubscribe, or to change your mail settings:<br>
> <a href="http://lists.phxlinux.org/mailman/listinfo/plug-discuss" target="_blank">http://lists.phxlinux.org/mailman/listinfo/plug-discuss</a><br>
---------------------------------------------------<br>
PLUG-discuss mailing list - <a href="mailto:PLUG-discuss@lists.phxlinux.org" target="_blank">PLUG-discuss@lists.phxlinux.org</a><br>
To subscribe, unsubscribe, or to change your mail settings:<br>
<a href="http://lists.phxlinux.org/mailman/listinfo/plug-discuss" target="_blank">http://lists.phxlinux.org/mailman/listinfo/plug-discuss</a><br>
</div></div></blockquote></div><br></div></div></div>
</blockquote></div><br></div></div></div>
<br>---------------------------------------------------<br>
PLUG-discuss mailing list - <a href="mailto:PLUG-discuss@lists.phxlinux.org" target="_blank">PLUG-discuss@lists.phxlinux.org</a><br>
To subscribe, unsubscribe, or to change your mail settings:<br>
<a href="http://lists.phxlinux.org/mailman/listinfo/plug-discuss" target="_blank">http://lists.phxlinux.org/mailman/listinfo/plug-discuss</a><br></blockquote></div><br></div>
</div></div></blockquote></div><br></div></div></div></div>
<br>---------------------------------------------------<br>
PLUG-discuss mailing list - <a href="mailto:PLUG-discuss@lists.phxlinux.org" target="_blank">PLUG-discuss@lists.phxlinux.org</a><br>
To subscribe, unsubscribe, or to change your mail settings:<br>
<a href="http://lists.phxlinux.org/mailman/listinfo/plug-discuss" target="_blank">http://lists.phxlinux.org/mailman/listinfo/plug-discuss</a><br></blockquote></div><br></div></div></div>
<br>---------------------------------------------------<br>
PLUG-discuss mailing list - <a href="mailto:PLUG-discuss@lists.phxlinux.org" target="_blank">PLUG-discuss@lists.phxlinux.org</a><br>
To subscribe, unsubscribe, or to change your mail settings:<br>
<a href="http://lists.phxlinux.org/mailman/listinfo/plug-discuss" target="_blank">http://lists.phxlinux.org/mailman/listinfo/plug-discuss</a><br></blockquote></div><br></div>
</div></div><br>---------------------------------------------------<br>
PLUG-discuss mailing list - <a href="mailto:PLUG-discuss@lists.phxlinux.org" target="_blank">PLUG-discuss@lists.phxlinux.org</a><br>
To subscribe, unsubscribe, or to change your mail settings:<br>
<a href="http://lists.phxlinux.org/mailman/listinfo/plug-discuss" target="_blank">http://lists.phxlinux.org/mailman/listinfo/plug-discuss</a><br></blockquote></div><br></div></div></div>
</blockquote></div><br></div></div></div>
<br>---------------------------------------------------<br>
PLUG-discuss mailing list - <a href="mailto:PLUG-discuss@lists.phxlinux.org" target="_blank">PLUG-discuss@lists.phxlinux.org</a><br>
To subscribe, unsubscribe, or to change your mail settings:<br>
<a href="http://lists.phxlinux.org/mailman/listinfo/plug-discuss" target="_blank">http://lists.phxlinux.org/mailman/listinfo/plug-discuss</a><br></blockquote></div><br></div>
</div></div><br>---------------------------------------------------<br>
PLUG-discuss mailing list - <a href="mailto:PLUG-discuss@lists.phxlinux.org" target="_blank">PLUG-discuss@lists.phxlinux.org</a><br>
To subscribe, unsubscribe, or to change your mail settings:<br>
<a href="http://lists.phxlinux.org/mailman/listinfo/plug-discuss" target="_blank">http://lists.phxlinux.org/mailman/listinfo/plug-discuss</a><br></blockquote></div><br></div></div></div>
</blockquote></div><br></div>