Welcome! Log In Create A New Profile

Advanced

[Solved] NSA325 boot hangs after upgrade to Stretch

Posted by nibbler 
[Solved] NSA325 boot hangs after upgrade to Stretch
August 07, 2017 05:10PM
Hi,

I followed Bodhi's instructions for upgrading to Stretch. Everything seemed to be ok, but the boot up hangs. Through the serial console I can see the booting stops at "fsck.ext3: No such file or directory while trying to open /dev/root Possibly non-existent device?"
I can resume the boot by CTRL+D and after that the system starts just fine. Is there a way to recover or do I need to re-install with a fresh rootfs?

-nibbler



Edited 1 time(s). Last edit at 08/08/2017 01:45PM by nibbler.
Attachments:
open | download - bootlog.txt (23.2 KB)
Re: NSA325 boot hangs after upgrade to Stretch
August 07, 2017 05:43PM
nibbler Wrote:
-------------------------------------------------------
> Hi,
>
> I followed Bodhi's instructions for upgrading to S
> tretch. Everything seemed to be ok, but the boot u
> p hangs. Through the serial console I can see the
> booting stops at "fsck.ext3: No such file or direc
> tory while trying to open /dev/root Possibly non-e
> xistent device?"
> I can resume the boot by CTRL+D and after that the
> system starts just fine. Is there a way to recover
> or do I need to re-install with a fresh rootfs?
>
> -nibbler

Thanks for reporting this problem. I meant to add the solution to this possible problem in the stretch upgrade thread, but forgot :) let me write it there and let you know.

-bodhi
===========================
Wiki
latest Kirkwood kernel builds and rootfs
latest u-boot-kirkwood builds
latest Oxnas kernel builds and rootfs
latest u-boot-oxnas builds
latest MVEBU Armada kernel builds and rootfs
U-Boot & Kernel Booting process
bodhi's u-boot GitHub
bodhi's corner
Re: NSA325 boot hangs after upgrade to Stretch
August 07, 2017 06:10PM
nibbler,

I've added another step in the instruction to help preventing this problem (1d or 2e).

http://forum.doozan.com/read.php?2,35581

Basically, Debian stretch now has stricter rule, and will reject this old format (it used to ignore this root device entry, because /dev/root is obsolete):
/dev/root      /               ext3    noatime,errors=remount-ro 0 1

You need to edit /etc/fstab entry for root device to the new syntax to use the rootfs label:
LABEL=rootfs    /               ext3    noatime,errors=remount-ro 0 1

-bodhi
===========================
Wiki
latest Kirkwood kernel builds and rootfs
latest u-boot-kirkwood builds
latest Oxnas kernel builds and rootfs
latest u-boot-oxnas builds
latest MVEBU Armada kernel builds and rootfs
U-Boot & Kernel Booting process
bodhi's u-boot GitHub
bodhi's corner



Edited 1 time(s). Last edit at 08/07/2017 06:12PM by bodhi.
Re: NSA325 boot hangs after upgrade to Stretch
August 08, 2017 01:48PM
Hi,

editing the fstab solved this, now my box is booting fine. Thank you Bodhi!

-nibbler
Author:

Your Email:


Subject:


Spam prevention:
Please, enter the code that you see below in the input field. This is for blocking bots that try to post this form automatically. If the code is hard to read, then just try to guess it right. If you enter the wrong code, a new image is created and you get another chance to enter it right.
Message: