building a bootable Linux ISO

A home for all kinds of Puppy related projects

Moderator: Forum moderators

Post Reply
lmemsm
Posts: 6
Joined: Fri Jun 04, 2021 1:42 pm
Been thanked: 1 time

building a bootable Linux ISO

Post by lmemsm »

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.

User avatar
wiak
Posts: 3627
Joined: Tue Dec 03, 2019 6:10 am
Location: Packing - big job
Has thanked: 56 times
Been thanked: 994 times
Contact:

Re: building a bootable Linux ISO

Post by wiak »

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
Αξίζει να μεταφραστεί;

jamesbond
Posts: 539
Joined: Tue Aug 11, 2020 3:02 pm
Location: The Pale Blue Dot
Has thanked: 73 times
Been thanked: 292 times

Re: building a bootable Linux ISO

Post by jamesbond »

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.

lmemsm wrote: Tue Jan 25, 2022 8:29 pm

... how it works if you want to mount or overlay rootfs with another image file ...

Err, won't "chroot" do that (after mounting the image using losetup) ? Or am I missing something here?

oui
Posts: 368
Joined: Fri Aug 28, 2020 9:35 pm
Has thanked: 6 times
Been thanked: 28 times

Re: building a bootable Linux ISO

Post by oui »

my answer: viewtopic.php?p=48298#p48298

your video:

Attachments
view.jpg
view.jpg (44.11 KiB) Viewed 1514 times
Post Reply

Return to “Puppy Projects”