[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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

From: Lennart Sorensen
Subject: Re: Make grub treat a virtual hard disk as a physical hard disk
Date: Fri, 15 Apr 2011 15:41:51 -0400
User-agent: Mutt/1.5.18 (2008-05-17)

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
> physical machine does not need to know what it is booting from and the rest
> of the booting and running should proceed as it normally does.
> Is there any way to achieve this?

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 offsets
in it to read its filesystem and find the kernel to boot that way, but
you still have the larger problem of then making that kernel work with
a VHD file rather than direct hardware access (in fact it would have to
do both.  Read the physical device and filesystem to get at the vhd and
read that).

I really have to wonder what the point of the exercise is?

Len Sorensen

reply via email to

[Prev in Thread] Current Thread [Next in Thread]