X-Git-Url: http://git.grml.org/?a=blobdiff_plain;f=grml_tips;h=cdb37e80961645dafefea7f9e0e942bffe35ffe7;hb=3afdc13d424d74183874631841ca0d5f949158a7;hp=5cce08e8f86961d0e8ab77fed35278894049c380;hpb=540a674d23e4a8ea690f2f8bc12a525fa52961c8;p=grml-tips.git diff --git a/grml_tips b/grml_tips index 5cce08e..cdb37e8 100644 --- a/grml_tips +++ b/grml_tips @@ -2719,7 +2719,7 @@ Enable shadow passwords: # shadowconfig on -- -Set up an IPv6 tunneln on grml: +Set up an IPv6 tunnel on grml: # ipv6-tunnel start -- @@ -3057,3 +3057,54 @@ umount -l /cdrom eject /dev/cdrom echo b > /proc/sysrq-trigger -- +Show what happens on /dev/sda0: + +# mount the debugfs to relay kernel info to userspace +mount -t debugfs none /sys/kernel/debug + +# is a convenient wrapper arround blktrace and blkparse +btrace /dev/sda0 +-- +Convert Flash to Avi: + +% ffmpeg -i input.flv output.avi +-- +Usage example for cryptsetup / -luks encrypted partition on LVM: + +volume group name: x61 +logical volume name: home + +echo "grml-crypt_home /dev/mapper/x61-home none luks" >> /etc/crypttab +Start cryptdisks +mount /dev/mapper/grml-crypt_home /mnt/test +-- +fdisk/parted/... complains with something like +'unable to open /dev/sda - unrecognised disk label'?! + +See http://grml.org/faq/#fdisk => + +* use /sbin/fdisk.distrib from util-linux +* switch to sfdisk, cfdisk,... +* use parted's mklabel command (but please read the + parted manual before executing this command) +-- +dmraid - support for SW-RAID / FakeRAID controllers +like Highpoint HPT and Promise FastTrack + +Activate all software RAID sets discovered: +# dmraid -ay + +Deactivates all active software RAID sets: +# dmraid -an + +Discover all software RAID devices supported on the system: +# dmraid -r +-- +Extract winmail.dat: + +List content: +% ytnef winmail.dat + +Extract files to current directory: +% ytnef -f . winmail.dat +--