# How can I image a Linux computer with Agent installed on it using other imaging solutions? This document will guide you to image a Linux computer with the agent on it. There are few pre-requisites which are described below. **Note:** OS Deployment does not support Mac OS and Linux OS currently. Please let us know [here](https://www.manageengine.com/products/os-deployer/product-roadmap-add-details.html?id=229) if you'd like to have Linux imaging. ## Cause The agent has a unique id which represents the machine with its name and system details. If more than one agent is identified with the same id, the details listed in the product console will be overwritten. This would end up listing details of only one computer though there are several computers with the same id. So in order to avoid this issue, follow the steps mentioned below to image a computer with agent on it. ## Steps 1. Install the agent in the computer. 2. Ensure that you have super user privileges to perform the below actions. 3. Open the terminal and run this command to stop the UEMS Agent Service: ```bash systemctl stop dcservice.service # For SystemD /etc/init.d/dcservice stop # For SystemVInit ``` 4. Download the appropriate version in the machine: - [LinuxOSImager_AMD](https://workdrive.zohoexternal.com/external/4beb5de0c18b9127eac30284b475eef7ada14c6322ca153c4e58341c64a6ef76/download?directDownload=true) - [LinuxOSImager_ARM](https://workdrive.zohoexternal.com/external/6d7c53c2dff4bcecf77e2e986da9243015e349aabb2c4cb394a7235b98991238/download?directDownload=true) Download the AMD or ARM version according to your system architecture. You can run the `arch` command to identify your system's architecture. 5. Navigate to the location where `LinuxOSImager_AMD` or `LinuxOSImager_ARM` is stored, open terminal and run: ```bash chmod +x LinuxOSImager_AMD.bin # or chmod +x LinuxOSImager_ARM.bin ``` This prepares the file for execution. 6. Run the following command: ```bash ./LinuxOSImager_AMD set # or ./LinuxOSImager_ARM set ``` Now the machine will be marked as imaged. 7. Take the image of the OS. 8. Run the following command: ```bash ./LinuxOSImager_AMD reset # or ./LinuxOSImager_ARM reset ``` This is needed for the machine to contact the product server. 9. Restart the UEMS Agent Service by running: ```bash systemctl restart dcservice.service # For SystemD /etc/init.d/dcservice restart # For SystemVInit ``` ## Steps to be performed on the computer where the image will be deployed 1. Deploy the OS image in the new machine. 2. Rename the new machine. 3. Open the terminal and run this command as root user: ```bash systemctl restart dcservice.service # For SystemD /etc/init.d/dcservice restart # For SystemVInit ```