User:Ax/Devuan

From beggabaur
Jump to: navigation, search

https://devuan.org/
https://dev1galaxy.org/
https://files.devuan.org/


apt*

sources.list

# Devuan repositories
deb http://de.deb.devuan.org/merged/ ascii main contrib non-free
deb http://de.deb.devuan.org/merged/ ascii-updates main
deb http://de.deb.devuan.org/merged/ ascii-security main
#deb-src http://de.deb.devuan.org/merged ascii main contrib non-free

# libdvdcss http://www.videolan.org/developers/libdvdcss.html
deb http://download.videolan.org/pub/debian/stable/ /
deb-src http://download.videolan.org/pub/debian/stable/ /

# wine-staging https://github.com/wine-compholio/wine-staging/wiki/Installation
#deb http://cdn.fds-team.de/stable/debian/ jessie main

# https://wiki.winehq.org/Debian
#deb https://dl.winehq.org/wine-builds/debian/ jessie main

# Palemoon for Jessie https://software.opensuse.org/download.html?project=home%3Astevenpusser&package=palemoon
# wget -nv https://download.opensuse.org/repositories/home:stevenpusser/Debian_8.0/Release.key -O Release.key
# apt-key add - < Release.key
deb http://download.opensuse.org/repositories/home:/stevenpusser/Debian_8.0/ /


Upgrades/-dates

Jessie --> Ascii:

apt-get update
apt-get install devuan-keyring
sed -i 's/jessie/ascii/g' /etc/apt/sources.list
sed -i 's/auto.mirror/pkgmaster/g' /etc/apt/sources.list
apt-get update
apt-get dist-upgrade


fstab

LABEL=home      /home           ext4    noatime,exec                    0  2
/dev/sdc1       /media/ntfs     ntfs-3g uid=1000,gid=1000,noauto,users  0  0


Kernel

http://kernel-handbook.alioth.debian.org/ch-common-tasks.html#s-common-building

Treiber/module finden: http://kmuto.jp/debian/hcl/

Vor dem Kernelbauen/-installieren den fglrx entfernen!

(make clean)   # Achtung, löscht auch .config!
make [def|localmod|old]config
make [g|menu|n|x]config
# Achtung: make [-j 2] deb-pkg  --> fakeroot: invalid option -- 'u' 
make-kpkg -j 2 --initrd [--append_to_version -rt0] --revision 1 kernel_image kernel_headers kernel_source
su -c "dpkg -i ../linux-image-2.6.37-0.1-*.deb"
su -c "dpkg -i ../linux-headers-2.6.37-0.1-*.deb"
(su -c "dpkg -i ../linux-source-2.6.37-0.1-*.deb"
 su -c "tar xjf /usr/src/linux-source-2.6.37-0.1-*.deb -C /usr/src/")


update-initramfs -u -k all   # initrd neu bauen


initramfs

lsinitramfs
/etc/initramfs-tools/modules   # eigene Module hinzufügen
update-initramfs -u


Xorg

<fsmithred> install xserver-xorg-legacy
<fsmithred> echo "needs_root_rights=yes" >> /etc/X11/Xwrapper.config
<fsmithred> startx
<fsmithred> it's because X no longer runs as root