TS-410 dead after update-initramfs -u
xszuflax opened this issue · 2 comments
Hello,
this issue is not related to the qnap_mtd_resize.py
script which by the way worked for me flawlessly and I managed to update my TS-410 to Debian 12 Bookworm. Many Thanks!
I was a super happy user of TS-410 on Bookworm until I decided to fix a little misconfiguration in my RAID partition.
When I set up my QNAP i created 512 mb RAID5 swap partition, which was not a best idea thus after a little bit of research I decided to delete it and create swap on RAID0 (this is safe and a bit faster) One can not expect super performance gains as this md is still on block devices with other RAID5s (I know this is not optimal for performance but I needed space)
I stoped swap md deleted old one, zero-superblocks and created RAID 0 md. It worked OK for next couple of weeks. I do not swap and swappiness is set to 1 to avoid swapping at all cost :-P
The only problem was that after first reboot swap instead being md0 was renamed to md127. It was recognized as foreign md block device. It still worked though no issues.
I do use nofail
in fstab
on all devices except / just to get that booting going.
Yesterday I decided to fix this md127 thus I edited mdadm.conf reflecting details of mdadm --detail --scan
Ran update-initramfs -u
I had some issues with flash-kernel as flushing failed two times with when installing initramfs:
File does not seem to match flash data. First mismatch at ...
this happened to me before when installing Debian 11. I retried and it went OK for the 3rd time.
I rebooted and the box does not boot :-/
I tried to connect to the serial console. The board is TS-419 v 1.2. JP1 closed and connected to CN1 TX, VCC (3,3) , RX, GND [Order from top to bottom]. The adapter I use is UART CH340 and the connection is set with 115200 baud 8n1. I do not get output through :-/. The adapter is OK as I often use it to flash Tuya smart sockets with alternative FWs.
Any ideas?
PS.: I kinda start liking this TS-410 again after updating from QOS to Debian.
Hi,
just managed to connect to the serial console of a QNAP TS-419PII with a different USB to serial adapter.
Finally, not connecting VCC and connecting RX of the adapter with TX of the machine (and TX of the adapter with RX of the machine, analogously) made it work. Good luck!
Cheers
Christian