/r/bedrocklinux

Photograph via snooOG

Bedrock Linux is a meta Linux distribution which allows users to utilize features from other, typically mutually exclusive distributions.

/r/bedrocklinux

1,891 Subscribers

2

Question: can i use a different strata than the base one to install nvidia drivers?

My base strata is Arch and i want to try and install nVidia drivers using the Ubuntu strata, is this gonna be possible?

0 Comments
2024/05/03
20:36 UTC

6

Strata question

Is it possible to migrate my "base" strata away from vanilla arch to artix? I'd prefer to run dinit and artix as the "base" for everything and then use devuan on the side for more stable packages.

4 Comments
2024/05/01
09:03 UTC

3

No internet connection after changing init systems

My base system is Debian. When I log in with its init system all is well.

If I try to use Arch’s init system then my internet connection doesn’t work. I’ve installed network manager and enabled it, set my Ethernet interface as “up”.

Resolv.conf is present with 8.8.8.8 and 4.4.4.4 as the DNS servers.

2 Comments
2024/04/26
17:47 UTC

3

Will the base system convert to just another strata if i add one or more strata?

(Sorry, if the title is confusing)

Say, If my base is debian and i added arch. Does debian become just another strata?

If that's true, then both arch and debian have same priority, right? So, installing crucial packages required for normal functioning of system through arch won't be a problem to debian since both are just stratas on top of bedrock.

Am i getting it, right?

Thank you.

8 Comments
2024/04/14
18:47 UTC

4

Question: When doing a Bedrock hijack, should all the directories be in one storage drive?

I have a 128GB SSD and a 512GB HDD and I have installed a Debian system with the /boot/efi, swap and / in the SSD and the /usr, /opt and /home in the HDD and for some reason, after doing a Bedrock hijack, it didn't seem to work. This is what it looks like on reboot:

https://preview.redd.it/jqhzkv8q9stc1.jpg?width=1560&format=pjpg&auto=webp&s=72eff357c1de21dc1bf952678771afabf6ee7b49

1 Comment
2024/04/11
05:08 UTC

8

