LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Bedrock Linux
User Name
Password
Bedrock Linux This forum is for the discussion of Bedrock Linux.

Notices


Reply
  Search this Thread
Old 10-18-2019, 09:16 PM   #1
jr_bob_dobbs
Member
 
Registered: Mar 2009
Distribution: Bedrock, Devuan, Slackware, Linux From Scratch, Void
Posts: 651
Blog Entries: 135

Rep: Reputation: 188Reputation: 188
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.
 
Old 10-19-2019, 07:42 AM   #2
ParadigmComplex
Bedrock Linux Founder
 
Registered: Feb 2016
Distribution: Bedrock Linux
Posts: 179

Rep: Reputation: Disabled
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 View Post
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 View Post
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?
 
Old 10-19-2019, 09:16 AM   #3
jr_bob_dobbs
Member
 
Registered: Mar 2009
Distribution: Bedrock, Devuan, Slackware, Linux From Scratch, Void
Posts: 651

Original Poster
Blog Entries: 135

Rep: Reputation: 188Reputation: 188
Quote:
Originally Posted by ParadigmComplex View Post
`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.
 
Old 10-19-2019, 10:09 AM   #4
ParadigmComplex
Bedrock Linux Founder
 
Registered: Feb 2016
Distribution: Bedrock Linux
Posts: 179

Rep: Reputation: Disabled
Quote:
Originally Posted by jr_bob_dobbs View Post
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 View Post
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 View Post
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.
 
Old 10-20-2019, 07:30 AM   #5
jr_bob_dobbs
Member
 
Registered: Mar 2009
Distribution: Bedrock, Devuan, Slackware, Linux From Scratch, Void
Posts: 651

Original Poster
Blog Entries: 135

Rep: Reputation: 188Reputation: 188
Quote:
Originally Posted by ParadigmComplex View Post
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.
 
Old 10-20-2019, 07:33 AM   #6
ParadigmComplex
Bedrock Linux Founder
 
Registered: Feb 2016
Distribution: Bedrock Linux
Posts: 179

Rep: Reputation: Disabled
You're welcome
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] bedrock: bedrock poki remains on UTC no matter what jr_bob_dobbs Bedrock Linux 5 09-03-2019 05:10 AM
Devuan - Devuan based distros fatmac Linux - Distributions 50 02-19-2018 08:15 AM
Devuan & Devuan based distro thread fatmac Linux - General 8 07-30-2017 02:55 AM
[SOLVED] bedrock not using brsh.conf, dropped to bedrock's /bin/sh Siljrath Linux - Distributions 2 08-25-2014 05:47 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Bedrock Linux

All times are GMT -5. The time now is 09:48 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration