[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
RE: Remotely choose a menu entry
From: |
Parmeshwr_Prasad |
Subject: |
RE: Remotely choose a menu entry |
Date: |
Mon, 1 Dec 2014 16:13:09 +0530 |
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:address@hidden
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, <address@hidden> 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: address@hidden
> [mailto:address@hidden On
> Behalf Of Brugnara Daniele
> Sent: Saturday, November 29, 2014 9:47 PM
> To: Andrei Borzenkov; Brugnara Daniele
> Cc: address@hidden
> 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 <address@hidden>
> ha
> scritto:
>
> В Sat, 29 Nov 2014 01:10:28 +0000
> Brugnara Daniele <address@hidden> пишет:
>
>> 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.