X-Git-Url: https://git.grml.org/?a=blobdiff_plain;f=grml_tips;h=4fa526361d41e0573e0c2fbaf905600fa4fb113c;hb=29e0710307bf2717859cd61f3f315eae87f56d0f;hp=5cce08e8f86961d0e8ab77fed35278894049c380;hpb=540a674d23e4a8ea690f2f8bc12a525fa52961c8;p=grml-tips.git diff --git a/grml_tips b/grml_tips index 5cce08e..4fa5263 100644 --- a/grml_tips +++ b/grml_tips @@ -3057,3 +3057,34 @@ 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) +--