X-Git-Url: https://git.grml.org/?a=blobdiff_plain;f=grml_tips;h=23472a2455695b0f9dbefd6a626ce24ff670ba68;hb=de11fe4037e537203500f36c3845441653d41186;hp=4957e8b61411db08e230bcf2f24d7bcf9a5121da;hpb=a47c53ab7e201864c4605343a2ab24a32521c6a9;p=grml-tips.git diff --git a/grml_tips b/grml_tips index 4957e8b..23472a2 100644 --- a/grml_tips +++ b/grml_tips @@ -3065,3 +3065,42 @@ 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: + +% ytnef winmail.dat +--