User Tools

Site Tools


linux:devuan_install

This is an old revision of the document!


Devuan Installation

My Devuan installation notes.

Use Tips

Some are applicable to any APT-based distro.

Note for APT-based distro: To remove translations, create file /etc/apt/apt.conf.d/99translation and insert Acquire::Languages { “none”; };.

Note: look into unattended-upgrades (simply apt install and run dpkg-reconfigure –priority=low unattended-upgrades???)

GRUB Stuffs

To prevent GRUB from looking for other OS every time it is updated:

  • edit /etc/default/grub and insert
    GRUB_DISABLE_OS_PROBER=true
  • run update-grub

To add a custom entry:

  • add a menuentry in /etc/grub.d/40_custom
  • uses the same menuentry format as in /boot/grub/grub.cfg
    • e.g. to boot my Slackware partition I can insert
      menuentry 'Slackware' --class slackware --class gnu-linux --class gnu --class os $menuentry_id_option 'my1part-<uuid>' {
      	insmod part_gpt
      	insmod ext2
      	set root='hd0,gpt4'
      	if [ x$feature_platform_search_hint = xy ]; then
      	  search --no-floppy --fs-uuid --set=root --hint-bios=hd0,gpt4 --hint-efi=hd0,gpt4 --hint-baremetal=ahci0,gpt4  <uuid>
      	else
      	  search --no-floppy --fs-uuid --set=root 4d95a526-2518-4fd6-a904-f7bd2729145d
      	fi
      	linux /boot/vmlinuz-huge-4.4.240 root=/dev/sda4
      }
    • use initrd (after linux line) to specify an initrd/initramfs
    • of course, <uuid> should be a valid filesystem uuid
  • run update-grub

KVM Stuffs

If KVM group is missing, simply create one…

# [ -z "$(cat /etc/group|grep kvm)" ] && addgroup --gid 125 kvm

Using Wine on Devuan

Setup Wine (as root):

  • enable multiarch
  • install wine and winetricks
    # apt install wine wine32 winetricks

Configure Wine (as user):

  • if required, remove previous settings
    $ rm -rf $HOME/.wine
  • config for win32
    $ WINEARCH=win32 winecfg
  • setup nice fonts
    $ winetricks corefonts

Note: Install fuseiso to enable mounting ISO as user

Game: Red Alert 2

Setup Installer ISO:

  • create link to ISO as CDROM device
    $ ln -sf /path/to/install.iso $HOME/.wine/dosdevices/d::
  • mount ISO
    $ fuseiso mount  /path/to/install.iso $HOME/.wine/drive_d
  • create link to mount path as CDROM drive
    $ ln -sf $HOME/.wine/drive_d $HOME/.wine/dosdevices/d:

Run installer

  • $ wine D:\\Setup.exe

Fixes:

Application: LTSpice

  • download windows version from ltspice website and run
    $ wine /download/path/LTspiceXVII.exe

Devuan on Raspberry Pi

Check out here.

RasPi400

Using rpi-devuan-chimaera-5.10.110-ext4-2022-04-16.zip

  • boots ok (default hostname=bcm2711)
  • login (root:toor)
  • setup
    # run-setup
  • change hostname (edit /etc/hostname and /etc/hosts)
  • reboot
  • remove default user
    # userdel -r devuan
  • most development stuffs i want are preinstalled! yay!
  • install vim
    # apt install vim
  • remove nano
    # apt remove nano
    • also
      # rm .nanorc
  • install xorg stuffs
    # apt install xorg libx11-dev libxft-dev libxinerama-dev
  • install suckless stuffs
    # apt install stterm suckless-tools
  • create user and login as that user
  • get my1shell and my1ubuild
    # git clone https://codeberg.org/azman/my1shell
    # git clone https://codeberg.org/azman/my1ubuild
  • install dwm from source
  • install browser & font
    # apt install surf fonts-liberation2

work in progress… 2 issues: {surf cannot validate cert}{reboot hangs}

Note: Will simply use Raspberry Pi OS for now…

linux/devuan_install.1775356969.txt.gz · Last modified: by azman

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki