Qengineering / Jetson-Nano-Ubuntu-20-image

Jetson Nano with Ubuntu 20.04 image
https://qengineering.eu/install-ubuntu-20.04-on-jetson-nano.html
BSD 3-Clause "New" or "Revised" License
646 stars 70 forks source link

bootable img file extraction #65

Open fatemeh-mohseni-AI opened 7 months ago

fatemeh-mohseni-AI commented 7 months ago

hello sir . I have worked a lot on my jetson nano with your image and now , after months , I need 10 more jetson nanos with the same os as mine . I have installed lots of things on it and there are lots of configs on it . but I couldn't make a bootable file from the existing sd card . I would appreciate it if you help me with it . how can I make a bootable file from my current sd card ? by < disk internal linux reader > software, I could have a .sdk file which is not bootable and I couldn't boot jetson nano with it . How do I make it bootable or how do I make a bootable file from my sd card ? many thanks

Qengineering commented 7 months ago

The easiest way to go is by creating an .img file containing the whole SD card. I use my Windows machine's free tool DiskInternals Linux Reader. The file will be as large as your SD card. The next step could be compressing the .img to .xz by some zipper. Tip: Fill the remaining unused space with zeros before creating the .img file. It makes life easier for the xz zipper, resulting in a smaller file size. Your target SD card should be the same size as the original one.

The other way, making an image like the NVIDIA download centre provides (expandable SD card size, building the OS and all related files) is much harder. I'm afraid I can't help you with this path. In the past, I've investigated the idea, but after a few hours of Googling, I couldn't find a proper solution, so I quit.