<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:dc="http://purl.org/dc/elements/1.1/" version="2.0"><channel><atom:link rel="hub" href="http://tumblr.superfeedr.com/" xmlns:atom="http://www.w3.org/2005/Atom"/><description>when you are curious, you find lots of things to do.</description><title>Just for fun :)</title><generator>Tumblr (3.0; @nitheeshkl)</generator><link>http://nitheeshkl.tumblr.com/</link><item><title>Which Linux ?</title><description>&lt;p&gt;&amp;#8230;being a linux user I&amp;#8217;ve tried out various linux distros, trying to find the one that suits me the best.&lt;/p&gt;
&lt;p&gt;Each of them are wonderful in their own way. Many of the distros are made for a specific set of users. Some aim at security, some at being small and off course some to replace windows :)&lt;/p&gt;
&lt;p&gt; But none of them seem to satisfy me. Some distros provide wonderful UI and customization but hog a lot of memory. Few of them are very fast and small but does not provide a good GUI. Most of the time, there are so many unwanted features that I hardly use.&lt;/p&gt;
&lt;p&gt;So I decided that I&amp;#8217;l build my own based on my requirements. In the beginning I thought of using &amp;#8216;Arch&amp;#8217; as it comes with a plane and simple base system upon which I can add my required modules. Moreover since &amp;#8216;Arch&amp;#8217; is based on rolling release, the fact I would not have to frequently upgrade to newer stable versions was comforting.&lt;/p&gt;
&lt;p&gt;Then I came across this project call &amp;#8216;linux from scratch&amp;#8217;(LFS). I&amp;#8217;m glad I found that project. LFS provides step-by-step instruction to build a custom linux from source code. I couldn&amp;#8217;t ask for more. This is the next best thing to writing my own OS.&lt;/p&gt;
&lt;p&gt;LFS lets me create a basic system. similarly there are other xLFS, that lets you to continue on the base system to create more advanced and customized systems .&lt;/p&gt;
&lt;p&gt;So, if there are others out there who also want a customized linux, then  &lt;a href="http://www.linuxfromscratch.org/"&gt;&lt;a href="http://www.linuxfromscratch.org/"&gt;http://www.linuxfromscratch.org/&lt;/a&gt;&lt;/a&gt; should be your first step. &lt;/p&gt;</description><link>http://nitheeshkl.tumblr.com/post/6217245763</link><guid>http://nitheeshkl.tumblr.com/post/6217245763</guid><pubDate>Sun, 05 Jun 2011 13:12:24 -0400</pubDate></item><item><title>saving grub from windows</title><description>&lt;p&gt;lost your grub after installing windows? here is a simple way of getting it back.&lt;/p&gt;
&lt;p&gt;[note: assuming windows being installed on top of ubuntu(using grub2) ]&lt;/p&gt;
&lt;p&gt;1: boot from a live cd and open a terminal&lt;/p&gt;
&lt;p&gt;2: sudo fdisk -l&lt;/p&gt;
&lt;p&gt;&lt;span&gt; &lt;/span&gt;this will show the partitioin table. Here is my partition table&lt;/p&gt;
&lt;p&gt;&lt;span&gt; &lt;/span&gt;Device Boot &lt;span&gt; &lt;/span&gt;   Start         End              Blocks    Id  System&lt;/p&gt;
&lt;p&gt;&lt;span&gt; &lt;/span&gt;/dev/sda1                   63        771119      385528+   de  Dell Utility&lt;/p&gt;
&lt;p&gt;&lt;span&gt; &lt;/span&gt;/dev/sda2   *        772096   105629695    52428800   83  Linux&lt;/p&gt;
&lt;p&gt;&lt;span&gt; &lt;/span&gt;/dev/sda4       105631722   625141759   259755019    f   W95 Ext&amp;#8217;d (LBA)&lt;/p&gt;
&lt;p&gt;&lt;span&gt; &lt;/span&gt;/dev/sda5       105631744   315355949   104862103    7  HPFS/NTFS&lt;/p&gt;
&lt;p&gt;&lt;span&gt; &lt;/span&gt;/dev/sda6       315356013   561134384   122889186    7  HPFS/NTFS&lt;/p&gt;
&lt;p&gt;&lt;span&gt; &lt;/span&gt;/dev/sda7       621142016   625141759      1999872   82   Linux swap / Solaris&lt;/p&gt;
&lt;p&gt;&lt;span&gt; &lt;/span&gt;/dev/sda8       561134448   621137159    30001356    83   Linux&lt;/p&gt;
&lt;p&gt;3: mount the linux partition on which you want install the grub (sda8 in my case)&lt;/p&gt;
&lt;p&gt;&lt;span&gt; &lt;/span&gt;$sudo mount /dev/sda8 /mnt/&lt;/p&gt;
&lt;p&gt;&lt;span&gt; &lt;/span&gt;$sudo mount &amp;#8212;bind /dev /mnt/dev&lt;/p&gt;
&lt;p&gt;&lt;span&gt; &lt;/span&gt;$sudo mount &amp;#8212;bind /pro&lt;span&gt;c &lt;/span&gt;/mnt/proc&lt;/p&gt;
&lt;p&gt;4: Now chroot into this environment&lt;/p&gt;
&lt;p&gt;&lt;span&gt; &lt;/span&gt;sudo chroot /mnt&lt;/p&gt;
&lt;p&gt;[optional]if you want to change any default setting like timeout optiions&amp;#8230; then look at /etc/default/grub&lt;/p&gt;
&lt;p&gt;5: #grub-install /dev/sda&lt;/p&gt;
&lt;p&gt;[ in case of error do #grub-install &amp;#8212;recheck /dev/sda ]&lt;/p&gt;
&lt;p&gt;6: now unmount and reboot the system.&lt;/p&gt;
&lt;p&gt;&lt;span&gt; &lt;/span&gt;#exit&lt;/p&gt;
&lt;p&gt;&lt;span&gt; &lt;/span&gt;$sudo umount /mnt/dev &lt;/p&gt;
&lt;p&gt;&lt;span&gt; &lt;/span&gt;$sudo umount /mnt/proc&lt;/p&gt;
&lt;p&gt;&lt;span&gt; &lt;/span&gt;$sudo umount /mnt&lt;/p&gt;
&lt;p&gt;&lt;span&gt; &lt;/span&gt;$sudo reboot&lt;/p&gt;</description><link>http://nitheeshkl.tumblr.com/post/5860417938</link><guid>http://nitheeshkl.tumblr.com/post/5860417938</guid><pubDate>Thu, 26 May 2011 04:04:00 -0400</pubDate></item><item><title>simple cmd line power management.</title><description>&lt;p&gt;I am a cmd line user, so i spend most of my time on the terminal and its really painful to use the gui for some of the common things. Power management is one such case.&lt;/p&gt;
&lt;p&gt;Just to put the system to sleep i&amp;#8217;ve to go to the menu and then select, suspend. Same for hibernate, or to put the battery to power save mode.&lt;/p&gt;
&lt;p&gt;So here is the simple way to do the same tasks from the cmd line.&lt;/p&gt;
&lt;p&gt;pm&amp;#160;: power management. check out the man pages for its various options.&lt;/p&gt;
&lt;p&gt;pm-suspend&amp;#160;: suspend/sleep the system&lt;/p&gt;
&lt;p&gt;pm-hibernate&amp;#160;: hibernate the system&lt;/p&gt;
&lt;p&gt;pm-powersave&amp;#160;: set the battery to power save mode&lt;/p&gt;
&lt;p&gt;using these commands are way more simpler than using the gui :) [provided you are cmdline user]&lt;/p&gt;</description><link>http://nitheeshkl.tumblr.com/post/5796212111</link><guid>http://nitheeshkl.tumblr.com/post/5796212111</guid><pubDate>Tue, 24 May 2011 04:50:30 -0400</pubDate></item><item><title>Restoring Grub entries...</title><description>&lt;p&gt;If you&amp;#8217;ve lost your grub entries after installing a new os, here&amp;#8217;s a simple way of adding it back to your grub.Lets take the common situation where fedora has been installed along side ubuntu.In this case, the grub which you&amp;#8217;l see is that of fedora, so you&amp;#8217;l have to add the ubuntu entry into fedora&amp;#8217;s grub.&lt;br/&gt;first, boot into fedora and open the file &amp;#8216;/boot/grub/menu.lst&amp;#8217;.This is the file that has the entries which are visible when the grub is loaded.&lt;br/&gt;Amongst other things, the file would have a few statements that would look like&lt;/p&gt;
&lt;p&gt;####################################&lt;/p&gt;
&lt;p&gt;title Fedora (2.6.35.12-90.fc14.i686.PAE)&lt;/p&gt;
&lt;p&gt;      root (hd0, 1)&lt;/p&gt;
&lt;p&gt;      kernel /boot/vmlinuz-2.6.35.12-90.fc14.i686.PAE ro root=UUID=912d5b84-5c9c-4NO_LVM rd_NO_MD rd_NO_DM LANG=en_US.UTF-8 SYSFONT=latarcyrheb-sun16 KEYTABLE=us rhgb&lt;/p&gt;
&lt;p&gt;        initrd /boot/initramfs-2.6.35.12-90.fc14.i686.PAE.img&lt;/p&gt;
&lt;p&gt;###################################&lt;/p&gt;
&lt;p&gt;these four lines are responsible for your grub to show the title &amp;#8216;fedora&amp;#8230;&amp;#8217; on the grub menu and boot it. To be short, the first line denotes the name to be displayed in the grub menu.The second line provides the hard disk and partiion (in which that particular os is existing) to be set as the root in the path. The third line is the full path to the kernel image of that os and the arguments that have to be passed for booting and the fourth line is the path to the initrd image&lt;/p&gt;
&lt;p&gt;&lt;br/&gt;so if you want to add ubuntu(or any other) to the grub menu, all you have to do is to provide these parameters in the fedora&amp;#8217;s menu.lst file.These parameters will already be present in ubuntu(or any other) grub file.&lt;/p&gt;
&lt;p&gt;mount your ubuntu partition and open the grub menu file(/boot/grub/menu.lst or grub.cfg).If the other os uses grub2 then you&amp;#8217;l have to use grub.cfg instead of menu.lst&lt;br/&gt;Since ubuntu is now shipped with grub2, grub.cfg will have entries similar to&lt;/p&gt;
&lt;p&gt;###################################&lt;/p&gt;
&lt;p&gt;menuentry &amp;#8216;Ubuntu,  with Linux 2.6.32-28-generic&amp;#8217; &amp;#8212;class ubuntu &amp;#8212;class gnu-linux &amp;#8212;class gnu &amp;#8212;class os{&lt;/p&gt;
&lt;p&gt;          recordfail&lt;/p&gt;
&lt;p&gt;          insmod ext2&lt;/p&gt;
&lt;p&gt;          set root=&amp;#8217;(hd0, 8)&amp;#8217;&lt;/p&gt;
&lt;p&gt;          search &amp;#8212;no-floppy &amp;#8212;fs-uuid &amp;#8212;set f18af736-8d79-43e5-815e-0033f9c31ffe&lt;/p&gt;
&lt;p&gt;          linux   /boot/vmlinuz-2.6.32-28-generic root=UUID=f18af736-8d79-43e5-815e-0033f9c31ffe ro   crashkernel=384M-2G:64M, 2G-:128M quiet splash&lt;/p&gt;
&lt;p&gt;          initrd  /boot/initrd.img-2.6.32-28-generic&lt;/p&gt;
&lt;p&gt;}&lt;/p&gt;
&lt;p&gt;###################################&lt;/p&gt;
&lt;p&gt;it has a differnt format, but contains the same information&lt;/p&gt;
&lt;p&gt;1st line is the title&lt;/p&gt;
&lt;p&gt;in the 4th line (hd0, 8) is the harddisk and the partition in that hard disk where the os is existing&lt;/p&gt;
&lt;p&gt;6th line is the path to that os&amp;#8217;s kernel and its boot options7th line is the path to the initrd image of that os&lt;/p&gt;
&lt;p&gt;so all you&amp;#8217;ve to do now is to add these entries into fedora&amp;#8217;s menu.lst fileIn our case, the new entry in the menu.lst file would be&lt;/p&gt;
&lt;p&gt;###################################&lt;/p&gt;
&lt;p&gt;title ubuntu&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&lt;/span&gt;      root (hd0, 7)&lt;span&gt; &lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&lt;/span&gt;      kernel /boot/vmlinuz-2.6.32-28-generic root=UUID=f18af736-8d79-43e5-815e-0033f9c31ffe ro  crashkernel=384M-2G:64M, 2G-:128M quiet splash&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&lt;/span&gt;      initrd  /boot/initrd.img-2.6.32-28-generic&lt;/p&gt;
&lt;p&gt;###################################&lt;/p&gt;
&lt;p&gt;Note: in grub.cfg the partition was 8, but we use 7 in menu.lst because for this version of grub the partition number starts from 0&lt;/p&gt;
&lt;p&gt;Now save the file and reboot. You&amp;#8217;l have this new option in the grub menu&lt;/p&gt;</description><link>http://nitheeshkl.tumblr.com/post/5738524878</link><guid>http://nitheeshkl.tumblr.com/post/5738524878</guid><pubDate>Sun, 22 May 2011 14:16:00 -0400</pubDate></item><item><title>" We cannot obtain anything without first giving something in return. To obtain,  something of equal..."</title><description>“” We cannot obtain anything without first giving something in return. To obtain,  something of equal value must be lost. “”</description><link>http://nitheeshkl.tumblr.com/post/5609795418</link><guid>http://nitheeshkl.tumblr.com/post/5609795418</guid><pubDate>Wed, 18 May 2011 13:02:13 -0400</pubDate></item><item><title>my linuxbox looks…</title><description>&lt;img src="http://24.media.tumblr.com/tumblr_lleh5uXNLP1qkn9k7o1_500.jpg"/&gt;&lt;br/&gt; &lt;br/&gt;&lt;img src="http://24.media.tumblr.com/tumblr_lleh5uXNLP1qkn9k7o2_500.png"/&gt;&lt;br/&gt; &lt;br/&gt;&lt;img src="http://24.media.tumblr.com/tumblr_lleh5uXNLP1qkn9k7o3_500.png"/&gt;&lt;br/&gt; &lt;br/&gt;&lt;img src="http://24.media.tumblr.com/tumblr_lleh5uXNLP1qkn9k7o4_500.png"/&gt;&lt;br/&gt; &lt;br/&gt;&lt;img src="http://25.media.tumblr.com/tumblr_lleh5uXNLP1qkn9k7o5_500.png"/&gt;&lt;br/&gt; &lt;br/&gt;&lt;img src="http://25.media.tumblr.com/tumblr_lleh5uXNLP1qkn9k7o6_500.png"/&gt;&lt;br/&gt; &lt;br/&gt;&lt;img src="http://25.media.tumblr.com/tumblr_lleh5uXNLP1qkn9k7o7_500.jpg"/&gt;&lt;br/&gt; &lt;br/&gt;&lt;p&gt;my linuxbox looks…&lt;/p&gt;</description><link>http://nitheeshkl.tumblr.com/post/5609416603</link><guid>http://nitheeshkl.tumblr.com/post/5609416603</guid><pubDate>Wed, 18 May 2011 12:44:18 -0400</pubDate></item><item><title>"Everything should be made as simple as possible, but not simpler. ” - Einstein"</title><description>““Everything should be made as simple as possible, but not simpler. ” - Einstein”</description><link>http://nitheeshkl.tumblr.com/post/5551622605</link><guid>http://nitheeshkl.tumblr.com/post/5551622605</guid><pubDate>Mon, 16 May 2011 15:50:00 -0400</pubDate></item></channel></rss>
