Thanks for the reply Martin, is there any other way to achieve this? I do
not need to python script for it, I need to run an executable which reads
the virtual hard-disk. So I think I'll need to run this executable and add
an entry in grub.conf before the boot menu shows up.



On Wed, Jun 22, 2011 at 2:00 PM, Martin Rosenau <mar...@rosenau-ka.de>wrote:

> **
> Hello
>
> I do not think you can run Python scripts from GRUB. A Python interpreter
> is a very large program requiring a complete operating system. It would be
> very complex to run such scripts from GRUB...
>
> Martin
>
>  On Tue, Jun 21, 2011 at 3:02 PM, Swapnesh Chaubal <scha...@clemson.edu>wrote:
>
>> Hey folks,
>>
>> I use a script from VMWare to read a virtual hard-disk and then mount it
>> to a drive in Linux. How can I boot from this mounted drive using grub (I
>> need to mount the drive before booting to any OS). I could have all the
>> mounting stuff written in a python/bash script. However, is there a way to
>> run that script from GRUB or a GRUB module?
>>
>> Thanks,
>> Swapnesh
>>
>
>
> _______________________________________________
> Grub-devel mailing 
> listGrub-devel@gnu.orghttps://lists.gnu.org/mailman/listinfo/grub-devel
>
>
>
_______________________________________________
Grub-devel mailing list
Grub-devel@gnu.org
https://lists.gnu.org/mailman/listinfo/grub-devel

Reply via email to