Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/mrprincerawat/pbus-linux-env
Standalone Custom Linux Environment to be deployed on a server. No other services are running besides what's needed for PBUS Core Software.
https://github.com/mrprincerawat/pbus-linux-env
busybox-system linux linux-kernel
Last synced: about 2 months ago
JSON representation
Standalone Custom Linux Environment to be deployed on a server. No other services are running besides what's needed for PBUS Core Software.
- Host: GitHub
- URL: https://github.com/mrprincerawat/pbus-linux-env
- Owner: MrPrinceRawat
- License: mit
- Created: 2024-04-12T15:02:12.000Z (9 months ago)
- Default Branch: master
- Last Pushed: 2024-04-12T15:09:48.000Z (9 months ago)
- Last Synced: 2024-10-12T07:41:21.423Z (3 months ago)
- Topics: busybox-system, linux, linux-kernel
- Language: Makefile
- Homepage:
- Size: 3.91 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# PBUS Linux Env
![GitHub Actions Workflow Status](https://img.shields.io/github/actions/workflow/status/MrPrinceRawat/PBUS-Linux-Env/rust.yml)
![GitHub License](https://img.shields.io/github/license/MrPrinceRawat/PBUS-Linux-Env)Standalone Custom Linux Environment to be deployed on a server. No other services are running besides what's needed for PBUS Core Software.
## Releases
You can grab a pre-build release from [releases](https://github.com/MrPrinceRawat/PBUS-Linux-Env/releases) page.Or build it yourself, just follow the instructions below.
## Build Instructions
There are two major folders that is needed for it to work (even boot!).
1. S-BUS - initramfs
2. isodir### Linux Kernel
Grab the latest Linux Kernel available from [kernel](https://kernel.org/).Unzip it using ``` tar -xJf linux-[version].tar.xz ```
Then build it.
```
> make menuconfig
> make
```### BusyBox
BusyBox provides us with important static binaries for core utilities which are needed in our Linux env.Grab the latest version of Busybox from [BusyBox](https://busybox.net/)
Unzip it ```tar -xjf busybox-[version].tar.bz2```
Then proceed to build
```
> make menuconfig
> make install
> make
```Now you'll have a ```_install``` folder in your BusyBox folder, copy all the content to ```S-BUS```.
```
> cp busybox-[version]/_install/* /S-BUS/
```### Build initramfs
Now that you have your file structure in S-BUS sorted, it's time to build it. Go ahead run make to make it.
```
> cd S-BUS
> make
```
It will make ```initramfs.cpio.gz``` in the parent directory.### SYSLINUX
Syslinux contains important binaries to boot into your system. Get the latest syslinux from [kernel/syslinux](https://mirrors.edge.kernel.org/pub/linux/utils/boot/syslinux/).Then Unzip it.
### Final Build
Now it's time for the final build. From the root directory run:
```
> make
```
And wait and watch the magic ✨✨It will create ```S-BUS.iso```
## Contributions
This Repo is open to any and all contributions.## License
This project is licensed under the terms of the MIT license.