Bedrock Linux

Chat about Linux in general
Post Reply
User avatar
Arch_Enemy
Level 6
Level 6
Posts: 1369
Joined: Tue Apr 26, 2016 3:28 pm

Bedrock Linux

Post by Arch_Enemy » Tue Sep 03, 2019 4:11 am

Greetings:

Haven't been here for a while.

For the past few days I have been playing with "Bedrock Linux". It lets you run packages from other Linux distributions on whatever platform you want as a base.

Since Mint was listed as "needs more testing" I decided to install Ubuntu as the main distribution, and then loaded my old friend Arch as another "stratum".

It was a bit tough going at first, but after a few failures I began to get the hang of it. So, now I have an Ubuntu front end and am able to run some of my favourite packages from Arch.

Now, the only problem is, the packages I wanted to try this with are no longer available from either distribution. The main reason I ran Arch was because they were still available, and now they're gone. That's the way it goes.

So now my next experiment will be to load up all the packages I want, and then try to make a USB of the whole mess. I have actually been installing more Arch packages because of the amazing configurablity of Arch, but it will have to be based on Ubuntu to try and roll a USB from it.

After I pull the rest of my hair out, I'll get back to you.
I have travelled 35629424162.9 miles in my lifetime

One thing I would suggest, create a partition a ~28G partition as /. Partition the rest as /Home.
When the system fails, reinstall and use the exact same username and all your 'stuff' comes back to you.

DAMIEN1307
Level 7
Level 7
Posts: 1956
Joined: Tue Feb 21, 2017 8:13 pm
Location: Alamogordo, New Mexico, USA

Re: Bedrock Linux

Post by DAMIEN1307 » Thu Sep 05, 2019 5:23 am

Heheheheheh...you sir are a maschist...lol...DAMIEN
ORDO AB CHAO

DAMIEN1307
Level 7
Level 7
Posts: 1956
Joined: Tue Feb 21, 2017 8:13 pm
Location: Alamogordo, New Mexico, USA

Re: Bedrock Linux

Post by DAMIEN1307 » Thu Sep 05, 2019 5:57 am

hi lexqbit, dont worry too much about Arch_Enemy, he has been with LM for years now and knows his way pretty well around other linux operating systems as well.

He just has this love/hate relationship with arch linux, hence his name of "Arch_Enemy"...lol...He loves to experiment, hence my joke about him being a masochist...lol...DAMIEN

PS...He didnt have any question here, he is just keeping us up to date on his latest "Adventure".
Last edited by DAMIEN1307 on Thu Sep 05, 2019 6:32 am, edited 1 time in total.
ORDO AB CHAO

User avatar
Pierre
Level 18
Level 18
Posts: 8928
Joined: Fri Sep 05, 2008 5:33 am
Location: Perth, AU.

Re: Bedrock Linux

Post by Pierre » Thu Sep 05, 2019 6:43 am

To install Bedrock Linux:

- Install a traditional Linux distro to use as a starting point. See here for reports of how well Bedrock interacts with various distros.
- Download the latest installer corresponding to your CPU architecture from here or build your own from here.
- Run the script as root with the --hijack flag: sh ./bedrock-linux-release-arch.sh --hijack
- Reboot.
8)
Image
Please edit your original post title to include [SOLVED] - when your problem is solved!
and DO LOOK at those Unanswered Topics - - you may be able to answer some!.

User avatar
Arch_Enemy
Level 6
Level 6
Posts: 1369
Joined: Tue Apr 26, 2016 3:28 pm

Re: Bedrock Linux

Post by Arch_Enemy » Sat Sep 07, 2019 5:21 pm

DAMIEN1307 wrote:
Thu Sep 05, 2019 5:57 am
hi lexqbit, dont worry too much about Arch_Enemy, he has been with LM for years now and knows his way pretty well around other linux operating systems as well.

He just has this love/hate relationship with arch linux, hence his name of "Arch_Enemy"...lol...He loves to experiment, hence my joke about him being a masochist...lol...DAMIEN

