I've been reading through the Minimal Linux Live ( https://github.com/ivandavidov/minimal-linux-script ) and Shoebox Linux ( https://github.com/antoniusmisfit/shoebox-linux ) scripts. I've also been looking for information on creating a minimal Linux system and found Rob Landley's Building the Simplest Possible Linux System ( www.youtube.com/watch?v=Sk9TatW9ino ). Does anyone know of any good documentation or references on how it works if you want to mount or overlay rootfs with another image file that contains more than the basic minimal software used to boot the system? Thanks.
building a bootable Linux ISO
Moderator: Forum moderators
- wiak
- Posts: 4082
- Joined: Tue Dec 03, 2019 6:10 am
- Location: Packing - big job
- Has thanked: 65 times
- Been thanked: 1208 times
- Contact:
Re: building a bootable Linux ISO
I remember reading the following when first experimenting with overlayfs a few years ago:
https://askubuntu.com/questions/699565/ ... ayfs-usage
The same main answer basically came from nice tutorial:
https://blog.programster.org/overlayfs
and of course kernel official docs page for lots of details on overlay filesystem:
https://www.kernel.org/doc/html/latest/ ... layfs.html
Should be worth trying out the overlayfs examples from the blog tutorial just using simple directories prior to trying to incorporate the mechanism into your Minimum Linux Live build. I didn't use a MLL build for my own OS design, but the basic concepts, busybox and mount dev, proc and sys and so on, are similar in terms of the basics of doing something like this.
wiak
https://www.tinylinux.info/
DOWNLOAD wd_multi for hundreds of 'distros' at your fingertips: viewtopic.php?p=99154#p99154
Αξίζει να μεταφραστεί;
-
- Posts: 717
- Joined: Tue Aug 11, 2020 3:02 pm
- Location: The Pale Blue Dot
- Has thanked: 124 times
- Been thanked: 402 times
Re: building a bootable Linux ISO
Thanks for the interesting links. I used to have other links like this but they are all gone now. For some strange reasons, some authors like to remove stuff from github after they lost interest in their projects.
Err, won't "chroot" do that (after mounting the image using losetup) ? Or am I missing something here?
Re: building a bootable Linux ISO
my answer: viewtopic.php?p=48298#p48298
your video:
- Attachments
-
- view.jpg (44.11 KiB) Viewed 2319 times