linux:devuan_install
Differences
This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
| linux:devuan_install [2026/04/05 02:25] – [Minimal Desktop Installation] azman | linux:devuan_install [2026/04/05 02:49] (current) – removed azman | ||
|---|---|---|---|
| Line 1: | Line 1: | ||
| - | ====== Devuan Installation ====== | ||
| - | |||
| - | My Devuan installation notes. | ||
| - | |||
| - | |||
| - | |||
| - | |||
| - | ===== Devuan upgrade (chimaera to daedalus) ===== | ||
| - | |||
| - | Personal note - basically from devuan.org. | ||
| - | |||
| - | <file text devuan_upgrade.txt> | ||
| - | upgrade chimaera to daedalus (from devuan.org) | ||
| - | |||
| - | - update/ | ||
| - | # apt update | ||
| - | # apt upgrade | ||
| - | |||
| - | - update apt sources.list | ||
| - | # sed -i ' | ||
| - | |||
| - | - update pkg list from daedalus | ||
| - | # apt update | ||
| - | |||
| - | - kill screensaver (if running) | ||
| - | # killall xscreensaver | ||
| - | |||
| - | - upgrade/ | ||
| - | # apt upgrade | ||
| - | # apt dist-upgrade | ||
| - | |||
| - | - in case of failures, fix and rerun | ||
| - | # apt -f install | ||
| - | # apt dist-upgrade | ||
| - | |||
| - | - cleanup | ||
| - | # apt autoremove --purge | ||
| - | # apt autoclean | ||
| - | |||
| - | deb http:// | ||
| - | deb http:// | ||
| - | deb http:// | ||
| - | |||
| - | #deb-src http:// | ||
| - | #deb-src http:// | ||
| - | #deb-src http:// | ||
| - | </ | ||
| - | |||
| - | ===== Install Using debootstrap ===== | ||
| - | |||
| - | * boot using my1live-devuan | ||
| - | * need to install gisk debootstrap | ||
| - | * optionally, install lvm2 | ||
| - | * run < | ||
| - | |||
| - | * prepare disk (/dev/sda) layout | ||
| - | * 1 uefi partition (ef00) | ||
| - | * 1 root partition (8300) | ||
| - | * 1 home partition (8e00/8300) | ||
| - | * 1 swap partition (8200) | ||
| - | * run < | ||
| - | |||
| - | * format/ | ||
| - | # mkfs.ext4 -L MY1BOOT /dev/sda2 | ||
| - | # mount /dev/sda2 / | ||
| - | |||
| - | * run debootstrap < | ||
| - | # debootstrap chimaera /mnt/disk http:// | ||
| - | |||
| - | * while debootstrap runs, format other partitions< | ||
| - | # mkdosfs -n MY1UEFI /dev/sda1 | ||
| - | # mkfs.ext4 -L MY1BOOT /dev/sda2 | ||
| - | # mkswap -L MY1SWAP / | ||
| - | * will use lvm in this example < | ||
| - | # pvcreate /dev/sda3 | ||
| - | # vgcreate homevg /dev/sda3 | ||
| - | # lvcreate -l +100%FREE -n home0 homevg | ||
| - | # mkfs.ext4 -L MY1HOME / | ||
| - | |||
| - | * mount efi/home partitions< | ||
| - | # mkdir -p / | ||
| - | # mount /dev/sda1 / | ||
| - | # mount / | ||
| - | |||
| - | * chroot and install/ | ||
| - | # chroot /mnt/disk | ||
| - | # apt update | ||
| - | # apt install linux-image-amd64 build-essential linux-headers-amd64 vim git lvm2 | ||
| - | # apt install firmware-linux firmware-iwlwifi firmware-atheros firmware-realtek | ||
| - | # apt install cinnamon-desktop-environment</ | ||
| - | * update initramfs (add lvm support)< | ||
| - | # update-initramfs -u -k all</ | ||
| - | * i prefer all-lowercase path names< | ||
| - | # vi / | ||
| - | * setup locale< | ||
| - | # apt install locales | ||
| - | # echo " | ||
| - | # locale-gen</ | ||
| - | * setup grub< | ||
| - | # apt install grub-efi-amd64 | ||
| - | # grub-install /dev/sda | ||
| - | # update-grub</ | ||
| - | * run efibootmgr to make sure< | ||
| - | * edit fstab< | ||
| - | * setup root password< | ||
| - | * change hostname< | ||
| - | * reboot | ||
| - | |||
| - | //**Note:** I got to Cinnamon Desktop and everything looks ok - BUT, I simply cannot run gnome-terminal! Well, I can if i run '' | ||
| - | |||
| - | //work in progress...// | ||
| - | ====== Devuan Setups ====== | ||
| - | |||
| - | These depends on my need when using that particular machine. | ||
| - | |||
| - | * using virtualbox from oracle (just like my slackware setup) | ||
| - | * using texlive ([[linux: | ||
| - | * alternatively, | ||
| - | * install freecad kicad openscad (project stuffs) | ||
| - | * install ntp ntpdate (system management) | ||
| - | |||
| - | ===== Development ===== | ||
| - | |||
| - | * getting //OpenGL// stuffs (glut): ''# | ||
| - | * getting //sqlite// stuffs: ''//# | ||
| - | * getting glade (will also get gtk library): ''//# | ||
| - | * getting // | ||
| - | * getting // | ||
| - | * to compile //sdcc//: ''//# | ||
| - | |||
| - | //note: [[notes: | ||
| - | |||
| - | ===== Web Server ===== | ||
| - | |||
| - | * Install webserver | ||
| - | * ''# | ||
| - | * default path for web is ''/ | ||
| - | * edit ''/ | ||
| - | * add // | ||
| - | * my // | ||
| - | Options FollowSymLinks | ||
| - | AllowOverride All | ||
| - | Require all granted</ | ||
| - | * Install php | ||
| - | * ''# | ||
| - | * edit ''/ | ||
| - | * Create required links in mods-enabled and conf-enabled | ||
| - | * my my1apisrv code need '' | ||
| - | * both folders are in ''/ | ||
| - | * Install database | ||
| - | * ''# | ||
| - | * If running dokuwiki | ||
| - | * ''# | ||
| - | * My API client php code needs this | ||
| - | * ''# | ||
| - | |||
| - | ===== Multi-Arch (a.k.a. Multi-Lib) ===== | ||
| - | |||
| - | To run 32-bit binary: | ||
| - | * Enable multi-arch: ''# | ||
| - | * Update package list: ''# | ||
| - | * Most probably need libc: ''# | ||
| - | * Install required libraries: (< | ||
| - | |||
| - | To build 32-bit binary: | ||
| - | * Install compiler(s): | ||
| - | * Notice that these are 64-bit packages (no :i386 suffix) -> cross compilers! | ||
| - | * Use '' | ||
| - | |||
| - | ===== Gaming ===== | ||
| - | |||
| - | To play steam games: | ||
| - | * enable multi-arch | ||
| - | * install steam: ''# | ||
| - | |||
| - | ===== NFS setup ===== | ||
| - | |||
| - | Dumping this as it is for now: | ||
| - | * client | ||
| - | * install < | ||
| - | * mount < | ||
| - | * server | ||
| - | * install < | ||
| - | * [optional] < | ||
| - | * edit ''/ | ||
| - | * start < | ||
| - | |||
| - | ===== Others ===== | ||
| - | |||
| - | My iso2boot script need // | ||
| - | * ''# | ||
| - | |||
| - | ====== Use Tips ====== | ||
| - | |||
| - | Some are applicable to any APT-based distro. | ||
| - | |||
| - | //**Note for APT-based distro:** To remove translations, | ||
| - | |||
| - | //**Note:** look into '' | ||
| - | |||
| - | ===== List Installed Packages ===== | ||
| - | |||
| - | Using '' | ||
| - | |||
| - | Using the basic '' | ||
| - | |||
| - | ===== Adding More Repo ===== | ||
| - | |||
| - | Get proper signature key from that source ('' | ||
| - | < | ||
| - | |||
| - | Create a listing file for source URL in ''/ | ||
| - | < | ||
| - | |||
| - | After doing an '' | ||
| - | |||
| - | ===== Reconfigure Package ===== | ||
| - | |||
| - | Basically, run a '' | ||
| - | |||
| - | e.g. To change timezone < | ||
| - | |||
| - | ===== Upgrading APT-based systems ===== | ||
| - | |||
| - | To do an upgrade: | ||
| - | |||
| - | * Modify ''/ | ||
| - | * skip '' | ||
| - | * Update package list < | ||
| - | * Upgrade distribution < | ||
| - | * To make sure EVERYTHING is upgraded (avoids old packages held back) | ||
| - | * < | ||
| - | * Do house cleaning < | ||
| - | # apt autoremove | ||
| - | # apt clean</ | ||
| - | |||
| - | That should do it! | ||
| - | |||
| - | ===== Search package for specific binary ===== | ||
| - | |||
| - | * There is a specific tool for that < | ||
| - | * Update the package/ | ||
| - | * Search for " | ||
| - | |||
| - | ===== Avoiding marking package as manually installed | ||
| - | |||
| - | * Use dry-run (simulation) option '' | ||
| - | * Removed the package(s) displayed from your install list and re-run without '' | ||
| - | |||
| - | ===== GRUB Stuffs ===== | ||
| - | |||
| - | To prevent GRUB from looking for other OS every time it is updated: | ||
| - | * edit ''/ | ||
| - | * run update-grub | ||
| - | |||
| - | To add a custom entry: | ||
| - | * add a menuentry in ''/ | ||
| - | * uses the same menuentry format as in ''/ | ||
| - | * e.g. to boot my Slackware partition I can insert <code grub> | ||
| - | menuentry ' | ||
| - | insmod part_gpt | ||
| - | insmod ext2 | ||
| - | set root=' | ||
| - | if [ x$feature_platform_search_hint = xy ]; then | ||
| - | search --no-floppy --fs-uuid --set=root --hint-bios=hd0, | ||
| - | else | ||
| - | search --no-floppy --fs-uuid --set=root 4d95a526-2518-4fd6-a904-f7bd2729145d | ||
| - | fi | ||
| - | linux / | ||
| - | } | ||
| - | </ | ||
| - | * use '' | ||
| - | * of course, < | ||
| - | * run update-grub | ||
| - | |||
| - | ===== KVM Stuffs ===== | ||
| - | |||
| - | If KVM group is missing, simply create one... | ||
| - | < | ||
| - | |||
| - | ====== Issues ====== | ||
| - | |||
| - | Issues... and maybe fixes (if any). | ||
| - | |||
| - | ===== Image Magick' | ||
| - | |||
| - | I found an error when using image magick' | ||
| - | |||
| - | Solution: | ||
| - | * (as root) edit ''/ | ||
| - | * modify following line (change none -> read|write) <code xml>< | ||
| - | |||
| - | ===== GRUB Prompt ===== | ||
| - | |||
| - | In some cases, after an installation | ||
| - | |||
| - | To list available disks: < | ||
| - | |||
| - | To list content of first partition on the first disk (/dev/sda1) that is using GPT: < | ||
| - | |||
| - | So, to boot an installation on second partition instead: < | ||
| - | > linux (hd0, | ||
| - | > initrd (hd0, | ||
| - | > boot | ||
| - | </ | ||
| - | |||
| - | ===== BCM Wireless ===== | ||
| - | |||
| - | Device: | ||
| - | < | ||
| - | # lspci -nn | grep BCM | ||
| - | 02:00.0 Network controller [0280]: Broadcom Limited BCM43142 802.11b/g/n [14e4:4365] (rev 01) | ||
| - | </ | ||
| - | |||
| - | Install: broadcom-sta-dkms, | ||
| - | |||
| - | *note*: only solves the Wireless Driver part... NOT the bluetooth hardware! | ||
| - | |||
| - | < | ||
| - | # lsusb | grep BCM | ||
| - | Bus 002 Device 004: ID 0a5c:216d Broadcom Corp. BCM43142A0 Bluetooth 4.0 | ||
| - | # dmesg | grep blue | ||
| - | [ 8.850007] bluetooth hci0: firmware: failed to load brcm/ | ||
| - | [ 8.850197] bluetooth hci0: Direct firmware load for brcm/ | ||
| - | </ | ||
| - | |||
| - | So, download '' | ||
| - | |||
| - | ===== XFCE Desktop ===== | ||
| - | |||
| - | * tapping on my laptop touchpad is NOT working | ||
| - | * moving around & button clicks are working | ||
| - | * need to create file ''/ | ||
| - | Identifier " | ||
| - | MatchIsTouchpad " | ||
| - | MatchDevicePath "/ | ||
| - | Driver " | ||
| - | Option " | ||
| - | EndSection | ||
| - | </ | ||
| - | * lid event does not trigger suspend (but manual suspend works) | ||
| - | * this is a systemd-related aftermath: xfce power manager allows/ | ||
| - | * fix: < | ||
| - | |||
| - | * issues when logging out/ | ||
| - | * may be caused by intel graphics library? i915? | ||
| - | * can install lightdm - but shutdown/ | ||
| - | * wicd feature is an issue for system with multiple users | ||
| - | * shared wifi password, no option to make private | ||
| - | |||
| - | ===== Cinnamon DE ===== | ||
| - | |||
| - | * login page (lightdm?) - cannot shutdown/ | ||
| - | * found a fix [[https:// | ||
| - | * i just needed to edit ''/ | ||
| - | * laptop battery quickly drain below 30 percent | ||
| - | * setup higher critical value for power management < | ||
| - | gsettings list-keys org.cinnamon.settings-daemon.plugins.power | ||
| - | gsettings set org.cinnamon.settings-daemon.plugins.power use-time-for-policy false | ||
| - | gsettings set org.cinnamon.settings-daemon.plugins.power percentage-low 30 | ||
| - | gsettings set org.cinnamon.settings-daemon.plugins.power percentage-critical 25 | ||
| - | gsettings set org.cinnamon.settings-daemon.plugins.power percentage-action 23 | ||
| - | </ | ||
| - | * or use '' | ||
| - | |||
| - | ===== PulseAudio ===== | ||
| - | |||
| - | Youtube videos keep resetting the volume settings to 100%! The culprit is '' | ||
| - | |||
| - | ===== (Re)-Compiling Syslinux ===== | ||
| - | |||
| - | I need to recompile syslinux - just to remind myself, other than the usual development packages (build-essential, | ||
| - | < | ||
| - | |||
| - | ===== Unwanted Background Program ===== | ||
| - | |||
| - | I found this in my old notes... I somehow found an autostart program '' | ||
| - | |||
| - | ===== Sound muted on startup on my HP laptop ===== | ||
| - | |||
| - | trying two options found... so far, not successful? keeping this here for reference. | ||
| - | |||
| - | - option 1: | ||
| - | * install alsa-utils | ||
| - | * make sure sound is not muted and set to desired volume level | ||
| - | * run (as root) alsactl store | ||
| - | - option 2: | ||
| - | * edit (as root) / | ||
| - | * can also copy this to home folder ??? for 1-user solution... | ||
| - | * comment out ' | ||
| - | |||
| - | ===== General Issues ===== | ||
| - | |||
| - | * wifi firmware missing after first restart | ||
| - | * manually install '' | ||
| - | * network manager cannot connect using wifi | ||
| - | * edit / | ||
| - | * add < | ||
| - | [device] | ||
| - | wifi.scan-rand-mac-address=no | ||
| - | </ | ||
| - | |||
| - | ====== Using Wine on Devuan ====== | ||
| - | |||
| - | Setup Wine (as root): | ||
| - | * enable multiarch | ||
| - | * install wine and winetricks < | ||
| - | Configure Wine (as user): | ||
| - | * if required, remove previous settings < | ||
| - | * config for win32 < | ||
| - | * setup nice fonts < | ||
| - | |||
| - | //Note: Install '' | ||
| - | |||
| - | ===== Game: Red Alert 2 ===== | ||
| - | |||
| - | Setup Installer ISO: | ||
| - | * create link to ISO as CDROM device < | ||
| - | * mount ISO < | ||
| - | * create link to mount path as CDROM drive < | ||
| - | |||
| - | Run installer | ||
| - | * < | ||
| - | |||
| - | Fixes: | ||
| - | * menu does not show (solution available at [[https:// | ||
| - | * download ddraw.dll from https:// | ||
| - | * place in RA2 install path | ||
| - | * run winecfg add that to library (as window native, instead of builtin) | ||
| - | |||
| - | ===== Application: | ||
| - | |||
| - | * download windows version from ltspice website and run < | ||
| - | |||
| - | ====== Devuan on Raspberry Pi ====== | ||
| - | |||
| - | Check out [[http:// | ||
| - | |||
| - | ===== RasPi400 ===== | ||
| - | |||
| - | Using '' | ||
| - | |||
| - | * boots ok (default hostname=bcm2711) | ||
| - | * login (root:toor) | ||
| - | * setup < | ||
| - | * change hostname (edit / | ||
| - | * reboot | ||
| - | * remove default user < | ||
| - | * most development stuffs i want are preinstalled! yay! | ||
| - | * install vim < | ||
| - | * remove nano < | ||
| - | * also < | ||
| - | * install xorg stuffs < | ||
| - | * install suckless stuffs < | ||
| - | * create user and login as that user | ||
| - | * get my1shell and my1ubuild < | ||
| - | # git clone https:// | ||
| - | # git clone https:// | ||
| - | </ | ||
| - | * install '' | ||
| - | * install browser & font < | ||
| - | |||
| - | //work in progress... 2 issues: {surf cannot validate cert}{reboot hangs}// | ||
| - | |||
| - | //**Note:** Will simply use Raspberry Pi OS for now... // | ||
linux/devuan_install.1775355915.txt.gz · Last modified: by azman