Yet Another Bedrock Android (I've read the FAQ)

I got this Android 11 phone running with full root, and I'm wondering whether this script is gonna brick my mobile or what? Thx. Also, think it's possible to leverage Gentoo RAP for some sweet blend of Bedrock Linux and Android goodness? I'm working in a ZeroTermux environment if it helps, and for root, I'm using KernelSU. I've scanned through the FAQ and there's this thing, Termux... kinda seems to have some similar Userland aspects in a way.🤔

https://preview.redd.it/8z8io5rczdsc1.jpg?width=1080&format=pjpg&auto=webp&s=c6f4fbf51301cdc5c56070c7b126ae72b5730a91

4 Comments
2024/04/04
04:01 UTC

1

A few questions about gaming and stability

I really like the concept of Bedrock but I have a couple of questions (I know they've been asked before but I want more recent information):

  1. Does gaming on Steam work?
  2. How stable is Bedrock? How do updates work? I feel like cobbling together packages from different repos and different packages would break the system during updates. I also don't fully understand how updating works. Do you just run the update commands for each package manager (like pacman -Syu, apt upgrade, etc).
  3. How would you install Hyprland on it? I've read that you have to download it with a package manager. I don't like doing this as I prefer cloning a git repo and running the script that automatically configures it in a nice way.
3 Comments
2024/04/03
11:53 UTC

4

Should I install Bedrock Linux?

Seems like a really cool distro, watched someone do a tutorial on YouTube and I kinda like the idea.

I am running Linux Mint right now, and it might be a pain to move files if I switch to anything else.

I'm mostly looking for KDE 6, but I'm willing to wait a bit for it to release on more stable (distros, stratas, whatever)

Ideally I wouldn't switch from using mint as the main system. (For initialization and the kernel and stuff, for stabilities sake.)

I do have a USB drive with mint, timeshift snapshot and 2 windows installs I stopped using a while ago if something goes wrong.

7 Comments
2024/03/18
16:52 UTC

3

Alternative download source?

I'm getting the following issue when I try to run sudo brl fetch void (or void-musl for that matter).


``user@fedora ~> sudo brl fetch void-musl
[sudo] password for user: 
[ 1/16 (  6%)] Determining name
* Using void-musl
[ 2/16 ( 12%)] Determining CPU architecture
* Using x86_64
[ 3/16 ( 18%)] Determining release
* Using rolling
[ 4/16 ( 25%)] Determining mirror
* Checking bedrock.conf [brl-fetch-mirror] items
[\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\] 100%
ERROR: Unable to automatically find a valid mirror.  Manually specify mirror with `--mirror`.
ERROR: Unexpected error occurred.
This is commonly due to distro mirror layout changes breaking `brl fetch`.  Possible solutions:
- If you did not, consider manually providing a mirror with --mirror
- Check for a Bedrock Linux update with `brl update`
- Check for a Bedrock Linux beta which may contain a fix
- Try `brl import` which does not rely on mirror layout

user                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                               @fedora ~ [1]> 

I tried brl update to no avail. I know it's possible to manually assign the mirror, but I don't know what the url should be.

3 Comments
2024/03/17
08:14 UTC

5

What are you guys running currently?

I'm curious as to what others are using :) . As for me I'm using Arch as a base and a Debian strata. I'm loving Bedrock so far after about a month of use!

5 Comments
2024/03/13
20:10 UTC

4

aarch64 system wont fetch or import any strata

hello, long time no see

im running bedrock on a funny little arm device and having an issue, so far ive hijacked 2 different distros (void, ubuntu) on the same device (using the same kernel both times) and in both scenarios im unable to fetch strata or manually import strata from a directory successfully

here's the end of brl fetch attempting to fetch void via ubuntu:

[10/16 ( 62%)] Configuring
[11/16 ( 68%)] Setting locale
[12/16 ( 75%)] Cleaning up
[13/16 ( 81%)] Importing users and groups
[14/16 ( 87%)] Preparing symlinks
[15/16 ( 93%)] Showing
[16/16 (100%)] Enabling
ERROR: Unexpected error occurred.
ERROR: Unexpected error occurred.
This is commonly due to distro mirror layout changes breaking `brl fetch`.  Possible solutions:
- If you did not, consider manually providing a mirror with --mirror
- Check for a Bedrock Linux update with `brl update`
- Check for a Bedrock Linux beta which may contain a fix
- Try `brl import` which does not rely on mirror layout

i specifically ran # brl fetch void --mirror https://mirrors.servercentral.com/voidlinux/

heres what a manual import looks like:

albo@albo-laptop:~/void$ ls
bin  boot  dev  etc  home  lib  lib32  lib64  media  mnt  opt  proc  root  run  sbin  sys  tmp  usr  var  void-aarch64-ROOTFS-20230628.tar.xz
albo@albo-laptop:~/void$ su root
Password: 
root@albo-laptop:/home/albo/void# brl import voidtest .
[1/6 ( 16%)] Copying files
[\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\] 100%
[2/6 ( 33%)] Cleaning up
[3/6 ( 50%)] Importing users and groups
[4/6 ( 66%)] Showing
[5/6 ( 83%)] Enabling
ERROR: Unexpected error occurred.
ERROR: Unexpected error occurred.
* Cleaning up
root@albo-laptop:/home/albo/void# 

ive tried fetching all available distro's as well as manually importing a few different distros and get the same results, both on freshly hijacked void installs as well as freshly hijacked ubuntu

any thoughts? im not sure how to get more verbose output or logging in this situation

2 Comments
2024/02/29
14:59 UTC

3

Thinking about a testbed ricing system on a rpi4

So, I'm looking to set up a nice ricing system on a raspberry pi 4, just wondering that if I hijacked something like raspbian/debian ARM would a fork of picom, and a wm, installed from arch's repos, then maybe with void's init system too, would that work well? have compositors been tested?

just looking for some advice whether I should use this, or if something else would be better.

EDIT: maybe I'd use void as base, but with the compositer, (maybe wm), and pipewire(kept breaking on my system and I couldn't get it or pulseaudio set up) all running on arch? would that be workable too?

4 Comments
2024/02/20
03:59 UTC

3

Weird time zone reset in Gnome with void as base + Arch

Hi!

So I did a Void install with GNOME as its DE and I hijacked it. The issue that I got afterwards is that the GNOME clock on the panel keeps showing me UTC time instead of GMT -3 (America/Santiago). The problem solves temporarily if I do the sudo ln -sf (timezone) to /etc/localtime, however when I reboot the PC, the change is not respected and the panel once again shows UTC time.

I've tried editing rc.conf or pointing the ln -sf (timezone) to /bedrock/run/localtime without success. I tried using chrony and indeed if I run hwclock, the hwclock shows it's the correct time GMT-3. However, the panel doesn't reflect that. GNOME settings also isn't working properly as shows a date from 2012 and 00:00 at hour.

Before hijacking it with Void the date / time was working properly. And, indeed, it is technically working, but the date time panel doesn't work properly and the only workaround I found is to run the ln -sf (timezone) each time I boot my pc which, clearly shouldn't be necessary as this should be working properly as intended.

I post here to see if I can get some options. IIRC the gnome-settings is bounded to timedatectl thus won't work on a void basis because of runit (or at least not being started with systemd as pid1), (that's why I installed chrony and its service is running properly). Thanks in advance.

