Quantcast
Viewing all articles
Browse latest Browse all 4825

Advanced users • Re: HowTo: Install fresh OS on Pi5 NVMe 4tb 8tb drives

Code:

mbr2gpt /dev/sdXormbr2gpt /dev/nvme0n1
Just for info, they changed the syntax in firstboot
It seems acc. your code it was something with "whiptail --infobox Resizing root filesystem.", now it is

Code:

whiptail --infobox "Fix PARTUUID..." 20 60fix_partuuid
I tried to prevent a resizing of root on first boot. But it doesn't work. For me first boot is necessary, but it doesn't matter. Maybe someone find out what goes wrong. I checked, with GPT firstrun.sh and firstboot isn't executed. Means in cmdline.txt and fstab everything is correct, but booting hangs. So my script works after first boot.

Here the working file
gptconverter.zip
Hi All

I'm new to the forum.
Got my Pi5 to boto from a 4tb nvme on the Pimoroni base. Then noticed only have 2tb available, and my google search took me here.

Stupid question, the gptconverter.zip. , is that all that is needed to fix the issue?

edit:

seems there is an error in your .sh file as part of the directory contains 'master' , whereas on your site is is instead 'main'.
I ran the below code:

cd
wget https://raw.githubusercontent.com/mcpat ... nverter.sh
chmod +x gptconverter.sh
./gptconverter.sh

after the script has run, i get nvme0n1p1 is mounted!

I do not know what to do from here.
By the way, whilst running this script, I am booting from the NVME, SD card not inserted.
You have to boot from SD card (because then the NVMe is not mounted), and start from there the gptconverter.sh
After converting, boot from NVMe again

This is working for me:

Code:

sudo curl https://raw.githubusercontent.com/mcpat-it/NVMe/main/gptconverter.sh | sudo bashorsudo curl https://nvme.mcpat.com/gptconverter.sh | sudo bash
If you saw somewhere (maybe in the attached script in the forum) something else, then it was old...

Statistics: Posted by mcpatric — Tue Feb 06, 2024 3:21 pm



Viewing all articles
Browse latest Browse all 4825

Trending Articles