1

Is there a way to boot another OS or a different kernel the next time the machine reboots, but on the reboot after that go back to the original default?

1
echo "savedefault --default=2 --once" | grub --batch

where 2 means to boot the 3rd menu entry in grub.conf.

Change 2 to the appropriate menu entry number you want to boot next time.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.