Bedrock Linux This 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.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
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.
|
|
10-18-2019, 09:16 PM
|
#1
|
Member
Registered: Mar 2009
Distribution: Bedrock, Devuan, Slackware, Linux From Scratch, Void
Posts: 672
Rep:
|
bedrock, added devuan strata, can't get kernel
I installed a Buildroot system. This is a very minimal Linux that is mostly just busybox. Nonetheless, it can get on-line (cable, not wifi) and it can run the bedrock installer script just fine. Note, a separate Linux manages the boot loader and this provides the kernel for the Buildroot (now bedrock) system, for now.
I then added a Devuan (fork of Debian with no systemd) strata, with the intent to eventually have Devuan provide its own initramdisk & kernel.
One problem: I can't find the kernel. There is a /lib/modules for that kernel, but no Devuan vmlinuz its boot dir. I tried several packages that should have had the kernel but I can't find it. I did install a kernel source package but honestly I'd rather use the already-compiled stock Devuan kernel.
My problem is, I do not know if this is a Devuan problem or a bedrock problem. Can I please get a clue? What I mean is, does a strata fetch bring in the kernel? Did Bedrock then eat it? I know i installed the kernel later but ... did Bedrock then eat it?
Thank you.
|
|
|
10-19-2019, 07:42 AM
|
#2
|
Bedrock Linux Founder
Registered: Feb 2016
Distribution: Bedrock Linux
Posts: 179
Rep:
|
Everything works as expected for me:
Code:
$ ls -la /boot
total 16K
drwxr-xr-x 3 root root 4.0K Oct 19 08:29 .
drwxr-xr-x 24 root root 4.0K Oct 19 08:29 ..
drwxr-xr-x 5 root root 4.0K Oct 19 08:29 grub
$ sudo brl fetch devuan >/dev/null 2>&1
$ sudo strat devuan apt install -y linux-image-amd64 >/dev/null 2>&1
$ strat devuan dpkg -l | awk '/linux-image-[0-9]/{print$2}'
linux-image-4.9.0-11-amd64
$ strat devuan dpkg -L | grep /boot/
/boot/System.map-4.9.0-11-amd64
/boot/config-4.9.0-11-amd64
/boot/vmlinuz-4.9.0-11-amd64
$ ls -la /boot/System.map-4.9.0-11-amd64 /boot/config-4.9.0-11-amd64 /boot/vmlinuz-4.9.0-11-amd64
-rw-r--r-- 1 root root 183K Sep 20 07:03 /boot/config-4.9.0-11-amd64
-rw-r--r-- 1 root root 3.1M Sep 20 07:03 /boot/System.map-4.9.0-11-amd64
-rw-r--r-- 1 root root 4.1M Sep 20 07:03 /boot/vmlinuz-4.9.0-11-amd64
Quote:
Originally Posted by jr_bob_dobbs
does a strata fetch bring in the kernel?
|
`brl fetch` tries to bring in just enough for the user to bootstrap whatever else they want. For most distros this is usually just the package manager, its explicit and implicit dependencies, and locale stuff. If users want anything else - like a kernel - they're expected to use the newly available package manager to install it.
`brl fetch` should not bring a kernel.
Quote:
Originally Posted by jr_bob_dobbs
I tried several packages that should have had the kernel but I can't find it.
|
Can you provide exactly what you did to install devuan's kernel and check if devuan's kernel is installed?
|
|
|
10-19-2019, 09:16 AM
|
#3
|
Member
Registered: Mar 2009
Distribution: Bedrock, Devuan, Slackware, Linux From Scratch, Void
Posts: 672
Original Poster
Rep:
|
Quote:
Originally Posted by ParadigmComplex
`brl fetch` should not bring a kernel.
|
Understood. This helps reduce my confusion.
Quote:
Can you provide exactly what you did to install devuan's kernel and check if devuan's kernel is installed?
|
At this point, I can't, so I'll have to retract my question. Sorry.
Thank you for the reply.
I'll have to do a fresh install of Devuan in a different way, then when that is working and stable, *then* I'll bedrock it.
I think the lession I am learning here is that Bedrock cannot eliminate the need to actually learn how things are done within each distro.
|
|
|
10-19-2019, 10:09 AM
|
#4
|
Bedrock Linux Founder
Registered: Feb 2016
Distribution: Bedrock Linux
Posts: 179
Rep:
|
Quote:
Originally Posted by jr_bob_dobbs
At this point, I can't, so I'll have to retract my question. Sorry.
Thank you for the reply.
|
No worries, happy to help.
Quote:
Originally Posted by jr_bob_dobbs
I'll have to do a fresh install of Devuan in a different way, then when that is working and stable, *then* I'll bedrock it.
|
That's certainly an option and if you think that's best for you you're welcome to it. However, instead you could follow the steps I provided earlier to confirm it works for me. You can probably just `brl remove devuan` and try again. The way Bedrock segregates things into strata makes it really easy to manipulate the system like this and greatly reduces the need for fresh installs.
Quote:
Originally Posted by jr_bob_dobbs
I think the lession I am learning here is that Bedrock cannot eliminate the need to actually learn how things are done within each distro.
|
This is absolutely is the case. Bedrock is more about making stuff from other distros available than abstracting them. At the end of the day it's the software from all the other distros on your system that are actually doing things you need to understand.
The notable exception is pmm which should help a bit with this specific workflow once it's ready. You'll be able to query it for things like "which <stratum>/<package-manager> packages provide `/boot/*vmlinu*` files" without really needing to know the package manager's specific syntax. However, there could definitely be quirky distro- or package-manager-specific things which would keep this from working universally.
Last edited by ParadigmComplex; 10-19-2019 at 12:44 PM.
|
|
|
10-20-2019, 07:30 AM
|
#5
|
Member
Registered: Mar 2009
Distribution: Bedrock, Devuan, Slackware, Linux From Scratch, Void
Posts: 672
Original Poster
Rep:
|
Quote:
Originally Posted by ParadigmComplex
No worries, happy to help.
However, instead you could follow the steps I provided earlier to confirm it works for me.
|
Good point. That worked. Thank you.
|
|
|
10-20-2019, 07:33 AM
|
#6
|
Bedrock Linux Founder
Registered: Feb 2016
Distribution: Bedrock Linux
Posts: 179
Rep:
|
You're welcome
|
|
|
All times are GMT -5. The time now is 08:50 AM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|