pinn icon indicating copy to clipboard operation
pinn copied to clipboard

RPi5 8Gb With NVME Boot some OS Error

Open ronnytiaka opened this issue 7 months ago • 15 comments

Describe the bug RaspiOS 64 Full - frezee at splashscreen RapsiOS Lite - Error Can't have a partition outside the disk! Ubuntu - needs a partition label of 'system-boot' which is not available

To reproduce Install UBUNTU Desktop 25.04 64Bit using Cardreader to MicroSD using Rpi Imager with windows 11 Put the microSD to RPi5 8Gb Put NVME Hat to RPi5 Install RPi Imager on Ubuntu Desktop Install PINN to NMVE boot NVME on RPi5 Install using Wifi with OS RaspiOS 64 Full, RapsiOS Lite, Ubuntu24.10, kali64, Recalbox, LibreElec and Swap

Expected behaviour kali64, Recalbox, LibreElec is Succeed to boot

Actual behaviour But Some os Error : RaspiOS 64 Full - frezee at splashscreen RapsiOS Lite - Error Can't have a partition outside the disk! Ubuntu - needs a partition label of 'system-boot' which is not available

System RPi5 8Gb NMVE Micron 2230 512Gb M.2 Gen4

ronnytiaka avatar May 29 '25 00:05 ronnytiaka

I tried install using "Local Images on SD card" method, no error while installing, in the messagebox is "All Os Successful install". but i still can't open RaspiOS 64 Full, RapsiOS Lite and Ubuntu

ronnytiaka avatar May 29 '25 11:05 ronnytiaka

That's quite odd. I have often & recently installed all of the RaspiOS installations without issue. Ubuntu requires a partition label of 'system-boot' in order for upgrades to work properly. This prevents 2 instances of Ubuntu from being installed. The error suggests that this partition label has already been taken by one of the other OSes, so maybe its just the combination of OSes that you have installed?

I will try to replicate your issue. I am about to release new installations of RaspiOS following the recent announcement, so maybe that will also help?

procount avatar May 29 '25 13:05 procount

I have tried to replicate your procedure on a RPi5 8GB with SSD. Not exactly, because I used Netinstall rather than using Ubuntu 25.04 with RPi-Imager to install PINN. But I think maybe that is why PINN could not Ubuntu 24.10, because you still had Ubuntu 25.04 on the SD card plugged in, which would already have a system-boot partition. You can't have 2 partitions with the same name at the same time, so please remove your SD card before installing Ubuntu24.10.

It took a while to download & install all of those OSes, so I left it unattended. They all seemed to install successfully, although when I reviewed the logs, I saw there was an "Error Can't have a partition outside the disk!" message, but I couldn't attribute it to any particular OS as it occurred just after the disk was partitioned. I'm not sure this is an issue.

However, neither RaspiOS would boot up properly from nvme, not even with the latest release. I think something in RaspiOS must have changed, but I will look into this.

procount avatar May 29 '25 22:05 procount

Yes with Wifi is take time to install, i take more than 12 Hours 🤭. so i now i try using "Local Images on SD card" method, like this step :

  1. Im Running Ubuntu 25.04 Desktop on SDCard
  2. Delete All Partition on NVME using Disk
  3. Format and Create 25GB partition with FAT32 Using Gparted
  4. Download PINN_lite.zip dan Extract to Fat32 Partition
  5. Download OS from https://sourceforge.net/projects/pinn/files, kali64_5,kde5slee64, LIbreElec_RPI5, raspiod_arm64_lite, recalbox5 and raspios_arm64
  6. i put the os in folder "os" in Fat32 Partition
  7. i remove SDCard Ubuntu 25.04
  8. boot to NVME, change space partition each OS and install

It still same won't boot RaspiOS either, Error : Can't have a partition outside the disk!

ronnytiaka avatar May 30 '25 01:05 ronnytiaka

Just checking that you downloaded raspios from https://sourceforge.net/projects/pinn/files/os_rpf/ ? Did Ubuntu work after removing your SD card? I am still looking at RaspiOS

procount avatar May 30 '25 08:05 procount

