Showing posts with label debian. Show all posts
Showing posts with label debian. Show all posts

26 May 2011

Encrypted partition in Ubuntu/Debian/Linux

Setup and encrypted partition in Linux(Debian/Ubuntu and variant) is quite easy.

Please follow the  below steps.

I have physical partition sda1 available.

Step 1: Install cryptsetup
,----
| sudo apt-get install cryptsetup
`----

Step 2: Set up encryption on the partition
,----
| sudo cryptsetup luksFormat /dev/sda1
|
| WARNING!
| ========
| This will overwrite data on /dev/sda1 irrevocably.
| Are you sure?
| (Type uppercase yes): YES
| Enter LUKS passphrase:
| Verify passphrase:
| Command successful
`----

Step 3: Open the mount the device
,----
| sudo cryptsetup luksOpen /dev/sda1 crypt_disk
| Enter LUKS passphrase:
| Command successful.
`----

Step 4: Create the file system( I am creating ext4)
,----
| mkfs.ext4 /dev/mapper/crypt_disk
`----

Step 5: Add entry to /etc/crypttab
,----
| crypt_disk /dev/sda1 luks
`----

Step 6: Create mount point for automate the process in future
 and add entry to /etc/fstab
,----
| mkdir /mnt/crypt
| /dev/mapper/crypt_disk /mnt/crypt ext4 defaults 0 2
`----

12 February 2011

Blogging from Emacs.

Working with emacs is always fun, starting from programming to mail to web to irc etc. I have learned new thing that you can update the google blog from emacs using e-blog library.
For setting up you need to have e-blog, curl and ofcource emacs. Here is the setup
1) Download e-blog from http://code.google.com/p/e-blog/
2) Untar it to any directory. For example .emacs.d
open emacs to edit .emacs file and add the path
(load "~/.emacs.d/e-blog/e-blog.el")
Load the file or restart emacs. Use Alt+x and type e-blog-new-post to start posting. Have fun, Happy emacs, Happy Hacking :)

09 February 2011

First post from emacs.

This is my first post from emacs to blog directly. No need to open browser, just use emacsclient and run e-blog.
How to use e-blog in emacs, will update you in next post.
-- Happy Hacking.

12 October 2010

Debian Developer


I am very much happy to announce that today I became an official part of  Debian GNU/Linux  project , One of the most stable and respectable project in the World.  YES let me say aloud that I became an Official Debian Developer. 

This success will test me bitter if I forget to take those names, without their supports and motivations I wouldn’t have reached.
Thanks to Gunnar Wolf  my advocate, Ramki who signed my  key first, pkg-ruby’s buddies Duck, Lucas, Daigo, Mozillion, pkg-python buddies Luca Falavigna, Arnaud Fontaine, my AM Christoph Berg (Myon) and Steffen Joeris, great FD team Enrico , Indian team  Giri, Ritesh and Kartik  last but not the least my wife who gave me enough time to work with Debian.

Thanks a lot.