Skip to content

Kerlooo/PS3Format

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 

Repository files navigation

PS3Format

A simple and user-friendly bash script designed to format USB drives to FAT32 format from the terminal. This tool enables anyone to easily prepare USB devices for compatibility with PlayStation 3 consoles.

Purpose

This tool was created to simplify the process of preparing USB drives for PlayStation 3 use. By formatting a USB drive to FAT32 (MBR partition table), your device will be recognized and compatible with PS3 systems.

Features

  • Simple and interactive terminal interface
  • Automatic device detection with lsblk
  • Safety confirmations to prevent accidental data loss
  • Proper partition table setup (MBR)
  • FAT32 filesystem formatting
  • Automatic volume labeling

Installation & Dependencies

This tool requires dosfstools and util-linux. We have included a helper script to automatically install them for you.

Automatic Installation

  1. Make the script executable:
    chmod +x install_dependencies.sh
  2. Run the installer:
    sudo ./install_dependencies.sh

Manual Installation

If the automatic installer does not work for your distribution, you can install the necessary packages manually.

Debian/Ubuntu:

sudo apt-get update
sudo apt-get install dosfstools util-linux

Fedora:

sudo dnf install dosfstools util-linux

Arch Linux:

sudo pacman -S dosfstools util-linux

OpenSUSE:

sudo zypper install dosfstools util-linux

Usage

  1. Clone the repository:

    git clone https://www.github.com/Kerlooo/PS3Format.git
  2. Enter the repository folder:

    cd PS3Format/scripts
  3. Enable execute privileges:

    chmod +x PS3Format.sh
  4. Run the script:

    ./PS3Format.sh
  5. Review the available block devices displayed on your screen.

  6. Enter the target USB device name (e.g., sdb).

  7. Confirm the selection - the device will be completely erased.

  8. Type 'YES' to proceed with formatting.

  9. Wait for the process to complete.

Warning

This tool will completely erase all data on the selected USB device. Ensure you have selected the correct device before confirming the operation. Data loss is permanent and cannot be recovered.

License

This guide is distributed under the Creative Commons Attribution 4.0 International (CC BY 4.0) license.

You are free to:

  • Share — copy and redistribute the material in any medium or format.
  • Adapt — remix, transform, and build upon the material for any purpose, even commercially.

Under the following terms:

  • Attribution — You must give appropriate credit, provide a link to the license, and indicate if changes were made.

For more details, see the LICENSE file or visit creativecommons.org.

About

Linux bash script to format usb to fat32

Topics

Resources

Stars

Watchers

Forks

Contributors

Languages