A A A
Please consider registering
Guest
Forum Scope


Match



Forum Options



Min search length: 3 characters / Max search length: 84 characters
Forum Login
Register Lost password?
02-yellowpac
How to create my own disk image
RSS
NoSkillzEngineer
2 Posts
(Offline)
1
March 4, 2021 - 10:45 pm
Print

I do not like the search function in this forum, so forgive me if this is redundant. 

 

I am a tech geek, but by NO means an expert, especially when it comes to embedded development, I am resourceful, yet ignorant in this domain, I apologize in advance for what might come across as a noob question. 

 

Could someone give me a simple, high-level overview of how to go from this:

https://downloads.raspberrypi.org/raspios_arm64/images/raspios_arm64-2020-05-28/2020-05-27-raspios-buster-arm64.zip

 

to what can be downloaded here? 

 

https://www.arcadepunks.com/download-raspberry-pi-4-images/

 

I want to know how to actually create and package my own image like this, not extract or write, like actually go from a base image, and adding the stuff in order to have the image to install as if I were to upload them to your site, or have it easy for my brother to just burn to an SSD with the games we want and the settings enabled by default like ssh on first boot, and some of the tools I use that are not typically installed by default, how to support a controller by default like on the Nano where an xbox one controller needs a few commands, etc.

 

I am on Ubuntu 20.10 and when I double click the May Beta of the raspberry pi 4 disk image in my file manager, both boot and rootfs  mount to my computer and when I eject them both it is as if I didn't touch it in a clean disk image, without any modifications. I see what I imagine are all the config files and whatnot within these two master folders/partitions/sections. I see the same thing for one of Wolfanoz's images as well. 

 

Could someone either give me a high-level overview of how this is done or point me towards documentation that explains it in depth? I do not know what the searchable terms are for what I want to do, all I get is how to use etcher or how to download a file and extract it from a tar or 7zip file, etc. I want to be able to do this myself, and eventually do it for other boards I have laying around like the Nvidia Jetson, and some other boards. I do not see too many aimed at what my brother and I grew up with as a kid and I think I could make a good image. I have compiled my kernel from source for my laptop, build an arch OS from the ground up a couple times (lot of failures!), I've rooted every android phone I've had for 5 or 6 years (bricked my phone many times), on OnePlus now. I am tech savvy, I just do not know how to go about this or what to search for at all. go I have to do it from source from github? I hope not, I hope I can just like decompile a disk image or copy files and just add the stuff I want. 

 

Could someone point me in the right direction?

 

Please and thank you!

Kevin

Avatar
Ninja UK
1840 Posts
(Offline)
2
March 5, 2021 - 11:31 pm
Print

Hi Kevin...

 

if you download a loaded image from the pi 4 images, its everything, including the main os, you simply burn the image file to sd card and insert and play (you may need to extract the multiple archive files, such as .rars first to get the .img)

you dont need to mount it or anything, simply get the .img file, write it to sd (burn it to sd) , pop it in the SBC (Single board computer, such as Pi) and play.

I am on Ubuntu 20.10 and when I double click the May Beta of the raspberry pi 4 disk image in my file manager, both boot and rootfs  mount to my computer and when I eject them both it is as if I didn't touch it in a clean disk image, without any modifications. I see what I imagine are all the config files and whatnot within these two master folders/partitions/sections. I see the same thing for one of Wolfanoz's images as well. 

Yea, no need to access the .img file, just write it to SD

....

So to make an image, you would install a OS such as retropie, then add the system bios files, roms, rom media and so on, this is done all on the SBC via SSH or even via FTP, to then create an image and share you simply pop out the Micro SD, pop it in your PC, create an image file (possibly with same software you used to write it) and you are done, if sharing via here then multi-archiving it for ease of distribution.

These links are more aimed at Windows users, but you can always find "alternative.to" software for your nix OS

https://www.arcadepunks.com/knowledge-base/extract-multi-rar-archive/

https://www.arcadepunks.com/knowledge-base/write-img-sd-card/

NoSkillzEngineer
2 Posts
(Offline)
3
March 7, 2021 - 8:47 pm
Print

Yeah, that's exactly what I could only find. I know how to do that, it's easy. I wish to make my own. 

 

I want to make my own image, not use someone else's. I want to CREATE it. Using premade images is easy, but I want to move beyond that, I want to package my own image file.

 

Okay, I will look into this more, I appreciate the response. I have some reading to do clearly haha.

Avatar
Ninja UK
1840 Posts
(Offline)
4
March 8, 2021 - 12:50 am
Print

....

So to make an image, you would install a OS such as retropie, then add the system bios files, roms, rom media and so on, this is done all on the SBC via SSH or even via FTP, to then create an image and share you simply pop out the Micro SD, pop it in your PC, create an image file (possibly with same software you used to write it) and you are done, if sharing via here then multi-archiving it for ease of distribution.

Forum Timezone: Europe/London
All RSS Show Stats
Administrators: Ninja UK, peter laws
Moderators: aladdin, Arcade Man, Arcade Punk, CP78, ETA PRIME, Ghost Lost, Harrison Hacks, T.K.O. Cinematics, kiodiekin1, level1online, hursty1, Neighbourhood Techie, Maria, PatmanQC, Restalgia, RetroHumanoid, Simply Austin, titipilas, Titi Ober, leepspvideo, _RetroTech100, Guest Post, Mark Blackwood, Frankie Wilde, Jeremy Reynolds, Leslie Alexander, Eleonora
Top Posters:
canter6: 149
Jaz808: 121
SteelCityJJ: 74
davep180: 73
kme2019: 61
-x-: 53
MyRetrozz: 38
richhard: 37
tigerhareram: 33
-=CYD=-: 33
Newest Members:
corn holio
Sean Lin
nailuj
Juan Jose Rivas Romero
John Williamson
John Stephens
jingyu huang_1
charly G.
jingyu huang
Johnny Hua
Forum Stats:
Groups: 7
Forums: 33
Topics: 2684
Posts: 8510

 

Member Stats:
Guest Posters: 123
Members: 68312
Moderators: 27
Admins: 2

Most Users Ever Online
751
Currently Online
FalconLFC, Kilroy5150, calculus, Gith, Gith, drknockkers, zippy, saago, jtorni, piratebyday, Dario770, ticklerick, fallenjedi, philmein121, dotn, jampaint, Mhill94, Methodman777, momiator, RickyWildheart, phil450, Overground, driftman31, juan carlos carrascosa, Fernando Dos Santos, GONZALO VELAZ, Dan Philips, roger noel, goober_1, Slyder, aro zem, berto sousa, wifi75 wifi, David Arenas, dionio silva, Jesús Miguel Lorente, Oliver Masotti, jason smith_2, karl hayley, nailuj, corn holio
Guest(s)
268
Currently Browsing this Page

1 Guest(s)

This website uses cookies to improve your experience. We'll assume you're ok with this, but you can opt-out if you wish. Accept Read More