Clone Linux System

CD/DVD选择Ubuntu桌面版iso;
电源->打开电源时进入固件->从Ubuntu桌面版iso启动;
Try Ubuntu Destop.
挂载一个U盘,这个U盘是Ubuntu Destop的装机盘;
把虚拟机的硬盘文件系统 dd 拷贝到 U盘;
然后,U盘可以插到工控机上,进入BIOS,Try Ubuntu,
然后从u盘 dd 拷贝到文件系统,并继续进行分区,从2.5G扩展至工控机实际大小。

This section shows you how to clone a Ubuntu Server system from Vmware to a x86 computer.
As I trying to directly install Ubuntu Server to a x86 computer as below:
Clone Linux System
It requires Internet connection during the installation, and it is not easy to install.

However, install a UbuntuServer on Vmware canbe easier, so it is better to install Ubuntu in VMware first, and then clone the system to the computer. Steps are as below.

Install UbuntuServer in Vmware, set the hard disk to be 2.5GB at the begining of the installation, others can be default.
Clone Linux System
After installing, and login OK.Power off it.
Add CD/DVD with "ubuntudestop.iso"
Clone Linux System
Select below option, and then power on the VM Ubuntu, then try Ubuntu Destop, you can login VM‘s Ubunt Destop and open terminal.
Clone Linux System
Clone Linux System
Clone Linux System
Prepare a U-disk with 8G, make it as USB boot disk by UUI tool or 大白菜U盘
as below:
Clone Linux System
Insert this U-disk to VM UbuntuServer,
Turn Login VM Ubuntu Destop by "Try Ubuntu" option.
Open terminal:

sudo -i
df #check u-disk
fdisk -l
dd if=/dev/sda of=/media/UUI/ubuntu.img bs=64M

After that, ubuntu.img is cloned in U-disk, as below:
Clone Linux System
Insert this U-disk to you test computer for Ubuntu installation, and enter BIOS, try Ubuntu Destop.
Also copy ubuntu.img from U-disk to the test computer by dd in Try Ubuntu Destop.

Reboot test computer to check it Ubuntu Server works.

After that. Resize hard disk memory to fill to 14G(less 16G ensure memory safety);
Commads can be as below:
Clone Linux System
Clone Linux System
Copy GNS3-Vmware system files

Copy form GNS3-VM to U-disk

Clone Linux System

Clone Linux System

Clone Linux System

Clone Linux System

Reboot
Clone Linux System
Clone Linux System
Clone Linux System

Clone Linux System

上一篇:Linux运维之监控CPU和内存的日志工具


下一篇:linux文件权限及特殊权限