having troubles with dd

Forum rules
Before you post please read how to get help

having troubles with dd

Postby caslie on Tue Aug 07, 2012 1:24 am

i tried to download arch linux iso out of curiousity and made the command

# dd if=archlinux.iso of=/dev/sdb

it went okay but i changed my mind but when i tried to use the USB it can't be used anymore.. It was 4GB USB but now the system only detects 125MB..
i also tried using # dd count=1 bs=512 if=/dev/zero of=/dev/sdb but to no avail...

i also tried gparted but it doesn't detect any partition.. i also tried formatting it in windows 7 but windows failed in formatting.. it only detects 125MB out of the 4B...

help!!! thanks.
Level 1
Level 1
Posts: 5
Joined: Mon Jul 30, 2012 2:48 am

Linux Mint is funded by ads and donations.

Re: having troubles with dd

Postby karlchen on Wed Aug 08, 2012 4:42 pm

Hello, caslie.

Maybe this article will help solve your problem and return your pendrive to its initial size: How To Use DiskPart Command To Recover Missing Or Unallocated Space On A USB Drive. Windows Diskpart is used to recover the unallocated space which is present but cannot be accessed.
Reason: By using dd to write an ISO image to the pendrive which was smaller than the pendrive the pendrive partition table has been changed now suggesting the available "disk" space were much smaller than the pendrive actually is.

Still using Linux Mint 14, 15, or 16? Upgrade to 17 asap!
Europeans: sudo apt-get purge ttip ceta
User avatar
Level 15
Level 15
Posts: 5929
Joined: Sat Dec 31, 2011 7:21 am

Return to XFCE

Who is online

Users browsing this forum: Google [Bot], Google Feedfetcher and 5 guests