3 Comments
2024/02/15
23:30 UTC

6

Getting started?

my situation:

Hello, I've been looking for a good distro to fling onto a raspberry pi 4, tried endeavour(crashed at installer), void(worked fine but pipewire didn't work), and am currently thinking about nixos and majaro on ARM, but think I might want to try just minimal raspbian/debian ARM with bedrock and some arch strata.

here's the question:

-how would I go about doing this?

-how would I go about using bedrock?

looking for any help I can get, and have read some of the documentation on bedrock before, thought it was interesting. Thanks in advance

7 Comments
2024/02/14
05:16 UTC

6

Probably a newbie question but couln't find the answer on my own

I just want to remove the initial boot messages from bedrock when system is starting:
Init yada yada, showing the stractum installed etc. I thought just using quiet splash on grub would do the trick, but didn't.

My timeout on bedrock conf is already at 0, can i hide those messages ? If so where ?

Thanks in advance

1 Comment
2024/02/05
19:48 UTC

3

More Strata Stuff...

(I will be posting my issue/s on the comment so this post can be reused whenever I needed some help or advice. Just post your answers as replies on that specific comment.)

3 Comments
2024/01/29
17:31 UTC

5

Bedrock Linux on a Surface ?

I have bit of a random/weird question. Would it be wise to install Bedrock Linux on a Surface Go with the surface kernel? If I do install it does the mean I need to install the kernel in all strata (in order to switch between them at startup) just for good measure or is it enough with the base system strata?

2 Comments
2024/01/24
08:18 UTC

3

Is this possible?

Hello everyone, I once tried bedrock but ultimately settled on Arch, but recently, I got tired of the AUR breaking (especially now that I need DaVinci Resolve), so I want to experiment with Bedrock.

I plan to have Void Runit, then Arch to provide my kernel and drivers (I also plan to use nouveau and NVK) which then will boot on Kde provided by Fedora then have debian 12 (would prefer if I could change it to sid and if I am not mistaken I just need to alter the apt config files) and opensuse Tumbleweed for other apps that is not compatible with void, arch, or fedora.

System Specifications:

CPU: AMD Ryzen 5 3600

GPU: NVIDIA GeForce RTX 2060

RAM: 16GiB

6 Comments
2024/01/14
04:13 UTC

7

How easy would it be to upgrade from Poki to Naga

Would I have to reinstall, or would it be something like a simple upgrade flag in the install script? Im debating getting bedrock right now or waiting for Naga to release and installing it then.

3 Comments
2023/12/31
09:14 UTC

7

Is it possible to include Bedrock in the live environment?

I'm creating a simple Arch ISO for personal (and very limited public) use. Is it possible to load Bedrock Linux in the live environment? I'm using a Calamares hook to set up Bedrock during post-install.

