You have to boot from SD card (because then the NVMe is not mounted), and start from there the gptconverter.shHi AllJust for info, they changed the syntax in firstbootCode:
mbr2gpt /dev/sdXormbr2gpt /dev/nvme0n1
It seems acc. your code it was something with "whiptail --infobox Resizing root filesystem.", now it isI 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.Code:
whiptail --infobox "Fix PARTUUID..." 20 60fix_partuuid
Here the working file
gptconverter.zip
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.
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
Statistics: Posted by mcpatric — Tue Feb 06, 2024 3:21 pm