I soldered the UART cable to the correct pins so I can access the barebox.
Unfortunately after the last update my system went bust (misaligned libraries installed) and now the system will not reach the login prompt though the system is alive in some ways. No SSH access, I can provide console uart session dump.
My data is still all there but I would need to reinstall all the system (without loosing my data and my share settings).
If anyone could generate a rescue ramdisk image that could enable mounting of the md0 (sda1,sda2) etc… partitions and installation of a new mostly everything (not the parittion settings ( I am not sure where these are stored ) rootfs, that would be of great help to me in order to unbrick my unit.
Alternatively a new version of barebox could be a solution with all the nfs and tftp mount options
that have been removed from the WD barebox version.
I’ve got the unknown partition table problem too, the GPT (the partition table) written onto the HDD is simply invalid to most modern Linux distributions. You could try to recover a more or less valid GPT thanks to TestDisk and then mount the partition containing your files.
this enables the linux kernel to boot in single user mode.
I could then see that my disk was OK and that everything was still there.
I used the /etc/init.d/mountDataVolume.sh in order to mount all partitions.
I put the update.deb (sq) file into /CacheVolume/
I issued the following command /usr/local/sbin/updateFirmwareFromFile.sh /CacheVolume/update.deb
The system was then restored and it now works but I can not see the existing shares in the UI , however I can see them in the SMB/CIFS world (network shares) and I can access them.
How can I make them appear in the WEB UI / Shares ?
I did the same for my other box (as written in my other thread about the serial port):
Sadly I didn’t take any photos. The cable is still connected, but the box is closed already. I can alway connect the serial interface now, but currently it is just working…
Anyway:
If one get setup a TFTP Server and can compile the kernel, one can also compile a busybox, and then you don’t need to open the device at all: In the long term this is something that should avoid a lot of problems.
But of course it is easier to know what went wrong if one can see the messages on the serial port.
PS:
If you would like to take my pieces to your documentation I found out already or have written you can contact me directly.
Further plans:
* To Make this emergency image loaded by default if the reset button is pressed.
* To Divide the MD raid and use 2nd partition as backup copy (Replace main (1th) partition with partition 2 if reset pressed more than once)
* Partition 6 not used, so i can use it for store my recovery image. Just need edit some bootscripts for autoload recovery image when reset button preseed)