Is there a possibility to pass a (set of additional) kernel boot parameters to be applied at the next (re)boot, and only at that boot?
I know that i could just interrupt
gruband manually pass the boot parameters. This is not what i want (think: multiple remote computers that need to be booted with a given kernel option; needing to be physically present during the initial boot phase is a logistical nightmare)
I know that i could modify
/etc/default/gruband pass the appropriate
GRUB_CMDLINE_LINUX_DEFAULT. or just edit
/etc/grub/grub.cfgmanually). However, i would like to set the parameters only for a single boot and the values in
/etc/grub/grub.cfgwill be persistent.
I also would like to boot the "currently active" kernel, so having a persistent entry in my
grub.cfgwith the kernel-parameter set, would require to alway be automatically updated when a new kernel is installed.
Actually i'm looking for a simple way to force a filesystem check on (next) reboot.
My filesystems are all journalled, so they have a
Since (almost) all of my systems use
systemd these days, the good olde tricks like
touch /forcefsck won't work, and instead i must pass
fsck.mode=force to the kernel options.
I'm aware of Force fsck check after reboot with single command, though this doesn't help much.
The target systems run Debian/jessie with linux-3.16, if that matters (though I would prefer a general solution)