/reBSD

reBSD is a micro operating system developed based on FreeBSD kernel, which can be used to remotely reinstall/maintain the operating system based on KVM/Xen/VMware/Hyper-V cloud instances/VPS.

Primary LanguageShellGNU General Public License v3.0GPL-3.0

Language

Preview

Shell Shell reBSD reBSD

the document translate by google translate

What is reBSD?

  • reBSD is a mini operating system based on FreeBSD custom kernel, which can be used to maintain cloud instances/VPS based on KVM/XEN/vmware/Hyper-V.
  • It is mainly used to maintain some of my VPS. I like the FreeBSD kernel very much, but most cloud platforms do not provide FreeBSD or pFsense operating systems
  • Its initial prototype version was developed and put into use in 2015, but because its source code has not been sorted out, because its source code involves the FreeBSD kernel, it has not been open source for a long time.
  • reBSD does not support third-party scripts for the time being. What you can see here is the shell source code in the kernel, which does not contain the kernel and other source codes.

Features

  1. Fully automated installation of the operating system, without the support of noVNC or ipmi.
  2. Compatible with dedicated server/KVM/XEN/vmware/Hyper-V, support UEFI
  3. Visual operating system installation process
  4. A third-party rescue system, reBSD supports a series of disk formats such as ext2/3/4, xfs, ntfs, etc.
  5. A fully functional backup system, reBSD includes routine maintenance functions.
  6. Support installation of third-party software (pkg)

requirement

  1. Disk: 24Mb
  2. Memory: 32Mb
  3. Installing FreeBSD/pFsense requires> 256Mb of RAM
  4. Installing Linux/Windows requires> 512Mb of RAM

Auto-installed operating system

  • Linux
  1. Ubuntu(18.04)
  2. Centos(8.0)
  3. Debian(10.2)
  4. Archlinux(201912)
  • FreeBSD
  1. FreeBSD(12.1)
  2. FreeBSD(12.2)
  • pFsense
  1. pfSense(2.4.4-p3)
  2. pfSense(2.4.5-p1)
  • ALOHA
  1. ALOHA Public (latest)
  • Windows
  1. Server-2003-R2(X86-Ent)
  2. Windows-XP-SP3(X86-Pro)
  3. Server-2008-R2(X64-Std)
  4. Windows-7(X64-Pro)
  5. Server-2019-1809(X64-Std)
  6. Windows-10-1909(X64-Work)

How to use?

  • reBSD supports switching to reBSD from any operating system. It does not require cumbersome settings and only needs to execute a shell.
  • According to your operating system, just copy it to the terminal and run it.

#Linux

wget -qO- https://github.com/norenet/reBSD/raw/master/src/shell/initial/loader.sh|sh&&/tmp/reBSD.sh

#FreeBSD

fetch -qo- https://github.com/norenet/reBSD/raw/master/src/shell/shell/initial/loader.sh|sh&&/tmp/reBSD.sh

#Windows

cmd /k bitsadmin /transfer reBSD https://github.com/norenet/reBSD/raw/master/src/shell/initial/loader.bat %temp%\Loader.bat&&%temp%\Loader.bat

Precautions

  1. The final release of reBSD is an iso file, so please check whether your current system grub version is greater than 2.
  2. Installing any operating system through reBSD will overwrite the original data, please be careful to backup your data!
  3. The currently tested operating system: Ubuntu > 18.4 / FreeBSD > 11 / Windows > 7
  4. Cloud platforms that have passed the test: KVM / XEN / vmware / Hyper-V

reBSD parameters/API

Please refer to /boot/Loader.conf

reBSD licenses

reBSD open source components licences are available for consultation at :

reBSD used open source components are available for consultation at:

Included:

  1. FreeBSD : https://www.freebsd.org
  2. Dropbear :https://matt.ucc.asn.au/dropbear/dropbear.html
  3. Screen : https://www.gnu.org/software/screen/
  4. nano :https://www.nano-editor.org/
  5. cpdup :https://www.freshports.org/sysutils/cpdup

Extras:

  1. fusefs :https://github.com/libfuse/libfuse
  2. fusefs-libs :https://sourceforge.net/projects/fuse/
  3. fusefs-ext2 :https://github.com/alperakcan/fuse-ext2
  4. fusefs-ntfs :https://www.tuxera.com/community/open-source-ntfs-3g/
  5. fusefs-squash :https://github.com/vasi/squashfuse
  6. fusefs-lkl :https://github.com/lkl/linux/
  7. e2fsprogs :http://e2fsprogs.sourceforge.net/
  8. libublio :http://mercurial.creo.hu/repos/libublio