Page 1 of 1

Cannot detect uboot from rebooting NAS

PostPosted: Fri Oct 22, 2021 2:23 pm
by mdi
Hi, as I found that my sda8 partition is corrupted (e2fsck -n gives errors) I wanted to repair it.
So I downloaded the console and tried to detect the u-boot from my NAS.
I tried by restarting the NAS from the web console with an already ready uboot detection window open, and also from scratch, shutting down the nas before running the procedure on the console.

Since my network plug is distant from my station, I tried first using the (very stable) wifi and also a powerline adapter

In no case the NAS uboot was identified and the standalone kernel loaded. The black uboot detection screen remains black all the time.

I doubt it depends on the non cabled network, as the connection works perfectly...

Do you think this could be the only reason?

EDIT: I'm also trying with a cabled connection through a switch, but no success.

Thanks,
MDI

Re: Cannot detect uboot from rebooting NAS

PostPosted: Fri Oct 22, 2021 2:43 pm
by Jocko
Hi mdi

If you used a version 18.x, you can do it directly from the firmware web-interface, from the main disks setup menu, click on the volume name to load the volume menu and here you will find a new button to run a fs repairing/checking action.

Re: Cannot detect uboot from rebooting NAS

PostPosted: Fri Oct 22, 2021 3:03 pm
by mdi
Hi Jocko, thanks for supporting so quickly!
I tried, and I got a message saying to reboot with the power botton, which I did.
Tried again, I got again the same message, but it looks that e2fsck is already running (I can see it with 'top' logging via ssh), even if the web console has all the 3 buttons disabled (Cancel task, re-start task, NAS restart).

I will let the e2fsck task finish its job.

Re: Cannot detect uboot from rebooting NAS

PostPosted: Sat Oct 23, 2021 8:53 am
by mdi
Everything was ok and I was even able to convert the filesystem to ext4.

I also have some corruption on sda5, is there a way to fix that too?

Thanks!

Re: Cannot detect uboot from rebooting NAS

PostPosted: Mon Oct 25, 2021 7:43 am
by Jocko
Hi

With the last roll-up patch for version 18-2, the firmware tries to run quietly a checking/repairing task if it fails to mount sda5. On such a case, you have then additional information in boot.log file.

But you can force it by setting a file in etc
Code: Select all
touch /etc/sda5-scan
. Reboot the nas so that the firmware performs an e2fsck command on sda5 and open later the file /boot.log to read what it did

Re: Cannot detect uboot from rebooting NAS

PostPosted: Mon Oct 25, 2021 8:01 am
by mdi
Superb! That fixed it as well, thanks a lot!