PS...He didnt have any question here, he is just keeping us up to date on his latest "Adventure".
Masochist, indeed!

I have learned my lesson, however...I will NOT be updating the Arch side AT ALL!
Shoot, Ubuntu snuck a kernel update by me and I had all kinds of havoc! Bedrock always defaults to the kernel of the distro you installed BEFORE injecting it into Bedrock, and then uses that kernel to run the other distros, too. Well, when Ubuntu got the kernel upgrade in, Arch loaded, said WHat The Heck, and neither one would load the graphics driver, since there were no kernel drivers. I edited GRUB to make it point to the intial kernel and everything is good now.

Rolling it onto a USB didn't work so well. It takes everything from Ubuntu and goes into Kernel Panic on boot. Have to figure out how to make it use the Bedrock files to accomplish booting.

No for the good part: when you install the 2nd Linux version, it takes the FIRST one installed and puts it in the directory of the 2nd. So I have TWO Ubuntu file systems. When all was said and done the copied files were 52Gb, and it squashed down to 9.5Gb, but it all fit onto a 16G thumb drive.

Now, to just solve the booting problem.

However, the other guy was right: I can roll a Mint USB in a little over a half an hour: copying the file system and squashing it take up the bulk of the time.
And, a lot of the things I was using Arch for in the first place are either no longer available, or the libraries can't be loaded (and forcing them is what causes my issues with Arch in the first place) so now it's a Do it just to say I Did It project. :lol:
I have travelled 35629424162.9 miles in my lifetime

One thing I would suggest, create a partition a ~28G partition as /. Partition the rest as /Home.
When the system fails, reinstall and use the exact same username and all your 'stuff' comes back to you.

User avatar
Arch_Enemy
Level 6
Level 6
Posts: 1369
Joined: Tue Apr 26, 2016 3:28 pm

Re: Bedrock Linux

Post by Arch_Enemy » Sat Sep 07, 2019 5:23 pm

Pierre wrote:
Thu Sep 05, 2019 6:43 am
To install Bedrock Linux:

- Install a traditional Linux distro to use as a starting point. See here for reports of how well Bedrock interacts with various distros.
- Download the latest installer corresponding to your CPU architecture from here or build your own from here.
- Run the script as root with the --hijack flag: sh ./bedrock-linux-release-arch.sh --hijack
- Reboot.
8)
Oh, I got it going. And I got it running pretty smooth.

It's rolling a working USB that is giving me trouble. That and I put it on far too small a HD. Staples and Clonezilla can solve that! :wink:
I have travelled 35629424162.9 miles in my lifetime

One thing I would suggest, create a partition a ~28G partition as /. Partition the rest as /Home.
When the system fails, reinstall and use the exact same username and all your 'stuff' comes back to you.

User avatar
Arch_Enemy
Level 6
Level 6
Posts: 1369
Joined: Tue Apr 26, 2016 3:28 pm

Re: Bedrock Linux

Post by Arch_Enemy » Sat Sep 07, 2019 5:30 pm

Oh, and about that kernel update! Since Bedrock is the gateway to the others, if a kernel update gets incorporated into an installation of another package, it screws up the initrid file. The package manager has no idea what's going on and just keeps trying to generate a new init over and over until it gives up. It was all still working until I changed something that allowed the package manager to create the image, but it didn't know how to update the dependencies, so I was trying to run an Nvidia driver built for 5.0.0-23 against a 5.0.0-27 kernel. I tried it manually but no go.

Aside from that, Arch fell back to it's own kernel, and was trying to run a driver with NO dependencies against that, since your second install is the driver only, because it's leaning against the first installed kernel.

It can get to be quite a mess.
I have travelled 35629424162.9 miles in my lifetime

One thing I would suggest, create a partition a ~28G partition as /. Partition the rest as /Home.
When the system fails, reinstall and use the exact same username and all your 'stuff' comes back to you.

