<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>TuxCrux &#187; Installation</title>
	<atom:link href="http://tuxcrux.com/category/installation/feed/" rel="self" type="application/rss+xml" />
	<link>http://tuxcrux.com</link>
	<description></description>
	<lastBuildDate>Tue, 06 Dec 2011 10:37:15 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0.1</generator>
		<item>
		<title>MUTT- The MUA you can play with!</title>
		<link>http://tuxcrux.com/mutt-the-mua-you-can-play-with-3/</link>
		<comments>http://tuxcrux.com/mutt-the-mua-you-can-play-with-3/#comments</comments>
		<pubDate>Sun, 27 Mar 2011 03:10:03 +0000</pubDate>
		<dc:creator>TuxCrux Admin</dc:creator>
				<category><![CDATA[Basics]]></category>
		<category><![CDATA[Installation]]></category>
		<category><![CDATA[Softwares]]></category>

		<guid isPermaLink="false">http://tuxcrux.com/?p=157</guid>
		<description><![CDATA[Many of you must be knowing about it, would have been using it and the people who have used this  they know how addictive and whimsical, this thing is. For those who haven&#8217;t listened about it or just have listened someone just mumbling about it, I have created this piece of manual or rather say [...]]]></description>
			<content:encoded><![CDATA[<p>Many of you must be knowing about it, would have been using it and the people who have used this  they know how addictive and whimsical, this thing is. For those who haven&#8217;t listened about it or just have listened someone just mumbling about it, I have created this piece of manual or rather say learn-play sheet for you. If you like to learn and play in Linux and haven’t yet played with MUTT, this is for you.</p>
<p>Before all that fun and learn I want to explain the concept of mail and general email-flow concept.</p>
<p><strong>What is MUTT?</strong></p>
<p>We  all know various mail services and we are using them like our organ.  Now can’t live without them literally. That is why we are extending them to our life. That is the reason Blackberry got famous because of their exclusive mail service blended in it; more providers came into play, they also tried to extend it to mobiles not exactly like Blackberry but in their own ways. Now every smart phone has Mail app. Mails are  an essential component of our life now.  Most prominent of them  Gmail/Yahoo/Hotmail etc are all available across  the  cloud.</p>
<p>Now when we say mailclient, they are the  one which organize  those  mails and let you arrange /store  and read them according to your own preferences. You use them, some  of the popular ones  are: <em>Mozilla Thunderbird</em>, <em>Microsoft office Outlook</em> and <em>Outlook</em> <em>Express</em> and the  one which is topic of this  article  MUTT.  So now it is clear that mutt is an email client or what we say MUA(Mail User Agent).</p>
<p>These are following protocols used for mail  purpose:</p>
<ul>
<li>IMAP4(Most recent one in the list)</li>
<li>SMTP</li>
<li>POP3</li>
<li>HTTP</li>
</ul>
<p>IMAP4 replaced POP3 in business. IMAP4 is better/faster/lighter and more proper than POP3 so it got over POP3 in maximum mail services. IMPA4 and POP3 is for incoming. Ports defined for IMAP4 is 993, where it is  995 for POP3. SMTP is used for outgoing and port for it is 465. HTTP is not only dedicated to email services but it is used for accessing mailboxes. Secured version is used, so port is 443.<br />
<span id="more-157"></span><br />
<strong>MAIL Components Explained:</strong></p>
<p>MUA,MTA, MDA and MRA are involved in a ideal mailflow process. Now what are they I just give them here a brief intro and explain them by the process of email flow.</p>
<p><strong>MUA(Mail User Agent):</strong> It is the client program in which the user sends and receives mail. It may use scripts to complete its actions. It can be highly configurable like we do have MUTT. For instance for explaining one can configure text editors or word processors of its own choice for writing the email. Various other Linux MUAs are <em>kmail</em>, <em>evolution</em>, <em>sylpheed</em>, <em>mulberry</em>, <em>pegasus</em>, <em>pine</em> and <em>elm</em>.</p>
<p><strong>MTA(Mail Transfer Agent):</strong> They are the one which receive envelopes from MUA and send, receive and route them accordingly. MTA don&#8217;t read headers they just see if the envelopes can be delivered to mailboxes. MTAs are vital components they don&#8217;t just send it ahead. But they decide whether emails are valid and can be moved ahead or not, if it contains error mail is sent back to user. It also acts SPAM FILTER for mail services. MTAs test the emails against a certain blacklist which they have. So they are not just transfer agent, they are smart agent. MTA uses SMTP for talking. Some of the popular MTAs for the job are <em>sendmail</em>, <em>qmail</em>, <em>exim</em> and <em>postfix</em>.</p>
<p><strong>MDA(Mail Delivery Agent):</strong> They take mail from MTA and do the actual delivery plus filtering which may actually include many functions like virus detection, sorting and automatic answering.</p>
<p><em>Maildrop</em> and procmail are MDAs.</p>
<p><strong>MRA(Mail Retrieval Agent):</strong> MDA transfer mail to Mailbox. MRA fetch them from mailbox and then delivers to MUA. Some of them are <em>fetchmail</em>, <em>getmail</em> and <em>retchmail</em>.</p>
<p>Now I chain up them in a flow how they act in a mailflow process:</p>
<div class="wp-caption alignright" style="width: 462px"><a href="http://tuxcrux.com/wp-content/uploads/2011/03/DIAGR1.jpg"><img style="border: 0pt none;" src="http://tuxcrux.com/wp-content/uploads/2011/03/DIAGR1.jpg" border="0" alt="" width="452" height="258" /></a><p class="wp-caption-text">Mailflow Process</p></div>
<p>Email starts form a user who write it at MUA. MUA provides various  options  through programs and scripts. It may also contain security and encryption options . The finished mail in form of Envelope  transfers to MTA.  MTA receives  envelope and irrespective of message inside validates it. If message is proper, routes it ahead in internet cloud and if it is invalid, then it is reflected back to user with error message. Mail is checked against <em>SPAM blacklist</em> and validated and is forwarded to MTA. Please note if it is special mail service or dedicated mail service MUA can directly send it to receiving MTA <em>bypassing</em> internet. MTAs uses SMTP.</p>
<p>MDA receives mail from MTA and they do filtering process which include sorting according to various parameters and <em>virus protection</em> or may include <em>auto-answering</em> options. MDA delivers them to mailboxes. Then MRA fetches these mails from mailboxes using IMAP4 or POP3 and transfers them to MUA.</p>
<p>Now coming over to our very own MUTT, we know MUTT is MUA. It uses sendmail as MTA in our case.</p>
<p>Some of the key features of MUTT which makes it special are:</p>
<ul>
<li>Its  own configurable color setting. For messages, mailboxes and all.</li>
<li>MIME support / PGP Support(Encryption/Signature)</li>
<li>Support for multiple mailbox formats</li>
<li>Keybindings and macros( They are superb. Easily they are one of the best feature of MUTT. You say the action and give and do any key binding for it.)</li>
<li>Searches using regular expressions, including an internal pattern matching language</li>
<li>It has .****rc configuration files for various setups of it, which are easy to edit and maintain.</li>
</ul>
<p>Despite of them all it have all other regular features.</p>
<p>MUTT is text based because its developers think this is where it should be because if it is terminal based , it makes it more powerful.</p>
<p>I used MUTT version <em>1.4.2.3</em> which with sendmail as its MTA on my Ubuntu 10.10. As common user like me, you do not use our own domain services and our own mailboxes like those organizations where MUTT is highly used. I tried to configure my Gmail accounts to play with MUTT. Yes you may also configure any mail accounts using SMTP and IMAP protocols. For this you may refer MUTT manuals.</p>
<p><em>Installing MUTT is stunningly easy</em>.</p>
<p>On Debians(For others too you may find tutorials) just write:</p>
<p><strong>#&gt; apt-get install mutt</strong></p>
<p>Reading package lists&#8230; Done</p>
<p>&#8230;&#8230;&#8230;&#8230;&#8230;</p>
<p>&#8230;&#8230;&#8230;&#8230;&#8230;..</p>
<p>You may require the root login to install it and use it. It installs it in root directory. So if you want to access its files change to root directory after super user login where <strong>~</strong> indicates root home directory which is generally locked when accessing through GUI. Type:</p>
<p><strong>#&gt;cd ~</strong></p>
<p>Please remember that it creates a lot of hidden directories after installation starting with . In case you don&#8217;t know.</p>
<p>To see all directories and files you may see all of them by pressing:</p>
<p><strong>#&gt;ls –a</strong></p>
<p><strong> </strong></p>
<p>MUTT directory content look like one below:</p>
<div class="wp-caption aligncenter" style="width: 628px"><a href="http://tuxcrux.com/wp-content/uploads/2011/03/DIAGR2.png"><img style="border: 0pt none;" src="http://tuxcrux.com/wp-content/uploads/2011/03/DIAGR2.png" border="0" alt="" width="618" height="153" /></a><p class="wp-caption-text">MUTT directory content </p></div>
<p>The most basic configuration file for MUTT is called <em>.muttrc</em> where <strong>.</strong> signifies it as hidden file. It is one power script which controls whole MUTT configuration. You may open it with any editor you want and add/remove and manipulate the stuff.</p>
<p>You may prepare your .muttrc file by having look on to sample .muttrc files. To give a glance I show my .muttrc file here( I am afraid of it though)</p>
<div class="wp-caption alignright" style="width: 460px"><a href="http://tuxcrux.com/wp-content/uploads/2011/03/DIAGR3.png"><img style="border: 0pt none;" src="http://tuxcrux.com/wp-content/uploads/2011/03/DIAGR3.png" border="0" alt="" width="450" height="282" /></a><p class="wp-caption-text">.muttrc file </p></div>
<p>Please note that this is just a stub of .muttrc file. Whole content can&#8217;t be shown here.</p>
<p>To start MUTT you should have super user access or user with adequate privileges. Just type mutt from any space and it will be fire up.</p>
<p>Now configure your gmail account you may have to add following lines to your .muttrc file :</p>
<p><strong>set imap_user = &#8220;yourgmailid1@gmail.com&#8221;</strong></p>
<p><strong>set imap_pass = &#8220;&#8221;</strong></p>
<p><strong>set folder = &#8220;imaps://imap.gmail.com:993&#8243;</strong></p>
<p><strong>set spoolfile=&#8221;+INBOX&#8221;</strong></p>
<p><strong>set postponed=&#8221;+[Gmail]/Drafts&#8221;</strong></p>
<p><strong>set record=+[Gmail]/&#8221;Sent Mail&#8221;</strong><strong> </strong></p>
<p><strong>set from = &#8220;abc@abc.com&#8221;</strong></p>
<p><strong>set realname = &#8220;yourname&#8221;</strong></p>
<p><strong>set smtp_url = &#8220;smtp://gmailuserid2@smtp.gmail.com:587/&#8221;</strong></p>
<p><strong>set smtp_pass=&#8221;"</strong></p>
<p><strong>set from=&#8221;gmailuserid2@gmail.com&#8221;</strong></p>
<p><strong>set realname=&#8221;anythingyouwant&#8221;</strong></p>
<p><strong> </strong></p>
<p>Please note you may use multiple accounts for incoming and outgoing mails and use <em>Account-hook </em> for that. If you just write down the multiple IDs in suppose incoming mails automatically the later in the queue will be opened by MUTT. I have used different incoming and outgoing IDs in my configuration. Please note I have kept the password blank because of security reason. If you don&#8217;t enter the corresponding password here you will  be asked for it while you use it in MUTT.</p>
<p>Note that SMTP URL and IMAP URL are the corresponding address mailboxes of Google for incoming and outgoing.</p>
<p>But it’s not just that you want for activating Gmail in MUTT. You need various SSL security certificates for that. They can be added right from command line using apt-get just like other packages. Every time after initializing MUTT it installs these certificates and try to access the Gmail mailbox.</p>
<p>Following is the accessing a mailbox in progress</p>
<p style="text-align: center;"><img class="aligncenter" style="border: 0pt none;" src="http://tuxcrux.com/wp-content/uploads/2011/03/DIAGR4.png" border="0" alt="Tuxcrux-header" width="395" height="100" /></p>
<p><strong> </strong></p>
<p><em>Below figure shows some functions for which generic binding can be done. Above shows the above in figure shows some the keys which have been keybounded</em><em>.</em></p>
<div class="wp-caption alignright" style="width: 465px"><img style="border: 0pt none;" src="http://tuxcrux.com/wp-content/uploads/2011/03/DIAGR5.png" border="0" alt="" width="455" height="225" /><p class="wp-caption-text">Generic Binding </p></div>
<p><strong> </strong></p>
<p><em>Aliases can also be used in MUTT</em></p>
<p>An alias file needs to be created for the purpose where all the aliases are defined with their extensions. I use in this example <strong>s</strong> for <em>sariskka@gmail.com</em> which I have defined in my aliases file.</p>
<p>Aliases file format is like:</p>
<p><strong>alias b namby147@gmail.com</strong></p>
<p><strong>alias s sariskka@gmail.com</strong></p>
<p><strong>alias sa sanskriver@gmail.com</strong></p>
<p><strong> </strong></p>
<p>Following in figure was the sa alias which was auto filled with EmaiID later.</p>
<p><strong> </strong></p>
<p><strong> </strong></p>
<p style="text-align: center;"><img class="aligncenter" style="border: 0pt none;" src="http://tuxcrux.com/wp-content/uploads/2011/03/DIAGR6.png" border="0" alt="Tuxcrux-header" width="627" height="160" /></p>
<p>The source for alias file need to be defined in .muttrc like :</p>
<p><strong>set alias_file=~/.mutt/aliases</strong></p>
<p><strong>source ~/.mutt/aliases</strong></p>
<p><em>Install Abook for simpler alias setting</em>.</p>
<p>Just hit <em>Ctrl A</em> and if you have selected some mail it will let you to store alias for current email address. Or you can add more emails by accessing it through terminal. <em>Abook is best phonebook integration for MUTT.</em></p>
<p>Following is an alias making in progress of LFY editor Aditya:</p>
<p><em> </em></p>
<p style="text-align: center;"><img class="aligncenter" style="border: 0pt none;" src="http://tuxcrux.com/wp-content/uploads/2011/03/DIAGR10.png" border="0" alt="Tuxcrux-header" width="680" height="47" /></p>
<p>For integration of Abook you need to add following text in .muttrc file:</p>
<p><strong>set query_command=&#8221;abook &#8211;mutt-query &#8216;%s&#8217;&#8221;</strong></p>
<p><strong>macro index,pager A &#8220;abook &#8211;add-email&#8221; &#8220;add the sender address to abook&#8221;</strong></p>
<p><strong>macro generic,index,pager \ca &#8220;abook&#8221; &#8220;launch abook&#8221;</strong></p>
<p>We can use signatures in for which separate <em>.signature</em> file is needed.</p>
<p>Source for signature is defined like:</p>
<p><strong>set signature=&#8221;~/.signature&#8221;</strong></p>
<p>My signature looks like in light green in Gmail to which I have sent this mail. You may make it much beautiful than me.:</p>
<div class="wp-caption alignleft" style="width: 179px"><img style="border: 0pt none;" src="http://tuxcrux.com/wp-content/uploads/2011/03/DIAGR7.png" border="0" alt="" width="169" height="156" /><p class="wp-caption-text">Signature</p></div>
<p><strong> </strong></p>
<p><em>Please note that editor for writing mail is Nano. You may use any other editor for the purpose for this you just have to set another editor in .muttrc file like:</em></p>
<p><strong> set editor=&#8221;emacs -nw&#8221;</strong></p>
<p><em>Any file can be attached by simply attaching few options and giving path that too before even starting mutt.</em></p>
<p><strong>root@tuxxxy:~# mutt -s &#8220;HI&#8221; -a &#8220;/home/tuxxxy/Desktop/jkhk&#8221; </strong></p>
<p><strong>-s </strong> is for subject</p>
<p><strong>-a</strong> is for attachment file</p>
<p>Below in green is the attachment in mutt along with main message body attachment:</p>
<p style="text-align: center;"><img class="aligncenter" style="border: 0pt none;" src="http://tuxcrux.com/wp-content/uploads/2011/03/DIAGR8.png" border="0" alt="Tuxcrux-header" width="439" height="135" /></p>
<p><strong> </strong></p>
<p><em>Beside these they are million options to configure MUTT.</em></p>
<p><em> </em></p>
<p><em>Like below we can configure it supernumerary ways:</em></p>
<p><strong>set timeout=60  #Check for mail every minute</strong></p>
<p><strong>set mail_check=5</strong></p>
<p>That’s  why it is known as the one of the most flexible MUA ever. To switch between various mailboxes you need to just press <strong>y</strong>.</p>
<p><img class="alignright" style="border: 0pt none;" src="http://tuxcrux.com/wp-content/uploads/2011/03/DIAGR11.png" border="0" alt="Tuxcrux-header" width="450" height="232" /></p>
<p>The security and encryption are one of the most important aspects in today&#8217;s time. Security is to prevent your emails from intruders. There are various security techniques like public key , and asymmetric keys and various other you must be knowing. But the strongest out of them is <strong>PGP</strong>.  PGP stands for <em>Pretty Good Privacy</em>. MUTT supports PGP for its mail services. I have used GPG here which is GnuPG.</p>
<p>Following is the  key making in progress:</p>
<div class="wp-caption aligncenter" style="width: 460px"><a href="http://tuxcrux.com/wp-content/uploads/2011/03/DIAGR9.jpg"><img style="border: 0pt none;" src="http://tuxcrux.com/wp-content/uploads/2011/03/DIAGR9.png" border="0" alt="" width="450" height="299" /></a><p class="wp-caption-text">Key making in progress</p></div>
<p>It is very hybrid  approach to secure your mails. It uses symmetric-key cryptography for speed, and public-key cryptography with a session key to ensure maximum performance.</p>
<p>While mailing at the last step just before sending just press <strong>p</strong> and and it asks you what do you want to mail to be encrypted or signature or both.</p>
<p>Please note signature is necessary for the reason because it ensures that your mail is not manipulated in-between. By decrypting the sent signature which is sent along mail file it can be decrypted to the date and email id attached to it. For that you have to use the signature file as input in format .<strong>asc</strong> or <strong>.sig</strong>.</p>
<p>As I show you the mail in which I used signature. Signature file comes along with mail in a file <em>signature.asc</em> which user can use to verify mail.</p>
<div class="wp-caption alignright" style="width: 462px"><img style="border: 0pt none;" src="http://tuxcrux.com/wp-content/uploads/2011/03/DIAGR12.png" border="0" alt="" width="452" height="305" /><p class="wp-caption-text">signature.asc </p></div>
<p>Similarly press <strong>E</strong> for encryption and you will be asked for the keyID which you had generated after entering your mail will be encrypted.</p>
<p>Use <strong>gpg  &#8211;list-keys</strong> to list your all of keys which you have made.</p>
<p>These were the few of things which you can do while playing with MUTT, but please note that this is not the end to possibilities for MUTT. MUTT gives you that much space to play that neither I can cover all of them here, nor I have learnt all of them. Try using it and you will explore yourself and you may share with us all so that we can also learn.</p>
<p>So give wings to your excellence and let them flutter in the sky of LINUX.</p>
]]></content:encoded>
			<wfw:commentRss>http://tuxcrux.com/mutt-the-mua-you-can-play-with-3/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Grab the GRUB 2!</title>
		<link>http://tuxcrux.com/grab-the-grub-2/</link>
		<comments>http://tuxcrux.com/grab-the-grub-2/#comments</comments>
		<pubDate>Sat, 27 Nov 2010 07:01:39 +0000</pubDate>
		<dc:creator>TuxCrux Admin</dc:creator>
				<category><![CDATA[Basics]]></category>
		<category><![CDATA[Installation]]></category>
		<category><![CDATA[Softwares]]></category>
		<category><![CDATA[Tweaking]]></category>

		<guid isPermaLink="false">http://tuxcrux.com/?p=138</guid>
		<description><![CDATA[GRUB stands for GRand Unified Bootloader, an open source release from GNU. This is what you get an interactive scene giving you pseudo programming language options in multiple lines. If you have Windows thing installed in your system you get a little relax after seeing Window something something. Bootloading is the term which reminds core [...]]]></description>
			<content:encoded><![CDATA[<p><strong>GRUB</strong> stands for <strong>GR</strong>and <strong>U</strong>nified <strong>B</strong>ootloader, an open source release from GNU.</p>
<div class="wp-caption alignright" style="width: 128px"><img style="border: 0pt none;" src="http://tuxcrux.com/wp-content/uploads/2010/11/post%201/7.png" border="0" alt="" width="118" height="152" /><p class="wp-caption-text">GRUB Logo</p></div>
<p>This is what you get an interactive scene giving you <em>pseudo programming</em> language options in multiple lines.  If you have Windows thing installed in your system you get a little relax after seeing Window something something.<br />
<em>Bootloading</em> is the term which reminds core OS classes if you are any how related to architecture of Operating System. Boot loading is like a lift board which tells you to which floor you want to get on. The people who have heard it for first time and are of confused and making pictures of your flashy boots in your mind, <em>Bootloader</em> ,also called a boot manager is term for a small program that places the operating system (OS) of a computer into memory. When a computer is powered-up or restarted, the basic input/output system (BIOS) performs some initial tests, and then transfers control to the Master Boot Record (MBR) where the bootloader resides. Bootloader is the door where you bell to enter into the system. It gives you complete list of OS that too with other advance options.<br />
The modern GRUB is called GRUB 2 and it is indeed GRUB version number 2 as there are a lot of things absent inside the new GRUB and other vital changes too.<span id="more-138"></span><br />
GRUB 2&#8242;s major improvements over the original GRUB include:</p>
<div class="wp-caption alignright" style="width: 420px"><img style="border: 0pt none;" src="http://tuxcrux.com/wp-content/uploads/2010/11/post%201/6.jpg" border="0" alt="" width="410" height="364" /><p class="wp-caption-text">GRUB 2 Config file.</p></div>
<ul>
<li> Scripting support including conditional statements and functions</li>
</ul>
<ul>
<li> Dynamic module loading</li>
</ul>
<ul>
<li> Rescue mode</li>
</ul>
<ul>
<li> Custom Menus</li>
</ul>
<ul>
<li>Graphical boot menu support and improved splash capability</li>
</ul>
<ul>
<li> Boot LiveCD ISO images directly from hard drive</li>
</ul>
<ul>
<li> New configuration file structure</li>
</ul>
<ul>
<li> Non-x86 platform support (such as PowerPC)</li>
</ul>
<ul>
<li> Universal support for UUIDs</li>
</ul>
<h5><em>(from: Ubuntu forums)</em></h5>
<p>Before stepping up one level  in the conversation let me tell you the concept of <em>chainloading</em>. Chainloading is skipping first default assigned kernel to boot and getting booted on present kernel.<br />
This is an useful technique in cases where Linux do not recognize the kernel and its boot data so what usually is done is that just partition corresponding to that kernel is named and <em>chainloder +n</em> is set where n is the nth kernel configuration after the first. This is generally done for making Windows and other proprietary OS as default boot option.<br />
Let me first introduce you with the some of the important of files that are critical for GRUB 2.<br />
<strong> /boot/grub/grub.cfg</strong><br />
This is like the file GRUB&#8217;s /boot/grub/menu.lst. This file contains the GRUB 2 menu information but unlike GRUB&#8217;s menu.lst the grub.cfg file is not meant to be edited.</p>
<p><strong>/etc/default/grub</strong><br />
This configuration file contains information formerly contained in the upper section of GRUB‘s menu.lst and items contained on the end of the kernel line. The entries in this file can be edited by a user with administrator (root) privileges and are incorporated into grub.cfg when it is updated. Specific configuration settings are detailed in the Configuring GRUB 2 later in this section.</p>
<p><strong>/etc/grub.d/</strong></p>
<div class="wp-caption alignright" style="width: 432px"><img style="border: 0pt none;" src="../wp-content/uploads/2010/11/post%201/2.jpg" border="0" alt="" width="422" height="314" /><p class="wp-caption-text">Changes to be done here</p></div>
<p>The files in this directory are read during execution of the update-grub command and their instructions are incorporated into /boot/grub/grub.cfg.<br />
GRUB2 has lesser editing options comparing to GRUB or we can say they have made changes making more complex.<br />
<em>/etc/default/grub</em> gives few basic options to change you configuration.<br />
Use<em> sudo gedit /etc/default/grub</em> for editing.<br />
Like you can change the order of booting.<br />
I have shown you to how to make Windows as default menu just by changing the parameter to 4 as it appears on 4th on menu list in figure.<br />
Further we can add another kernel entry  this is the format saying name and its partition location in format</p>
<blockquote><p><strong>hd(harddisk),nth partitionname and other generic root location.<br />
set root=(hdX,Y)<br />
linux /vmlinuz root=/dev/sdXY ro<br />
initrd /initrd.img<br />
boot</strong></p></blockquote>
<div class="wp-caption alignright" style="width: 438px"><img style="border: 0pt none;" src="http://tuxcrux.com/wp-content/uploads/2010/11/post%201/3.jpg" border="0" alt="" width="428" height="257" /><p class="wp-caption-text">GRUB 2 edit mode while booting.</p></div>
<p>GRUB menu at the booting time can be converted to command-line by pressing c and there are few grub commands which can be used right there. There are few commands which can be listed by using help command.<br />
<strong>ls</strong> lists defaults.</p>
<p>I will also explain the settings how to change the <strong>splashimage</strong> for bootloader.<br />
For this you need to have the <em>png, jpeg</em> 8bit or <em>tga</em> format image. By default its tga format for the splashimage. You need to install a package for that:<strong>grub2-splashimages</strong><br />
Changes are made in the grub.d directory in the file in<strong> 05_debian_theme</strong> where there is some path given to a default splashimage which needs to be edited for your own image.<br />
I made one that is in pic.</p>
<div class="wp-caption aligncenter" style="width: 493px"><img style="border: 0pt none;" src="../wp-content/uploads/2010/11/post%201/4.jpg" border="0" alt="" width="483" height="323" /><p class="wp-caption-text">This splashimage I managed to add.</p></div>
]]></content:encoded>
			<wfw:commentRss>http://tuxcrux.com/grab-the-grub-2/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>A beginner&#8217;s guide to install Linux Mint.</title>
		<link>http://tuxcrux.com/a-beginners-guide-to-install-linux-mint/</link>
		<comments>http://tuxcrux.com/a-beginners-guide-to-install-linux-mint/#comments</comments>
		<pubDate>Wed, 04 Aug 2010 09:18:56 +0000</pubDate>
		<dc:creator>TuxCrux Admin</dc:creator>
				<category><![CDATA[Installation]]></category>
		<category><![CDATA[mint]]></category>

		<guid isPermaLink="false">http://tuxcrux.com/?p=81</guid>
		<description><![CDATA[&#8216;Linux Mint&#8216; is considered the simplest and dearest Linux distro. It has comparatively very simple installation procedure(Non-intimidating), very simple configuration setup and damn good procedure to download new packages/codecs and update repositories. You will finish installation in about 20 minutes. Seconds after installation you can play MP3s and videos without installing any extra codecs using [...]]]></description>
			<content:encoded><![CDATA[<p>&#8216;<strong>Linux Mint</strong>&#8216; is considered the simplest and dearest Linux distro. It has comparatively very simple installation procedure(Non-intimidating), very simple configuration setup and damn good procedure to download new packages/codecs and update repositories. You will finish installation in about 20 minutes. Seconds after installation you can play MP3s and videos without installing any extra codecs using tiring complex steps. Almost all formats are supported by its Media players.</p>
<p style="text-align: center;"><img class="aligncenter" style="border: 0pt none;" src="http://tuxcrux.com/wp-content/uploads/2010/08/POST7/Screenshot.png" border="0" alt="HOME" width="400" height="300" /></p>
<p><span id="more-81"></span><br />
The crux of matter is that if you don&#8217;t want to involve in hard issues of Linux and<em> just want a simple desktop machine with pleasant environment which is not Windows</em>, Mint is for you. It is considered media-OS because of its wide support to play media files.<br />
Lets begin installation procedure.<br />
Download ISO file from Mint&#8217;s website and burn it over DVD/CD depending over the size and version.</p>
<p>Insert disc and you&#8217;ll have menu consisting of installation options.<br />
The one saying<em> install Mint inside Windows</em> is something new on Linux distros. What it does that it allocates suitable space inside Windows without making a new partition, and install Mint in it. Also booting preferences are also given to host OS.</p>
<p>For the normal installation boot your system with disc inserted into it.<br />
Choose appropriate option from menu and wait for next window.<br />
Choose language setup.<br />
Choose your zone for time. Enter the keyboard config for yourself.</p>
<p style="text-align: center;"><img class="aligncenter" style="border: 0pt none;" src="http://tuxcrux.com/wp-content/uploads/2010/08/POST7/3.png" border="0" alt="HOME" width="400" height="229" /></p>
<p>Note Mint generally comes with Gnome as desktop environment but you can install others also if available.<br />
Now this step is the most critical step. Giving disc space to OS.</p>
<p style="text-align: center;"><img class="aligncenter" style="border: 0pt none;" src="http://tuxcrux.com/wp-content/uploads/2010/08/POST7/4.png" border="0" alt="" width="400" height="294" /></p>
<p>If you want to dedicate the entire Hard disc to Mint, then you can do so by<strong> automatic</strong>option which is the default setting. If not then choose manual from list.</p>
<p><img class="alignright" style="border: 0pt none;" src="http://tuxcrux.com/wp-content/uploads/2010/08/POST7/8.png" border="0" alt="" width="300" height="140" /></p>
<p><strong>I advise you to allocate free space for Linux pre installation. You can do it by visiting Disc manager on Windows and deleting the drives and merging them.</strong><br />
Now it will create partition on it ext3(Linux&#8217;s partition). Give it the mount point and it will ask for swap partition.</p>
<p>If you think you don&#8217;t have enough RAM then you can allocate double of your RAM size to Swap partition. Now go ahead and take a cup of coffee and after finishing coffee you&#8217;ll find that Mint&#8217;s installation is finished.<br />
You can couple Windows with it.</p>
<p style="text-align: center;"><img class="aligncenter" style="border: 0pt none;" src="http://tuxcrux.com/wp-content/uploads/2010/08/POST7/7.png" border="0" alt="" width="400" height="172" /></p>
<p>This is what a boot menu look like:</p>
<p style="text-align: center;"><img class="aligncenter" style="border: 0pt none;" src="http://tuxcrux.com/wp-content/uploads/2010/08/POST7/9.png" border="0" alt="" width="400" height="159" /></p>
<p>The customize setting is very similar to that of Ubuntu. Even the package manager is also same(Synaptic).<br />
See the customize tutorial for help. Both are Debian package based.</p>
<h5><span style="color: #800000;"><a href="http://www.linuxmint.com/download.php">Download latest Mint</a></span></h5>
]]></content:encoded>
			<wfw:commentRss>http://tuxcrux.com/a-beginners-guide-to-install-linux-mint/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Installing softwares and repositories in Debians(Ubuntu).</title>
		<link>http://tuxcrux.com/installing-softwares-and-repositories-in-debiansubuntu/</link>
		<comments>http://tuxcrux.com/installing-softwares-and-repositories-in-debiansubuntu/#comments</comments>
		<pubDate>Sat, 24 Jul 2010 17:28:59 +0000</pubDate>
		<dc:creator>TuxCrux Admin</dc:creator>
				<category><![CDATA[Installation]]></category>

		<guid isPermaLink="false">http://tuxcrux.com/?p=33</guid>
		<description><![CDATA[Often Linux distro comes up with softwares in terms of repositories and packages. For instance Ubuntu enterprise edition which was demonstrated on first post was 4.2 GB. This installation package is quite composite and versatile and does not need much packages to download. But updates for installed packages and new softwares are always available there [...]]]></description>
			<content:encoded><![CDATA[<p>Often Linux distro comes up with softwares in terms of repositories and packages. For instance Ubuntu enterprise edition which was demonstrated on first post was 4.2 GB. This installation package is quite composite and versatile and does not need much packages to download. But updates for installed packages and new softwares are always available there at your doorstep.</p>
<p>Remember Window&#8217;s run , a very good launchpad or window to search or launch various programs, the counterpart in Linux is available <em><strong>Remastersys</strong></em>. Shortcut is<em> <strong><em>&#8216;Alt + F2&#8242;</strong></em>. You know the most important tool for a user is control panel from where he/she can customize settings like installing software. In Linux there is no control panel, all settings are distributive under administrative settings.</p>
<p>     For software removal and upgrade there is a tool in every Linux distro, which is <em>Synaptic</em> in Ubuntu and <em>Yast</em> in Suse.Just press <em>Alt+F2</em> and type Synaptic or follow path given in image. Now you can play there with so many options. In starting you will get little confused but once you&#8217;ll get hold of it you will master the configuration.<code> THAT IS WHAT THE UNIQUE TRAIT OF LINUX I.E. YOU FEEL MUCH CLOSER TO OS THAN WINDOWS. YOU DO THINGS IN YOUR WAY.</code><span id="more-33"></span></p>
<p style="text-align: center;"><strong><img class="aligncenter" style="border: 0pt none;" src="http://tuxcrux.com/wp-content/uploads/2010/08/POST2/t24.JPG" border="0" alt="" width="496" height="408" /></strong></p>
<p><strong></strong>Now search for the package you want to install. For instance if you have <em>nVidia</em> graphics residing hardware on you motherboard so you can&#8217;t install the software drivers you have got with it on Linux.</p>
<p style="text-align: center;"><img class="aligncenter" style="border: 0pt none;" src="http://tuxcrux.com/wp-content/uploads/2010/08/POST2/t25.JPG" border="0" alt="" width="272" height="378" /></p>
<p>So Linux have universal packages for each hardware stream.</p>
<p style="text-align: center;"><img class="aligncenter" style="border: 0pt none;" src="http://tuxcrux.com/wp-content/uploads/2010/08/POST2/t26.JPG" border="0" alt="" width="282" height="231" /></p>
<p>Select it from dropdown list and mark it for upgrade and now OS will itself take from either installation media or Internet.</p>
]]></content:encoded>
			<wfw:commentRss>http://tuxcrux.com/installing-softwares-and-repositories-in-debiansubuntu/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Installing a Linux distro(Ubuntu Ultimate 3.0)</title>
		<link>http://tuxcrux.com/installing-a-linux-distroubuntu-ultimate-3-0/</link>
		<comments>http://tuxcrux.com/installing-a-linux-distroubuntu-ultimate-3-0/#comments</comments>
		<pubDate>Thu, 22 Jul 2010 02:57:28 +0000</pubDate>
		<dc:creator>TuxCrux Admin</dc:creator>
				<category><![CDATA[Installation]]></category>

		<guid isPermaLink="false">http://tuxcrux.com/?p=27</guid>
		<description><![CDATA[This post is intended for generally noobs who are new to a phenomenon named Linux or for them who had enough of Windows and want something new on their desktops instead of tradition long boring Windows architecture. This website is majorly for Linux. You will be provided with all types of tutorials based on Linux [...]]]></description>
			<content:encoded><![CDATA[<p>This post is intended for generally <strong>noobs</strong> who are new to a phenomenon named <strong>Linux</strong> or for them who had enough of Windows and want something new on their  desktops instead of tradition long boring Windows architecture. This  website is majorly for Linux. You will be provided with all types of  tutorials based on Linux and problems regarding Linux.</p>
<p>Shifting from Windows to Linux is like leaving earth and getting settle over Mars, so you would have guessed that <strong>it is not going to be user friendly in beginning.</strong> But as soon as you’ll be acquainted with Linux you’ll have addiction of it.</p>
<p>So here we start with installing a Linux distro. I am presenting this  tutorial with Ubuntu Enterprise edition. But there is not much  difference with other Linux distros. For beginners Ubuntu or Mandriva is  advised.</p>
<p>If you want to dedicate entire drive for  Linux than you can use your Windows installation CD/DVD for unallocated  the space. If you want to give some portion of HDD like 30GB would be  more than enough if you want to share it with a Windows.<br />
<span id="more-27"></span><br />
For that Go to:</p>
<p><em><strong>Control Panel &gt;Administrative Tools&gt; Computer Management&gt; Disk Managemen</strong></em>t</p>
<p>Right Click on volume and delete present partition.</p>
<p>Now run OS setup or restart system if its bootable and on DVD/CD.</p>
<ul>
<li> Choose the appropriate option and move ahead from menu.</li>
</ul>
<p style="text-align: center;"><img class="aligncenter" style="border: 0pt none;" src="http://tuxcrux.com/wp-content/uploads/2010/08/POST1/p1i1.jpg" border="0" alt="" width="483" height="167" /></p>
<ul>
<li> Unlike Windows while installation firstly there is logical partition of  HDD on Linux, so you get enough time for your conscience to decide the  right choice.</li>
</ul>
<p style="text-align: center;"><img class="aligncenter" style="border: 0pt none;" src="http://tuxcrux.com/wp-content/uploads/2010/08/POST1/p1i3.jpg" border="0" alt="" width="426" height="290" /></p>
<ul>
<li> You will get three options for choosing the partition scheme.</li>
</ul>
<ul>
<li> Choose  manual is recommended so that you can can allocate space of your  choice. Linux by itself makes some logical partitions (For these  partitions wait for next posts) by default.</li>
</ul>
<p style="text-align: center;"><img class="aligncenter" style="border: 0pt none;" src="http://tuxcrux.com/wp-content/uploads/2010/08/POST1/F31.jpg" border="0" alt="" width="437" height="326" /></p>
<ul>
<li> Now  when you have finalized the partition scheme and some admin settings  give, yourself a quick nap because now actual partitioning and  installation is going to start.</li>
</ul>
<p style="text-align: center;"><img class="aligncenter" style="border: 0pt none;" src="http://tuxcrux.com/wp-content/uploads/2010/08/POST1/p1i6.jpg" border="0" alt="" width="367" height="139" /></p>
<ul>
<li> After installation system will restart itself now you’ll see a new unusual menu consisting of 5-6 options also contains Windows.</li>
</ul>
<p style="text-align: center;"><img class="aligncenter" style="border: 0pt none;" src="http://tuxcrux.com/wp-content/uploads/2010/08/POST1/p1i5.jpg" border="0" alt="" width="376" height="180" /></p>
<p>This menu is known as <strong>Bootloader</strong> which is embedded with Linux kernel.<br />
<img src="http://tuxcrux.com/wp-content/uploads/2010/08/POST1/F9.jpg" border="0" alt="" /></p>
]]></content:encoded>
			<wfw:commentRss>http://tuxcrux.com/installing-a-linux-distroubuntu-ultimate-3-0/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

