From cb64196a333a23534591904a2be96469acd6dd2e Mon Sep 17 00:00:00 2001 From: Michael Prokop Date: Sun, 23 Sep 2007 12:29:17 +0200 Subject: [PATCH] Add SysRq Keys, Memcheck/memtest --- debian/changelog | 6 ++++-- grml_tips | 39 ++++++++++++++++++++++++++++++++++++++- 2 files changed, 42 insertions(+), 3 deletions(-) diff --git a/debian/changelog b/debian/changelog index d794d3f..0bb6aac 100644 --- a/debian/changelog +++ b/debian/changelog @@ -4,8 +4,10 @@ grml-tips (0.4.6) unstable; urgency=low - Create netboot package for grml-terminalserver - Rotate pictures - Calculate network / netmask - - Blacklist tip. - - Create Debian package of perl module. + - Blacklist tip + - Create Debian package of perl module + - SysRq Keys + - Memcheck/memtest -- Michael Prokop Sat, 18 Aug 2007 23:48:05 +0200 diff --git a/grml_tips b/grml_tips index d497654..225862e 100644 --- a/grml_tips +++ b/grml_tips @@ -657,7 +657,7 @@ to get a list of all supported trees -- Transfer your SSH public key to another host: -% ssh-keygen # if you don't have a key yet +% ssh-keygen # ssh-keygen / ssh-key-gen: if you don't have a key yet [...] % ssh-copy-id -i ~/.ssh/id_rsa.pub user@remote-system or @@ -2847,6 +2847,12 @@ Create netboot package for grml-terminalserver: # sh /usr/share/doc/grml-terminalserver/examples/create-netboot -- +To boot grml via network (PXE) check out grml-terminalserver: + +# grml-terminalserver + +See http://grml.org/terminalserver/ for more details. +-- Rotate pictures: Using the 'Orientation' tag of the Exif header, rotate @@ -2893,3 +2899,34 @@ Create a Debian package of a perl module: % dh-make-perl --cpan Acme::Smirch --build -- +The Magic SysRq Keys (SysReq or Sys Req, short for System Request): + +To reboot your system using the SysRq keys just hold down the Alt and +SysRq (Print Screen) key while pressing the keys REISUB ("Raising +Elephants Is So Utterly Boring"). + +R = take the keyboard out of raw mode +E = terminates all processes (except init) +I = kills all processes (except init) +S = synchronizes the disk(s) +U = remounts all filesystems read-only +B = reboot the system + +Notice: use O instead of B for poweroff. + +Or write the sequence to /proc/sysrq-trigger instead: + +# for i in r e i s u b ; do echo $i > /proc/sysrq-trigger ; done + +To enable or disable SysRq calls: + +# echo 0 > /proc/sys/kernel/sysrq +# echo 1 > /proc/sys/kernel/sysrq + +See http://en.wikipedia.org/wiki/Magic_SysRq_key for more details. +-- +Memtest / memcheck: + +Just boot your grml Live-CD with "memtest" to execute a memcheck/memtest +with Memtest86+. +-- -- 2.1.4