Results 1 to 7 of 7

Thread: Format new micro SD card

  1. #1
    Join Date
    Apr 2006
    Beans
    3,937

    Format new micro SD card

    SanDisk
    Extreme PRO
    microSDXC UHS-I Card
    170 MB/s Read
    90 MB/s Write
    128GB

    Hi all,

    My new micro SD card couldn't be mounted/detected automatically.

    ~$ ls /dev/ | grep sd
    Code:
    sda
    sda1
    sdb
    sdb1
    sdb2
    sdc
    $ sudo fdisk -l | grep sdc
    not showing here

    ~$ lsblk
    Code:
    ......
    sda      8:0    0   1.8T  0 disk 
    └─sda1   8:1    0   1.8T  0 part 
    sdb      8:16   0   1.8T  0 disk 
    ├─sdb1   8:17   0   512M  0 part /boot/efi
    └─sdb2   8:18   0   1.8T  0 part /
    sr0     11:0    1  1024M  0 rom 
    ......
    also not showing here.

    I suppose it needs to be formatted first ?

    Shall I run;
    1)
    $ sudo mkfs.vfat -F32 -v /dev/sdc

    to format it ?

    OR
    2)
    parted "Creating a Partition and Formatting" it as ext4 ?

    The new micro SD card shall be used as hard drive of Raspberry Pi 3. I shall burn Raspberry OS on it.

    Please advise. Thanks

    Regards
    satimis

  2. #2
    Join Date
    Nov 2012
    Location
    Halloween Town
    Beans
    Hidden!
    Distro
    Xubuntu Development Release

    Re: Format new micro SD card

    Thread moved to Hardware.

  3. #3
    Join Date
    May 2013
    Location
    Galiza
    Beans
    4,009
    Distro
    Ubuntu

    Re: Format new micro SD card

    A new 128GB microSD card is likely formatted as exFAT for which support must be installed (there's no native, "out of the box" support in desktop Linux yet).

    But, of course, you can format it using a different file system and not install support for exFAT. That said, why FAT32? If the card is to be used only in Ubuntu you can format it as EXT4.

  4. #4
    Join Date
    Nov 2011
    Location
    /dev/root
    Beans
    Hidden!

    Re: Format new micro SD card

    A micro SD card should be seen by lsblk even if there is no partition and no file system. Otherwise it is not correctly connected (or the card itself is damaged).

    By the way, /dev/sdc could be something else, because some USB adapters for SD cards will show up as a device even if no card is connected. How is the card connected? Maybe it is connected via PCI (instead of USB) and seen as /dev/mmcblk0?

  5. #5
    Join Date
    Mar 2010
    Location
    Squidbilly-Land
    Beans
    Hidden!
    Distro
    Ubuntu

    Re: Format new micro SD card

    if this will be used as the boot storage for a r-pi, then forget formatting. The process of a bit-for-bit copy as most r-pi OS installs happen includes the file system and format.

    Getting the card to be seen by the OS is a completely different issue. Not all cards are compatible with all card readers. There are lots of fake cards in the world.

  6. #6
    Join Date
    Mar 2007
    Location
    Promiseland
    Beans
    1,549
    Distro
    Xubuntu 22.04 Jammy Jellyfish

    Re: Format new micro SD card

    You can get the Raspberry Pi imager for Ubuntu, MacOS, and Windows here, https://www.raspberrypi.org/downloads/
    I used it twice last week; it works just fine with SD and microSD cards.
    Cheers,


    The Linux Command Line at http://linuxcommand.org/

  7. #7
    Join Date
    Apr 2006
    Beans
    3,937

    Re: Format new micro SD card

    Hi all,

    Lot of thanks for your advice.

    TheFu’s advice on #5 above is correct. It doesn’t need to format the new micro SD card. Just download Raspbian Strectch package on:

    Download Raspbian Stretch
    https://howchoo.com/g/nzc0yjzjy2u/ra...retch-download

    Decompress it as .img and run usb-creator-gtk to burn it on the micro SD card. That is all. The software takes care of the rest.

    Start Raspberry Pi 3 with the micro SD card on. Raspberry guides me to complete all necessary setup. Now I’m replying this link on Raspberry. That is all.

    I’ll start my next adventure on following link;
    Homebridge On A Raspberry Pi
    https://ubuntuforums.org/showthread.php?t=2439446

    Thanks again folks.

    Regards
    satimis

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
  •