choosing desired os to boot over ssh
pandu at poluan.info
Sat Feb 11 15:30:03 UTC 2012
Similar to Neal, I'm scratching my head as to exactly what @Tapas wanted...
The only other possibility would be to install a hypervisor (XenServer
comes to mind) and access the VM's virtual console output using VNC or
whatever the management app the hypervisor uses (XenCenter in case of
XenServer). This will enable you to actually choose which OS to boot in the
If that still doesn't answer your needs, then I give up :-P
PS: grub is actually capable of booting non-grub-using OS like Windows;
you'll have to decipher the proper incantations for "chainloading" (plus
all the complexities of juggling partitions - Windows its wickedly invasive
and greedy in that regard), but it's doable.
On Feb 11, 2012 9:21 PM, "Neal McBurnett" <neal at bcn.boulder.co.us> wrote:
> It seems to me that grub-reboot does what you asked for. You do have to
> modify /etc/default/grub *one time* to set the "saved" option, but after
> that you just quickly run grub-reboot before a reboot and it boots the one
> you picked, on just the next reboot. If on that boot, you DON'T run
> grub-reboot, it will reboot the time after that with your default, safe
> boot option. If you're worried about testing odd kernels and panics, you
> can also set a boot option like "panic=30" so it reboots into a safe kernel
> after a panic.
> If that isn't what you wanted, can you clarify in more detail what you're
> looking for?
> You could set up a serial console connected to a separate computer let you
> connect to it at boot time, but it is much more complicated and expensive.
> I guess if you need to boot into OS's that don't use grub, a serial
> console boot would be more convenient than rebooting to the default one
> that does do grub, and then choosing the one you really want next via
> grub-reboot from there.
> Neal McBurnett http://neal.mcburnett.org/
> On Sat, Feb 11, 2012 at 05:54:30PM +0530, Tapas Mishra wrote:
> > No this is not what I want.I am aware of these options.
> > On Sat, Feb 11, 2012 at 3:39 PM, Pandu Poluan <pandu at poluan.info> wrote:
> > Go here:
> > https://help.ubuntu.com/community/Grub2
> > find grub-set-default and grub-reboot. These commands will be
> available if
> > you set grub.cfg according to the procedure in the section.
> > Rgds,
> > On Feb 11, 2012 3:39 PM, "Tapas Mishra" <mightydreams at gmail.com>
> > I forgot to mention in previous message I do not want to be
> > editing the grub.cfg file each time if I have to frequently
> > between different OS.
> > On Sat, Feb 11, 2012 at 2:04 PM, Tapas Mishra <
> mightydreams at gmail.com>
> > wrote:
> > I have a machine which is multiple boot.For sysadmin kind of
> work I
> > have to boot into different different Operating System's.
> Main Os
> > is Ubuntu 11.10 with grub2.
> > Each time if I reboot then I want to be able to select
> > operating system to boot while remotely logged in via ssh as
> we do
> > when we are physically present on that machine by moving the
> > down arrow keys.I want to do some thing similar via ssh or if
> > possible by some other protocol.
> > Is it possible some how.Is there any package available for
> > same?
> > --
> > --
> > ubuntu-server mailing list
> > ubuntu-server at lists.ubuntu.com
> > https://lists.ubuntu.com/mailman/listinfo/ubuntu-server
> > More info: https://wiki.ubuntu.com/ServerTeam
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the ubuntu-server