Skip to main content

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 --rbind /proc /mnt/proc && mount --make-rslave /mnt/proc
mount --rbind /sys /mnt/sys && mount --make-rslave /mnt/sys

doas chroot /mnt

#(chroot) apt list --installed
Listing... Done
adduser/stable,now 3.118 all [installed]
apt-utils/stable,now 2.2.4+devuan1 amd64 [installed]
apt/stable,now 2.2.4+devuan1 amd64 [installed]
base-files/stable,now 11.1+devuan3 all [installed]
base-passwd/stable,now 3.5.51 amd64 [installed]
bash/stable,now 5.1-2+b3 amd64 [installed]
bootlogd/stable,now 2.96-7+devuan2 amd64 [installed]
bsdutils/stable,now 1:2.36.1-8+devuan2 amd64 [installed]
coreutils/stable,now 8.32-4+b1 amd64 [installed]
cpio/stable,now 2.13+dfsg-4 amd64 [installed]
cron/stable,now 3.0pl1-137 amd64 [installed]
dash/stable,now 0.5.11+git20200708+dd9ef66-5 amd64 [installed]
debconf-i18n/stable,now 1.5.77 all [installed]
debconf/stable,now 1.5.77 all [installed]
debian-archive-keyring/stable,now 2021.1.1 all [installed]
debianutils/stable,now 4.11.2 amd64 [installed]
devuan-baseconf/stable,now 0.6.4+devuan3.1 all [installed]
devuan-keyring/stable,now 2017.10.03 all [installed]
diffutils/stable,now 1:3.7-5 amd64 [installed]
dmidecode/stable,now 3.3-2 amd64 [installed]
dpkg/stable,now 1.20.9 amd64 [installed]
e2fsprogs/stable,now 1.46.2-2 amd64 [installed]
fdisk/stable,now 2.36.1-8+devuan2 amd64 [installed]
findutils/stable,now 4.8.0-1 amd64 [installed]
gcc-10-base/stable,now 10.2.1-6 amd64 [installed]
gcc-9-base/stable,now 9.3.0-22 amd64 [installed]
gpgv/stable,now 2.2.27-2+deb11u1 amd64 [installed]
grep/stable,now 3.6-1 amd64 [installed]
gzip/stable,now 1.10-4 amd64 [installed]
hostname/stable,now 3.23 amd64 [installed]
ifupdown/stable,now 0.8.36 amd64 [installed]
init-system-helpers/stable,now 1.60+devuan1 all [installed]
init/stable,now 1.60+devuan1 amd64 [installed]
initscripts/stable,now 2.96-7+devuan2 all [installed]
insserv/stable,now 1.21.0-1.1 amd64 [installed]
iproute2/stable,now 5.10.0-4 amd64 [installed]
iputils-ping/stable,now 3:20210202-1 amd64 [installed]
isc-dhcp-client/stable,now 4.4.1-2.3 amd64 [installed]
isc-dhcp-common/stable,now 4.4.1-2.3 amd64 [installed]
kmod/stable,now 28-1 amd64 [installed]
less/stable,now 551-2 amd64 [installed]
libacl1/stable,now 2.2.53-10 amd64 [installed]
libapt-pkg6.0/stable,now 2.2.4+devuan1 amd64 [installed]
libattr1/stable,now 1:2.4.48-6 amd64 [installed]
libaudit-common/stable,now 1:3.0-2 all [installed]
libaudit1/stable,now 1:3.0-2 amd64 [installed]
libblkid1/stable,now 2.36.1-8+devuan2 amd64 [installed]
libbpf0/stable,now 1:0.3-2 amd64 [installed]
libbsd0/stable,now 0.11.3-1 amd64 [installed]
libbz2-1.0/stable,now 1.0.8-4 amd64 [installed]
libc-bin/stable,now 2.31-13+deb11u3 amd64 [installed]
libc6/stable,now 2.31-13+deb11u3 amd64 [installed]
libcap-ng0/stable,now 0.7.9-2.2+b1 amd64 [installed]
libcap2-bin/stable,now 1:2.44-1 amd64 [installed]
libcap2/stable,now 1:2.44-1 amd64 [installed]
libcom-err2/stable,now 1.46.2-2 amd64 [installed]
libcrypt1/stable,now 1:4.4.18-4 amd64 [installed]
libdb5.3/stable,now 5.3.28+dfsg1-0.8 amd64 [installed]
libdebconfclient0/stable,now 0.260 amd64 [installed]
libdns-export1110/stable,now 1:9.11.19+dfsg-2.1 amd64 [installed]
libedit2/stable,now 3.1-20191231-2+b1 amd64 [installed]
libelf1/stable,now 0.183-1 amd64 [installed]
libestr0/stable,now 0.1.10-2.1+b1 amd64 [installed]
libeudev1/stable,now 3.2.9-10~chimaera1 amd64 [installed]
libext2fs2/stable,now 1.46.2-2 amd64 [installed]
libfastjson4/stable,now 0.99.9-1 amd64 [installed]
libfdisk1/stable,now 2.36.1-8+devuan2 amd64 [installed]
libffi7/stable,now 3.3-6 amd64 [installed]
libgcc-s1/stable,now 10.2.1-6 amd64 [installed]
libgcrypt20/stable,now 1.8.7-6 amd64 [installed]
libgmp10/stable,now 2:6.2.1+dfsg-1+deb11u1 amd64 [installed]
libgnutls30/stable,now 3.7.1-5 amd64 [installed]
libgpg-error0/stable,now 1.38-2 amd64 [installed]
libgssapi-krb5-2/stable,now 1.18.3-6+deb11u1 amd64 [installed]
libhogweed6/stable,now 3.7.3-1 amd64 [installed]
libidn2-0/stable,now 2.3.0-5 amd64 [installed]
libisc-export1105/stable,now 1:9.11.19+dfsg-2.1 amd64 [installed]
libjansson4/stable,now 2.13.1-1.1 amd64 [installed]
libk5crypto3/stable,now 1.18.3-6+deb11u1 amd64 [installed]
libkeyutils1/stable,now 1.6.1-2 amd64 [installed]
libkmod2/stable,now 28-1 amd64 [installed]
libkrb5-3/stable,now 1.18.3-6+deb11u1 amd64 [installed]
libkrb5support0/stable,now 1.18.3-6+deb11u1 amd64 [installed]
liblocale-gettext-perl/stable,now 1.07-4+b1 amd64 [installed]
liblognorm5/stable,now 2.0.5-1.1 amd64 [installed]
liblz4-1/stable,now 1.9.3-2 amd64 [installed]
liblzma5/stable,now 5.2.5-2 amd64 [installed]
libmd0/stable,now 1.0.3-3 amd64 [installed]
libmnl0/stable,now 1.0.4-3 amd64 [installed]
libmount1/stable,now 2.36.1-8+devuan2 amd64 [installed]
libncurses6/stable,now 6.2+20201114-2 amd64 [installed]
libncursesw6/stable,now 6.2+20201114-2 amd64 [installed]
libnettle8/stable,now 3.7.3-1 amd64 [installed]
libnewt0.52/stable,now 0.52.21-4+b3 amd64 [installed]
libnftables1/stable,now 0.9.8-3.1 amd64 [installed]
libnftnl11/stable,now 1.1.9-1 amd64 [installed]
libnsl2/stable,now 1.3.0-2 amd64 [installed]
libp11-kit0/stable,now 0.23.22-1 amd64 [installed]
libpam-modules-bin/stable,now 1.4.0-9+deb11u1 amd64 [installed]
libpam-modules/stable,now 1.4.0-9+deb11u1 amd64 [installed]
libpam-runtime/stable,now 1.4.0-9+deb11u1 all [installed]
libpam0g/stable,now 1.4.0-9+deb11u1 amd64 [installed]
libpcre2-8-0/stable,now 10.36-2 amd64 [installed]
libpcre3/stable,now 2:8.39-13 amd64 [installed]
libpopt0/stable,now 1.18-2 amd64 [installed]
libprocps8/stable,now 2:3.3.17-5+devuan1 amd64 [installed]
libreadline8/stable,now 8.1-1 amd64 [installed]
libseccomp2/stable,now 2.5.1-1+deb11u1 amd64 [installed]
libselinux1/stable,now 3.1-3 amd64 [installed]
libsemanage-common/stable,now 3.1-1 all [installed]
libsemanage1/stable,now 3.1-1+b2 amd64 [installed]
libsepol1/stable,now 3.1-1 amd64 [installed]
libslang2/stable,now 2.3.2-5 amd64 [installed]
libsmartcols1/stable,now 2.36.1-8+devuan2 amd64 [installed]
libss2/stable,now 1.46.2-2 amd64 [installed]
libssl1.1/stable,now 1.1.1n-0+deb11u1 amd64 [installed]
libstdc++6/stable,now 10.2.1-6 amd64 [installed]
libtasn1-6/stable,now 4.16.0-2 amd64 [installed]
libtext-charwidth-perl/stable,now 0.04-10+b1 amd64 [installed]
libtext-iconv-perl/stable,now 1.7-7+b1 amd64 [installed]
libtext-wrapi18n-perl/stable,now 0.06-9 all [installed]
libtinfo6/stable,now 6.2+20201114-2 amd64 [installed]
libtirpc-common/stable,now 1.3.1-1 all [installed]
libtirpc3/stable,now 1.3.1-1 amd64 [installed]
libunistring2/stable,now 0.9.10-4 amd64 [installed]
libuuid1/stable,now 2.36.1-8+devuan2 amd64 [installed]
libxtables12/stable,now 1.8.7-1 amd64 [installed]
libxxhash0/stable,now 0.8.0-2 amd64 [installed]
libzstd1/stable,now 1.4.8+dfsg-2.1 amd64 [installed]
login/stable,now 1:4.8.1-1 amd64 [installed]
logrotate/stable,now 3.18.0-2 amd64 [installed]
logsave/stable,now 1.46.2-2 amd64 [installed]
lsb-base/stable,now 11.1.0 all [installed]
mawk/stable,now 1.3.4.20200120-2 amd64 [installed]
mount/stable,now 2.36.1-8+devuan2 amd64 [installed]
nano/stable,now 5.4-2 amd64 [installed]
ncurses-base/stable,now 6.2+20201114-2 all [installed]
ncurses-bin/stable,now 6.2+20201114-2 amd64 [installed]
net-tools/stable,now 1.60+git20181103.0eebece-1+devuan1 amd64 [installed]
netbase/stable,now 6.3 all [installed]
nftables/stable,now 0.9.8-3.1 amd64 [installed]
passwd/stable,now 1:4.8.1-1 amd64 [installed]
perl-base/stable,now 5.32.1-4+deb11u2 amd64 [installed]
procps/stable,now 2:3.3.17-5+devuan1 amd64 [installed]
readline-common/stable,now 8.1-1 all [installed]
rsyslog/stable,now 8.2102.0-2+devuan2 amd64 [installed]
sed/stable,now 4.7-1 amd64 [installed]
sensible-utils/stable,now 0.0.14 all [installed]
startpar/stable,now 0.64-3 amd64 [installed]
sysv-rc/stable,now 2.96-7+devuan2 all [installed]
sysvinit-core/stable,now 2.96-7+devuan2 amd64 [installed]
sysvinit-utils/stable,now 2.96-7+devuan2 amd64 [installed]
tar/stable,now 1.34+dfsg-1 amd64 [installed]
tzdata/stable,now 2021a-1+deb11u2 all [installed]
util-linux/stable,now 2.36.1-8+devuan2 amd64 [installed]
vim-common/stable,now 2:8.2.2434-3+deb11u1 all [installed]
vim-tiny/stable,now 2:8.2.2434-3+deb11u1 amd64 [installed]
whiptail/stable,now 0.52.21-4+b3 amd64 [installed]
xxd/stable,now 2:8.2.2434-3+deb11u1 amd64 [installed]
zlib1g/stable,now 1:1.2.11.dfsg-2 amd64 [installed]