Even though Bedrock needs at least 1 reboot to set itself up, is it possible to do this?

Apologies if my question sounds silly.

3 Comments
2023/12/31
04:39 UTC

5

Cannot login after takeover of PostmarketOS on Asus Chromebook c201

Context

Earlier this month, PostmarketOS (Alpine-based distribution) released v23.12 which added support for a range of Chromebooks, including the veyron line. I went ahead and installed this on my Asus Chromebook c201 (veyron-speedy, rk3288 SoC). It runs great, better than other distro installs I've done for this device.

Alpine/PostmarketOS use musl libc which limits compatibility with some software, e.g., widevine for DRM support. It's a resource constrained device, so I can't really run a separate VM. I couldn't get docker running either (I'll troubleshoot that separately), but I remembered Bedrock Linux and thought that would be a good way to broaden support. I see Alpine is supported, and I saw a post or two of users successfully hijacking PostmarketOS.

Issue

I ran the latest 0.7.29 script (arm7l) as root. It successfully hijacked the PostmarketOS install, seemed to detect the init system and everything. No errors or warnings, there was one INFO message about a locale not being set so it skipped that.

After reboot it goes to a terminal window with a login prompt. On previous boots, it would boot into the login manager or directly into the desktop environment (tried with GNOME, Plasma Bigscreen, and Sway - also tried with no DE and just a console as an initial PostmarketOS install).

When I enter my credentials, I get "Login Incorrect". I can confirm that I can correctly type my username and password out in cleartext, so I don't think it's keymapping or locale (though I could be wrong). I tried logging in as my own user and as root, same error. I reinstalled and went through the process maybe 6 or 7 times, trying different configurations, same result every time.

Unfortunately I don't see a way to easily disable the PostmarketOS splash screen at startup on this device, so I don't see any messages scrolling by on boot. There is no boot menu to choose Bedrock Linux (not sure if there should be). I cannot login to run any commands. I tried editing /etc/passwd and /etc/shadow to remove the password for my user and I still got incorrect login.

I have a separate PostmarketOS install on a USB device, so I could potentially mount the device's filesystem to investigate a bit, though I could use some guidance to look at anything specific.

I'm a bit lost at this point in troubleshooting, any thoughts/ideas/suggestions are greatly appreciated. Thanks!

10 Comments
2023/12/28
15:53 UTC

5

Bedrock on Fedora 39?

I whant to install Bedrock on Fedora 39 but it runs into an issue with grub2. can I fix this some how, like replacing the bootloader or something like that (sorry for the bad english)

4 Comments
2023/12/12
21:15 UTC

4

Bedrock Lemmy

Is there a Bedrock Lemmy instance? It seems like the kind of community Bedrock users would be into.

2 Comments
2023/11/30
23:34 UTC

3

"brl import" does not work on my .vdi files

Why is it then when I'm using brl import on my .vdi file it does not import? It says "Specified source type requires "qemu-img" in '$PATH'. I don't understand, I thought it's supposed to support .vdi files. What am I missing? Do I really have to convert my vdi file to a qcow for this to work?

3 Comments
2023/11/30
10:00 UTC

3

Best base distro...

Random question. In your opinion, which do you guys think is like the best base distro before installing bedrock linux?

12 Comments
2023/11/26
06:06 UTC

7

restoring system from bcachefs (or btrfs) snapshot

is it possible to timeshift on bedrock linux?

2 Comments
2023/11/03
14:30 UTC

6

Reversing bedrocklinux

Removing Bedrock Linux

I accidentally bricked my system with bedrock linux and no matter where I looked I only found disappointment and very shoddy, incomplete answers. So I did it myself. I'm not very good at linux so be wary, and help is appreciated.

Only do this if you're very desperate and ready for possibly ruining your system beyond fixing

This was originally done on my own system but was recreated using a vm.

The bedrock linux wiki states for bug-fixing you're supposed to chroot into your systems stratum, we're going to ignore this advice.

Step 1

We should understand that the "strata" is what your "old" system is. You want to mount the system onto a block device. mount /dev/sda2 /mnt (The root device.) We are going to do almost everything without chrooting into the system, please remember this.

Step 2

Next, find your strata (your host system) its usually located in /mnt/bedrock/strata/(yoursystem) try using ls to make sure it has a file hierarchy that is like your linux system.

Step 3

This is extremely important, I genuinely can't stress it enough. Your users home directories are not stored in your strata, they are stored in the root dir (just /mnt/ not /bedrock/strata/(yourstrata) the first step towards fixing your system is to move the home directories. mv /mnt/home/youruser /mnt/bedrock/strata/(yourstrata)/home/ check using ls thats its there. (You could also mv the hijacked folder, i did it both ways and it worked although moving the hijacked folder instead of the actual strata folder stopped me from having to reinstall the init system

Step 4

Now comes the part that's scary. You're gonna have to remove every single directory in the root (besides the /mnt/bedrock dir, Leave it alone). Its easy, just input this command cd /mnt then rm -rf bin boot dev etc home lib media proc root run sbin swapfile sys tmp var mnt usr There should only be the bedrock directory left. (You can cd back to the archiso now using cd)

Step 5

Run the command mv /mnt/bedrock/strata/yourstrata/* /mnt/ you can now delete the /mnt/bedrock dir (dont worry about the init file in the bedrock dir, its present in the /mnt/sbin dir)

Step 6

There are now alot, like alot alot of broken symlinks, we need them gone, luckily find (part of gnu findutils, which is present in the archiso) has a ideal command for this, just run find /mnt/ -xtype l -delete -print The -print is optional but its cool to see all the broken symlinks being deleted. (plus bonus hacker points)

Step 7 (The Long One)

We need to fix the bootloader, I used grub so it was just mounting the bootloader to /mnt/boot

Part 1

mount /dev/sda1 /mnt/boot you'll need to replace /dev/sda1 with your efi partition and now We chroot into the system but first we need to fix the kernel modules because like, all of them are missing, so type arch-chroot /mnt

Part 2

then we need to fix the user and permissions so while chrooted run groupadd users then run useradd youruser -d /home/youruser (remember to set your password) then run groupadd youruser and chown -R youruser:youruser /home/youruser then (just to make sure) run mkhomedir_helper youruser /home/youruser then run ls -l /home/youruser and make sure you own it

Part 3

exit chroot by typing exit then install git using pacman -Sy git then move it to your users home directory with the mv command now while you are still unchrooted run pacstrap -K /mnt linux base linux-firmware sudo base-devel dhcpcd networkmanager chroot back into the system and add your user to the /etc/sudoers file (just find the root ALL=(ALL:ALL) ALL and put a new line with yourname and add everything that was after the root on your usersname) now type su youruser and cd into your home dir

Part 4

now you want to reboot into the iso and remount the partitions and chroot back in, and add the community repository into /etc/pacman.conf by typing vim /etc/pacman.conf (or another text editor) and at the bottom add [community] Include = /etc/pacman.d/mirrorlist save it then type pacman -Sy then log into your user with su youruser install git with sudo pacman -Syyu git then install yay with git clone git clone https://aur.archlinux.org/yay-bin.git then cd into the dir and install it like makepkg -si then install the mkinitcpio firmware with yay -S mkinitcpio-firmware then log out of your user by typing exit and type mkinitcpio -P it should run without errors

Part 5

Update grub with grub-mkconfig -o /boot/grub/grub.cfg

Step 8

Now we fix some minor things, you may notice that when running bash you get a error saying /bedrock/run/profile no such file or directory with the text editor of your choice remove the bottom line of /etc/profile that sources bedrocks own profile should look like . /bedrock/run/profile just comment it out or remove it

Final step

Exit chroot (type exit) and unmount the partitions with umount -R mnt Finally, reboot and pray to your god. This way worked for me on my host system and a vm once but for some reason the 2nd time I tried it on a vm the init system wasnt working so I had to reinstall the init system.

-Hatemob/Dimitri

4 Comments
2023/10/23
18:39 UTC

Back To Top