All of lore.kernel.org
 help / color / mirror / Atom feed
From: Martin Rosenau <martin@rosenau-ka.de>
To: The development of GNU GRUB <grub-devel@gnu.org>,  schauba@clemson.edu
Subject: Re: Mounting a virtual hard-disk and booting from it
Date: Wed, 22 Jun 2011 20:00:29 +0200	[thread overview]
Message-ID: <4E022DBD.8090004@rosenau-ka.de> (raw)
In-Reply-To: <BANLkTinObT2f57TSWxZbgocsHA017zEq4w@mail.gmail.com>

[-- Attachment #1: Type: text/plain, Size: 905 bytes --]

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
> <mailto: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


[-- Attachment #2: Type: text/html, Size: 2020 bytes --]

  reply	other threads:[~2011-06-22 18:00 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-06-21 19:02 Mounting a virtual hard-disk and booting from it Swapnesh Chaubal
2011-06-22 13:55 ` Swapnesh Chaubal
2011-06-22 18:00   ` Martin Rosenau [this message]
2011-06-22 20:37     ` Swapnesh Chaubal
2011-06-22 21:52       ` Vladimir 'φ-coder/phcoder' Serbinenko
2011-06-24 15:46 ` Lennart Sorensen

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=4E022DBD.8090004@rosenau-ka.de \
    --to=martin@rosenau-ka.de \
    --cc=grub-devel@gnu.org \
    --cc=schauba@clemson.edu \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.