Hi chaps, wondering if someone could help me out a little here. Basically if/when my headless rigs looses AC power and is resumed at a later time sometimes the rig will get stuck on the Grub boot loader menu with the first item selected, I have to attach a keyboard and press Enter to resume boot. To my understanding my grub config file below is correct and it should boot the first item in the list after 10 seconds?

Any ideas on how I can disable this menu appearing after an AC power loss and just always boot the default?

/etc/default/grub

Code:

# If you change this file, run 'update-grub' afterwards to update# /boot/grub/grub.cfg.# For full documentation of the options in this file, see:# info -f grub -n 'Simple configuration'

# Uncomment to enable BadRAM filtering, modify to suit your needs# This works with Linux (no patch required) and with any kernel that obtains# the memory map information from GRUB (GNU Mach, kernel of FreeBSD ...)#GRUB_BADRAM="0x01234567,0xfefefefe,0x89abcdef,0xefefefef"

Same problem here. I notice that if I lose AC power cleanly and it resumes cleanly then the rig will auto-start with out problems. However you get a spike after the powerloss and the rig partially reboots and then loses power again. That is when I get the "hang up" that you describe.

Sorry for the necropost... I was running into this issue and found a way to fix it.

I edited /etc/grub.d/00_header - look for the line a few pages down with timeout = -1 and change the -1 to something positive (I use 5), save the file, then run update-grub2. That line tells grub to show the menu for whatever amount of time after an unexpected error. -1 means show the menu till someone provides input. My rigs are unattended, so I want them to boot no matter what.

The fsck after that is another story. I have no work around for a machine that's stuck waiting for input at the fsck. But you won't always have disk errors, so most of the time it will boot and resume mining if you've told it to do so.

Sorry for the necropost... I was running into this issue and found a way to fix it.

I edited /etc/grub.d/00_header - look for the line a few pages down with timeout = -1 and change the -1 to something positive (I use 5), save the file, then run update-grub2. That line tells grub to show the menu for whatever amount of time after an unexpected error. -1 means show the menu till someone provides input. My rigs are unattended, so I want them to boot no matter what.

The fsck after that is another story. I have no work around for a machine that's stuck waiting for input at the fsck. But you won't always have disk errors, so most of the time it will boot and resume mining if you've told it to do so.

Funroll_Loops, the theoretically quicker breakfast cereal!Check out http://www.facebook.com/JupiterICT for all of your computing needs. If you need it, we can get it. We have solutions for your computing conundrums. BTC accepted! 12HWUSguWXRCQKfkPeJygVR1ex5wbg3hAq

Sorry for the necropost... I was running into this issue and found a way to fix it.

I edited /etc/grub.d/00_header - look for the line a few pages down with timeout = -1 and change the -1 to something positive (I use 5), save the file, then run update-grub2. That line tells grub to show the menu for whatever amount of time after an unexpected error. -1 means show the menu till someone provides input. My rigs are unattended, so I want them to boot no matter what.

The fsck after that is another story. I have no work around for a machine that's stuck waiting for input at the fsck. But you won't always have disk errors, so most of the time it will boot and resume mining if you've told it to do so.

Even UPS connected to "regular" computers (i.e. not mining) will stop providing power if there's an outage for a long period of time, now imagine on a computer with lots of GPUs (as explained above). They're not the perfect solution and so making sure the computer wakes up on its own and starts mining again is important.

I found the solution exahash posted to be useful, not only for mining (I don't mine) but for another situations where a computer should always start up after a power outage if left alone.