Difference between revisions of "User:Ax/Devuan"

From beggabaur
Jump to: navigation, search
Line 1: Line 1:
=== apt* ===
+
= apt* =
===== sources.list =====
+
=== sources.list ===
  
 
  # Devuan repositories
 
  # Devuan repositories
 
  #deb http://packages.devuan.org/merged jessie main contrib non-free
 
  #deb http://packages.devuan.org/merged jessie main contrib non-free
  #deb-src http://packages.devuan.org/merged jessie main contrib non-free
+
  #deb-src http://packages.devuan.org/merged jessie main contrib non-freeq
 
  deb http://auto.mirror.devuan.org/merged/ jessie main contrib non-free
 
  deb http://auto.mirror.devuan.org/merged/ jessie main contrib non-free
 
  deb http://auto.mirror.devuan.org/merged/ jessie-updates main
 
  deb http://auto.mirror.devuan.org/merged/ jessie-updates main
Line 26: Line 26:
  
  
=== fstab ===
+
=== 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
 
  LABEL=home      /home          ext4    noatime,exec                    0  2
 
  /dev/sdc1      /media/ntfs    ntfs-3g uid=1000,gid=1000,noauto,users  0  0
 
  /dev/sdc1      /media/ntfs    ntfs-3g uid=1000,gid=1000,noauto,users  0  0
  
  
=== Xorg ===
+
= 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/")
 +
 
 +
<!-- make bzImage
 +
make modules; su -c make modules_install
 +
Den neuen Kernel findet man unter <code>arch/i386/bzImage</code>. -->
 +
 
 +
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> install xserver-xorg-legacy
 
  <fsmithred> echo "needs_root_rights=yes" >> /etc/X11/Xwrapper.config
 
  <fsmithred> echo "needs_root_rights=yes" >> /etc/X11/Xwrapper.config
 
  <fsmithred> startx
 
  <fsmithred> startx
 
  <fsmithred> it's because X no longer runs as root
 
  <fsmithred> it's because X no longer runs as root

Revision as of 02:13, 18 May 2018

apt*

sources.list

# Devuan repositories
#deb http://packages.devuan.org/merged jessie main contrib non-free
#deb-src http://packages.devuan.org/merged jessie main contrib non-freeq
deb http://auto.mirror.devuan.org/merged/ jessie main contrib non-free
deb http://auto.mirror.devuan.org/merged/ jessie-updates main
deb http://auto.mirror.devuan.org/merged/ jessie-security main
deb-src http://auto.mirror.devuan.org/merged jessie 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