Bedrock LinuxThis forum is for the discussion of Bedrock Linux.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
I've been going through the documentation for Nyla. Wow! Things have changed since the previous version!
Anyway, to my actual question. From the documentation, regarding putting in the first strata:
Quote:
You'll need to come up with some other name for this stratum. Then, later, rootfs will be aliased to this name so that either option will refer to the same stratum. If you did a hijack install and are keeping the hijacked distro's files, the convention here is to use the name of the hijacked distro's release (or just the distro's name of it is a rolling release). For example, if you installed and are hijacking Debian 8 "Jessie", the convention is to use "jessie" as rootfs' name. If you are doing a manual install, the convention is to use the Bedrock Linux release name. For this release, Bedrock Linux 1.0beta2 "Nyla", that is "nyla".
So for the first distro, if I do it manually, it would be /bedrock/strata/nyla, but if I use the hijack method, it's "/bedrock/distro name"? Why would the naming scheme would differ for manual vs. hijack methods?
Distribution: Debian, Ubuntu, Gentoo, CentOS/RHEL/OEL, Bedrock Linux
Posts: 1
Rep:
Things certainly have changed a lot in Nyla, and one of the main ways is the hijack install method. After install, a hijacked system typically looks a little different to a manual install, though you can technically convert either to ultimately end in the same install.
In a hijack installation, the filesystem/directory being used for the first stratum contains an existing distribution. If you keep the original distribution to use as a stratum, it is serving multiple purposes. It holds the following:
Original distribution's files that serve as your first stratum.
Global configuration files that are shared between your strata.
Rootfs files that enable Bedrock initialization.
If for example, you hijacked a Debian 8 install and wanted to keep the contents of Debian there as a stratum, it would make the most sense to call it "jessie" because when Bedrock is in operation, if you want to run a command from that stratum it would be from the Debian install.
When you do a manual install, you do not start with any distribution's files, so the stratum containing the rootfs files would just contain rootfs and possibly global files. Thus it makes sense to call it "nyla" because it contains only Bedrock-related files.
There is a ton of flexibility in the Bedrock install process, so you could do something like remove the hijacked distro after hijacking in which case it would make sense to name the stratum differently. You could also potentially perform a manual install, then install a distro into an existing stratum that already contained rootfs files, in which case it would also make sense to rename. But generally people performing hijack or manual installs will end up with a system as described above.
Last edited by EffervescentRing; 04-12-2016 at 11:57 PM.
Reason: added comma to clarify a sentence
my personal method, i prefix "jack" to the name of the initial strata['s distro].
so for when i hijacked voidlinux, its strata became jackvoid, and on another machine i hijacked slackware(current) and called it jackslack. [edit]... oh, and my funtoo hijack i called jacktoo. ^_^[/edit]
i chose to do this addition to help remember later when i have lots of strata which was first, and to help provide an alternative strata name for when i add more strata of that distro, and the hijacked strata gradually gets picked away to less and less, and/or even removed maybe. ^_^
so, it's a convention, to keep things simple.
but you dont need to follow it.
you could call it "bob".
using a distro's release name (e.g. jessie) rather than distro name (e.g. debian) might be useful later on, above just picking the distro name, like if you make an upgrade strata.
using bedrock release name (e.g. nyla) might be worth doing once (/if) the hijack strata is stripped to nothing more than you'd get from a non-hijack full bedrock install's initial stratum. ^_^ maybe that's a little silly/slippery now that the bedrock stratum's now split in nyla. http://bedrocklinux.org/1.0beta2/con...ata-attributes
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.