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:

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.

After installing, and login OK.Power off it.
Add CD/DVD with "ubuntudestop.iso"

Select below option, and then power on the VM Ubuntu, then try Ubuntu Destop, you can login VM's Ubunt Destop and open terminal.



Prepare a U-disk with 8G, make it as USB boot disk by UUI tool or 大白菜U盘
as below:

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:

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:


Copy GNS3-Vmware system files

Copy form GNS3-VM to U-disk

Reboot


posted @ 2020-07-12 19:21  HenryCh  阅读(169)  评论(0编辑  收藏  举报