#(chroot) apt list --installed | wc -l

WARNING: apt does not have a stable CLI interface. Use with caution in scripts. 

161 

its using sysv init with 161 default pkg at base install


to boot we need kernel 

apt search linux-image  searching suitable kernel in chroot

 

apt info linux-image-amd64
Package: linux-image-amd64
Version: 5.10.106-1
Built-Using: linux (= 5.10.106-1)
Priority: optional
Section: kernel
Source: linux-signed-amd64 (5.10.106+1)
Maintainer: Debian Kernel Team <[email protected]>
Installed-Size: 13.3 kB
Provides: linux-image-generic, linux-latest-modules-5.10.0-13-amd64, virtualbox-guest-modules, wireguard-modules (= 1.0.0)
Depends: linux-image-5.10.0-13-amd64 (= 5.10.106-1)
Homepage: https://www.kernel.org/
Tag: admin::kernel, role::metapackage
Download-Size: 1484 B
APT-Sources: http://deb.devuan.org/merged chimaera/main amd64 Packages
Description: Linux for 64-bit PCs (meta-package)a


apt install --no-install-recommends linux-image-amd64

eudev initramfs-tools initramfs-tools-core klibc-utils libklibc
linux-base linux-image-5.10.0-13-amd64 udev

  recommend pkg =  apparmor busybox firmware-linux-free

 

 

Fstab config

cp /proc/mounts /etc/fstab

Remove lines in /etc/fstab that refer to dev, proc, pts and sys.

 

# <device>                             <dir>   <type> <options>               <dump> <fsck>
UUID=xxxx[...]                         /boot/efi fat     defaults                  0          2
UUID=xxxx[...]                         /        ext4     defaults                  0          1
UUID=xxxx[...]                        none   swap    sw                         0          0

  tmpfs         /tmp tmpfs  defaults,nosuid,nodev 0          0  ##if u have big ram

get uuid using blkid

 

security updates 

nano /etc/apt/sources.list

deb http://deb.devuan.org/merged chimaera main contrib non-free

deb http://deb.devuan.org/merged chimaera-security main 

deb http://deb.devuan.org/merged chimaera-updates main  

 

microcode  for firmware bug fixes

apt install intel-microcode    

install amd64-microcode    for  AMD CPUs 

 apt install firmware-linux for fw blobs(ath10k)


Timezone 

dpkg-reconfigure tzdata

 

Localization

apt install locales
dpkg-reconfigure locales

 

keyboard 

 apt install console-setup
dpkg-reconfigure keyboard-configuration 


Hostname

/etc/hostname 

name

/etc/hosts

127.0.0.1     localhost
::1             localhost
127.0.1.1    name

 

