Re: Mounting a virtual hard-disk and booting from it

2011-06-24 Thread Lennart Sorensen
On Tue, Jun 21, 2011 at 03:02:14PM -0400, Swapnesh Chaubal wrote: > 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

Mounting a virtual hard-disk and booting from it

2011-06-23 Thread Swapnesh Chaubal
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

Re: Mounting a virtual hard-disk and booting from it

2011-06-22 Thread Vladimir 'φ-coder/phcoder' Serbinenko
On 22.06.2011 22:37, Swapnesh Chaubal wrote: > 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 b

Re: Mounting a virtual hard-disk and booting from it

2011-06-22 Thread Swapnesh Chaubal
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

Re: Mounting a virtual hard-disk and booting from it

2011-06-22 Thread Martin Rosenau
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

Re: Mounting a virtual hard-disk and booting from it

2011-06-22 Thread Swapnesh Chaubal
Hey All, For some reason I'm not getting mails in grub-devel@gnu.org. Could someone kindly forward the replies to this id too? Thanks, Swapnesh 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 >