Replies: 3 comments 11 replies
-
Thanks, that's very kind of you :) About 10-15 years ago there was a pivot root implementation in Finit. Since then nobody's use that. What works, and is in use today, is a basic I have setups with Alpine, Debian working with Finit, there use the native ext2 partitions. However, for embedded systems I employ Buildroot and there's an example of using a squashfs root in /~https://github.com/troglobit/myLinux -- specifically, see /~https://github.com/troglobit/myLinux/blob/main/board/common/rootfs/etc/fstab.ro which is used for |
Beta Was this translation helpful? Give feedback.
-
sorry to revive an old discussion but i was hoping for some guidance on the topic warning: i am no expert on building an os from ground up so pardon my ignorance where applicable 😅 how does this work for a standard debian install (for example) which has an initramfs and wants to run my thought is that switch root functionality would be immensely useful to start am i missing something obvious or is it simply that any and all guidance is much appreciated, thank you 🙇♂️ |
Beta Was this translation helpful? Give feedback.
-
This discussion has a related issue, #74 |
Beta Was this translation helpful? Give feedback.
-
Hi @troglobit,
I've done some first steps to build my own running linux system based on finit and busybox / alpine. Looks really great and works fine so far.
Great job with finit 👍
Now I thinking about rootfs and found an example to mount "/" from
/etc/fstab
. Is it something like switch_root or just mount a partition to "/"?My idea was to mount squashfs and a overlayfs to / or squashfs with some persistent additional / mounts.
Is there an example with fstab rootfs mount / switch_root or squashfs / overlayfs?
Many thanks!
Beta Was this translation helpful? Give feedback.
All reactions