Added some further tips
authorMichael Prokop <mika@grml.org>
Sat, 9 Feb 2008 16:22:26 +0000 (17:22 +0100)
committerMichael Prokop <mika@grml.org>
Sat, 9 Feb 2008 16:22:26 +0000 (17:22 +0100)
debian/changelog
grml_tips

index 50c5c64..3be4850 100644 (file)
@@ -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 <gebi@grml.org>  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 <mika@grml.org>  Sat, 09 Feb 2008 17:21:28 +0100
 
 grml-tips (0.4.8) unstable; urgency=low
 
index 4957e8b..4fa5263 100644 (file)
--- 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)
+--