Skip to main content

Posts

devuan testing using debootstrap

1.prepare disk   doas fdisk -l  find available disks name : ex sdX,nvmeX,etc doas cfdisk /dev/ sdx mkfs.ext4 /dev/ sdxx mount ext4 part to / mnt   2.find needed release codename https://www.devuan.org/os/releases here stable at time is Chimaera   3.get debootstrap script  ls -la /usr/share/debootstrap/scripts/  to search  Chimaera  if not available pull ceres as Chimaera since all other codenames of devuan are symlinks of ceres in gitlab wget https://git.devuan.org/devuan/debootstrap/raw/branch/master/scripts/ceres https://git.devuan.org/devuan/debootstrap/src/branch/suites/unstable/scripts/chimaera  doas cp  ceres /usr/share/debootstrap/scripts/Chimaera   doas debootstrap --arch amd64 chimaera /mnt  http://deb.devuan.org/merged      -------------------------------------------------------------------------------------------- mount --rbind /dev /mnt/dev && mount --make-rslave /mnt/dev mount --rbind /dev/pts /mnt/dev/pts && mount --make-rslave /mnt/dev/pts mount --r
Recent posts

gentoo mimeo

 https://xyne.dev/projects/mimeo/ download tar.gz from src https://xyne.dev/projects/mimeo/src/ https://xyne.dev/projects/mimeo/src/mimeo-2021.11.tar.xz  tar -xf mimeo-2021.11.tar.xz python setup.py install --prefix=~/.local  --optimize=1   depends on pyxdg  https://pypi.org/project/pyxdg/#files pip3 install pyxdg or  build from src https://files.pythonhosted.org/packages/6f/2e/2251b5ae2f003d865beef79c8fcd517e907ed6a69f58c32403cec3eba9b2/pyxdg-0.27.tar.gz tar -xf pyxdg-0.27.tar.gz python setup.py install --prefix=~/.local  --optimize=1   open file  mimeo path/filename -q to quiet   find application .desktop files    mimeo --app2desk zathura zathura   org.pwmt.zathura-pdf-mupdf.desktop   org.pwmt.zathura.desktop  mimeo --add 'glob:text/*' medit.desktop      

libreoffice math

 {partial^2 u} over {partial x^2} +{ partial^2 u} over{ d y^2 }   https://documentation.libreoffice.org/assets/Uploads/Documentation/en/GS5.1/HTML/GS5109-GettingStartedWithMath.html

coffe types

  src:: https://www.yuzubakes.com/food-blog/different-types-of-coffee

gentoo test

download stage3 tarball https://www.gentoo.org/downloads/ https://mirror.bytemark.co.uk/gentoo//releases/amd64/autobuilds/20220412T191925Z/stage3-amd64-hardened-nomultilib-openrc-20220412T191925Z.tar.xz  mkdir --parents /mnt/gentoo mount /dev/sdaX /mnt/gentoo cd ~/Downloads ls stage3-amd64-hardened-nomultilib-openrc-20220412T191925Z.tar.xz  200M  tar xpvf stage3-*.tar.xz --xattrs-include='*.*' --numeric-owner -C /mnt/gentoo nano -w /mnt/gentoo/etc/portage/make.conf MAKEOPTS="-j2" COMMON_FLAGS="-march=native -O2 -pipe" see https://wiki.gentoo.org/wiki/GCC_optimization https://wiki.gentoo.org/wiki/Safe_CFLAGS mirrorselect -i -o >> /mnt/gentoo/etc/portage/make.conf root # mkdir --parents /mnt/gentoo/etc/portage/repos.conf   cp /mnt/gentoo/usr/share/portage/config/repos.conf /mnt/gentoo/etc/portage/repos.conf/gentoo.conf   cat /mnt/gentoo/etc/portage/repos.conf/gentoo.conf cp --dereference /etc/resolv.conf /mnt/gentoo/etc/ cat /mnt/gentoo/etc/resolv.conf