Bootstrap
Arch, Fedora and Linux From Scratch (LFS) can be used to bootstrap glaucus. It is recommended to have a minimum of 4 GB of memory and 10 GB of storage space.
Required Packages
autoconf
automake
bash
binutils
bison
(orbyacc
)booster
bzip2
coreutils
(ortoybox
)diffutils
(ortoybox
)dosfstools
erofs-utils
findutils
(ortoybox
)flex
(orreflex
)gawk
(ormawk
)gcc
gettext
(orgettext-tiny
)git
grep
gzip
(orpigz
)libcap
libtool
(orslibtool
)limine
m4
make
patch
(ortoybox
)perl
pkg-config
(orpkgconf
)sed
(ortoybox
)tar
(orlibarchive
)wget2
xz
zlib
(orzlib-ng
)zstd
Steps
- Clone repository:
git clone --recursive https://github.com/glaucuslinux/glaucuscd glaucus
- Checkout main branch:
for i in bubble cerata rad s6-boot-scripts; do cd $i git checkout main cd ..done
- Create symlinks to
cerata
andsrc
(assuming you are inglaucus/
):
sudo mkdir -p \ /var/cache/rad \ /var/lib/rad/clusterssudo ln -fs $PWD/src /var/cache/radsudo ln -fs $PWD/cerata /var/lib/rad/clusters
- Provide missing stubs (remove
texinfo
):
for i in gtkdocize help2man makeinfo po4a texi2dvi; do sudo cp -fPp cerata/musl/files/true /usr/bin/$idone
- Create symlinks to
glaucus-configure
andglaucus-meson
(assuming you are inglaucus/
):
sudo ln -fs $PWD/cerata/autoconf/files/glaucus-configure /usr/binsudo ln -fs $PWD/cerata/muon/files/glaucus-meson /usr/bin
- Bootstrap toolchain and cross:
cd rad./rad bootstrap toolchain./rad bootstrap cross
- Create cross img:
cd bubblesudo ./img
- Boot via QEMU:
qemu-system-x86_64 \ -machine q35,accel=kvm \ -cpu host \ -smp 4 \ -m 4G \ -name glaucus \ -drive file=glaucus-*.img,format=raw \ -nic model=e1000 \ -display gtk,gl=on \ -vga qxl \ -rtc base=localtime \ -bios /usr/share/ovmf/x64/OVMF.4m.fd
- Bootstrap native:
rad bootstrap native
- Create native iso:
cd bubblesudo ./iso