I've been using LEDE Reboot 17.01.4
on x86_64 hardware (a Intel Celeron J1900 4x1GbE device). It worked without a problem for a year. Now after power on/off it did not boot anymore.
Couldn't ping the device or anything, so eventually I attached a monitor to the VGA port. It turned out that it "hangs" indefinitely at the grub menu prompt listing:
[*] LEDE
[ ] LEDE failsafe
After attaching a keyboard and pressing <ENTER>
(so it boots the default LEDE
item) the system boots again and works flawlessly. Now I am not sure why this happened because it booted without interaction (which is what I want) for the last year...
Now I search the docs and forum and come across the post [solved] X86 and x86_64 generic doesn't start headless which suggests that there should be a /boot/grub/grub.cfg
file on the device to which a timeout
should be added. However there's no such /boot/
directory on the system:
# ls -l /
drwxr-xr-x 2 root root 4096 Jun 4 17:11 bin
drwxr-xr-x 6 root root 2680 Nov 7 19:59 dev
drwxr-xr-x 19 root root 4096 Oct 18 2017 etc
drwxr-xr-x 10 root root 4096 Oct 18 2017 lib
lrwxrwxrwx 1 root root 3 Oct 17 2017 lib64 -> lib
drwx------ 2 root root 4096 Jan 1 1970 lost+found
drwxr-xr-x 2 root root 4096 Oct 17 2017 mnt
drwxr-xr-x 2 root root 4096 Oct 17 2017 overlay
dr-xr-xr-x 83 root root 0 Nov 7 19:59 proc
drwxr-xr-x 2 root root 4096 Oct 17 2017 rom
drwxr-xr-x 5 root root 4096 Aug 8 10:34 root
drwxr-xr-x 2 root root 4096 Oct 17 2017 sbin
dr-xr-xr-x 13 root root 0 Nov 7 19:59 sys
drwxrwxrwt 16 root root 440 Nov 7 20:20 tmp
drwxr-xr-x 8 root root 4096 Jul 21 01:11 usr
lrwxrwxrwx 1 root root 4 Oct 17 2017 var -> /tmp
drwxr-xr-x 4 root root 4096 Oct 17 2017 www
Also I cannot find any grub related config in the luci web interface or inside /etc/
or /etc/config
.
I am not sure how to proceed here, I defintely want an automatic (re)boot without having to press <ENTER>
everytime
FWIW, here's my mount
and df
output (I have not fiddled with this, it's a pretty much default, vanilla system):
# mount
/dev/root on / type ext4 (rw,noatime,block_validity,delalloc,barrier,user_xattr)
proc on /proc type proc (rw,nosuid,nodev,noexec,noatime)
sysfs on /sys type sysfs (rw,nosuid,nodev,noexec,noatime)
tmpfs on /tmp type tmpfs (rw,nosuid,nodev,noatime)
tmpfs on /dev type tmpfs (rw,nosuid,relatime,size=512k,mode=755)
devpts on /dev/pts type devpts (rw,nosuid,noexec,relatime,mode=600)
debugfs on /sys/kernel/debug type debugfs (rw,noatime)
# df
Filesystem 1K-blocks Used Available Use% Mounted on
/dev/root 258016 51504 201272 20% /
tmpfs 1962576 536 1962040 0% /tmp
tmpfs 512 0 512 0% /dev