Re: kexec and Grub

2013-02-13 Thread Matthew Paul Thomas
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 John Moser wrote on 10/02/13 23:52: > ... >> >> https://wiki.ubuntu.com/StartupSettings > > I wish I could un-see that second one. I'm completely baffled as > to what "startup software" is (I'd imagine that would be the > bootloader, kernel, systemd

Re: kexec and Grub

2013-02-10 Thread Dmitrijs Ledkovs
On 10 February 2013 23:52, John Moser wrote: > On 02/10/2013 06:22 PM, Dmitrijs Ledkovs wrote: >> >> Yes, it might be mine or someone else's. There's an ANCIENT spec for >> "RapidReboot" >> >> Nah, I was thinking about more recent stuff which is exactly what's >> proposed in the quickly reboot. >

Re: kexec and Grub

2013-02-10 Thread John Moser
On 02/10/2013 06:22 PM, Dmitrijs Ledkovs wrote: Yes, it might be mine or someone else's. There's an ANCIENT spec for "RapidReboot" Nah, I was thinking about more recent stuff which is exactly what's proposed in the quickly reboot. https://wiki.ubuntu.com/SessionHandling#Restart https://wiki.u

Re: kexec and Grub

2013-02-10 Thread Dmitrijs Ledkovs
On 8 February 2013 23:23, John Moser wrote: > On 02/08/2013 02:27 PM, Dmitrijs Ledkovs wrote: >> >> On 8 February 2013 10:04, Sergey "Shnatsel" Davidoff >> wrote: Nice... Now can you tell grub to boot entry 1, 3, 7, etc? Read an alternate grub.conf? Rapid reboot :) >>> >

Re: kexec and Grub

2013-02-08 Thread John Moser
On 02/08/2013 02:27 PM, Dmitrijs Ledkovs wrote: On 8 February 2013 10:04, Sergey "Shnatsel" Davidoff wrote: Nice... Now can you tell grub to boot entry 1, 3, 7, etc? Read an alternate grub.conf? Rapid reboot :) Yes, you can, with "grub-reboot" command. You should probably team up with the s

Re: kexec and Grub

2013-02-08 Thread Dmitrijs Ledkovs
On 8 February 2013 10:04, Sergey "Shnatsel" Davidoff wrote: >> Nice... Now can you tell grub to boot entry 1, 3, 7, etc? Read an alternate >> grub.conf? >> >> Rapid reboot :) > > Yes, you can, with "grub-reboot" command. You should probably team up > with the script kitties behind Unity Reboot >

Re: kexec and Grub

2013-02-08 Thread John Moser
Ah this is finally becoming a thing then :) I am glad to see progress after a decade of having a tool written just for this On 02/08/2013 05:04 AM, Sergey "Shnatsel" Davidoff wrote: Nice... Now can you tell grub to boot entry 1, 3, 7, etc? Read an alternate grub.conf? Rapid reboot :) Yes,

Re: kexec and Grub

2013-02-08 Thread Sergey "Shnatsel" Davidoff
> Nice... Now can you tell grub to boot entry 1, 3, 7, etc? Read an alternate > grub.conf? > > Rapid reboot :) Yes, you can, with "grub-reboot" command. You should probably team up with the script kitties behind Unity Reboot (http://www.webupd8.org/2013/01/unity-reboot-launcher-to-quickly-reboot

Re: kexec and Grub

2013-02-07 Thread John Moser
On Feb 6, 2013 7:12 AM, "Colin Watson" wrote: > > On Tue, Feb 05, 2013 at 04:07:58PM -0500, John Moser wrote: > > Has anyone gotten Grub2 to load via Linux Kexec? It used to be > > possible to kexec grub.exe for some reason. > > kexec can boot multiboot images, according to kexec(8); so you shoul

Re: kexec and Grub

2013-02-06 Thread Colin Watson
On Tue, Feb 05, 2013 at 04:07:58PM -0500, John Moser wrote: > Has anyone gotten Grub2 to load via Linux Kexec? It used to be > possible to kexec grub.exe for some reason. kexec can boot multiboot images, according to kexec(8); so you should be able to kexec core.img, which has a multiboot header.

Re: kexec and Grub

2013-02-05 Thread Felix Miata
John Moser composed: Kexec ... Nobody uses it. Only rather recently did openSUSE stop using it by default to first-boot a newly installed system. Maybe a look at how this was done would be helpful. On 2013-02-05 16:58 (GMT-0500) John Moser composed: ... SOLUTION B: - Load Grub into kexec

Re: kexec and Grub

2013-02-05 Thread John Moser
On Tue, Feb 5, 2013 at 4:44 PM, Felix Miata wrote: > On 2013-02-05 16:07 (GMT-0500) John Moser composed: > > >> Has anyone gotten Grub2 to load via Linux Kexec? It used to be >> possible to kexec grub.exe for some reason. > > > This question makes me think either you haven't read the kexec man pa

Re: kexec and Grub

2013-02-05 Thread Felix Miata
On 2013-02-05 16:07 (GMT-0500) John Moser composed: Has anyone gotten Grub2 to load via Linux Kexec? It used to be possible to kexec grub.exe for some reason. This question makes me think either you haven't read the kexec man page, or one of misunderstands it. Why need any bootloader be invo

kexec and Grub

2013-02-05 Thread John Moser
Has anyone gotten Grub2 to load via Linux Kexec? It used to be possible to kexec grub.exe for some reason. I have been tasked tonight to reboot a very critical production server during a short window. It's long enough, but at the moment our big issue is that the reboot will be somewhere between