User avatar
Arch_Enemy
Level 6
Level 6
Posts: 1369
Joined: Tue Apr 26, 2016 3:28 pm

Re: Bedrock Linux

Post by Arch_Enemy » Fri Sep 20, 2019 1:56 pm

I gave up. It works, but trying to roll a USB was daunting. If I had persevered, I probably could have done it, but the ISO was HUGE! It did fit on a 16G USB stick.

But I did learn a few things, and one of them was that the older programs I wanted to use were all available under the Trinity desktop, a continuation of the older KDE interface, much like MATE is a continuation of the Gnome 2 desktop. At first I loaded up a full Trinity installation, but it still has a few teething problems and development makes a turtle's pace look speedy. However, thanks to the people at both Trinity and Arch, I found all I had to do was install a few runtime files, make a small modification to the actual program file (make executable) and I have my old programs back. I installed all this and the other things I wanted into a fresh Mint 19.0 install, and everything is right with the world.

I did rely heavily on Arch to get this accomplished, but only by using their Package Search function available on their Packages page, and then using their "PKGBUILD" files to make any necessary modifications to compile.

And speaking of compiling, I did a lot of custom compiling even if an application was available through the repositories in order to include functions that are not included in the .deb versions. And, I installed CUDA (Nvidia GPU off loading) since I have a medium-high Nvidia card, and the compilations that can make use of it FLEW! Applications that can access it also work a lot faster. So, if you have a good Nvidia card and haven't investigated CUDA, and do high level computing or compile a lot, investigate installing it. Nvidia has removed a lot of the rigamarole it had presented to Linux users and installation now is quite simple, especially on an Ubuntu based distribution.

Happy computing! :D
I have travelled 35629424162.9 miles in my lifetime

One thing I would suggest, create a partition a ~28G partition as /. Partition the rest as /Home.
When the system fails, reinstall and use the exact same username and all your 'stuff' comes back to you.

DAMIEN1307
Level 7
Level 7
Posts: 1956
Joined: Tue Feb 21, 2017 8:13 pm
Location: Alamogordo, New Mexico, USA

Re: Bedrock Linux

Post by DAMIEN1307 » Fri Sep 20, 2019 8:59 pm

Arch_Enemy..."You're a braver man than i Ganga din"...but your still a masochist...lol...lol...DAMIEN
ORDO AB CHAO

User avatar
lsemmens
Level 8
Level 8
Posts: 2353
Joined: Wed Sep 10, 2014 9:07 pm
Location: Rural South Australia

Re: Bedrock Linux

Post by lsemmens » Fri Sep 20, 2019 11:09 pm

All I could think of was "The Flintstones!" Is it really that old? ;)
Kernel: 4.15.0-46-generic x86_64 bits
Desktop: Cinnamon 3.8.9
Distro: Linux Mint 19 Tara

Laptop HP-ProBook-470-G2 8Gb RAM SSD
Server AMD Phenom 9650 - GEForce 9400GT 6Gb RAM
+ three other Mint machines
Out of my mind - please leave a message

User avatar
Arch_Enemy
Level 6
Level 6
Posts: 1369
Joined: Tue Apr 26, 2016 3:28 pm

Re: Bedrock Linux

Post by Arch_Enemy » Sat Sep 21, 2019 2:56 pm

DAMIEN1307 wrote:
Fri Sep 20, 2019 8:59 pm
Arch_Enemy..."You're a braver man than i Ganga din"...but your still a masochist...lol...lol...DAMIEN
Youse guys is a riot!

It's fun! I have a spare harddrive I do all my terminal experiments on, so my main Mint install I use everyday doesn't meet with disaster. :D
I have travelled 35629424162.9 miles in my lifetime

One thing I would suggest, create a partition a ~28G partition as /. Partition the rest as /Home.
When the system fails, reinstall and use the exact same username and all your 'stuff' comes back to you.

Post Reply

Return to “Chat about Linux”