From 4c8e7332cd1a7b92a85de64d90273ad5845821df Mon Sep 17 00:00:00 2001 From: Michael Prokop Date: Sat, 9 Feb 2008 17:22:26 +0100 Subject: [PATCH] Added some further tips --- debian/changelog | 11 +++++++++-- grml_tips | 23 +++++++++++++++++++++++ 2 files changed, 32 insertions(+), 2 deletions(-) diff --git a/debian/changelog b/debian/changelog index 50c5c64..3be4850 100644 --- a/debian/changelog +++ b/debian/changelog @@ -1,9 +1,16 @@ grml-tips (0.4.9) unstable; urgency=low - * Added tip(s): + [ Michael Gebetsroither ] + * Added tip: - Show what happens on /dev/sda0 - -- Michael Gebetsroither Fri, 16 Nov 2007 11:53:55 +0100 + [ Michael Prokop ] + * Added tips: + - Convert Flash to Avi + - Tip regarding the "unrecognised disk label" problem of fdisk + - Usage example for cryptsetup / -luks encrypted partition on LVM + + -- Michael Prokop Sat, 09 Feb 2008 17:21:28 +0100 grml-tips (0.4.8) unstable; urgency=low diff --git a/grml_tips b/grml_tips index 4957e8b..4fa5263 100644 --- a/grml_tips +++ b/grml_tips @@ -3065,3 +3065,26 @@ 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) +-- -- 2.1.4