[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?



On 03/13/2015 02:44 PM, Elimar Riesebieter wrote:
* Elimar Riesebieter <riesebie@lxtec.de> [2015-03-13 19:33 +0100]:

* Jape Person <japers@comcast.net> [2015-03-13 14:12 -0400]:

[...]

However, I can't get grub-set-default to redesignate that new menu entry as
the default.

Here is how I use it:

The first menu entry is 0 which points to my latest kernel.

The second menu entry points to a submenu where all kernels are
listed. So if I want to boot the third entry in the second menu I
just type as root:

# grub-reboot "1>2"

Forgot to mention that grub-set-default works the same way ;-)


Duh is me!

I was proceeding on the assumption that the menu numbering started with '1', since I actually read that while searching for information. (Yes, somebody posted on an Ubuntu how-to site that grub2 menu numbering starts with '1'.)

Anyway, everything is peachy now. I have a new strategy for running fsck only when I want to on remote systems.

Thank you for your help, Elimar.

Best,
JP


Reply to: