Results 1 to 3 of 3

Thread: SD card after dd commands shows 4GB capacity instead of 16 GB

  1. #1
    Join Date
    Jul 2009
    Beans
    309

    SD card after dd commands shows 4GB capacity instead of 16 GB

    I have an SD card , capacity 16 gb which had 3 partitions ,msdos 500MB , ext4 2gb and Ext4 12GB. After trying some dd commands which are required to write Raspbian, the card gave error.
    The location is outside of the device /dev/sdb

    . The 3rd partition is missing . I deleted all partitions and formatted both the partitions. The partition and the drive size shown is 4GB instead of the correct 16 GB
    Any hints, help are welcome. Using Ubuntu 18.04
    Last edited by deepakdeshp; 1 Week Ago at 07:46 PM.

  2. #2
    Join Date
    Mar 2010
    Location
    Squidbilly-Land
    Beans
    15,655
    Distro
    Ubuntu Mate 16.04 Xenial Xerus

    Re: SD card after dd commands shows 4GB capacity instead of 16 GB

    Instead of describing what you see, please post real data. Use "code tags" so things are readable and line up.

    sudo fdisk -l

    And the exact dd command would be helpful.

    If you wrote to the disk device /dev/sdb, then you over wrote the partition table. If you wrote to an early partition more data than that partition could hold, it would over write the next partition too. dd is dumb. It writes the input data until either 1) the input ends, or 2) the output device is full and STOPS accepting data.
    Last edited by TheFu; 1 Week Ago at 09:20 PM.

  3. #3
    Join Date
    Jun 2006
    Location
    UK
    Beans
    Hidden!
    Distro
    Ubuntu 18.04 Bionic Beaver

    Re: SD card after dd commands shows 4GB capacity instead of 16 GB

    According to your post in the link that you included in your post here, and then edited out, you are using Mint 19.1, not Ubuntu 18.04.

    Thread moved to the MINT sub-forum.

    I provide this link so that those helping here may see what advice you are being given on the Linux Mint forums. You might consider extending the same courtesy to the Linux Mint forum members.
    Ubuntu 16.04 Desktop Guide - Ubuntu 17.10 Desktop Guide - Forum Guide to BBCode - Using BBCode code tags - IRC #ubuntuforums

    Member: Not Canonical Team

    Please do not PM me about your forum account unless you have been asked to. The correct place to contact an admin about your account is here.

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •