Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.debian.user > #229634

Re: Select which system to boot while rebooting

From Anssi Saari <as@sci.fi>
Newsgroups linux.debian.user
Subject Re: Select which system to boot while rebooting
Date 2020-12-10 15:50 +0100
Message-ID <Bkvqy-EO-13@gated-at.bofh.it> (permalink)
References <BkqKe-6jt-21@gated-at.bofh.it>
Organization An impatient and LOUD arachnid

Show all headers | View raw


PstrfZ <pastrufazio@gmail.com> writes:

> On the same machine I need to host three operating systems, all
>  debian-based.  Is it possible to select which system to boot
>  while rebooting? (My intent is then to reboot the selected system
>  by sending the command via SSH)

Yes, I do this a lot in a script which hibernates Debian and reboots the
system to Windows. Part of this process selecting the OS to boot for the
next reboot only. So for my system that command is actually

grub-reboot osprober-chain-5482E5003C6F80FB

The osprober string I dug out from /boot/grub/grub.cfg. The osprober
string handy in that it doesn't change that often while the name of the
OS sometimes does.

Back to linux.debian.user | Previous | Next — Previous in thread | Find similar | Unroll thread


Thread

Select which system to boot while rebooting PstrfZ <pastrufazio@gmail.com> - 2020-12-10 10:50 +0100
  Re: Select which system to boot while rebooting Andrei POPESCU <andreimpopescu@gmail.com> - 2020-12-10 11:10 +0100
    Re: Select which system to boot while rebooting <tomas@tuxteam.de> - 2020-12-10 11:20 +0100
      Re: Select which system to boot while rebooting Reco <recoverym4n@enotuniq.net> - 2020-12-10 11:50 +0100
        Re: Select which system to boot while rebooting Reco <recoverym4n@enotuniq.net> - 2020-12-10 11:50 +0100
          Re: Select which system to boot while rebooting David Wright <deblis@lionunicorn.co.uk> - 2020-12-18 01:50 +0100
            Re: Select which system to boot while rebooting Reco <recoverym4n@enotuniq.net> - 2020-12-18 07:50 +0100
              Re: Select which system to boot while rebooting David Wright <deblis@lionunicorn.co.uk> - 2020-12-18 18:30 +0100
  Re: Select which system to boot while rebooting didier gaumet <didier.gaumet@gmail.com> - 2020-12-10 12:30 +0100
  Re: Select which system to boot while rebooting Joe <joe@jretrading.com> - 2020-12-10 13:30 +0100
  Re: Select which system to boot while rebooting Anssi Saari <as@sci.fi> - 2020-12-10 15:50 +0100

csiph-web