Skip to main content

Homelab

Boot & Disk

Reinstalling GRUB after Windows install

Reinstall GRUB after Windows install Here is how to reinstall GRUB after you have had to...

Enable harddisk spin-down / sleep mode / standby

Aan elke harddisk in een Linux systeem kun je een aparte time-out geven wanneer deze een...

Linux Software RAID: growing filesystems and adding disks

Adding partitions When new disks are added, existing raid partitions can be grown to use...

Partitions

Per 1 augustus 2010 /dev/sda (SDD-80GB) Device Boot Start End Bloc...

Using GRUB to boot multiple operating systems, the correct way

Often when you want to use more than one Operating System on your computer, you run into...

Install Linux on an SSD

When you want to install Linux to an SSD, there are a lot of things to think about. This...

Btrfs

list available devices btrfs device scan list available filesystems btrfs filesystem...

Fix grub

Boot from live dvd OR choose RESCUE from boot USB (graphical desktop is ok) use gparted...

Usb drives

USB Drives Overzicht USB Stick Capacity speed Contents Remarks Voyager 8GB 24 Win...

GRUB

Published on Linux.com | The source for Linux information (https://www.linux.com) Hom...

RAID

RAID vergroten Ter referentie, hier enkele veel gebruikte commando's: # cat /proc/mdsta...

Swap file on BTRFS

Then start GParted or another disk management app, delete the swap partition, expand you...

Test harddisk for bad blocks

# badblocks -e 10 -s -w /dev/mmcblk0 -e max bad block count Specify a maximum number of ...

Partitions-hupsie

hd0 476GB P1 260MB EFI P2 16MB MS RESERVED P3 134GB win P5 100GB / P6 120GB /home P7 10...

Grub2: boot USB from GRUB prompt

When the PC will not boot from USB, you can use GRUB2 to boot from the USB. In the GRUB ...

Best way to use GRUB in a multiboot system

default 0 timeout 8 gfxmenu (hd0,1)/boot/message title Suse    rootnoverify (hd0,1)    c...

How to resue your system when the kernel won't boot

SUSE Broken? Don’t fear the chroot ! Posted by johnlange on September 22, 2009 06:45 pm ...

How to restore MBR on harddisk

MBR / Hard Disk Layout The MBR is the very first part of your hard disk stores the boot ...

How to resque a hanging linux

key function r Remove X's control over the keyboard e End all processes except in...

Hardware & Machines

Systems

envy hupsie lesie usb wifi dongles usb drives glmark2 benchmark tecra wifi VUmc lapx la...

Lap088

specs lap088 partitions grub repos

Akoya

partitions akoya hwinfo akoya

Partitions akoya

Per 1 mei 2010 /dev/sda 75GB 1 ntfs 16GB windows/C boot 3 swap 1GB 4 extndd 50GB ...

Zbox

Partities OCZ Onyx Series SATA II 32 GB SSD 1. /boot 200MB 2. swap 1GB ...

Hpspil

partitions hpspil

Partitions hpspil

/dev/sda 112 gb 1 105 gb ntfs 2   7 gb ntfs 1 65 GB ntfs c: windows 4 38 GB ext4 / 3 1  ...

Cpu3972

partitions cpu3972 repos cpu3972

Samsie

specs samsie partitions samsie grub samsie repos fix grub

Partitions samsie

sda1: swap sda2: / btrfs UUID=.....3858 sda3: /home xfs UUID=.....ce29 OL...

WeTab

partitions WeTab bootloader WeTab repos WeTab other WeTab

Partitions cpu3972

cpu3972:/home/pvdm # fdisk -l Disk /dev/sda: 250.1 GB, 250059350016 bytes 255 heads, 63...

Amd64

hardware disks lsmod lspci Per 20220917: 10:00.0 VGA compatible controller: NVIDIA Cor...

Hwinfo akoya

wireless: RT2860 Ralink

Specs samsie

TECHNISCHE SPECIFICATIES VAN DE SAMSUNG RV720-S02NL Product Fabrikantcode Artikel...

Specs lap088

Specificaties HP EliteBook 8530p Algemeen   Merk   Productnaam   Productcode ...

Lapx

specs lapx partitions lapx grub lapx repos lapx

My setup

Amplifier JVC MCA-V7

Specs lapx

Elitebook 8570 ???? screen: Screen 0: minimum 320 x 200, current 1600 x 900, maximum 163...

Tecra

system info tecra how to get into bios-setup partitions tecra performance harddisk BIO...

Partitions lapx

tumbleweed:~ # fdisk -l /dev/sda Disk /dev/sda: 465.8 GiB, 500107862016 bytes, 976773168...

Partitions tecra

partitions sda1: 450mb recovery sda2: 99mb sda3: 100b...

System info tecra

tecra z50-c-14t

Asus f2a85-v

CPU Chipset Geheugen Grafische Ondersteuning Multi-GPU Uitbreidingsslots Opslag LAN Audi...

Commodore64

video output info

Hupsie

partitions-hupsie

Asus P5Q Pro

[root]@amd64:~ # lspci 00:00.0 Host bridge: Intel Corporation 4 Series Chipset DRAM Cont...

Hardware

20250404 # inxi -F System: Host: amd64 Kernel: 6.14.0-lp156.4.g37149af-default arch: x...

Linux performance monitoring

Linux performance basics I want to write about Cassandra performance tuning, but first I...

Linux algemeen & CLI

Linux general

rsync root volume to new harddisk enable wifi after suspend-resume edit PDF metadata ch...

Image manipulation (The Gimp, DigiKam)

How to make a portion of an image transparent using The Gimp Sometimes you want to make ...

Linux and hardware

test harddisk for bad blocks set cpu performance determine which vga driver is in use r...

Watch

Herrie http://www.herrie.info commandline mp3 player/jukebox Thunder & Lightning 3D war...

How to find duplicate files BY CONTENT!!

Today in IRC suseROCKS needed to find all duplicate files in a directory by their conten...

How to clone or copy your harddisk over the network

Method 1 (tested!) On the bron/zender/source: #dd if=/dev/sda | gzip -c | netcat -l -q 0...

How to find information about a host or webserver

nmap -sV -P0 -O [server]

Linux commandline tips

Bash tips ^r Reverse search the command history ^a Return to the start of the comm...

Using x2x to connect two computers and their screens with one mouse and keyboard

Let's say you have 2 computers: cpu1: 10.0.0.1 cpu2: 10.0.0.2 Let's say cpu1's screen is...

Script to check and restart a process

#!/bin/bash # -------------------------------------------------------------------------...

Vi tips

vi editor tips Keys Key(s): Movement: 0 (zero) 1st column on the line ^ 1st non-b...

Verhuis een linux systeem naar nieuwe hardware

Verhuis van systeem A naar systeem B. Inpakken boot systeem A vanaf liveCD (alterna...

A guide to using systemd

This is how to stop a running service temporarily: systemctl stop servicename.service Se...

Perform bechmarks on the filesystem

To test the speed of the filesystem (not the physical disk!) you can use the following ...

How to backup your disk with dd

I had several bad experiences losing my data in my life. Sometimes because of the hardwa...

Things to clean up before doing large copy of entire system

FF cache chromium cache .thumbnails spotify localstorecache .wine /var/tmp/kdecache-pvdm

Linux commandline tips 4

trap ctrl-c in terminal: trap 'play -nq  synth sin 1000 trim 0 0.35 vol 0.5 2>/dev/null'...

Linux algemeen

fuser -ck /net pid of proccess holding mount openssl x509 -noout -in scx-host-sldbowzs...

Awk

awk pattern {action} pattern {action} $ awk '{print $2}' /etc/fstab to filter out commen...

Systemd journal log file setting

The new openSUSE 13.2 journald (from systemd) is sometimes quickly using up disk space. ...

Dealing with spaces in filenames

BASH for loop works nicely under UNIX / Linux / Windows and OS X while working on set of...

View progress of dd

In Linux, find running dd processes and send them a signal to print out their progress. ...

Sort installed rpms by size

Sort installed RPMs by size To list all RPM packages installed on a Linux machine sorted...

Command line tips

Show all VMs: vboxmanage list -l vms Show the state of the VM: vboxmanage showvminfo w7n...

Find

find latest files in all subdirectories per directory

Find latest files in all subdirectories per directory

Create a file latestfile.sh: #!/bin/bash ls -lrt "$1" | tail -n1 Make it executable ch...

Journald

output since booting: journalctl -b Follow: journalctl -f Keep an eye on sshd service: j...

Sample commands

testdatabase 'testsietske'; > mysql -u root MariaDB [testsietske]> use testsietske; Ma...

Bash fun

pong: yes $COLUMNS $LINES|awk 'BEGIN{x=y=e=f=1}{if(x==$1||!x){e*=-1};if(y==$2||!y){f*=-1...

OCR

scan pdf to file. first extract the pages and ocr them, then make one doc pdfimages -tif...

How to get into bios-setup

BIOS: when keyboardlight comes on, press and hold F2

Ace

@tecra:~> acestreamengine --client-console @tecra:~> acestream-launcher -p vlc acestream...

.vimrc

To support the creation and editing of yaml files in vi, set the following in ~/.vimrc s...

Tips and tricks

Probably the best way to do this - assuming that you can't use the NOPASSWD solution pro...

Performance harddisk

orginele harddisk /dev/sda: Model=TOSHIBA THNSNK128GVN8, FwRev=K8TA4101, SerialNo=17CS...

Bash pitfalls

Bash Pitfalls This page shows common errors that Bash programmers make. These examples a...

File permissions

File permissions One of the important things you can do to help secure your MediaWiki in...

Disable cpu core for light work

# echo 0 | sudo tee /sys/bus/cpu/devices/cpu$COREID/online # Disable a CPU core to save ...

Rescan SCSI bus

# echo "0 0 0" > /sys/class/scsi_host/host5/scan 5 is changeable; it is the connection

How to send email from command line in fixed font

To send email that is in fixed font you can use: # (echo "Subject: bla"; echo "MIME-Ver...

Rsync root volume

# rsync -aAXv --exclude 'data' --exclude 'mnt' --exclude 'proc' --exclude 'sys' --exclud...

Edit PDF metadata

View PDF metadata: # exiftool file.pdf View specific metadata: # exiftool -Creator file....

Rsync root volume to new harddisk

# rsync -aAXvx --progress --exclude='.snapshots/' / [mountpoint of new harddisk]

Exiftool

To fix the date time on the pixel 6a photo and video files, use for photos: # exiftool '...

Lsmod

lsmod Module Size Used by fuse 106496 1 tcp_diag ...

Lspci

lspci 00:00.0 Host bridge: Advanced Micro Devices, Inc. [AMD] Family 15h (Models 10h-1fh...

Linux commandline tips 2

Command • apropos whatis • man -t man | ps2pdf - > man.pdf   which comma...

Linux commandline tips 3

Download a file and uncompress it while it downloads $wget http://URL/FILE.tar.gz -O -...

Multimedia

Convert .flv to other movie format

How convert flv2mpg or flv to other formats: http://www.mydigitallife.info/2006/12/14/fr...

Wine

Installing Newsleecher in Wine As for installing your licence, I recommend exporting the...

How to make a .iso file from your CD or DVD

To make an ISO from your CD/DVD, place the media in your drive but do not mount it. If i...

Convert an AVCHD / MTS file to MP4 using ffmpeg

Convert an .MTS file to a .MP4 file We want to convert it to .MP4, for instance to show ...

MythTV

How to check the MythTV database How to check the channel list How to rearrange the cha...

Video (Kino, dvgrab, OpenShot, KdeNlive)

dvgrab kdenlive radeon

Dvgrab

To capture video from a firewire device use: dvgrab -frames 0 -size 0 -format raw -noavc...

Starting chromium as default browser in thunderbird

Thunderbird seems to always start firefox when a link is clicked. This is bad behaviour....

Kdenlive

If you're spending your weeks in the timeline, you'll want to know a more efficient way ...

Screenresolutions, dimensions and DPI

General tips The ultimate solution to ugly fonts is to use more pixels to draw them. Tha...

VirtualBox

command line tips

Chromecast op linux

firewall Allow Multicast in Firewalld sudo firewall-cmd --permanent --direct --add-rule ...

Vlc tips & tricks

Startup options: --start-time=<integer> Start time The stream will start at this positio...

Chromium and chromecast

To resolve this issue you need to enable chrome://flags/#load-media-router-component-ext...

Video output info

Depending on the age, old consoles (and computers) output a worse video signal (quality-...

Chrome options

/usr/bin/chromium -high-dpi-support=1 -force-device-scale-factor=1 --enable-features=Use...

Use yt-dlp the correct way for music files

Use: -f bestaudio  -f ba --extract-audio --audio-format flac for best audio quality. -o ...

Use yt-dlp with subtitles for video files

To download video with english subtitles: # yt-dlp --write-sub --sub-lang "en.*" {URL} T...

Yt-dlp

Use yt-dlp with subtitles for video files Use yt-dlp the correct way for music files

Convert .img to .vdi for use with VirtualBox

VBoxManage convertfromraw -format VDI [filename].img [filename].vdi

Burning CD/DVD from CLI with wodim

List devices: #wodim --devices Check devices: #wodim -checkdrive  Burn .ISO: #wodim dev=...

Convert an AVCHD / MTS file to MP4 usinf ffmpeg

REDIRECT Convert an AVCHD / MTS file to MP4 using ffmpeg

Embed video in html5

<video width="640" height="480"> <source type="video/ogg" src="foo.ogg"> <!-- a...

Netwerk & Server

MySQL

recover mybb account OLD:How to secure an initial MySQL installation Database dump & re...

Fixing CUPS login problems on SUSE

Fixing CUPS login problems on SuSE SUSE: What Password Do I Use At The Web Interface? Su...

CUPS

How to make your CUPS server broadcast itself Install Dymo Labelwriter in openSUSE

How to make your CUPS server broadcast itself

In order for your clients to automatically recognize the printers that CUPS has, add/edi...

Install a PXE boot server on 11.1

This document shows quick and dirty how to install a working PXE boot server on openSUSE...

Apache en HTML

Apache compare Apache conf files and Nginx conf files joomla migratie 1.x naar 1.5 embe...

How to connect to server on strange port, or when you're behind a firewall

Situation cpuxxxx -> FW -> intermediateserver -> targetserver 22......-> 22 -> 22.........

Mounting remote directories using FUSE and sshfs on openSUSE

sshfs user@host: /mnt/ Once that’s done, the remote filesystem is mounted as the directo...

MediaWiki

Upgrade using patch installation MediaWiki Backup MediaWiki Upgrading to mediawiki 1.18...

How to make a dump of a website

update 20210611 Best Version: wget -m https:// original If you want to make a dump of a ...

Iptables for dummies

Netfilter Elke Linux distributie gebruikt Netfilter (in de kernel) voor firewalling. De ...

How to get a list of permissions of mysql users

How to Get a List of Permissions of MySQL Users MySQL has advanced database access syste...

How to check database

Check a Specific Table in a Database If your application gives an error message saying t...

Nagios

check_mk download new version: https://checkmk.com/download.php?HTML=yes # yum/zypper i...

Nmap

brute force test wordpress

Brute force test wordpress

nmap -p 80 --script http-wordpress-brute --script-args http-wordpress-brute.threads=4,ht...

Bluetooth

To enable the (powered down) bluetooth adapter on openSUSE 13.2: rfkill unblock bluetoot...

KVM

Start a vm as non-root: # virsh -c qemu:///system start tumbleweed and view it: # virt-v...

Raspberry Pi

enable 3d acceleration

X11 forwarding for sudo users

Can’t start X11 applications after “su” or “su -” to another user To get access to the X...

Ssh keygen

# ssh-keygen -t ecdsa -b 521

Compare Apache conf files and Nginx conf files

APACHE: Apache Nginx test <VirtualHost *:80> server { listen 80; ServerName yoursite.c...

Enable wifi after suspend-resume

To enable wifi after resume, when it is turned off Create a systemd service “root-resume...

POSTFIX

Inleiding Met het programma Postfix op een linux systeem kan mail verzonden en verstuurd...

How to make a webcam page with Apache on Linux (obsolete)

How to make a page on your webserver displaying a picture of your webcam using Linux and...

Enable monitoring of MD (software RAID) devices

After you have created the RAID (via YAST): #insserv -d mdadmd to have mdadm run as a da...

Database dump & restore

make database dump: mysqldump -u root -p –all-databases > pvdm.sql mysqldump -u root -p ...

Stop SSH brute force attacks

Stop ssh brute force attack using SuSEfirewall Edit /etc/sysconfig/SuSEfirewall2: do not...

Securing the initial mysql installation

When mysql is installed, the grant tables are created. accounts with the name root are ...

Install a PXE boot server on 10.3

REDIRECT Install a PXE boot server on 11.1

How to make a webcam page with Apache on Linux

REDIRECT How to make a webcam page with Apache on Linux (obsolete)

How to automatically log in to remote ssh servers using public/private keypair

As a user: ~>ssh-keygen -t dsa and enter your way through the prompts The keys are store...

How to make an encrypted directory

If you want to make an encrypted directory, for instance when you want to store private ...

How to repair a crashed table

I had a crashed searchindex table in my MediaWiki, so I: Connect to the server #mysql ...

How to test network speed

Install iperf http://software.opensuse.org/search http://software.opensuse.org/search s...

How to convert an existing ext3 filesystem to ext4

Dismount the filesystem tune2fs -O extents,uninit_bg,dir_index /dev/DEV e2fsck -fpDC0 /...

Using bridged networking in VirtualBox

If you get an error when using bridged networking, type: # insmod /lib/modules/2.6.31.8-...

Installation of openfire jabber xmpp server on openSUSE server

download the rpm form the website install the rpm with # zypper in openfire.rpm tidy ...

Apache etc. (joomla etc.)

REDIRECT Apache en HTML

How to secure an initial MySQL installation

REDIRECT OLD:How to secure an initial MySQL installation

Enlarge disks by removing reserve space on ext2/3/4

Five percent of a ext2/3/4 filesysteem is reserved for root. With tune2fs this can be t...

Allowing access from other hosts

To allow access from your workstation (to use mysqladministrator?) you must allow access...

Install openSUSE via SSH

To install a server over SSH do the following: insert CD/DVD into the machine and boot ...

SSH filesystem

SSH Filesystem Another way to get at files on remote hosts? The SSH Fuse filesystem. Thi...

Overig

Main Page

penguin Categories: ace Android ansible Apache en HTML Audio awk Bash fun Bash pitfal...

Quad

REDIRECT Audio

Kmail

Transfer mail and settings to another computer (or another user account on the same mach...

How to start qbittorrent

rc.d/after.local:su - qbtuser -c "/usr/bin/qbittorrent-nox -d"

Create a bootable windows 10 USB stick from linux

Creating a bootable Windows 10 USB on linux 10 Aug 2016 - by 'Maurits van der Schee' Whe...

Other general

ssh keygen 2do2018 VUmc Create a bootable windows 10 USB stick from linux Planten Conve...

Addresses

82.95.225.202 PvdM 83.119.154.28 c.s 85.150.196.180 betert ---- linux fmt 0010322941R e...

Repos cpu3972

# | Alias | Name | Enable...

Disks

hdparm -I /dev/sda /dev/sda: ATA device, with non-removable media Model Number...

Repos lapx

pvdm@lapx:~> zypper lr --uri # | Alias | Name | E...

Smt

[NU] NUUrl = https://nu.novell.com/ NURegUrl = https://secure-www.novell.com/center/regs...

Certificate renewal apache

# zypper in python3-certbot-apache # certbot --authenticator standalone --installer apac...

Athana PF-212 Bulk Eraser

Athana International - PF212 Degausser - Model PF 212 GENEVA-Audio-Video-Bulk-Tape-Erase...

Fix bash history

put in .bashrc or bash.bashrc.local # fix bash history export HISTCONTROL=ignoredups:era...

Determine which vga driver is in use

lapx: # lspci -nnk |grep -A3 VGA 01:00.0 VGA compatible controller [0300]: Advanced Micr...

Envy

HP Envy x360 Convertible Model 15-ed0300nd ProdID 3K787EA#ABH --- Productnummer 3K787...

Set cpu performance

# cpupower frequency-set -g performance or #!/bin/sh # # puts cpus in performance mode #...

Xorg

xrandr

Xrandr

XRandR --query -> details about grapics adapter --output LVDS|LCD|VGA|HDMI --mode 800x60...

Clear recently used documents permanently in KDE4

To do this: solution: type in terminal rm ~/.kde4/share/apps/RecentDocuments/*  chmod 00...

How to send mail via telnet to a server using SMTP commands

Sending an e-mail via Telnet In this document, we: shall use Telnet to connect to the S...

How to toggle compositing in KDE on the CLI command line

 > qdbus org.kde.kwin /KWin org.kde.KWin.toggleCompositing

New Page

          De-Equalizer Digital Drive Signal Processor Error Correction Codec Tape Format and E...

Webcams & Devices

openSUSE

OpenSUSE specific

kde over ssh Snapper Snapper PvdM How to start qbittorrent How to make the screen brigh...

Speed up tips for (suse) linux installation

Speed up Linux installation Tip: Speeding up the install time on SUSE Linux Applies to: ...

Problem w/ ZEN/rug/rpm database

'''Problem w/ ZEN/rug/rpm database this problem is obsolete, it happened with OpenSUSE 1...

Speedup Package Management

Speeding up the package manager Package Management is one part of the system where massi...

Keyboard setting for diacritical characters

In KDE: Regional settings keyboard layout xkb options | enable compose key position | me...

Monitor an OpenSUSE system

use iostat (package sysstat) siga (outputs in HTML) sitar (SLES)

Disable hardware polling for CD-drives

hal cdrom polling hal is a core component of the various desktop environments and deals ...

Install all updates using zypper

Install all updates using Zypper The following command gives you ALL updates: zypper up ...

How to locally cache zypper update files

How to locally cache zypper update files Maybe someday you try zypper dup to actualize y...

Check and install media formats

1. Check if there are missing dependencies Code:      # LC_ALL=C zypper ve      Reading ...

Boot options in suse grub

install=http://provisioning/.......... --> where to boot OS from autoyast=http://provisi...

Zypper tips

To check from which repo package came from # rpm -qa --qf '%-20{NAME} %-20{VENDOR}\n' 'l...

Improve the font rendering - using subpixel hinting

zypper ar -f  http://download.opensuse.org/repositories/home:/muzlocker/openSUSE_11.4/ s...

Things to do after a fresh installation of openSUSE 11.4

This guide is a summary of the steps I take to customize a default installation of openS...

Repos

lap088:/home/pvdm # cat /etc/zypp/repos.d/* [packman] name=Packman enabled=1 autorefresh...

Touchpad

hp.com tydelijk1 uitgebruide ww met CAPS johan(2) en cijfers borderlinx pvdmjoomla uit cijf

Things to do after a fresh installation of openSUSE 12.1

This guide is a summary of the steps I take to customize a default installation of openS...

Radeon

- The Radeon hardware was tested with the following non-stock options: disabling swap b...

How to have the latest kernel in openSUSE

It is possible to have the latest kernel in openSUSE. However, there are a few thing you...

Fixing desktop freezes on large copies

Now this may or may not be specific to openSUSE, but here it is anyway: I suffered from ...

KDE font settings

Fonts: 9 9 8 8 9 8 9 9 3,4 & 6

How to make the screen brightness keys work again in KDE

How to make button for screen brightness work on your laptop in KDE When I started using...

Snapper

Introduction This article assumes you will be using Snapper with the Btrfs filesystem. D...

Ansible

.vimrc tips and tricks

Snapper PvdM

Show configs: # snapper list-configs Create snapshot: # snapper -c home create --descrip...

Kde over ssh

$ export XDG_CURRENT_DESKTOP=kde $ dolphin

Change root's theme

$ pkexec env "DISPLAY=$DISPLAY" "XAUTHORITY=$XAUTHORITY" "QT_QPA_PLATFORMTHEME=kde" syst...

Upgrade using patch

Using patch A small patch file is usually made available for a minor version upgrade. Yo...

KDE apps look ugly and missing icons over ssh

Re: Qt5 apps look ugly over SSH X forwarding Sat May 06, 2017 8:10 am In the remote SSH...

Things to do after a fresh installation of OpenSUSE

This guide is a summary of the steps I take to customize a default installation of openS...

Updating OpenSUSE in-place using zypper dup

What Why When How If you want to upgrade your OpenSUSE while the system is running, you...

Repositories in openSUSE - The current state

# | Alias | Name | Enabled | Refresh | Priority | Type | URI ...

Software regelmatig te checken

ampache gallery mediawiki

Upgrading the system to a newer version using zypper dup

Warning: this procedure only works on openSUSE 11.1+ This procedure I have written is ba...