2010-07-17 28 views
2

远景:我在VMware,Windows 7主机下运行ubuntu 10.4机器。我越来越多地使用它作为我的主要机器,并且现在希望我已经将它安装为双启动系统,因为虚拟机的迟钝是持续的刺激。那么 - 是否有可能以某种方式将ubuntu系统转换为本地运行?将vm转换为本机/双启动

如果没有,是否有任何工具可以帮助我将所有文件和设置传输到新的双引导Ubuntu系统?

回答

1

那么....你可以使用qemu-img来提取文件系统的原始图像。

我这样做:

 
1) Booting a live cd with qemu-img tool 
2) Dump vmware image into a external usb hard-drive in raw format. 
3) Shrink NTFS partition to make room for the ubuntu 
     image and swap (or more, if you want) 
4) Create a new ext3 partition and swap partition to fill in the new free space 
5) Dump the raw image to the new ext3 
6) [resizefs if partition > size(raw image)] 
7) chroot to the new ext3 partition 
8) execute grub-install to (hd0) 
9) test if works 

我之前做了类似的事情,它的工作

+0

大,感谢您的马切达!所以我想毕竟手术是必需的。 – Schmev 2010-07-17 01:48:32

+1

另一个想法是重新创建你的系统。这样,你会做一些清洁:D。 1)启动虚拟机ubuntu。 dpkg - 获取选择> your_packages_list.txt 2)将该文件复制到笔驱动器 2.b)将/ home,/ var/www,...复制到笔驱动器(使用tar cvfj保留权限和用户) 3)收缩NTFS分区 4)创建一个新的EXT3FS和交换分区 5)安装新Debian有 6)的dpkg --set-选择 KikoV 2010-07-17 01:57:45

+0

这是一个在Debian中的应用程序(我也假定Ubuntu也是这样)自动执行此操作。我似乎不记得这个名字。 – Umang 2010-07-19 07:11:46