The Sun Dragon completes its 200 GB micro SD card upgrade. I had put together a virtual machine to act as backup for DrQue.net and put it to work today. If all went well the change to the new micro SD card should only take a couple minutes. But if it didn’t, I would need time to troubleshoot the problem. But since I put together the backup server I switched to getting signed certificates, which I haven’t figured out how to move to a different location. The backup server knows how to synchronize itself with the Sun Dragon. By default the certificates don’t have read permissions to anyone but root. I needed to get things setup so the synchronization was able to make a copy. After that was done the backup server was pretty much ready to go. I switched the NAT on the router and the Sun Dragon was free for upgrades. And… nothing. The Sun Dragon wouldn’t boot. I had to break out an HDMI cable to see the boot messages.
As I suspected it was complaining about not being able to mount the micro SD card. What I didn’t like about this is that it paused for user input. The Sun Dragon has no keyboard or monitor. I found the mount option nobootwait and added that to the mount options. I wasn’t sure why it wasn’t mounting, but I couldn’t have it waiting. It didn’t work. The next boot it still halted and was waiting for user input. Herein lays the problem. I put the option on the wrong drive.
When I setup the new micro SD card, I knew enough to change the UUID to that of the old drive. This would allow fstab to mount the card without modification. But I had changed the UUID to the wrong drive in the list just like I had added the nobootwait to the same wrong drive. After changing the UUID of the micro SD card the system booted normally and was ready to go. A couple quick tests verified all services were ready and I switched the NAT from the backup server to the Sun Dragon.
The setup is nearly identical. The difference: rather than having around 1% free space on my website data drive I have 66%. That’s a lot better.