<br><br><div class="gmail_quote">On Sat, Feb 28, 2009 at 3:55 PM, John-Thomas Richards <span dir="ltr"><<a href="mailto:jtr@jrichards.org">jtr@jrichards.org</a>></span> wrote:<br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<div class="Ih2E3d">On Sat, Feb 28, 2009 at 03:20:44PM -0500, Lee Forest wrote:<br>
> pretty sure I seen where you were trying to go with the factory<br>
> install on VirtualBox deal. The answer seems clear to me, but also<br>
> seems to sound more complicated then it really needs to be. Basically<br>
> you make a copy of your hard disk partition and put it on a usb<br>
> drive....load the Virtual enviroment with a liveCD since you obviously<br>
> won't have an OS yet. restore the partition from the USB to the<br>
> virtual machine. If you don't have a boot loader, you can chroot into<br>
> the enviroment and do a grub install and you should be good to go.<br>
> This is my measley two cents too late, but I've been playing with<br>
> virtualbox all night and it all came clear to me this morning :D<br>
<br>
</div>I cannot restore the partition to a VM. The partition contains<br>
installation files for the operating system and the pre-installed<br>
software. I need VirtualBox to install the operating system from the<br>
restore partition (or USB drive), just like one would with an install<br>
CD.<br>
<br>
Why do I need to load the virtual environment with a live CD?<br>
<br>
I believe the restore partition has a bootloader since it's designed to<br>
be booted (so as to restore the machine to its factory installation).<br>
<font color="#888888">--<br>
john-thomas<br>
------<br>
Pray, v. To ask the laws of the universe to be annulled on behalf of a<br>
single petitioner confessedly unworthy.<br>
Ambrose Bierce (1842-1914), [The Devil's Dictionary, 1906]<br>
</font><div><div></div><div class="Wj3C7c">_______________________________________________<br>
grlug mailing list<br>
<a href="mailto:grlug@grlug.org">grlug@grlug.org</a><br>
<a href="http://shinobu.grlug.org/cgi-bin/mailman/listinfo/grlug" target="_blank">http://shinobu.grlug.org/cgi-bin/mailman/listinfo/grlug</a><br>
</div></div></blockquote></div><br>The partition has it's boot files, but not the bootload, which resides in the MBR of the drive.<br>I did basically what John-Thomas Richards is suggesting - I made a dd image of the partition into a file on a USB drive, then booted the VM with a livecd ISO and DD'd the file image to the VM drive partition. What's left to do is copy the bootloader from the MBR of the original drive to the MBR of the virtual drive. I don't really know (yet) how to chroot to install grub that way.<br>
Bill<br><br>