[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: How can I force a full fsck on a remote system at next reboot?



Am 2015-03-13 19:33, schrieb Elimar Riesebieter:
On 03/12/2015 05:48 PM, Michael Biebl wrote:
>For remote systems, where you don't have a sideband channel like iLO,
>you could use "grub-set-default", to choose the boot entry for the next
>boot. See man 8 grub-set-default.

[..]

# grub-reboot "1>2"

As we all know, grub starts counting at 0 ;-) so this means:

Reboot the _third_ (2) entry in the _second_ (1) menu.

grub-reboot(8):
...


grub-reboot is much better suited for this use-case then grub-set-default, indeed.

Thanks for your advice, Elimar.


Michael


Reply to: