My first post here, so hope I am in the right place?
I installed TrueNAS 25.04.01 last week on my new Beelink ME Mini with 24TB of NvME SSDs. All went very well and I was operational within hours and tested my wife’s iPad’s access to a .iso file on the NAS.
Then i did something stupid and managed to block all SMB access to the device. Tried to fix the problem but to no avail.
So I thought as I had done much in the way of configuring or installing my iso library I decided just to reinstall TrueNAS from the USB stick I had used for the first installation.
It starts up ok, I select the internal memory of the device and I enter the admin password, and almost immediately I get the message that the installer can’t find partition 2 on the SSD disk?
Why would it work the first time but not the second? The device comes with Windows installed on it which I overwrote with TrueNAS and that worked, but trying to reinstall TrueNAS over TrueNAS fails?
Before proceed make sure to wipe your boot disk, you can do It also during installation: choose to open the shell → use lsblk to identify the correct disk (take care don’t wipe something else ) → then use blkdiscard /dev/sd* -f → retry installation
Many thanks for your rapid reply oxyde. I used blkdiscard /dev/mmcblk0 it did not like the * for the 3 partitions. That seemed to do something but the install still gave “Failed to find partition number 2 on mmcblk0” even though lsblk clearly shows the 3 partitions.
Many thanks for this information Davide, I have done the following:
1: Start up ME Mini with USB stick containing .iso of TrueNAS 25.4.0
The installation starts and run up to the 4 choice menu.
2: I select Shell and use the lsblk and echo commands to make the two boot partitions RW. That works just fine.
3: I exit thhe shell and select the installation option. It starts running and almost immediately stops with the same error can’t find partion 2 on mmcblk0.
4: I hit Enter and return to the 4 choice menu.
5: I select shell and run lsblk, which shows that the two boot partions are still RW.
Please can yuo explain your DD option (destroy disk?).
which includes comments about my hardware and decided before plunging in modifying Python code in the installer I would try the 24.04 install and it worked. I have now upgraded to 25.04 and have restarted my configuration.
I have learnt a lot about emmc chips and their challenges!
Many thanks to Davide for your kind assistance and patience!
In my case it helped to retry it again and again without restart - after 8-10 times it worked and installed correctly with Verison TrueNAS Scale 25.04.2.1.
I found a different solution, as retry did not work for me.
I just gave the install script a bit more time to get the right data from the system.
Just open a shell and run:
sed -i s/tries=30/tries=130/ /usr/lib/python3/dist-packages/truenas_installer/install.py
Just wanted confirm, there are 2x4MB disks showing up as mmcblk0boot0 and mmcblk0boot1. Is that normal when using eMMC disk as the boot drive ? Or is there any way to remove it. I have seen some suggestions to making it RW and dd’ing to Zero. Is that necessary? Even after doing that That showed up after installation. So just ignore and live with it ?
Easiest workaround here is to hack install script rather than try to alter mmcblk0boot0.
I have a beelink me mini, and am installing 25.10, ran into same error, hacked tries to 130, but then ran into a second error, zpool create failing on partition 3. So I changed it to 200, and that worked FTW.