diff --git a/Doku/anaconda.tex b/Doku/anaconda.tex deleted file mode 100644 index 38048256871d7ee2f80e5b5eca37cf0a13d6aab7..0000000000000000000000000000000000000000 --- a/Doku/anaconda.tex +++ /dev/null @@ -1,5 +0,0 @@ -\subsection{anaconda} -Anaconda ist ein umfassendes Tool für wissenschaftliche Berechnungen in Python, es beinhaltet Standard-Bibliotheken, Tools und eine IDE. - -Aufzurufen über die graphische Oberfläche.\\ -Für Hilfe: \texttt{conda help} diff --git a/bootflags0 b/bootflags0 deleted file mode 100644 index 7ada4bf4a9b722968e66ec5fcd9b23f13766689c..0000000000000000000000000000000000000000 --- a/bootflags0 +++ /dev/null @@ -1,20 +0,0 @@ -acpi=copy_dsdt Korrigiert DSDT, insbesondere bei Toshiba-Notebooks. -acpi=force Für BIOS-Versionen vor 2002, aktiviert die ACPI - -Unterstützung zwangsweise im Kernel. -acpi=off Deaktiviert ACPI vom BIOS (kann helfen, aber auch zur - "Kernelpanic" führen). -all_generic_ide Generischen IDE-Treiber für alle Geräte verwenden, - die vom BIOS erkannt wurden. -bootchart=disable Deaktiviert die Visualisierung bzw. die Aufzeichung - eines Boot-Charts bei installiertem BootChart -BOOT_DEBUG=2|3 Fehlersuche während des Startvorgangs -bootdegraded Bootet Ubuntu auch auf einem inkonsistenten RAID-1 -DEBCONF_DEBUG=5 Ausführliche Fehlersuche -elevator=deadline so wird für alle Blockgeräte der Deadline Scheduler - verwendet anstatt CFQ, kann bei SSD-Festplatten - nützlich sein -fb=false Deaktiviert den Framebuffer. -hpet=force Erzwingt die Aktivierung das HPET-Timers, hilfreich - beim Energiesparen bei Laptops, dessen BIOS die HPET - vor dem Betriebssystem verstecken - (z.B. IBM Thinkpad X31) diff --git a/bootflags1 b/bootflags1 deleted file mode 100644 index 3345be75e07607864301ed0e34f3c5db3aabedda..0000000000000000000000000000000000000000 --- a/bootflags1 +++ /dev/null @@ -1,19 +0,0 @@ -ht=on Aktiviert Hyper-Threading. -irqpoll zusammengezogen aus IRQ und Polling. IRQ ist eine - Unterbrechungsanforderung per Leitung an den Prozessor. - Polling ist das Verfahren zur Steuerung des Zugriffs - auf angeschlossene Geräte. -noapic, noagp, noapm Deaktiviert die automatische Erkennung von APIC - (IRQ-Verwaltung), AGP (Grafik) oder der - Energieverwaltung. -nolapic Deaktiviert die lokale APIC-Erkennung. -nolapic_timer Deaktiviert den lokalen APIC-Timer. Selektiver als - noapic und nolapic. Instabilitäten durch den Timer - werden umgangen, der Rest von APIC bleibt voll - funktionsfähig. Erste Wahl bei Notebooks, da das - Energiemanagement funktional bleibt. -nomodeset deaktiviert modesetting im Kernel, und die - Infrastruktur von X.org wird verwendet - (z.B. Acer Extensa 5635Z) -pci=bios -pci=biosirq diff --git a/bootflags2 b/bootflags2 deleted file mode 100644 index e62dfa6f0bd16e9878582588ba5650f20d6cf397..0000000000000000000000000000000000000000 --- a/bootflags2 +++ /dev/null @@ -1,24 +0,0 @@ -pci=noacpi Schaltet die ACPI-Erkennung während der PCI- - Konfiguration aus (ist insbesondere bei manchen VIA- - Chipsätzen notwendig). -pci=nomsi Deaktiviert "Message Signaled Interrupts". Hilft oft - bei Problemen mit dem SATA-Controller auf neueren - Mainboards. -pci=routeirq IRQ-Autorouting, hilfreich für einige Mainboards - (zum Beispiel Asus A7N8X). -processor.max_cstate=3 behebt das Problem des "C4-Fiepen" - - (siehe unten) -single booten in den Single-User-Mode -text booten in die Konsole, X bleibt aussen vor, interaktiver Modus - mit Netzwerk vergleichbar Runlevel 3 -usb=bios -vga=... Stellt die Auflösung von Grub und der Konsole ein. -xforcevesa Der XServer (graphische Oberfläche) wird unabhängig von der - verwendeten Hardware nur für "vesa" konfiguriert. -nomodeset Verhindert, dass der Kernel die Mode-Settings für die - Grafikkarte durchführt. Die Mode-Settings werden wie vor - Kernel 2.6.28 im User-Mode durchgeführt - (siehe auch:Mode-Settings). -noplymouth Schaltet die Anzeige von Plymouth ab, diese Ergänzung - ersetzt das nosplash aus dem alten Ubuntu-Splash. -pcie_aspm=force Erzwingt Active State Power Management (Kernel 2.6.38+) diff --git a/bootflags3 b/bootflags3 deleted file mode 100644 index 3bea4d649a49a2bda50e22280ef7a6eac16223b5..0000000000000000000000000000000000000000 --- a/bootflags3 +++ /dev/null @@ -1,7 +0,0 @@ -nomodeset Verhindert, dass der Kernel die Mode-Settings für die - Grafikkarte durchführt. Die Mode-Settings werden wie vor - Kernel 2.6.28 im User-Mode durchgeführt - (siehe auch:Mode-Settings). -noplymouth Schaltet die Anzeige von Plymouth ab, diese Ergänzung - ersetzt das nosplash aus dem alten Ubuntu-Splash. -pcie_aspm=force Erzwingt Active State Power Management (Kernel 2.6.38+) diff --git a/initrd_hooks/lipnsa.hook.sh b/initrd_hooks/lipnsa.hook.sh deleted file mode 100644 index b857d1664804feafb2264e72ef16b410e1003259..0000000000000000000000000000000000000000 --- a/initrd_hooks/lipnsa.hook.sh +++ /dev/null @@ -1,342 +0,0 @@ -#!/bin/sh -# lipnsa.sh -- collecting your data for a better world -# Lars Beckers, larsb@fsmpi.rwth-aachen.de, September 2014 - -LIPSTICK="/root/cdrom" -LOGFUNCTIONSSOURCE="/scripts/casper-functions" -TARGET="/root" - -if [ -e "${LOGFUNCTIONSSOURCE}" ]; then - . ${LOGFUNCTIONSSOURCE} -else - echo "Warning: ${LOGFUNCTIONSSOURCE} does not exist. Cannot source casper functions!" -fi - -if [ -n "$1" ] && [ -d "$1" ]; then - LIPSTICK="$1" - shift -else - log_warning_msg "LIPSTICK mount point not specified. Falling back to ${LIPSTICK}." -fi - -LIPSTATS="${LIPSTICK}/lipstats" - -if [ $# -gt 0 ]; then - echo "collects system information, i.e. hardware and what the kernel thinks about it" - echo "called as liphook before leaving initramfs" - echo "usage: lipnsa.sh [lipstick directory]" - echo "" - echo "requires proc and sysfs to be mounted" - echo "append 'fnord' to your kernel cmdline to disable this tool" - echo "data is saved to ${LIPSTATS}/product-uuid/kernel-boot-id/" - echo "${LIPSTICK} is remounted rw in the process, remounted ro at the end" - echo "considering the product-uuid we generally trust what dmidecode says" - echo "if it's unavailable we may use a fallback instead (sysfs, random by kernel)" - echo "some commands are processed outside the initramfs, in a chroot using the prepared system" - echo "" - echo "currently lipnsa.sh collects the following:" - echo " running architecture" - echo " ip link information" - echo " block device listing" - echo " pci device listing" - echo " usb device listing" - echo " cpu information" - echo " listing of kernel modules" - echo " kernel command line" - echo " decoded dmi table" - echo " detection of active efi" - echo " detection of secureboot" - echo " memory information" - echo " partition information" - echo " and the current timestamp" - exit -fi - -if [ -f /proc/cmdline ]; then - grep fnord /proc/cmdline - if [ $? == 0 ]; then - log_warning_msg "lipnsa.sh has been deactivated. :(" - exit - fi -else - log_failure_msg "It seems that /proc is not mounted. lipnsa.sh aborting." - exit -fi -if [ ! -d /sys/class ]; then - log_failure_msg "It seems that /sys is not mounted. lipnsa.sh aborting." - exit -fi - -log_success_msg "This is lipnsa.sh -- collecting your data for a better world" - -# mounts for chrooted commands -# actually lsblk, lscpu and dmidecode work without chroot -# but i think it is more sane to not depend on that -TARGETMOUNTS=1 -mount -t proc proc ${TARGET}/proc -if [ $? != 0 ]; then - log_warning_msg "> could not mount proc on the target, this might produce wrong results" - TARGETMOUNTS=0 -fi -mount -t sysfs sysfs ${TARGET}/sys -if [ $? != 0 ]; then - log_warning_msg "> could not mount sysfs on the target, this might produce wrong results" - TARGETMOUNTS=0 -fi - -UUID="unavailable" -UUID_SOURCE="dmidecode" -if [ $TARGETMOUNTS -gt 0 ]; then - UUID=`chroot ${TARGET} dmidecode --string system-uuid` - if [ $? != 0 ]; then - log_warning_msg "> dmidecode was unable to retrieve the system-uuid from chroot, trying without chroot" - else - UUID_SOURCE="dmidecode-chroot" - fi -fi - -if [ $UUID_SOURCE == "dmidecode" ]; then - UUID=`dmidecode --string system-uuid` - if [ $? != 0 ]; then - log_warning_msg "> dmidecode was unable to retrieve the system-uuid, trying sysfs dmi product_uuid" - UUID_SOURCE="sysfs" - UUID=`cat /sys/class/dmi/id/product_uuid` - if [ $? != 0 ]; then - log_warning_msg "> sysfs dmi product_uuid is unavailable, using random uuid" - UUID=`cat /proc/sys/kernel/random/uuid` - if [ $? != 0 ]; then - UUID_SOURCE="unavailable" - else - UUID_SOURCE="random" - fi - fi - fi -fi - -BOOTID=`cat /proc/sys/kernel/random/boot_id` -log_success_msg "> using ${UUID}/${BOOTID}" - -DIR="${LIPSTATS}/${UUID}/${BOOTID}" -mount -o remount,rw ${LIPSTICK} -mkdir -p "${DIR}" -if [ $? != 0 ]; then - log_failure_msg "> could not create directory, aborting" - exit -fi -log_success_msg "> remounted lipstick rw, created directory" - -echo ${UUID_SOURCE} > "${DIR}/uuid_source" 2>&1 -if [ $? != 0 ]; then - log_failure_msg "> could not save uuid source" -else - log_success_msg "> saved uuid source" -fi - -echo ${TARGETMOUNTS} > "${DIR}/targetmounts" 2>&1 -if [ $? != 0 ]; then - log_failure_msg "> could not save usage of target mounts" -else - log_success_msg "> saved usage of target mounts" -fi - -date +%s > "${DIR}/timestamp" 2>&1 -if [ $? != 0 ]; then - log_failure_msg "> could not save timestamp" -else - log_success_msg "> saved timestamp" -fi - -uname -m > "${DIR}/architecture" 2>&1 -if [ $? != 0 ]; then - log_failure_msg "> could not save architecture" -else - log_success_msg "> saved architecture" -fi - -ip link > "${DIR}/ip-link" 2>&1 -if [ $? != 0 ]; then - log_failure_msg "> could not save ip devices" -else - log_success_msg "> saved ip devices" -fi - -kmod list > "${DIR}/kmod-list" 2>&1 -if [ $? != 0 ]; then - log_failure_msg "> could not save the formatted module list" -else - log_success_msg "> saved the formatted module list" -fi - -blkid > "${DIR}/blkid" 2>&1 -if [ $? != 0 ]; then - log_failure_msg "> could not save block device information" -else - log_success_msg "> saved block device information" -fi - -if [ -d /sys/firmware/efi ]; then - echo "yes" > "${DIR}/efi" 2>&1 - - ls /sys/firmware/efi/efivars | grep -i SecureBoot > "${DIR}/secureboot" - if [ $? != 0 ]; then - echo "not found" > "${DIR}/secureboot" 2>&1 - fi -else - echo "no" > "${DIR}/efi" 2>&1 - echo "not found" > "${DIR}/secureboot" 2>&1 -fi -log_success_msg "> saved detection of efi and secureboot" - -cat /proc/cmdline > "${DIR}/cmdline" 2>&1 -if [ $? != 0 ]; then - log_failure_msg "> could not save the kernel command line" -else - log_success_msg "> saved the kernel command line" -fi - -cat /proc/modules > "${DIR}/modules" 2>&1 -if [ $? != 0 ]; then - log_failure_msg "> could not save the module list" -else - log_success_msg "> saved the module list" -fi - -cat /proc/cpuinfo > "${DIR}/cpuinfo" 2>&1 -if [ $? != 0 ]; then - log_failure_msg "> could not save cpu information" -else - log_success_msg "> saved cpu information" -fi - -cat /proc/meminfo > "${DIR}/meminfo" 2>&1 -if [ $? != 0 ]; then - log_failure_msg "> could not save memory information" -else - log_success_msg "> saved memory information" -fi - -cat /proc/partitions > "${DIR}/partitions" 2>&1 -if [ $? != 0 ]; then - log_failure_msg "> could not save the partition list" -else - log_success_msg "> saved the partition list" -fi - -if [ $TARGETMOUNTS -gt 0 ]; then - chroot ${TARGET} lspci -mm > "${DIR}/lspci" 2>&1 - if [ $? != 0 ]; then - log_failure_msg "> could not save listing of pci devices" - else - log_success_msg "> saved listing of pci devices" - fi -else - log_warning_msg "> not trying to gather pci devices due to unavailable mounts" -fi - -TRY_UNCHROOTED=0 -if [ $TARGETMOUNTS -gt 0 ]; then - chroot ${TARGET} lsblk > "${DIR}/lsblk" 2>&1 - if [ $? != 0 ]; then - log_warning_msg "> listing of block devices unsuccessful, trying without chroot" - TRY_UNCHROOTED=1 - else - log_success_msg "> saved listing of block devices" - fi -else - TRY_UNCHROOTED=1 -fi -if [ $TRY_UNCHROOTED -gt 0 ]; then - lsblk >> "${DIR}/lsblk" 2>&1 - if [ $? != 0 ]; then - log_failure_msg "> could not save listing of block devices" - else - log_success_msg "> saved listing of block devices" - fi -fi - -TRY_UNCHROOTED=0 -if [ $TARGETMOUNTS -gt 0 ]; then - chroot ${TARGET} lscpu > "${DIR}/lscpu" 2>&1 - if [ $? != 0 ]; then - log_warning_msg "> listing of cpus unsuccessful, trying without chroot" - TRY_UNCHROOTED=1 - else - log_success_msg "> saved listing of cpus" - fi -else - TRY_UNCHROOTED=1 -fi -if [ $TRY_UNCHROOTED -gt 0 ]; then - lscpu >> "${DIR}/lscpu" 2>&1 - if [ $? != 0 ]; then - log_failure_msg "> could not save listing of cpus" - else - log_success_msg "> saved listing of cpus" - fi -fi - -TRY_UNCHROOTED=0 -if [ $TARGETMOUNTS -gt 0 ]; then - chroot ${TARGET} dmidecode > "${DIR}/dmidecode" 2>&1 - if [ $? != 0 ]; then - log_warning_msg "> unable to retrieve decoded dmi table, trying without chroot" - TRY_UNCHROOTED=1 - else - log_success_msg "> saved decoded dmi table" - fi -else - TRY_UNCHROOTED=1 -fi -if [ $TRY_UNCHROOTED -gt 0 ]; then - dmidecode >> "${DIR}/dmidecode" 2>&1 - if [ $? != 0 ]; then - log_failure_msg "> could not save decoded dmi table" - else - log_success_msg "> saved decoded dmi table" - fi -fi - -if [ $TARGETMOUNTS -gt 0 ]; then - chroot ${TARGET} lsusb > "${DIR}/lsusb" 2>&1 - if [ $? != 0 ]; then - grep "unable to initialize libusb: -99" "${DIR}/lsusb" - if [ $? != 0 ]; then - log_failure_msg "> could not save listing of usb devices" - else - echo "no usb controller found" > "${DIR}/lsusb" 2>&1 - log_success_msg "> saved listing of usb devices" - fi - else - log_success_msg "> saved listing of usb devices" - fi -else - log_warning_msg "> not trying to gather usb devices due to unavailable mounts" -fi - -if [ $TARGETMOUNTS -gt 0 ]; then - umount ${TARGET}/sys - if [ $? != 0 ] && [ $TARGETMOUNTS -gt 0 ]; then - log_warning_msg "> could not unmount sysfs on the target, this might cause some trouble" - fi - umount ${TARGET}/proc - if [ $? != 0 ] && [ $TARGETMOUNTS -gt 0 ]; then - log_warning_msg "> could not unmount proc on the target, this might cause some trouble" - fi -fi - -sync -if [ $? != 0 ]; then - log_failure_msg "> could not flush filesystem buffers" -else - log_success_msg "> flushed filesystem buffers" -fi - -mount -o remount,ro ${LIPSTICK} -if [ $? != 0 ]; then - log_failure_msg "> could not remount lipstick ro" -else - log_success_msg "> remounted lipstick ro" -fi - -log_success_msg "lipnsa.sh has finished, thank you for your cooperation" - diff --git a/start_in_qemu.txt b/start_in_qemu.txt deleted file mode 100644 index 22290d8568a0d51bd70fddcafdc71b7da441a629..0000000000000000000000000000000000000000 --- a/start_in_qemu.txt +++ /dev/null @@ -1,8 +0,0 @@ -qemu-kvm -m 2G -drive file=/path/to/stick,if=scsi -qemu -enable-kvm -m 2G -drive file=/data/data/stick.img,if=scsi - -Alte Optionen. Funktionieren (warscheinlich) nicht mit aktuellem Stick/Image -qemu -boot c -m 128 -hda /dev/sdX -net none -localtime -qemu-system-x86_64 -boot c -m 128 -hda /dev/sdX -net none -localtime -qemu-i386 -boot c -m 128 -hda /dev/sdX -net none -localtime -qemu-system-x86_64 -enable-kvm -hda /dev/sdX -net none -localtime