From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from list by lists.gnu.org with archive (Exim 4.71) id 1QZRjR-0007W6-JG for mharc-grub-devel@gnu.org; Wed, 22 Jun 2011 14:00:53 -0400 Received: from eggs.gnu.org ([140.186.70.92]:45930) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QZRjK-0007UW-PK for grub-devel@gnu.org; Wed, 22 Jun 2011 14:00:51 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1QZRjI-0006Bz-QP for grub-devel@gnu.org; Wed, 22 Jun 2011 14:00:46 -0400 Received: from moutng.kundenserver.de ([212.227.126.171]:53852) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QZRjI-0006Bi-2G for grub-devel@gnu.org; Wed, 22 Jun 2011 14:00:44 -0400 Received: from [127.0.0.1] (HSI-KBW-109-193-223-169.hsi7.kabel-badenwuerttemberg.de [109.193.223.169]) by mrelayeu.kundenserver.de (node=mrbap2) with ESMTP (Nemesis) id 0M3uUc-1RPttD0XDO-00qoAg; Wed, 22 Jun 2011 20:00:33 +0200 Message-ID: <4E022DBD.8090004@rosenau-ka.de> Date: Wed, 22 Jun 2011 20:00:29 +0200 From: Martin Rosenau User-Agent: Mozilla/5.0 (Windows; U; Windows NT 6.1; de; rv:1.9.2.17) Gecko/20110414 Thunderbird/3.1.10 MIME-Version: 1.0 To: The development of GNU GRUB , schauba@clemson.edu Subject: Re: Mounting a virtual hard-disk and booting from it References: In-Reply-To: Content-Type: multipart/alternative; boundary="------------090006000501090809010707" X-Provags-ID: V02:K0:v0RASDJSNbUlkQNPl2Vf5FQtjTwRmsWNi2Uu1KdFFh2 qqxl5wkofIPnQyx6Gm8iET+/bvK5EgU62ZOS0YD7Dmygq5kJuU bW357KF/Ph8VDrMVwOOmq6EGL4sKRgHbnFFmjKHuBNX67h3M8S yhvWDbdlN+JBHfvWhEzMHe6Dtx/InJRfWtTRdGA0QFBvwqMibw OAz0C4deXbD8j+fXyxu5A== X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 212.227.126.171 X-BeenThere: grub-devel@gnu.org X-Mailman-Version: 2.1.14 Precedence: list Reply-To: The development of GNU GRUB List-Id: The development of GNU GRUB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 22 Jun 2011 18:00:51 -0000 This is a multi-part message in MIME format. --------------090006000501090809010707 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit 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 > 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 list > Grub-devel@gnu.org > https://lists.gnu.org/mailman/listinfo/grub-devel --------------090006000501090809010707 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit 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 <schauba@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 list Grub-devel@gnu.org https://lists.gnu.org/mailman/listinfo/grub-devel

--------------090006000501090809010707--