I probably have a corrupted SD card. And I'd like to fill it with zeros, 100%. So what commands should I type, assuming the device is /dev/sdc?
104308
I'm currently running Ubuntu 12.04 and want to completely format my laptop so I can install Windows 7 (replace Ubuntu).   When I put in my bootable USB with the OS it just shows a black screen with a white blinking cursor on the top left corner. I wait for hours (to be specific 5 whole hours) waiting for something to happen but I get nothing, so I pull out the USB and my Ubuntu 12.04 loads up.  Repeated this several times with putting different boot priority options on top-est that relate to USB but the results are same. I go and visit some sites on the net like this  that say I have to zero out my hard drive.   My question is how?  Note: Erasing out all my data is no problem cause I have nothing important to backup.  If I have to lose my primary OS (Ubuntu 12.04) in the process I am ready to as my aim is just to install Windows 7 successfully. Please don't answer that there is something wrong with my USB or my USB reader/port/hardware or the content inside the USB cause they all works fine on my brothers PC as it boots up flawlessly.
57316
How can I format or partition SD card in Kubuntu?  Is there an application with GUI for this?
59622
I have a 32 GB micro SD card which got kind of corrupted during file transferring from my computer. Now, I am not able to format it. On Linux: I have tried Disks utility of Linux, it has no effect on the SD card or its partitions. Sometimes it shows the error: error synchronizing after initial wipe: Timed out waiting for object (udisks-error-quark, 0)  GParted shows that it has completed the formatting successfully, but when it refreshes, the SD card comes to its previous state, unaffected. Below is the output of fsck/dosfsck (which claims to fix the issue, but actually it does not): snehasish@asus-x200ma:~$ sudo fsck /dev/sdb1 fsck from util-linux 2.27.1 fsck.fat 3.0.28 (2015-05-16) 0x41: Dirty bit is set. Fs was not properly unmounted and some data may be corrupt. 1) Remove dirty bit 2) No action ? 1 /Attack on Titan - Season 2/[Cleo]Attack_on_Titan_S2_-_09_(Dual Audio_10bit_720p_x265).mkv   File size is 209715200 bytes, cluster chain length is &gt; 209715200 bytes.   Truncating file to 209715200 bytes. Free cluster summary wrong (189446 vs. really 189430) 1) Correct 2) Don't correct ? 1 Perform changes ? (y/n) y /dev/sdb1: 5469 files, 778346/967776 clusters  By default the SD card is getting mounted in read-only mode, and sometimes only the defected folder is labelled read-only. I have tried to delete all the contents of the SD card by remounting it in writable mode, but the contents come back when I re-insert the card. I have also tried to re-write the whole SD card with dd using the following command: dd if=/dev/zero of=/dev/sdb bs=16MB  dd if=/dev/zero of=/dev/sdb1 bs=16MB  It completes normally, but the SD card is again unaffected. The utility parted did not proved to be useful either. On Windows: I have tried formatting on Windows from the File Explorer, it says &quot;Windows was unable to complete the format&quot; for both quick and full format. Disk Management also showed the same error message when I tried to format from there. DISKPART also failed to format it. CHKDSK detected the corrupted file, but in the process of fixing the issue, it ended normally after showing &quot;6% completed...&quot;. On windows, I am not able to delete the corrupted folder as well. It does not show any error message. It just does nothing when I tried to delete the folder.  All I want is to format the SD card and reuse it. I have already taken back up, so I don't want any data to be recovered. I have tried many other ways of deleting the contents/formatting which I don't remember. Any help in fixing this ghostly issue will be much appreciated.
28802
I have read about this on , the articles were a few months old though.  Is there an official guide from Ubuntu on how to do this?
49630
I written an ISO image to my hard disk using sudo dd if=image.iso of=/dev/sda. I meant /dev/sdc, and now running sudo fdisk -l returns only one partition on /dev/sda while there is supposed to be 6. Is it possible to recover my data?  I didn't shut down (reboot) my computer yet.
119765
What is 0 A.D. and how can I install it on Ubuntu?
98607
How can we check the mount points for partitions listed in /dev/sd*? For example, I would like know if the partition for my home is /dev/sda4.
81018
I have "zero filled" (complete wiped) an external hard disk using dd, and from what I have heard: people said you should at least "zero fill" 3 times to be sure that the data are really wiped and no one can recover anything.  So I decided to scan the disk once again after I've zero filled the disk. I was expecting the disk to still have some random binary left. It turned out that it has only a few sequential bytes in the very beginning. This is probably the file structure type and other headers stuff. Other than that, it's all zeros and nothing else.  So if we have to recover any file from a zero filled disk, ...how? From what I've heard, even you zero fill the disk, you should still have some data left. ...or could dd really completely annihilate all data?
45599
Could you please correct my batch command?   I had 100 img images which need to be converted into 8 unsigned bit format for further use in TIMESAT.   mkdir test for %%f in (*.img) do gdal_translate -of ENVI -scale -1 1 1 255 -a_nodata 0 -co INTERLEAVE=BSQ "%%f" test/%%f.dat
59690
edit OK thanks to you i found the file but now every time i put a 'iso' file it says 0.0B (like its Not weigh any..) what to do now:
107392
How could you copy the contents of an HDC to a bitmap?
48216
I was messing around with my new hard drive, which only contains some personal files, and to check its write speed, I typed: sudo dd if=/dev/zero of=/dev/sda, /dev/sda/ being the new 2 TB connected to my Raspberry Pi.  Hopefully, I cancelled the command and only 11 MB have been written. Now disk content can't show up, and now parted tell me that the partition tree is like this:  |--- unallocated 8.00 MB |--- unknown 1.82 TB |--- unallocated 9.08 MB   Before, it was like this:  |--- ext4 1.82 TB   I don't know if dd did overwrite the first 11 MB of the disk, which means that the partition table have been totally overwritten, or random bits of the hard drive have been overwritten.  Now the hard drive is connected to my Xubuntu 14.04 laptop as /dev/sdb. I've tried gpart which is still running, and also testdisk without success.  Knowing that the whole disk was ext4 and that sector size was 4096, is it possible to recover the partition table without re-formating and make me able to access my files again (even if some have been corrupted/deleted)? Or the only solution I have is to use a file recovery tool, which would be tiresome because of the amount of data to copy stored on this drive?
79594
How can I find out the size of a block device, such as /dev/sda? Running ls -l gives no useful information.
22721
I am following this tutorial for moving apps to sd card.    But My Default Location is not changing. And My Phone Memory is full and unable to install new apps.
82644
I tried executing a script on the sdcard as is because on FAT, everything is 777.  ./.profile ./.profile: permission denied   I added this as the initial command for the Android shell and it executes it just fine:  eval "$(cat /sdcard/.profile)"   So what I'm wondering is: Is there a way I can execute a script on the sdcard (other than the way I found out) and be able to pass arguments to it or do I need to do it the normal BTEP way (in its data directory)?
49262
On Linux, given:    a device, for example /dev/sda,  and its major and minor numbers, for example 8, 0,    how can I know which module / driver is "driving" it?  Can I dig into /sys or /proc to discover that?
99318
Say you want to zero-out a failing hard disk. You want to overwrite as much as possible with zeros. What you don't want is: the process aborts on the first write-error. How to do that?  AFAICS, plain dd only provides an option for ignoring read errors. Thus, something like  dd if=/dev/zero of=/dev/disk/by-id/lousy-vendor-123 bs=128k   is not enough.  ddrescue seems to be better at ignoring errors - but what would be the optimal command line with it?  My try with GNU ddrescue:  ddrescue --verbose --force --no-split /dev/zero /dev/disk/by-id/lousy-vendor-123