<div dir="ltr">thanks for the 'di' info!<div>I git everything taken care of after I figured out the name of that disk manager program; gparted.</div></div><div class="gmail_extra"><br clear="all"><div><div class="gmail_signature">:-)~MIKE~(-:</div></div>
<br><div class="gmail_quote">On Sat, Apr 4, 2015 at 9:57 AM, Rusty Ramser <span dir="ltr"><<a href="mailto:rusty_ramser@hotmail.com" target="_blank">rusty_ramser@hotmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div lang="EN-US" link="#0563C1" vlink="#954F72"><div><div><div><div><p class="MsoNormal"><span style="font-size:10.0pt;font-family:"Verdana","sans-serif"">Hi, Mike.<u></u><u></u></span></p><p class="MsoNormal"><span style="font-size:10.0pt;font-family:"Verdana","sans-serif""><u></u> <u></u></span></p><p class="MsoNormal"><span style="font-size:10.0pt;font-family:"Verdana","sans-serif"">mkfs just <u>m</u>a<u>k</u>es a <u>f</u>ile <u>s</u>ystem, it doesn’t do the partitioning for you. For that, you’ll probably just want to use fdisk. You’ll need to figure out which device your 8 GB card is, but it’s usually not too hard. If you’ve got one hard disk (likely /dev/sda) and no other external drives/devices added, when you insert the card it will probably be /dev/sdb.<u></u><u></u></span></p><p class="MsoNormal"><span style="font-size:10.0pt;font-family:"Verdana","sans-serif""><u></u> <u></u></span></p><p class="MsoNormal"><span style="font-size:10.0pt;font-family:"Verdana","sans-serif"">Try doing something like this: </span><span style="font-size:11.0pt;font-family:Consolas;color:#44546a">sudo fdisk -l /dev/sdb</span><span style="font-size:10.0pt;font-family:"Verdana","sans-serif""><u></u><u></u></span></p><p class="MsoNormal"><span style="font-size:10.0pt;font-family:"Verdana","sans-serif"">That’s a lower case “L”, for list. Not a number one. The command just displays information and then immediately exits out to your shell prompt.<u></u><u></u></span></p><p class="MsoNormal"><span style="font-size:10.0pt;font-family:"Verdana","sans-serif""><u></u> <u></u></span></p><p class="MsoNormal"><span style="font-size:10.0pt;font-family:"Verdana","sans-serif"">Does it report back drive partitioning information that looks like your 8 GB card? That’s probably it then. Does it report back 500 GB that looks like your external USB drive you have attached? Wrong device, obviously. Try looking at /dev/sdc and so on, until you find your card. Alternatively, you can just issue the command without specifying any device at all (</span><span style="font-size:11.0pt;font-family:Consolas;color:#44546a">sudo fdisk -l</span><span style="font-size:10.0pt;font-family:"Verdana","sans-serif"">) and it will spit out a long listing of all your drives and partitions; it might be easier to spot the 8 GB card that way.<u></u><u></u></span></p><p class="MsoNormal"><span style="font-size:10.0pt;font-family:"Verdana","sans-serif""><u></u> <u></u></span></p><p class="MsoNormal"><span style="font-size:10.0pt;font-family:"Verdana","sans-serif"">Once you’ve nailed down which device your card is, you can even be extra safe by removing the card and then running the fdisk command again. Does it error out because it can’t find your device? That’s good, because it shows you’ve removed the right device. Insert the card again and run the fdisk listing command to make sure it’s still the same device.<u></u><u></u></span></p><p class="MsoNormal"><span style="font-size:10.0pt;font-family:"Verdana","sans-serif""><u></u> <u></u></span></p><p class="MsoNormal"><span style="font-size:10.0pt;font-family:"Verdana","sans-serif"">Once you know what device you’re dealing with, just run fdisk interactively (</span><span style="font-size:11.0pt;font-family:Consolas;color:#44546a">sudo fdisk /dev/sdb</span><span style="font-size:10.0pt;font-family:"Verdana","sans-serif"">, for example) to delete the existing partitions and create one big new one. Then use </span><span style="font-size:11.0pt;font-family:Consolas;color:#44546a">mkfs</span><span style="font-size:10.0pt;font-family:"Verdana","sans-serif""> to create your file system on the card, and you’re ready to go.<u></u><u></u></span></p><p class="MsoNormal"><span style="font-size:10.0pt;font-family:"Verdana","sans-serif""><u></u> <u></u></span></p><p class="MsoNormal"><span style="font-size:10.0pt;font-family:"Verdana","sans-serif"">Bonus Only-Partially-Related-To-Anything Tip: Do you have the </span><span style="font-size:11.0pt;font-family:Consolas;color:#44546a">di</span><span style="font-size:10.0pt;font-family:"Verdana","sans-serif""> utility installed on your system? It stands for Disk Information, and I find it provides much more usable information than </span><span style="font-size:11.0pt;font-family:Consolas;color:#44546a">df</span><span style="font-size:10.0pt;font-family:"Verdana","sans-serif""> or </span><span style="font-size:11.0pt;font-family:Consolas;color:#44546a">du</span><span style="font-size:10.0pt;font-family:"Verdana","sans-serif"">. I would typically use </span><span style="font-size:11.0pt;font-family:Consolas;color:#44546a">di</span><span style="font-size:10.0pt;font-family:"Verdana","sans-serif""> first to see a listing of drive devices/partitions I had available.<u></u><u></u></span></p><p class="MsoNormal"><span style="font-size:10.0pt;font-family:"Verdana","sans-serif""><u></u> <u></u></span></p><p class="MsoNormal"><span style="font-size:10.0pt;font-family:"Verdana","sans-serif"">Cheers.<u></u><u></u></span></p><p class="MsoNormal"><span style="font-size:10.0pt;font-family:"Verdana","sans-serif""><u></u> <u></u></span></p><p class="MsoNormal"><span style="font-size:10.0pt;font-family:"Verdana","sans-serif""><u></u> <u></u></span></p><p class="MsoNormal"><span style="font-size:10.0pt;font-family:"Tahoma","sans-serif"">----- Original Message -----<u></u><u></u></span></p><p class="MsoNormal"><b><span style="font-size:10.0pt;font-family:"Tahoma","sans-serif"">From:</span></b><span style="font-size:10.0pt;font-family:"Tahoma","sans-serif""> <a href="mailto:plug-discuss-bounces@lists.phxlinux.org" target="_blank">plug-discuss-bounces@lists.phxlinux.org</a> [mailto:<a href="mailto:plug-discuss-bounces@lists.phxlinux.org" target="_blank">plug-discuss-bounces@lists.phxlinux.org</a>] <b>On Behalf Of </b>Michael Havens<br><b>Sent:</b> Saturday, April 4, 2015 09:41<br><b>To:</b> PLUG<br><b>Subject:</b> Re: I have an 8GB card....<u></u><u></u></span></p><span class=""><p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Tahoma","sans-serif""><u></u> <u></u></span></p><p class="MsoNormal">I found the command. I used df but this is what happened after I tried to format it:<u></u><u></u></p><p class="MsoNormal"><u></u> <u></u></p><p class="MsoNormal"> $ sudo mkfs /dev/sdc<u></u><u></u></p><p class="MsoNormal">mke2fs 1.42.9 (4-Feb-2014)<u></u><u></u></p><p class="MsoNormal">/dev/sdc is entire device, not just one partition!<u></u><u></u></p><p class="MsoNormal">Proceed anyway? (y,n) y<u></u><u></u></p><p class="MsoNormal">mkfs.ext2: No medium found while trying to determine filesystem size<u></u><u></u></p><p class="MsoNormal"><u></u> <u></u></p><p class="MsoNormal">What is wrong?<u></u><u></u></p><p class="MsoNormal"><br clear="all"><u></u><u></u></p><p class="MsoNormal">:-)~MIKE~(-:<u></u><u></u></p><p class="MsoNormal"><span style="font-size:10.0pt;font-family:"Verdana","sans-serif""><u></u> <u></u></span></p><p class="MsoNormal"><span style="font-size:10.0pt;font-family:"Verdana","sans-serif""><u></u> <u></u></span></p></span><p class="MsoNormal"><span style="font-size:10.0pt;font-family:"Tahoma","sans-serif"">----- Original Message -----<u></u><u></u></span></p><p class="MsoNormal"><b><span style="font-size:10.0pt;font-family:"Tahoma","sans-serif"">From:</span></b><span style="font-size:10.0pt;font-family:"Tahoma","sans-serif""> <a href="mailto:plug-discuss-bounces@lists.phxlinux.org" target="_blank">plug-discuss-bounces@lists.phxlinux.org</a> [mailto:<a href="mailto:plug-discuss-bounces@lists.phxlinux.org" target="_blank">plug-discuss-bounces@lists.phxlinux.org</a>] <b>On Behalf Of </b>Michael Havens<br><b>Sent:</b> Saturday, April 4, 2015 09:24<br><b>To:</b> PLUG<br><b>Subject:</b> I have an 8GB card....<u></u><u></u></span></p><span class=""><p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Tahoma","sans-serif""><u></u> <u></u></span></p><p class="MsoNormal">I want to use this card. Currently it is partitioned. Can I delete all of the partitions by formatting it with mkfs? I would have just tried it without asking but I can't remember what the command is to see what number the device has been assigned (/dev/sd??) so I need help with that as well.<br clear="all"><u></u><u></u></p><p class="MsoNormal">:-)~MIKE~(-:<u></u><u></u></p></span></div></div></div></div></div><br>---------------------------------------------------<br>
PLUG-discuss mailing list - <a href="mailto:PLUG-discuss@lists.phxlinux.org">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>