Skip to content

mcpat-it/NVMe

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

rpi

NVMe for Raspberry Pi (5)

Donate to this project using PayPal Donate to this project using Buy Me A Coffee LICENSE Platform GitHub issues open Downloads total Latest release

forks stars watchers followers

Project Notes

Author: Patrick Wallner

The repository idea is based on giving as much help as possible to have an easy start.

Please see below for instructions on how to install the associated utils.

Table of Contents

Why GPTconverter

Most of the images are preparted with MBR and therefore are limited to 2TB. This simple script converts to GPT and therefore there is no 2TB limit anymore (ok, there is a 18EB limit).

Install

⚠️ Cause of lacking of time, this is only tested on my Rpi5 with latest Bookworm!

One simple step:

1a. Connect to your device via SSH and type the following command to download and execute GPT converter.

sudo -i
bash <(curl -s https://nvme.mcpat.com/gptconverter.sh)

or

1b. Alternative you can download and execute the script

cd
wget https://raw.githubusercontent.com/mcpat-it/NVMe/main/gptconverter.sh
chmod +x gptconverter.sh
sudo ./gptconverter.sh

How to use GPT converter

  1. Boot your pi with a SD card and already installed NVMe, and install an image with imager on the rpi desktop, you can also make the settings (e.g. username, password, wifi, ...)
  2. Make sure with raspi-config the boot order is B1: SD Card Boot Boot from SD card if available, otherwise boot from NVMe.
  3. Power off the system and remove SD card and power on again
  4. After the pi has booted and everything runs well (e.g. wifi connection), power off again and insert SD card again
  5. Power on and wait system is ready
  6. Run the command as descripted in section "Install" in the commandline
  7. Power off the system and remove the SD, reboot to NVMe again and be happy

Support my work

I'm a working single dad and this is only my hobby which I did in my rare free time. So I really appreciate if you make a small donation to let me buy some sweets for my son!

"Buy Me A Coffee" Support via PayPal

Donate

FAQ

NVMe does not exist!
  • Ensure your NVMe is correctly installed and can be found at "/dev/nvme0n1"
xxx is mounted!
  • Ensure you booted from SD and you didn't mount any partition manually
System needs firstly a boot from NVMe, remove SD and reboot, then poweroff, insert SD again and run this script again ...
  • Ensure you booted from NVMe once after a fresh installation on NVMe, after this, boot from SD again and run the script again
Unsupported partition table type!
  • Ensure your NVMe is a valid MBR or GPT drive!
GPTconverter doesn't work
  • Open an issue, you know I'm a busy man, but maybe I can help