Main Menu

search

You are here

GParted

[last updated: 2019-11-15]
go to: raspberry Pi home page
go to: create SD card w/ NOOBS
go to: SD card home page
-----

    GParted is a program bundled with rPi distro. Find it on main menu. It formats, partitions, and resizes storage devices.
  • From command line:
    • $ sudo parted /dev/sdb
    • 4. It will ask you to enter the password for the user and you will notice that parted replaces the username and $ sign, which means you are running the parted utility. First, let’s create a partition table.
      In this case, we are using MBR:
      • (parted) mklabel msdos
    • 5. Once the partition table is created, you can create partitions on the drive. We will be creating just one partition:
      (parted) mkpart primary fat32 1MiB 100%
    • 6. Then set the boot flag on it:
      (parted) set 1 boot on
    • 7. Exit the parted tool:
      (parted) quit
    • 8. Now we need to format this partition as fat 32. First, check if the partition has been created successfully. Just run the 'lsblk' command and verify a new partition on ‘sdb’.
    • 9. Now format it as fat32:
      $ sudo mkfs.vfat /dev/sdb1
      Just exchange ‘sdb1’ with the partition of your drive. Make sure to format the ‘partition on ‘sdb’ and not ‘sdb’ itself.
  • Formatting Your SD Card with GParted:
    • 1. Open GParted, and from the drop-down menu in the top-right-hand corner, choose your SD card.
    • 2. If you have more than one partition, select each of them, then click “Delete,” then “Apply.” Click “New” and select FAT32 as your file system, click “Add,” then “Apply,” and confirm the changes.
    • 3. Otherwise, right click, go to “Format to” and select FAT32, then click “Apply.”
      The card will now be formatted as FAT32, ready for you to transfer the NOOBS files to your card manually.

    .

    .

    .

    eof