Re: Recovery Partitions

2011-04-15 Thread Vladimir 'φ-coder/phcoder' Serbinenko
On 15.04.2011 08:01, Tom Davies wrote: > Hi :) > Could grub2 give a menu item for Recovery Partitions? It finds > Windows on sda2 on Ntfs but not the Windows Recovery Partition on sda1 > on Fat16? Could i edit the menu "on the fly" as i might have done > with grub legacy or would the prober thing

Re: Grub2 EFI: Image loading from USB takes too long

2011-04-15 Thread Seth Goldberg
This problem is present, at least, on ZFS. --S On Apr 14, 2011, at 8:55 PM, Vladimir 'φ-coder/phcoder' Serbinenko wrote: > On 15.04.2011 04:45, Bean wrote: >> Hi, >> >> I believe this is caused by the read algorithm of grub2. If the file >> is continuous, grub legacy will read it in one pass

Make grub treat a virtual hard disk as a physical hard disk

2011-04-15 Thread Swapnesh Chaubal
Hey, I am working on booting a physical machine using VHD files (regarding which I have not accomplished much) and I believe one way to go about it would be to make grub treat a virtual hard disk as physical hard disk. This way, the physical machine does not need to know what it is booting from an

Re: Make grub treat a virtual hard disk as a physical hard disk

2011-04-15 Thread Lennart Sorensen
On Fri, Apr 15, 2011 at 03:37:32PM -0400, Swapnesh Chaubal wrote: > I am working on booting a physical machine using VHD files (regarding which > I have not accomplished much) and I believe one way to go about it would be > to make grub treat a virtual hard disk as physical hard disk. This way, the

Re: Grub2 EFI: Image loading from USB takes too long

2011-04-15 Thread Vladimir 'φ-coder/phcoder' Serbinenko
On 15.04.2011 10:18, Seth Goldberg wrote: > This problem is present, at least, on ZFS. Could you test the attached patch then? -- Regards Vladimir 'φ-coder/phcoder' Serbinenko === modified file 'grub-core/disk/efi/efidisk.c' --- grub-core/disk/efi/efidisk.c 2010-09-21 12:41:23 + +++ grub-cor

Re: Make grub treat a virtual hard disk as a physical hard disk

2011-04-15 Thread Swapnesh Chaubal
Thank you for the quick reply Len, but it raised more questions in my mind than it answered. As for why I am doing this, it is a project that I am working on. I need to boot physical machines using virtual images via network. One use of the project is to keep each file systems as a single file on

Re: Make grub treat a virtual hard disk as a physical hard disk

2011-04-15 Thread Vladimir 'φ-coder/phcoder' Serbinenko
On 15.04.2011 21:41, Lennart Sorensen wrote: > On Fri, Apr 15, 2011 at 03:37:32PM -0400, Swapnesh Chaubal wrote: >> I am working on booting a physical machine using VHD files (regarding which >> I have not accomplished much) and I believe one way to go about it would be >> to make grub treat a virt

Re: Make grub treat a virtual hard disk as a physical hard disk

2011-04-15 Thread Lennart Sorensen
On Fri, Apr 15, 2011 at 10:12:14PM +0200, Vladimir 'φ-coder/phcoder' Serbinenko wrote: > This part is done and supported (loopback command) as long as the disk > format is raw (I don't know whether VHD is raw or not). It is not raw. It has sparse allocation support and supports snapshots (in sep

Re: Make grub treat a virtual hard disk as a physical hard disk

2011-04-15 Thread Lennart Sorensen
On Fri, Apr 15, 2011 at 03:41:51PM -0400, wrote: > And who is going to map the VHD file to the physical disk for the system > running from the VHD file? > > You probably could convince grub to read a filesystem, find a vhd file, > teach grub how to parse it and figure out how to find the right of