2

Using debian in beaglebone black. The board is connected online with a static ip for remote ssh. After few days I couldn't able to ssh my board. While debugging the board received following error log.

Failed to start Create Volatile Files and Directories. 

Failed services: Volatile file creation, ssh-server, networking service etc. Failed to start.

What may be went wrong ? Have anyone faced similar issue.

Log:

[FAILED] Failed to start Create Volatile Files and Directories
[FAILED] Failed to start Entropy daemon using the HAVEGE algorithm    
[FAILED] Failed to start Network Time Synchronization.    
[FAILED] Failed to start The Apache HTTP Server.

**[FAILED] Failed to start OpenBSD Secure Shell server.**
  • That's not your log. That's what's printed to your console. Look at, and show people, your actual journal. – JdeBP Oct 4 '18 at 7:02
0

Make sure that the root filesystem is rw

I had this problem when I was trying to create a debootstrap image that works on QEMU.

After some Googling on random forums, I found that the solution is to make the root filesystem read-write, instead of the default read-only that the Linux kernel mounts it as.

The most correct way to do that in Debian is to add to your fstab:

/dev/sda / ext4 errors=remount-ro,acl 0 1

which remounts the root with the default rw parameter, although I haven't tested it yet.

The root problem with debootstrap is that the fstab is just a dummy as explained at: https://askubuntu.com/questions/557556/why-is-my-etc-fstab-file-unconfigured/1080541#1080541

An alternative that might work would be to pass the rw kernel boot parameter, but I haven't tested it in Debian, only Buildroot.

The final working debootstrap setup I achieved is described at: Creating bootable Debian image with debootstrap

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.