Boot Loader

mount efi partition to /boot  for systemd-boot for grub to /boot/efi

doas mount /dev/nvme0n1p1 /mnt/boot/efi

install grub2

apt install grub2 ntfs-3g os-prober 

grub-install --target=x86_64-efi --efi-directory=/boot/efi --bootloader-id=grub

/etc/default/grub

GRUB_DISABLE_OS_PROBER=false

update-grub

 

 

 

Network 

apt install iwd openresolv dbus


 Logger

apt install syslog-ng

 

User accounts

passwd

adduser username

passwd username

adduser username wheel

apt install sudo

 

EDITOR=nano visudo

%wheel ALL=(ALL) ALL <-- uncomment this line

 

apt install   htop 

pulls libnl-3-200 libnl-genl-3-200
 

 

src::

https://dev1galaxy.org/viewtopic.php?id=4868



Comments

Popular posts from this blog

sxhkd volume andbrightness config for dwm on void

xbps-install  sxhkd ------------ mkdir .config/sxhkd cd .config/sxhkd nano/vim sxhkdrc -------------------------------- XF86AudioRaiseVolume         amixer -c 1 -- sset Master 2db+ XF86AudioLowerVolume         amixer -c 1 -- sset Master 2db- XF86AudioMute         amixer -c 1 -- sset Master toggle alt + shift + Escape         pkill -USR1 -x sxhkd XF86MonBrightnessUp          xbacklight -inc 20 XF86MonBrightnessDown          xbacklight -dec 20 ------------------------------------------------------------- amixer -c card_no -- sset Interface volume run alsamixer to find card no and interface names xbps-install -S git git clone https://git.suckless.org/dwm xbps-install -S base-devel libX11-devel libXft-devel libXinerama-devel  vim config.mk # FREETYPEINC = ${X11INC}/freetype2 #comment for non-bsd make clean install   cp config.def.h config.h vim config.h xbps-install -S font-symbola #for emoji on statusbar support     void audio config xbps-i

fix idm integration on chrome

Chrome Browser Integration I do not see IDM extension in Chrome extensions list. How can I install it?  How to configure IDM extension for Chrome? Please note that all IDM extensions that can be found in Google Store are fake and should not be used. You need to install IDM extension manually from IDM installation folder. Read in step 2 how to do it . 1. Please update IDM to the latest version by using  "IDM Help->Check for updates..."  menu item 2.  I don't see  "IDM Integration module"  extension in the list of extensions in  Chrome . How can I install it? Press on  Chrome  menu ( arrow 1  on the image), select  "Settings"  menu item ( arrow 2  on the image) and then select  "Extensions"  tab ( arrow 3  on the image). After this open IDM installation folder ( "C:\Program Files (x86)\Internet Download Manager"  by default,  arrow 4  on the image) and drag and drop  "IDMGCExt.crx"  ( arrow 5  on the image) file int

Hidden Wiki

Welcome to The Hidden Wiki New hidden wiki url 2015 http://zqktlwi4fecvo6ri.onion Add it to bookmarks and spread it!!! Editor's picks Bored? Pick a random page from the article index and replace one of these slots with it. The Matrix - Very nice to read. How to Exit the Matrix - Learn how to Protect yourself and your rights, online and off. Verifying PGP signatures - A short and simple how-to guide. In Praise Of Hawala - Anonymous informal value transfer system. Volunteer Here are five different things that you can help us out with. Plunder other hidden service lists for links and place them here! File the SnapBBSIndex links wherever they go. Set external links to HTTPS where available, good certificate, and same content. Care to start recording onionland's history? Check out Onionland's Museum Perform Dead Services Duties. Introduction Points Ahmia.fi - Clearnet search engine for Tor Hidden Services (allows you