If you are working with some projects where you used Raspberry Pi, You may done lot of code and configuration. When it goas to production and You have hundreds of Boards you can't make changes in every modules. So here there is a solution for that. You can clone the entire OS, Mostly all your files and configuration are unchanged. This made work easier when you need exact setup for multiple devices.
This is for Compute Module. You can follow for Normal Raspberry Pi module but skip step 1 if you do so.
Step 1 : Install rpiboot
- rpiboot used to flash compute module eMMC. If you already flash OS to Computer module then you probably have installed it. If not Download it from this link and do normal installation in Windows.
- Start rpiboot after connecting Raspberry Pi module to the PC using MicroB Cable. Power up using another Micro B cable USB which you connected to PC will not provide power to the Module.
- Once you opened rpiboot it after few seconds you can able to see the Compute module Disk in the Explorer Device and Drivers Section. It will looks like you have inserted an external SD card or Pendrive. If you can see this you just passed the first step.
Step 2 : Install Win32DiskImarger
- Win32DiskImager is used to Read OS Image and to Write Image file in a SD Card or Compute Module.
- Download and Install from here
Step 3 : Read Compute Module OS and save clone in a folder
- Open Win32DiskImager
- Select Your compute Module on Device Section
- Click Image File Browse and Give any name and save it
- Click Read Button from Bottom, It will clone the OS and save it in the name you have given and path you have selected. It will take some time.
- Once its done you can see the Cloned OS in the path with the name you have given.
Step 4 : Flashing Cloned OS to Another Computer Module.
- Complete Step 1 to enable the visibility of new compute module in Explorer.
- Open Win32DiskImager
- Select Cloned Image in image file section from Browse option.
- Select Compute module in Device Section.
- If you have already Flashed OS and if you are not worry about erasing it, I suggest you to format it and Go to Disk Management > Delete All main and Sub Partition related to Pi Module. Make new Partition.
- After Completing above steps make sure you have seen only one Partition and Click Write Option.
- It will take few minutes and chill with some music.....
Your Cloned OS is ready now. Enjoy, If you have any Queries please feel free to ask
No comments:
Post a Comment