help-grub
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: headless system, multiple default boot entry


From: Jordan Uggla
Subject: Re: headless system, multiple default boot entry
Date: Sun, 17 Apr 2011 11:43:14 -0700

On Sat, Apr 16, 2011 at 7:22 AM, Support Teddy <address@hidden> wrote:
> hi,
>
> i have an headless server on which i need to boot windows too (i can control
> that via vnc, or even cygwin and ssh)
>
> problem is i need at every reboot to automatically select different default
> boot entry, that means i boot server it default boots windows, i reboot it
> then it boots linux, i reboot it again, it boots windows and so on
>
> with lilo i could do that using fallback option, on grub, the default boot
> entry only change to fallback if the default one fails ... and that's not
> the case here
>
> can you please help me ?

The grub-reboot utility may do what you want, and if not it should be
fairly simple to get what you want using grub's scripting capabilities
(grub 1.98 and up. grub legacy, 0.97, is no longer supported if that
is what you are using). Are you writing your grub.cfg manually or
using update-grub/grub-mkconfig?

-- 
Jordan Uggla (Jordan_U on irc.freenode.net)



reply via email to

[Prev in Thread] Current Thread [Next in Thread]