If you wanted system to boot with wol package then it should get kernel and initrd from somewhere. What is your final goal? How you will get all required binaries ?
Regards Parmeshwr -----Original Message----- From: Andrei Borzenkov [mailto:arvidj...@gmail.com] Sent: Monday, December 01, 2014 4:08 PM To: Prasad, Parmeshwr Cc: The development of GNU GRUB Subject: Re: Remotely choose a menu entry On Mon, Dec 1, 2014 at 11:19 AM, <parmeshwr_pra...@dell.com> wrote: > Is your idea is to send kernel+grub+initramfs through magic packet ? No. > > > if yes then lot of wol design should change first. > > > > Regards > > Parmeshwr > > > > From: grub-devel-bounces+parmeshwr_prasad=dell....@gnu.org > [mailto:grub-devel-bounces+parmeshwr_prasad=dell....@gnu.org] On > Behalf Of Brugnara Daniele > Sent: Saturday, November 29, 2014 9:47 PM > To: Andrei Borzenkov; Brugnara Daniele > Cc: grub-devel@gnu.org > Subject: Re: Remotely choose a menu entry > > > > I am thinking about a secret key known from both sender and receiver > and encode/decode the packet using this, a strong algorithm, of course. > > Il giorno Sab 29 Nov 2014 17:03 Andrei Borzenkov <arvidj...@gmail.com> > ha > scritto: > > В Sat, 29 Nov 2014 01:10:28 +0000 > Brugnara Daniele <dani...@brugnara.me> пишет: > >> Hi all. >> >> I'm thinking about a system that boots with a wol packet. Who sends >> this packet in 99% of cases, is far away from that computer and it >> could be useful to boot into a different system instead of the >> default one. (please keep in mind that changing the default option in >> grub is not a option for this specific use case) >> >> If a wol can be delivered successfully, an UDP packet containing >> simple datas should be enough to achieve this. >> >> Something like this: >> >> - MAC: the destination device mac address >> - choice: a number (can be empty) >> - commandLine: a full commandline (a choice or this..) >> - more? I don't know for now.. >> >> This option should be enabled in the grub.conf by the user. >> >> What do you think about? Could this be useful? Am I missing >> something, like a tool that does this automagically? >> > > Yes, it could probably be implemented as a command that loops listening > for magic packet and then sets default menu option. Of course, you > would need to consider security aspects (who is allowed to send > packet, how it is authenticated etc). > >> I've read about an eth-to-serial but it's not what I want. >> PXE or bootp is not an option here. I don't want to manage another >> server... >> >> Thanks for your time. >> >> Daniele. _______________________________________________ Grub-devel mailing list Grub-devel@gnu.org https://lists.gnu.org/mailman/listinfo/grub-devel