Could you please do the following checks for me? Please boot into your Ubuntu SD card and in a terminal capture the output from sudo fdisk -l. Please post it here with the contents of installed_os.json from the settings partition (it should be the partition /dev/nvme0n1p5 which may already be mounted)

procount avatar May 30 '25 09:05 procount

I Try using "Local Images on SD card" method

This my partition setup :

Image

Ubuntu Works, with SDCard remove before boot to NVME and installing PINN OS

Image

But RaspiOS still frezee !!!

this Disk Screenshut :

Image

fdiskscreenshut :

Image

fdisk Copy to text :

fdisk.txt

installed_os.json on settings partition

installed_os.json

ronnytiaka avatar May 31 '25 02:05 ronnytiaka

The problem with Raspios versions freezing on SSD has been identified. RPL have been informed and I expect it will be fixed in their next release. In the meantime, I am temporarily fixing the converted files and will post them once complete.

procount avatar Jun 06 '25 21:06 procount

Thanks, when do you plan to release the PENN update? Or you just fix raspios zip os

ronnytiaka avatar Jun 07 '25 22:06 ronnytiaka

The 6 Raspios versions have now been updated and released. Please Reinstall them and they should now be ok.

procount avatar Jun 07 '25 23:06 procount

Thanks 🙏👌😁, current status is : RapsiOS Lite - Success Ubuntu24.10 - Success kali64 - Success kde5lee64 - Success Recalbox - Success LibreElec - Success

RaspiOS 64 this detail : Success Boot, but when conencting to wifi in installing process is frezee or make input output error

Image

I need to unplug the power repeatedly till wifi is connected, i dont know is because your OS zip, or maybe is problem from RaspiOS itself. if this problem is from RaspiOS itself, i thinks is bugs is Closed, but if this because you OS Zip compilation, i wait for progress

ronnytiaka avatar Jun 09 '25 09:06 ronnytiaka

I just installed both Raspios_arm64 and Raspios_arm64_full. I made 2 tests on each. The first entering the wifi credentials during the setup configuration, and the second by skipping that and entering the wifi credentials from the icon in the toolbar. In both cases they worked fine. So I don't think it is my modification. I don't think it is Raspios either.

Not sure what could cause it. Maybe check your power supply, or even try reinstalling Raspios....

procount avatar Jun 09 '25 19:06 procount

When I copy OSs to FAT32 partition, it is very slow, is it possible to format the PINN partition to ext4 and copy the local OSs to the os folder, then boot from NVME, I don't see any document states that we can format it to ext4, never know... I'll try later, but just want to know is anyone made this successfully boot?

GitHanter avatar Jul 25 '25 01:07 GitHanter

@Githanter - please open a new issue for a new subject in future, else it is likely to get lost.

The PINN partition is a boot partition, therefore it MUST be FAT32, otherwise it won't boot. It is not necessary to copy local OSes to the PINN partition's /os folder. You can store them on an external drive (e.g. USB) as long as the OS folders are stored under the /os folder of that drive. The USB drive may be formatted as FAT32 or ext4 (maybe NTFS as well I think).

The format of the drive does not shouldn't make much of a difference to the speed of copying.

procount avatar Jul 25 '25 10:07 procount

@procount Got it, thanks for clarifying the boot partition format.

The reason why I want to copy the OSs to the boot partition is I tried the external USB method, but the OSs was not shown, I tried both FAT32 and ext4 (FAT32 is slow to copy as I mentioned), and the OSs is under the /os folder in the USB driver, not sure why, Here is part of the structure under /os folder

├── AOSP14-rpi5 │   ├── AOSP14-rpi5.png │   ├── boot.tar.xz │   ├── marketing.tar │   ├── os.json │   ├── partition_setup.sh │   ├── partitions.json │   ├── slides_vga │   │   ├── S0.png │   │   ├── S1.png │   │   ├── S2.png │   │   └── S3.png │   ├── system.img.xz │   ├── userdata.tar.xz │   └── vendor.img.xz ├── AOSP15-rpi5 │   ├── AOSP15-rpi5.png │   ├── boot.tar.xz │   ├── marketing.tar ......

GitHanter avatar Jul 25 '25 13:07 GitHanter