<?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>MakeUseOf &#187; grub</title>
	<atom:link href="http://www.makeuseof.com/tags/grub/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.makeuseof.com</link>
	<description>Cool Websites, Software and Internet Tips</description>
	<lastBuildDate>Fri, 10 Feb 2012 04:31:39 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
		<item>
		<title>How To Customize The GRUB Boot Loader Using BURG [Ubuntu]</title>
		<link>http://www.makeuseof.com/tag/customize-grub-boot-loader-burg-ubuntu/</link>
		<comments>http://www.makeuseof.com/tag/customize-grub-boot-loader-burg-ubuntu/#comments</comments>
		<pubDate>Wed, 12 Jan 2011 18:31:15 +0000</pubDate>
		<dc:creator>Jeffry Thurana</dc:creator>
				<category><![CDATA[Cool Linux Apps & Tips]]></category>
		<category><![CDATA[boot]]></category>
		<category><![CDATA[boot screen]]></category>
		<category><![CDATA[dual boot]]></category>
		<category><![CDATA[grub]]></category>
		<category><![CDATA[ubuntu]]></category>

		<guid isPermaLink="false">http://www.makeuseof.com/?p=62815</guid>
		<description><![CDATA[Are you setting up your computer to dual-boot between two operating systems (or more)?  If so, you must be familiar with the boot loader. This tool enables users to choose which operating system he/she wants to log into. The boot loader that comes with the Ubuntu installation is called GRUB. As useful as it is, [...]]]></description>
			<content:encoded><![CDATA[<p><firstimage="http://main.makeuseoflimited.netdna-cdn.com/wp-content/uploads/2011/01/00-burg.jpg" border="0" alt="00 burg.jpg"><img class="align-left" style="border: 0px none; margin-left: 20px; margin-top: 5px; float: right;" src="http://main.makeuseoflimited.netdna-cdn.com/wp-content/uploads/2011/01/00-burg.jpg?323f2c" border="0" alt="grub boot loader" width="250" height="188" />Are you setting up your computer to dual-boot between two operating systems (or more)?  If so, you must be familiar with the boot loader. This tool enables users to choose which operating system he/she wants to log into. The boot loader that comes with the Ubuntu installation is called GRUB.</p>
<p>As useful as it is, the GRUB boot loader is not the prettiest girl in town. The interface is only as beautiful as a text-based interface can be. Even though some people can live with it just fine, some others wish they could beautify the look a little bit.</p>
<p>If you don&#8217;t mind meddling with command lines, you can apply some eye candy (and more functionalities) to GRUB with the help of <a href="http://code.google.com/p/burg/">BURG</a>.</p>
<p><span id="more-62815"></span></p>
<h2>Playing Between The Lines</h2>
<p>According to the explanation in the Community Ubuntu Documentation:</p>
<blockquote><p><em>BURG stands for <strong>B</strong>rand-new <strong>U</strong>niversal loade<strong>R</strong> from <strong>G</strong>RUB. It&#8217;s based on GRUB and adds features like new object format and configurable menu system.</em></p></blockquote>
<p>To add BURG from within your Ubuntu installation, you have to use command lines. But worry not, young Jedi! It&#8217;s not as scary as it sounds. As long as you follow everything to the letter &#8211; no pun intended &#8211; you should be just fine.</p>
<p>But before we begin, let&#8217;s look at the original boot loader text-based interface that we are trying to change.</p>
<p style="text-align: center;"><img class="aligncenter" src="http://main.makeuseoflimited.netdna-cdn.com/wp-content/uploads/2011/01/01a-Boot-Loader.jpg?323f2c" border="0" alt="grub boot loader" width="580" height="380" /></p>
<p>The first step you should do is to log into your Ubuntu installation. Then open &#8220;<em>Terminal</em>&#8221; to execute all the command lines needed to download, install, and configure BURG. You can find Terminal inside &#8220;<em>Applications &#8211; Accessories</em>&#8220;, or you can also use the search function to find it.</p>
<p style="text-align: center;"><img class="aligncenter" src="http://main.makeuseoflimited.netdna-cdn.com/wp-content/uploads/2011/01/01b-Open-Terminal.jpg?323f2c" border="0" alt="grub loader" width="400" height="260" /></p>
<p>By default, BURG is not included in Ubuntu&#8217;s standard repository. So you should add the server that hosts BURG files to the repository by executing this command line:</p>
<pre>sudo add-apt-repository ppa:bean123ch/burg</pre>
<p>To avoid mistyping, it&#8217;s easier to copy and paste that line to Terminal, and press Enter to execute it.</p>
<p style="text-align: center;"><img class="aligncenter" src="http://main.makeuseoflimited.netdna-cdn.com/wp-content/uploads/2011/01/02b-Terminal.jpg?323f2c" border="0" alt="grub loader" width="580" height="213" /></p>
<p>Then you should download and install BURG (loader, themes and emulator). Use this command to do that:</p>
<pre>sudo apt-get update &amp;&amp; sudo apt-get install burg</pre>
<p style="text-align: center;"><img class="aligncenter" src="http://main.makeuseoflimited.netdna-cdn.com/wp-content/uploads/2011/01/02c-Downloading-BURG.jpg?323f2c" border="0" alt="grub loader" width="580" height="373" /></p>
<p>The process could take a while, depending on the speed of your internet connection. It&#8217;s essential that you use a stable connection to get the best result. From my experiments, I found out that an unstable connection will cause download problems: some of the components might not download completely, and the installation process will fail.</p>
<h2>Configuring BURG</h2>
<p>After we finish the download and installation process, the next step is to configure BURG. The Terminal will display something like this:</p>
<p style="text-align: center;"><img class="aligncenter" src="http://main.makeuseoflimited.netdna-cdn.com/wp-content/uploads/2011/01/02d-Configuring-burg-pc.jpg?323f2c" border="0" alt="install grub loader" width="580" height="373" /></p>
<p>Press Enter to go to the next screen, and another Enter to skip again.</p>
<p style="text-align: center;"><img class="aligncenter" src="http://main.makeuseoflimited.netdna-cdn.com/wp-content/uploads/2011/01/03b-Configuring-BURG-2.jpg?323f2c" border="0" alt="install grub loader" width="580" height="380" /></p>
<p>You will arrive at this &#8220;<em>Configuring burg-pc</em>&#8221; screen. This one is a little tricky because hitting Enter will not bring you anywhere. After several trial and errors, I found out that you have to select the &#8220;<em>OK</em>&#8221; option by using the right arrow key on the keyboard or by pressing tab, then after the &#8220;<em>OK</em>&#8221; is selected, you can press Enter to continue.</p>
<p style="text-align: center;"><img class="aligncenter" src="http://main.makeuseoflimited.netdna-cdn.com/wp-content/uploads/2011/01/03c-Configuring-BURG-3.jpg?323f2c" border="0" alt="install grub loader" width="580" height="380" /></p>
<p>The following screen will ask you to choose which device is the &#8220;<em>GRUB install device</em>&#8220;. If your computer has only one hard drive, you will only see one device. The problem is, how to select it? To avoid accidentally skipping this configuration, press Space to select the device before pressing Enter.</p>
<p style="text-align: center;"><img class="aligncenter" src="http://main.makeuseoflimited.netdna-cdn.com/wp-content/uploads/2011/01/03d-Install-Device-Choose.jpg?323f2c" border="0" alt="03d Install Device Choose.jpg" width="580" height="350" /></p>
<h2>Navigating BURG</h2>
<p>The configuration is now done. You can restart your system and the GRUB boot loader menu will be replaced by BURG.</p>
<p>Navigating within BURG is easy: use the arrow keys on the keyboard to choose the operating system and Enter to load it.</p>
<p>You can also switch between themes easily by pressing F2 to bring up the list of available themes, move between the items with arrow keys, and hit Enter to choose one. Here are some examples of available themes.</p>
<p style="text-align: center;"><img class="aligncenter" src="http://main.makeuseoflimited.netdna-cdn.com/wp-content/uploads/2011/01/06-Burg-Themes.jpg?323f2c" border="0" alt="06 Burg Themes.jpg" width="580" height="435" /></p>
<p>Other Function keys that you can use are F1 for Help and F3 to change screen resolution.</p>
<h2>Installing BURG From Windows</h2>
<p>BURG also comes with a Windows installer. You can get the installer from BURG&#8217;s <a href="http://code.google.com/p/burg/downloads/list">download page</a>. Using it is also very easy: install it,</p>
<p style="text-align: center;"><img class="aligncenter" src="http://main.makeuseoflimited.netdna-cdn.com/wp-content/uploads/2011/01/05a-Windows-Installer.jpg?323f2c" border="0" alt="05a Windows Installer.jpg" width="426" height="295" /></p>
<p>And click &#8220;<em>Add Boot Entry</em>&#8221; under &#8220;<em>Programs &#8211; Burg</em>&#8221; menu.</p>
<p style="text-align: center;"><img class="aligncenter" src="http://main.makeuseoflimited.netdna-cdn.com/wp-content/uploads/2011/01/05b-Add-Boot-Entry.jpg?323f2c" border="0" alt="grub boot loader" width="515" height="100" /></p>
<p>However, I found this method to be working only if you installed Ubuntu from within Windows. So for those who installed Ubuntu alongside Windows, you have to stick with the command lines.</p>
<p>To be honest, I&#8217;m a total newbie when it comes to Ubuntu (Linux) and command lines. I had to repeat the experiment several times just to get it (almost) right, and I&#8217;m still trying to grasp everything that I&#8217;ve done and described here. So, if you Linux experts out there have found things that I missed here,  please do not hesitate to share your input in the comments below.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.makeuseof.com/tag/customize-grub-boot-loader-burg-ubuntu/feed/</wfw:commentRss>
		<slash:comments>24</slash:comments>
		</item>
		<item>
		<title>How To Fix Bootloader Problems Due To GRUB</title>
		<link>http://www.makeuseof.com/tag/how-to-fix-bootloader-problems-due-to-grub/</link>
		<comments>http://www.makeuseof.com/tag/how-to-fix-bootloader-problems-due-to-grub/#comments</comments>
		<pubDate>Sat, 26 Jun 2010 19:30:02 +0000</pubDate>
		<dc:creator>Varun Kashyap</dc:creator>
				<category><![CDATA[Cool Linux Apps & Tips]]></category>
		<category><![CDATA[boot]]></category>
		<category><![CDATA[drive partitions]]></category>
		<category><![CDATA[grub]]></category>
		<category><![CDATA[tech support]]></category>
		<category><![CDATA[troubleshoot]]></category>
		<category><![CDATA[ubuntu]]></category>

		<guid isPermaLink="false">http://www.makeuseof.com/?p=47242</guid>
		<description><![CDATA[With Windows getting real good and Linux trying to cater to needs of every user, it is not unusual to have a dual boot configuration on your computer. Dual boot means you have two operating systems (most likely Windows and a Linux distro) on your computer. You get some kind of menu to choose which [...]]]></description>
			<content:encoded><![CDATA[<p><firstimage="http://main.makeuseoflimited.netdna-cdn.com/wp-content/uploads/2010/06/grublogoimage.jpg" /><img style="border: 0px none;margin-left:20px;float:right;" src="http://main.makeuseoflimited.netdna-cdn.com/wp-content/uploads/2010/06/grublogoimage.jpg?323f2c" alt="bootloader" />With <a href="http://www.makeuseof.com/tags/windows-7/">Windows getting real good</a> and Linux trying to cater to needs of <a href="http://www.makeuseof.com/tags/ubuntu/">every</a> <a href="http://www.makeuseof.com/tag/download-google-chrome-os-and-run-on-a-real-computer/">user</a>, it is not unusual to have a dual boot configuration on your computer. </p>
<p>Dual boot means you have two operating systems (most likely Windows and a Linux distro) on your computer. You get some kind of menu to choose which operating system to boot when you start your computer and depending upon your choice, the appropriate system boots up. More often than not, if you are dual-booting with Windows and Linux, chances are that the menu you see at boot time is the GRUB boot menu.</p>
<p><span id="more-47242"></span><br />
By default, GRUB is installed by many distributions and is available as an option with others. It automatically detects the other operating systems present on your computer and adds them as an entry in the menu along with the Linux distribution you are currently installing. All this happens without any additional steps during the Linux installation process if you install Linux after Windows is already present on the disk.</p>
<p style="text-align: center;"><img class="aligncenter" style="border: 0pt none;" src="http://main.makeuseoflimited.netdna-cdn.com/wp-content/uploads/2010/06/gruberror.jpg?323f2c" alt="bootloader"/></p>
<p>If you go the other route, that is &#8212; install Windows after Linux, or if you play with partitions on your hard drive too much; you can end up messing up GRUB. In that case, depending upon what you just did, you might only be able to boot into Windows or GRUB might fail to display any menu at all. In either case, before you panic and rush to forums or tech support, there is a simple fix that will most likely alleviate your woes. Its to restore GRUB, and you can do it in a snap. Let&#8217;s see how.</p>
<p>First off, as is often the case when a new version to a popular software is released, both versions continue to be in use for some time before the newly version is adopted. The same with GRUB. Sadly, the procedure is a little different for both versions and we shall tackle both of them here.</p>
<p>First off, you need a Live CD handy. Your Linux distro CD should work just fine if it installed GRUB on your computer in the first place. You can also use <a href="http://www.knoppix.net/">Knoppix</a> or <a href="http://www.sysresccd.org/Main_Page">SystemRescueCD</a>. We will be using Ubuntu Live CD. Keep in mind that the CD uses same version of GRUB. This can be insured by using the disc that you used to install Linux.</p>
<p>Boot off from the Live CD and give it some time before you can view the desktop. Next up &#8211; fire up terminal and get ready for some command line action. Before we proceed keep in mind that hd0 refers to the first hard disk on your computer, second will be hd1 and so on. Similarly (hd0,2) means second partition on the first hard disk.</p>
<h2>GRUB</h2>
<p style="text-align: center;"><img class="aligncenter" style="border: 0pt none;" src="http://main.makeuseoflimited.netdna-cdn.com/wp-content/uploads/2010/06/grublegacy.png?323f2c" alt="bootloader"/></p>
<ul>
<li>Type <strong>sudo grub</strong>, this will give you a the GRUB prompt. Now you can enter GRUB specific commands.</li>
<li>Type <strong>find /boot/grub/stage1</strong>. This should return the location of GRUB files on your hard disk.</li>
<li>Next up, use the location returned above and issue the command <strong>root(hdX, Y)</strong>. For example, if the previous command returned (hd0, 1), you should issue root(hd0, 1)</li>
<li>Next issue the command <strong>setup(hd0)</strong> or hdX as the case may be. PLEASE NOTE: This will overwrite the MBR, which is fine if you were using GRUB in the first place or you install Windows after Linux. If you had some other bootloader or custom configuration, you should watch out.</li>
<li>Type <strong>quit</strong> to exit GRUB and then reboot the computer.</li>
</ul>
<h2>GRUB 2</h2>
<p style="text-align: center;"><img class="aligncenter" style="border: 0pt none;" src="http://main.makeuseoflimited.netdna-cdn.com/wp-content/uploads/2010/06/grub2.png?323f2c" alt="grub bootloader"/></p>
<ul>
<li>Enter <strong>sudo mount /dev/XdYZ/ /mnt</strong> where X can be either &#8216;h&#8217; or &#8216;s&#8217; and Y represents the hard disk number and Z represents the partition. eg <strong>mount /dev/sda3 /mnt</strong>, in which case /dev/sda3 is your Linux system partition. You can use <strong>sudo fdisk -l</strong>, to list all partitions if you are not sure about the system partition. NOTE: If you have a separate boot partition, you will need to mount it explicitly at /mnt/boot</li>
<p style="text-align: center;"><img class="aligncenter" style="border: 0pt none;" src="http://main.makeuseoflimited.netdna-cdn.com/wp-content/uploads/2010/06/fdiskoutput.png?323f2c" alt="grub bootloader"/></p>
<li>Then issue the command <strong>sudo grub-install &#8211;root-directory=/mnt /dev/sdX</strong> X being the hard disk where you want to restore GRUB.</li>
<li>Next, unmount the partition via <strong>sudo umount /mnt</strong> and then reboot your computer.</li>
</ul>
<p>After running these steps, you should be able to restore GRUB within 5 minutes. If things go well and if GRUB was the reason for your troubles, you just fixed them. If these didn&#8217;t fix your problem, you might want to have a closer look at your hard disk&#8217;s health and partitions. You can use <a href="http://gparted.sourceforge.net/">GParted</a> or the Ubuntu Live CD or any other Live USB/CD that suits you.</p>
<p>Have you ever run into booting troubles? How did you fix it? Shoot off any tips in the comments, that might be helpful to fellow readers!</p>
]]></content:encoded>
			<wfw:commentRss>http://www.makeuseof.com/tag/how-to-fix-bootloader-problems-due-to-grub/feed/</wfw:commentRss>
		<slash:comments>14</slash:comments>
		</item>
		<item>
		<title>How To Create A Custom Splash Image For Grub 2 [Linux]</title>
		<link>http://www.makeuseof.com/tag/how-to-create-a-custom-splash-image-for-grub-2-linux/</link>
		<comments>http://www.makeuseof.com/tag/how-to-create-a-custom-splash-image-for-grub-2-linux/#comments</comments>
		<pubDate>Sat, 28 Nov 2009 14:01:14 +0000</pubDate>
		<dc:creator>Varun Kashyap</dc:creator>
				<category><![CDATA[Cool Linux Apps & Tips]]></category>
		<category><![CDATA[boot screen]]></category>
		<category><![CDATA[customize]]></category>
		<category><![CDATA[geeky fun]]></category>
		<category><![CDATA[grub]]></category>
		<category><![CDATA[images]]></category>
		<category><![CDATA[ubuntu]]></category>

		<guid isPermaLink="false">http://www.makeuseof.com/?p=30034</guid>
		<description><![CDATA[Some time back we showed you how you can create a custom splash screen for the GRUB boot loader, giving your computer a unique feel when it boots up and the first screen appears. Well things have changed since then and GRUBv2 is out and in use. GRUBv2 is the next iteration of the immensely [...]]]></description>
			<content:encoded><![CDATA[<p><firstimage="http://main.makeuseoflimited.netdna-cdn.com/wp-content/uploads/2008/11/logogrb.jpeg" /><img class="align-left" style="margin-right:20px" src="http://main.makeuseoflimited.netdna-cdn.com/wp-content/uploads/2008/11/logogrb.jpeg?323f2c" alt="" vspace="5" align="left" />Some time back we showed you <a href="http://www.makeuseof.com/tag/how-to-create-a-custom-splashimage-for-grub/">how you can create a custom splash screen for the GRUB boot loader</a>, giving your computer a unique feel when it boots up and the first screen appears. Well things have changed since then and GRUBv2 is out and in use.</p>
<p>GRUBv2 is the next iteration of the immensely popular GRUB boot loader. It offers improved capabilities like a graphical interface and better design. If you are fan of mods like me and tried the previous tutorial with GRUBv2, you would have realized it no longer works that way. So let&#8217;s update the steps and see how we can create a custom GRUB 2 splash image.</p>
<ul>
<li>Choose a photo of your choice and open it up in GIMP. Unlike the previous tutorial for GRUB, where you had to choose fairly subdued images which didn&#8217;t have a lot of colors or gradients, you can be a bit more extravagant with image selection in GRUB 2</li>
<li>Once you have it open,  resize it to 640 x 480 pixels. (You can use different dimensions, but that requires a bit of extra effort as we shall see below). To do so, go to the image menu and choose <em>scale</em>.</li>
</ul>
<p style="text-align: center;"><img class="aligncenter" src="http://main.makeuseoflimited.netdna-cdn.com/wp-content/uploads/2009/11/scaleimage.png?323f2c" alt="create a splash screen" width="388" height="365" /></p>
<p><span id="more-30034"></span></p>
<ul>
<li>You can modify the image  to your liking, perhaps add a motivational quote or your company&#8217;s logo or anything you want.</li>
<li>Now go to <em>File &gt; Save as</em>. In the dialog that appears, choose to save the file as .tga file.</li>
</ul>
<p style="text-align: center;"><img class="aligncenter" src="http://main.makeuseoflimited.netdna-cdn.com/wp-content/uploads/2009/11/savetga.png?323f2c" alt="create a splash screen" width="504" height="344" /></p>
<p>With the image ready, its time to get into configuration mode. A lot has changed in GRUB2, so read along even if you are familiar with the procedure for the legacy GRUB loader.</p>
<ul>
<li>First off, you need to copy the file to the appropriate directory so that you can tell GRUB about it. So copy the file you just created to <em>/boot/grub</em> directory.</li>
<li>Fire up your favorite text editor and point it to<strong> </strong><em>/etc/grub.d/05_debian_theme</em>. Now look for a line mentioning image files. On my system, it is line number 16 of the said file and looks like this:</li>
</ul>
<p style="text-align: center;"><img class="aligncenter" src="http://main.makeuseoflimited.netdna-cdn.com/wp-content/uploads/2009/11/changefile.png?323f2c" alt="create a splash screen" width="540" height="98" /></p>
<ul>
<li>We need to edit it and replace the image file name, with the name of the file you saved in previous steps (sunrise_splash in my case)</li>
</ul>
<p>We are almost done here, now issue the <em>sudo update-grub2</em> command and verify it completes successfully. It tells you if it found the image you mentioned. If it doesn&#8217;t, it most likely means that you missed something in the steps mentioned above.</p>
<p style="text-align: center;"><img class="aligncenter" src="http://main.makeuseoflimited.netdna-cdn.com/wp-content/uploads/2009/11/updategrubg.png?323f2c" alt="grub2 splash image" width="452" height="192" /></p>
<p>You can refer to<a href="http://wiki.debian.org/Grub/SplashImage"> this Debian Wiki page</a> for more details on GRUBv2 splash images. The wiki also lists template files that you can use as a guide when creating your own custom splashimages. If you want to use higher resolution images and not merely 640 x 480 ones, you can do so by editing <em>/etc/default/grub</em>. Remove the <strong>#</strong> sign if it exists on the line that lists -<em> GRUB_GFXMODE</em> and change its value to the custom resolution you want to use. Keep in mind that not all resolutions may be available. You can view a list of available resolutions by pressing &#8216;<strong>c&#8217;</strong> on the GRUB menu and then using the command <em>vbeinfo</em>.</p>
<p style="text-align: center;"><img class="aligncenter" src="http://main.makeuseoflimited.netdna-cdn.com/wp-content/uploads/2009/11/resslution.png?323f2c" alt="grub2 splash image" width="540" height="142" /></p>
<p>If all goes well, you should be able to view your custom splashscreen the next time GRUB menu is displayed. If the image is not displayed correctly you might want to change the resolution to match the one listed in the <em>/etc/default/grub</em> file. Remember the default is 640 x 480. In case you are running short on imaginative ideas, you can install the <em>grub2-splashimages</em> package, that will give you a set of images that you can use as a splashscreen.</p>
<p>Give it a spin and let us know how things went. We would also love to see your custom splashimages if you feel like sharing them with the world!</p>
]]></content:encoded>
			<wfw:commentRss>http://www.makeuseof.com/tag/how-to-create-a-custom-splash-image-for-grub-2-linux/feed/</wfw:commentRss>
		<slash:comments>5</slash:comments>
		</item>
		<item>
		<title>15 Great Ubuntu Tips For Linux Power Users</title>
		<link>http://www.makeuseof.com/tag/15-great-tips-for-ubuntu-power-users/</link>
		<comments>http://www.makeuseof.com/tag/15-great-tips-for-ubuntu-power-users/#comments</comments>
		<pubDate>Sat, 08 Aug 2009 15:01:06 +0000</pubDate>
		<dc:creator>Varun Kashyap</dc:creator>
				<category><![CDATA[Cool Linux Apps & Tips]]></category>
		<category><![CDATA[boot]]></category>
		<category><![CDATA[drive partitions]]></category>
		<category><![CDATA[fonts]]></category>
		<category><![CDATA[grub]]></category>
		<category><![CDATA[linux hacks]]></category>
		<category><![CDATA[linux tips]]></category>
		<category><![CDATA[nautilus]]></category>
		<category><![CDATA[shortcuts]]></category>
		<category><![CDATA[terminal]]></category>
		<category><![CDATA[terminal tips]]></category>
		<category><![CDATA[ubuntu]]></category>

		<guid isPermaLink="false">http://www.makeuseof.com/?p=22547</guid>
		<description><![CDATA[A few days back I wrote about books that beginners can download and read to teach themselves Linux. Today in the Linux section we have something for the power users. Here are a few tips you should try out if you are an avid Ubuntu Linux user: 1. Get lightning fast and clever at the [...]]]></description>
			<content:encoded><![CDATA[<p><firstimage="http://main.makeuseoflimited.netdna-cdn.com/wp-content/uploads/2009/08/UbuntuLogo.png" /><img class="align-left" style="margin-right:20px" src="http://main.makeuseoflimited.netdna-cdn.com/wp-content/uploads/2009/08/UbuntuLogo.png?323f2c" alt="" vspace="5" align="left" />A few days back I wrote about books that beginners <a href="http://www.makeuseof.com/tag/5-downloadable-books-to-teach-yourself-linux/">can download and read</a> to teach themselves Linux. Today in the Linux section we have something for the power users. Here are a few tips you should try out if you are an avid Ubuntu Linux user:</p>
<h3><strong>1. Get lightning fast and clever at the command line</strong></h3>
<p>You can use keyboard shortcuts and other command line tricks to make entering commands easier and faster. You might already know about the &#8216;tab&#8217; key which completes partial commands and even file and directory names.</p>
<p>Here are some other keyboard shortcuts you can use within terminal:</p>
<p><span id="more-22547"></span></p>
<table border="0" cellspacing="0" cellpadding="0" align="center">
<tbody>
<tr>
<td width="85">Ctrl-a</td>
<td width="423">Move to the start of the line.</td>
</tr>
<tr>
<td>Ctrl-e</td>
<td>Move to the end of the line.</td>
</tr>
<tr>
<td>Alt-] <em>x</em></td>
<td>Moves the cursor forward to the next occurrence of x.</td>
</tr>
<tr>
<td>Alt-Ctrl-] <em>x</em></td>
<td>Moves the cursor backwards to the previous occurrence of x.</td>
</tr>
<tr>
<td>Ctrl-u</td>
<td>Delete from the cursor to the beginning of the line.</td>
</tr>
<tr>
<td>Ctrl-k</td>
<td>Delete from the cursor to the end of the line.</td>
</tr>
<tr>
<td>Ctrl-w</td>
<td>Delete from the cursor to the start of the word.</td>
</tr>
<tr>
<td>Ctrl-y</td>
<td>Pastes text from the clipboard.</td>
</tr>
<tr>
<td>Ctrl-l</td>
<td>Clear the screen leaving the current line at the top of the screen.</td>
</tr>
<tr>
<td>Ctrl-x Ctrl-u</td>
<td>Undo the last changes. Ctrl-_</td>
</tr>
<tr>
<td>Alt-r</td>
<td>Undo all changes to the line.</td>
</tr>
<tr>
<td>Alt-Ctrl-e</td>
<td>Expand command line.</td>
</tr>
<tr>
<td>Ctrl-r</td>
<td>Incremental reverse search of history.</td>
</tr>
<tr>
<td>Alt-p</td>
<td>Non-incremental reverse search of history.</td>
</tr>
<tr>
<td>!!</td>
<td>Execute last command in history</td>
</tr>
<tr>
<td>!abc</td>
<td>Execute last command in history beginning with abc</td>
</tr>
<tr>
<td>!<em>n</em></td>
<td>Execute <em>n</em>th command in history</td>
</tr>
<tr>
<td>^abc^xyz</td>
<td>Replace first occurrence of abc with xyz in last command and execute it</td>
</tr>
</tbody>
</table>
<p>Also don&#8217;t forget to check out <a href="http://www.makeuseof.com/tag/4-websites-to-learn-cool-linux-command-line-tricks/">4 websites where you can learn cool command line tricks</a></p>
<h3><strong>2. Launch Ubuntu Linux Applications with keyboard</strong></h3>
<p>There are two ways you can achieve this:</p>
<ul>
<li>Use applications like <a href="http://www.makeuseof.com/tag/be-more-productive-with-launchy-keystroke-launcher/">Launchy</a> or <a href="http://www.makeuseof.com/tag/8-most-useful-plugin-for-gnome-do/">Gnome-Do</a> that make it easier to launch applications by typing a few characters of the application&#8217;s name.</li>
<li>Or you can summon<em> gconf editor</em> (Alt+F2 then type gconf-editor and hit enter), and navigate to<strong> apps &gt; metacity &gt; global_keybindings</strong>, double click on any of the <strong>run_command_N</strong> and type in the keyboard shortcut you want to assign to an application then make a mental note of the number N. Then go to <strong>apps &gt; metacity &gt; keybinding_commands</strong> and double click on <strong>command_N</strong> (N being the number you used above) and type in the command you want to run. As an example if you wanted to run Firefox you would type in <em>firefox</em>.</li>
</ul>
<p style="text-align: center;"><img class="aligncenter" src="http://main.makeuseoflimited.netdna-cdn.com/wp-content/uploads/2009/08/globalkeybindings.png?323f2c" alt="" width="489" height="123" /></p>
<p style="text-align: center;"><img class="aligncenter" src="http://main.makeuseoflimited.netdna-cdn.com/wp-content/uploads/2009/08/keybindings.png?323f2c" alt="" width="492" height="118" /></p>
<p>Also check out <a href="http://www.makeuseof.com/tag/10-useful-ubuntu-keyboard-shortcuts-that-you-might-not-know-of/">these Ubuntu keyboard shortcuts you might not know about</a>.</p>
<h3><strong>3. Start from wherever you left off</strong></h3>
<p style="text-align: center;"><img class="aligncenter" src="http://main.makeuseoflimited.netdna-cdn.com/wp-content/uploads/2009/08/remember.png?323f2c" alt="" width="472" height="134" /></p>
<p>You can make Ubuntu remember the applications you had open when you last logged out, so that when you log back in again you&#8217;ll find all those applications running and you can resume right from where you left off.</p>
<p>To achieve this go to <em>System &gt; Preferences &gt; Startup Applications</em>, then go to the options tab and check <em>&quot;Automatically remember running applications when logging out&quot;</em></p>
<h3><strong>4. Create a Separate Ubuntu Linux Home Partition</strong></h3>
<p style="text-align: center;"><img class="aligncenter" src="http://main.makeuseoflimited.netdna-cdn.com/wp-content/uploads/2009/08/mountashome.png?323f2c" alt="" width="540" height="265" /></p>
<p>New versions of Ubuntu arrive every 6 months. Although you can upgrade to the latest version via the update manager, sometimes the upgrade doesn&#8217;t work as expected so some users like to do a fresh clean install.</p>
<p>The disadvantage with that of course is that you lose data you had in your home directory. To overcome this you can create a separate Home partition when you are installing Ubuntu, size it according to your requirements and then when you decide to install Ubuntu the next time, simply specify this partition as the Home partition (by choosing /home as the mount point).</p>
<p>All your files and data on the Home partition will be preserved even after a fresh install.</p>
<h3><strong>5. Update and Install Ubuntu Linux Software Without Internet Connection</strong></h3>
<p style="text-align: center;"><img class="aligncenter" src="http://main.makeuseoflimited.netdna-cdn.com/wp-content/uploads/2009/08/aptoncd.png?323f2c" alt="" width="496" height="364" /></p>
<p>There are lots of way to do this, the easiest of all is to use <a href="sdfsdfsd">APTonCD</a>. APTonCD allows you to create CDs and DVD&#8217;s containing all the packages you want, which you can then use to install software on computers without an internet connection.</p>
<p>Note that APTonCD requires you to have an internet connection (or downloaded packages) to <em>create</em> the installed media. However once the media is ready you don&#8217;t need an internet connection for any of the machines you want to install the software on. Insert the appropriate CD/DVD and use apt-get as you would normally.</p>
<h3><strong>6. Install new fonts, Microsoft fonts and improve font rendering</strong></h3>
<p><img style="margin-left:20px" src="http://main.makeuseoflimited.netdna-cdn.com/wp-content/uploads/2009/08/fonts.gif?323f2c" alt="" vspace="5" width="199" height="142" align="right" />Ubuntu doesn&#8217;t offer many choices when it comes to the fonts. However you <a href="http://www.makeuseof.com/tag/10-useful-ubuntu-keyboard-shortcuts-that-you-might-not-know-of/">can easily install new fonts including those from Microsoft</a> like Arial, Verdana, impact and many more. You can use <a href="http://www.makeuseof.com/tag/the-top-5-best-online-sources-for-fonts/">different sites to find the kind of font you are looking for</a>.</p>
<h3><strong>7. Use PPAs, Install latest versions of software</strong></h3>
<p>There are a lot of steps that a software has to go through before it becomes part of Ubuntu or becomes available through the Ubuntu repositories. While all those steps lend additional stability, it generally means that you don&#8217;t get the latest versions of all the software as soon as they are released.</p>
<p>If you like to stay on the cutting edge, you can search for <strong>Personal Package Archives</strong> for your favorite software on <a href="https://launchpad.net/">Launchpad</a> and add those to your installation&#8217;s software sources. I briefly touched on <a href="http://www.makeuseof.com/tag/how-to-tweet-in-linux-using-pidgin/">PPAs and how to use them here</a>. If that seems like too much work, you can also download the latest deb packages and install them by double clicking (you won&#8217;t get automatic updates for the software if you install it this way).</p>
<p>Remember you might get into an occasional trouble or two with the latest versions, but mostly it wouldn&#8217;t be catastrophic. You can always hop over to the <a href="http://ubuntuforums.org/">Ubuntu Forums</a> to get quick help.</p>
<h3><strong>8. Be the root</strong></h3>
<p>The root account is disabled by default on Ubuntu installations, mainly to prevent you from doing something you didn&#8217;t intend to do. However if you &quot;<em>promise to be careful</em>&quot; you can enable root account as follows:</p>
<p style="text-align: center;"><img class="aligncenter" src="http://main.makeuseoflimited.netdna-cdn.com/wp-content/uploads/2009/08/rootenable.png?323f2c" alt="" width="344" height="129" /></p>
<ol>
<li>Type<strong> </strong><em>sudo passwd root</em> and provide a root password.</li>
<li>Then head on over to <em>System &gt; Administration &gt; Login Window</em>, go to the <em>Security </em>tab and check &quot;<em>Enable local system administrator login&quot;</em></li>
</ol>
<p>You should now be able to login as root from the Login prompt. As an alternative you can use &quot;<em>sudo su</em>&quot; to provide your password and get root prompt.</p>
<h3><strong>9. Run Windows applications and games</strong></h3>
<p style="text-align: center;"><img class="aligncenter" src="http://main.makeuseoflimited.netdna-cdn.com/wp-content/uploads/2009/08/menu.png?323f2c" alt="" width="538" height="336" /></p>
<p>Who wouldn&#8217;t like to play Counter Strike on Ubuntu (unless of course you are completely not into it) or perhaps even run Photoshop? Well it is very much possible and <a href="http://www.makeuseof.com/tag/how-about-some-wine-with-your-linux/">here is how to do it</a>.</p>
<h3><strong>10. Shorten boot time with profiling</strong></h3>
<p>Ubuntu Linux devs have done a great job with the boot time, Jaunty is fast and Karmic is slotted to be even faster. There is however a bit more you can do by profiling your boot. Profiling lets Ubuntu make a list of all the files that are accessed during bootup, it then sorts the files according to how they are stored on your hard disk. So the next time the system is booted, the files would be read faster.</p>
<p>To profile boot you need to follow these steps</p>
<ul>
<li>At the grub menu highlight the kernel you boot most often.</li>
<li>Press <strong>e</strong> for edit.</li>
<li>Choose the line starting with kernel and press e again. Now add the word <em>profile</em> to the end of this line. Hit Enter and then press <strong>b</strong> to boot</li>
</ul>
<p>Note that while profiling, the system will boot slower this one time, the next time however you should see an improvement. Also keep in mind that all this is machine-dependent and also depends on the arrangement of files on your hard disk, so the difference you see might not be huge, or even nil in some cases.</p>
<h3><strong>11. Try out different Ubuntu Linux Desktop Environments and Desktop Managers</strong></h3>
<p>If you are looking for something different than the default Gnome interface, you should check out <a href="http://www.makeuseof.com/tag/8-great-alternative-desktop-managers-for-linux/">alternative desktop managers that you can use</a>. If it is a complete Desktop Environment you are looking for, KDE4 has come a long way and is now impressively usable and fun. You can do a &quot;<em>sudo apt-get install kubuntu-desktop</em>&quot; to get KDE.</p>
<h3><strong>12. Create a media center or a media server</strong></h3>
<p style="text-align: center;"><img class="aligncenter" src="http://main.makeuseoflimited.netdna-cdn.com/wp-content/uploads/2009/08/xbmcmedia.jpg?323f2c" alt="" width="580" height="326" /></p>
<p>It would be great if you could easily browse and manage your huge collection of music, videos and pictures. Mesmerized by Windows Media Center&#8217;s slick interface? Wait till you see what all cool options you have to <a href="http://www.makeuseof.com/tag/using-your-linux-computer-as-a-media-center-part-1/">turn your Ubuntu system into a media center</a>. You can even access your media collection on your phone, PSP or a different computer if you set up a <a href="http://www.makeuseof.com/tag/using-your-linux-computer-as-a-media-server-part-2/">media server</a> on your Ubuntu machine.</p>
<h3><strong>13. Share Firefox profile data with Windows</strong></h3>
<p>Many people use Windows and Linux on the same machine. If you are one of them, there would have been times you couldn&#8217;t find that bookmark you created or password you stored when you were using Firefox from within Windows. Check out how you can <a href="http://www.makeuseof.com/tag/share-you-firefox-data-across-operating-systems-and-computers/">share Firefox profile data across operating systems</a> without syncing it over the web (works best if you have the same version of Firefox in both OS&#8217;s). For different computers you can of course use <a href="http://labs.mozilla.com/projects/weave/">Weave</a>.</p>
<h3><strong>14. Customize Nautilus to your liking</strong></h3>
<p style="text-align: center;"><img class="aligncenter" src="http://main.makeuseoflimited.netdna-cdn.com/wp-content/uploads/2009/01/menunact.png?323f2c" alt="" width="322" height="242" /></p>
<p>Nautilus is the default file manager on Ubuntu. While you may be content with what it does, there is lots more you can make it do. You can <a href="http://www.makeuseof.com/tag/linux-68-useful-extensions-to-improve-nautilus-functionality/">use extensions to improve functionality</a> and even <a href="http://www.makeuseof.com/tag/add-custom-functionality-to-nautilus-linux/">add custom functionality to Nautilus</a></p>
<h3><strong>15. Compile your own Kernel</strong></h3>
<p>If you can&#8217;t find something to keep you busy for the weekend and you have your customization hat on, how about building a kernel to specifically meet your requirements? This is frankly more of a learning experience. Some might say that it enables you to use just the features and drivers you require, but if everything is working fine with the kernel supplied and you don&#8217;t have any interest in the Linux kernel, skip ahead this one is not for you.</p>
<p>If however you require some of the experimental features of the kernel, or need it to be compiled in some other special way we say you check out <a href="https://help.ubuntu.com/community/kernel/compile">this guide</a> within Ubuntu Documentation.</p>
<h3><strong>16. Change Usplash Screen and create a custom splash screen for GRUB</strong></h3>
<p><img style="margin-right:20px" src="http://main.makeuseoflimited.netdna-cdn.com/wp-content/uploads/2009/01/ubuntu-usplash.png?323f2c" alt="" vspace="5" align="left" />So you didn&#8217;t count the last one? Here is another one then. A Usplash screen is Ubuntu text and a logo with a progress bar that you see when you boot up Ubuntu.</p>
<p>If you would like to change that to something more interesting <a href="http://www.makeuseof.com/tag/how-to-easily-change-your-usplash-screen-in-ubuntu/">follow these steps</a>. What better way to show your Linux fu than customizing the very first screen that appears? You can create a custom splash screen using one of your photos, GIMP and a little tweaking. <a href="http://www.makeuseof.com/tag/how-to-easily-change-your-usplash-screen-in-ubuntu/">Here is the how-to</a>.</p>
<p>Know some more tips or great hacks for Ubuntu Linux users? Sure you do, go ahead let us know about them in the comments.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.makeuseof.com/tag/15-great-tips-for-ubuntu-power-users/feed/</wfw:commentRss>
		<slash:comments>85</slash:comments>
		</item>
		<item>
		<title>Easy GUI Management of Grub and Usplash Settings with Startup Manager [Linux]</title>
		<link>http://www.makeuseof.com/tag/easy-gui-management-of-grub-and-usplash-settings-with-startup-manager-linux/</link>
		<comments>http://www.makeuseof.com/tag/easy-gui-management-of-grub-and-usplash-settings-with-startup-manager-linux/#comments</comments>
		<pubDate>Thu, 09 Jul 2009 19:00:06 +0000</pubDate>
		<dc:creator>Varun Kashyap</dc:creator>
				<category><![CDATA[Cool Linux Apps & Tips]]></category>
		<category><![CDATA[boot screen]]></category>
		<category><![CDATA[grub]]></category>
		<category><![CDATA[start-up]]></category>
		<category><![CDATA[ubuntu]]></category>

		<guid isPermaLink="false">http://www.makeuseof.com/?p=20600</guid>
		<description><![CDATA[Ever wanted to change the Grub bootloader entries? Wanted to hide some, move some to top and make defaults? People must have suggested to edit /boot/grub/menu.lst. Oh and don&#8217;t forget to back it up if you make a mess of it. There are all these different options you can add to the defoptions line to [...]]]></description>
			<content:encoded><![CDATA[<p><firstimage="http://main.makeuseoflimited.netdna-cdn.com/wp-content/uploads/2009/07/startupmanagerlogo.png" /><img class="align-left" style="margin-right:20px" src="http://main.makeuseoflimited.netdna-cdn.com/wp-content/uploads/2009/07/startupmanagerlogo.png?323f2c" alt="" vspace="5" align="left" />Ever wanted to change the <a href="http://www.makeuseof.com/tags/grub/">Grub</a> bootloader entries? Wanted to hide some, move some to top and make defaults? People must have suggested to edit /boot/grub/menu.lst. Oh and don&#8217;t forget to back it up if you make a mess of it. There are all these different options you can add to the defoptions line to make it look the way you want. Sounds like too much to handle? How about a GUI tool to make all this a breeze and still have lots more to offer?</p>
<p>StartUp Manager can be used to achieve this easily. You can install StartUp Manager by using your distribution&#8217;s package manager. Or check <a href="https://launchpad.net/startup-manager/">here</a>. Once installed, it can be found under </p>
<p><em>System &gt; Administration &gt; StartUp Manager</em>.</p>
<p>StartUp Manager can be used to easily customize a number of options that would otherwise require you to get your hands dirty by editing configuration files. As a start, you can change boot options such as the selection timeout and default operating system. If you have multiple operating systems, a useful option here is to make the <em>Last Used</em> operating system as the default choice, which would automatically boot the one you used the last time. Such a setting can be quite handy when you have a clear favorite in terms of operating systems and others are just  installed for completeness.</p>
<p><span id="more-20600"></span></p>
<p style="text-align:center"><img src="http://main.makeuseoflimited.netdna-cdn.com/wp-content/uploads/2009/07/bootoptions.png?323f2c" alt="open source startup manager" /></p>
<p>You can also change the display resolution and the color depth if you are experiencing any problems with the display of the main menu. Uncheck &#8220;Show bootloader menu&#8221; if you don&#8217;t want to see the menu, and boot the default operating system each time. &#8220;Show bootsplash&#8221; can be used to add an image as background to the bootloader menu. We did a <a href="http://www.makeuseof.com/tag/how-to-create-a-custom-splashimage-for-grub/">complete tutorial on it some time back</a>. &#8220;Show text during boot&#8221; provides you with textual feedback of what is currently happening in the boot process.</p>
<p style="text-align:center"><img src="http://main.makeuseoflimited.netdna-cdn.com/wp-content/uploads/2009/07/appearance.png?323f2c" alt="boot manager" /></p>
<p>The appearance tab allows you to customize the look of the bootloader menu as well as the <a href="http://www.makeuseof.com/tag/how-to-easily-change-your-usplash-screen-in-ubuntu/">Usplash</a> theme. You can add colors to the bootloader menu, pick and choose the ones you like. A Usplash theme governs the progress bar display during the boot process. You can find some Usplash themes <a href="http://www.ubuntu-art.org/index.php?xcontentmode=8112&amp;PHPSESSID=9b2834bcd6661e2ab3ce8c48f4973f33">here</a>, click on &#8220;Manage Usplash themes&#8221; and add the one you downloaded, then select the one you like and next time you boot, it would be there to greet you.</p>
<p style="text-align:center"><img src="http://main.makeuseoflimited.netdna-cdn.com/wp-content/uploads/2009/07/usplash.png?323f2c" alt="startup manager" /></p>
<p>That is not all by any stretch of imagination. StartUp Manager allows you to do pretty advanced stuff. You can <a href="http://www.makeuseof.com/tag/how-to-password-protect-grub-entries-linux/">password-protect the bootloader</a> or only recovery mode entries (<a href="http://www.makeuseof.com/tag/how-to-reset-any-linux-password/">a good choice</a>) or the boot options by simply placing a check against the option and specifying the password.</p>
<p style="text-align:center"><img src="http://main.makeuseoflimited.netdna-cdn.com/wp-content/uploads/2009/07/passwordprot.png?323f2c" alt="free boot manager" /></p>
<p>If you are bothered by how cluttered the bootloader gets after a kernel upgrade, you can limit the number of entries from here in. Uncheck &#8220;Create boot option for recovery mode&#8221; to remove the recovery mode altogether if you are paranoid about someone getting into your system through recovery mode root prompt.</p>
<p style="text-align:center"><img src="http://main.makeuseoflimited.netdna-cdn.com/wp-content/uploads/2009/07/advanced.png?323f2c" alt="manage grub ubuntu" /></p>
<p><a href="https://launchpad.net/startup-manager/">StartUp Manager</a> is a no fuss tool which greatly simplifies tweaking and customizing of bootloader options and helps you manage Grub and Usplash settings easily without having to go in and tinker with the configuration files yourself. What do you think of it? Let us know in the comments.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.makeuseof.com/tag/easy-gui-management-of-grub-and-usplash-settings-with-startup-manager-linux/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
		<item>
		<title>How To Reset Any Linux Password</title>
		<link>http://www.makeuseof.com/tag/how-to-reset-any-linux-password/</link>
		<comments>http://www.makeuseof.com/tag/how-to-reset-any-linux-password/#comments</comments>
		<pubDate>Tue, 10 Mar 2009 23:01:51 +0000</pubDate>
		<dc:creator>Varun Kashyap</dc:creator>
				<category><![CDATA[Cool Linux Apps & Tips]]></category>
		<category><![CDATA[How-To Articles]]></category>
		<category><![CDATA[grub]]></category>
		<category><![CDATA[live CD]]></category>
		<category><![CDATA[password]]></category>

		<guid isPermaLink="false">http://www.makeuseof.com/?p=13849</guid>
		<description><![CDATA[A few days back we looked at how to password protect your GRUB boot entries so that a password is required before anyone can boot the operating system or edit the boot entry. Let&#8217;s look at some ways you can use to reset your Linux system&#8217;s password. You might know that the root user can [...]]]></description>
			<content:encoded><![CDATA[<p><img style="margin-right:20px" src="http://main.makeuseoflimited.netdna-cdn.com/wp-content/uploads/2009/03/lock.png?323f2c" alt="how to reset password in linux" vspace="10" align="left" />A few days back we looked at <a href="http://www.makeuseof.com/tag/how-to-password-protect-grub-entries-linux/">how to password protect your GRUB boot entries</a> so that a password is required before anyone can boot the operating system or edit the boot entry.</p>
<p>Let&#8217;s look at some ways you can use to reset your Linux system&#8217;s password. You might know that the root user can change the password for any other user. However what if you forget your root password? This is what we would attempt to achieve here. </p>
<p>So, how to reset password in Linux?</p>
<p>To reset your root password (or any other account&#8217;s password for that matter), there are essentially two different situations which require varying approaches.</p>
<h3><strong>When you can use GRUB</strong></h3>
<p>If you have GRUB installed and you have accesses to edit boot parameters of selected entries then the job is as easy as it can get. Follow along and you shall have root access in no time. Once you have root access you can pretty much do anything you want to do!</p>
<ul>
<li>Highlight the GRUB entry for the Linux installation that you want to reset the password for.</li>
<li>Press &#8216;e&#8217; to edit. Select the Kernel line. Add &#8216;single&#8217; at the end of the kernel line. Press &#8216;b&#8217; to boot. If your system still requires you to enter the root password, add <strong>init=/bin/bash</strong> at the end. Press &#8216;b&#8217; to boot.</li>
<p style="text-align: center;"><img class="aligncenter" src="http://main.makeuseoflimited.netdna-cdn.com/wp-content/uploads/2009/03/grub1.png?323f2c" alt="reset password linux" /></p>
<p style="text-align: center;"><img class="aligncenter" src="http://main.makeuseoflimited.netdna-cdn.com/wp-content/uploads/2009/03/single.png?323f2c" alt="how to change password linux" /></p>
<li>Either you would be taken to the root prompt directly or shown the recovery menu from where you can choose the root prompt. Use <strong>passwd &lt;username&gt;</strong> to change the password for any account.</li>
<p style="text-align: center;"><img class="aligncenter" src="http://main.makeuseoflimited.netdna-cdn.com/wp-content/uploads/2009/03/rootprompt.png?323f2c" alt="" /></p>
<li>Type <strong>reboot</strong> to reboot the system and then log in in with your new password.</li>
</ul>
<p>Also, note that some distributions will create a recovery mode entry during install. If you have the recovery mode entry listed in GRUB, you need not do any of the above, just choose the recovery mode and then choose root prompt at the screen that follows.</p>
<h3><strong>When you can&#8217;t use GRUB</strong></h3>
<p>If you are unable to use GRUB for whatever reasons (like password protected entries) you can still reset the password using a Live CD (I will be using Ubuntu Live CD, you may use any other). Just follow the steps below to achieve this:</p>
<ul>
<li>Boot from the Live CD</li>
<li>Choose &#8220;Try Ubuntu without any changes to your computer&#8221;</li>
<p style="text-align: center;"><img class="aligncenter" src="http://main.makeuseoflimited.netdna-cdn.com/wp-content/uploads/2009/03/tryubuntu.png?323f2c" alt="" /></p>
<li>When the system is ready, fire up a terminal window and get ready for some command line action</li>
<li>Type <strong>sudo fdisk -l</strong>. In the output we are concerned to know which partition Linux is installed on and what name the hard disk is using. (e.g) in this case it is <strong>/dev/sda1</strong> is the required partition. If you are sure about the partition you can skip this step.</li>
<p style="text-align: center;"><img class="aligncenter" src="http://main.makeuseoflimited.netdna-cdn.com/wp-content/uploads/2009/03/fdisk.png?323f2c" alt="" /></p>
<li>Next we need to mount the Linux partition. Create a directory to act as mount point for the partition. Use &#8216;<strong>sudo mkdir /media/linx_part</strong>&#8216;</li>
<p style="text-align: center;"><img class="aligncenter" src="http://main.makeuseoflimited.netdna-cdn.com/wp-content/uploads/2009/03/mkdir.png?323f2c" alt="" /></p>
<li>Mount the linux partition using the command &#8216;<strong>sudo mount /dev/sda1 /media/linx_part</strong>&#8216;</li>
<p style="text-align: center;"><img class="aligncenter" src="http://main.makeuseoflimited.netdna-cdn.com/wp-content/uploads/2009/03/mount.png?323f2c" alt="" /></p>
<li>Change Root to the mount directory &#8211; &#8216;<strong>sudo chroot /media/sda1</strong>&#8216;</li>
<li>Type <strong>passwd</strong> and then enter the new password to change the password.</li>
<p style="text-align: center;"><img class="aligncenter" src="http://main.makeuseoflimited.netdna-cdn.com/wp-content/uploads/2009/03/chroot.png?323f2c" alt="" /></p>
<li>Type <strong>reboot</strong> to restart the system.</li>
</ul>
<p>Have you ever attempted such a password recovery? How did you go about it? Have some other nice tricks to show off? Let us know in the comments.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.makeuseof.com/tag/how-to-reset-any-linux-password/feed/</wfw:commentRss>
		<slash:comments>10</slash:comments>
		</item>
		<item>
		<title>How To Password Protect GRUB Entries (Linux)</title>
		<link>http://www.makeuseof.com/tag/how-to-password-protect-grub-entries-linux/</link>
		<comments>http://www.makeuseof.com/tag/how-to-password-protect-grub-entries-linux/#comments</comments>
		<pubDate>Sun, 22 Feb 2009 17:01:26 +0000</pubDate>
		<dc:creator>Varun Kashyap</dc:creator>
				<category><![CDATA[Cool Linux Apps & Tips]]></category>
		<category><![CDATA[How-To Articles]]></category>
		<category><![CDATA[Security]]></category>
		<category><![CDATA[boot screen]]></category>
		<category><![CDATA[encryption]]></category>
		<category><![CDATA[grub]]></category>
		<category><![CDATA[password]]></category>
		<category><![CDATA[ubuntu]]></category>

		<guid isPermaLink="false">http://www.makeuseof.com/?p=12744</guid>
		<description><![CDATA[GRUB or the GRand Unified Bootloader is the bootloader commonly installed by Linux distributions on your hard disk. GRUB is responsible for showing you the menu that allows you to choose the operating system you want to boot into and also lets you tweak and control the booting options. Awesome powers in good hands but [...]]]></description>
			<content:encoded><![CDATA[<p><img style="margin-right:20px" src="http://main.makeuseoflimited.netdna-cdn.com/wp-content/uploads/2008/11/logogrb.jpeg?323f2c" border="0" alt="how-to-password-protect-grub-entries" vspace="10" align="left" /> GRUB or the GRand Unified Bootloader is the bootloader commonly installed by Linux distributions on your hard disk. GRUB is responsible for showing you the menu that allows you to choose the operating system you want to boot into and also lets you tweak and control the booting options.</p>
<p>Awesome powers in good hands but as you probably know &#8220;with great powers come great responsibilities&#8221;, so GRUB allows you to lock down some features and boot entries to allow only the intended users to go through.</p>
<p>When talking of security in computer systems one often needs to analyse the situation one is in and choose the appropriate options. If you have hackers getting physical access to your computer system the GRUB security measures won&#8217;t last a second (pretty much nothing would do). Your best bet in such a situation is to keep the hard drive encrypted, or if your hard drive can be password protected, use that option.</p>
<p>However, the majority of us don&#8217;t have to worry about hackers with physical access as much as our not-so-computer savvy relatives and friends fiddling around with the system. That is what we have the log in passwords for (they are not secure enough for hackers, trust me!), and that is the situation where you would be wise to make use of GRUB security features.</p>
<p>It is also a good practice to password protect the recovery mode entries as they can be used by any user to gain root access.</p>
<p>GRUB security features allow you to lock down the editing of boot options accessed by pressing the &#8216;e&#8217; key and they allow you to password protect selected or all boot entries.</p>
<p>Follow the steps below to see how to password protect GRUB entries:</p>
<ul>
<li>Fire up the terminal. Type <em><strong>grub</strong></em> and press enter. The prompt would change to something like &#8216;grub&gt;&#8217;.</li>
<li>Enter <em><strong>md5crypt</strong></em> at the GRUB prompt. Type in the password when prompted for and press enter. The command will return you password encrypted as an md5 hash. You will need this so make a note of it or copy to the clipboard.</li>
<p style="text-align: center;"><img class="aligncenter" src="http://main.makeuseoflimited.netdna-cdn.com/wp-content/uploads/2009/02/grubcmd.png?323f2c" alt="add password to grub" /></p>
<li>Now we need to edit the <em><strong>/boot/grub/menu.lst</strong></em> file. You are advised to make a backup of the file before editing it in case something goes wrong.</li>
<p style="text-align: center;"><img class="aligncenter" src="http://main.makeuseoflimited.netdna-cdn.com/wp-content/uploads/2009/02/passall.png?323f2c" alt="password protect grub ubuntu" /></p>
<li>Enter the line <em><strong>password &#8211;md5 &lt;the copied md5 string from step 3&gt;</strong></em> before the line that reads: &#8220;BEGIN AUTOMAGIC KERNEL LIST&#8221; (actually it just needs to come before any of the boot menu entries, so you can write it anywhere as long as it is before them).</li>
<li>If you save the file at this moment without any further edits you would have locked down interactive editing in GRUB. The administrator or in this case you would have to press &#8216;p&#8217; key and enter the correct password to access these advanced options.</li>
<li>If in addition you want to lock down specific menu entries so that anyone without the knowledge of the correct password cannot boot into that operating system you should add the word <em><strong>lock</strong></em> all by itself on a separate line just after the title specification for each entry in the menu.</li>
<p style="text-align: center;"><img class="aligncenter" src="http://main.makeuseoflimited.netdna-cdn.com/wp-content/uploads/2009/02/passindi.png?323f2c" alt="" /></p>
<li>The next time anyone tries to select the locked menu entry he/she will be required to enter a password before he/she can boot into the corresponding operating system.</li>
<li>To lock the recovery mode entries it is best to change the line <em><strong>lockalternative=false</strong></em> to <em><strong>lockalternative=true</strong></em>. This will lock down all future recovery mode entries as well even if you update the kernel.</li>
</ul>
<p>What security features do you use to secure your system? Have you encrypted your hard drive? Or do you use a BIOS password? Let us know in the comments. Also check out <a href="http://www.makeuseof.com/tag/how-to-create-a-custom-splashimage-for-grub/">how to add a custom background to GRUB menu</a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.makeuseof.com/tag/how-to-password-protect-grub-entries-linux/feed/</wfw:commentRss>
		<slash:comments>14</slash:comments>
		</item>
		<item>
		<title>How To Create A Custom Splashimage For GRUB</title>
		<link>http://www.makeuseof.com/tag/how-to-create-a-custom-splashimage-for-grub/</link>
		<comments>http://www.makeuseof.com/tag/how-to-create-a-custom-splashimage-for-grub/#comments</comments>
		<pubDate>Sat, 29 Nov 2008 22:01:56 +0000</pubDate>
		<dc:creator>Varun Kashyap</dc:creator>
				<category><![CDATA[Cool Linux Apps & Tips]]></category>
		<category><![CDATA[How-To Articles]]></category>
		<category><![CDATA[GIMP]]></category>
		<category><![CDATA[grub]]></category>
		<category><![CDATA[linux hacks]]></category>

		<guid isPermaLink="false">http://www.makeuseof.com/?p=8252</guid>
		<description><![CDATA[Almost all the popular Linux distributions use the GNU GRand Unified Bootloader (GRUB) as the bootloader of choice these days. If you have been experimenting with a number of distributions, you must have seen that some of them have a backdrop image for GRUB and some (like Ubuntu) don&#8217;t. If, like me, the default black [...]]]></description>
			<content:encoded><![CDATA[<p><img style="margin-right:20px" src="http://main.makeuseoflimited.netdna-cdn.com/wp-content/uploads/2008/11/logogrb.jpeg?323f2c" alt="" align="left" />Almost all the popular Linux distributions use the GNU GRand Unified Bootloader (GRUB) as the bootloader of choice these days. If you have been experimenting with a number of distributions, you must have seen that some of them have a backdrop image for GRUB and some (like Ubuntu) don&#8217;t.</p>
<p>If, like me, the default black background of the GRUB menu looks boring to you or if you would like to change the default backdrop to something of your choice, like your girlfriend&#8217;s photo for example, then follow along!</p>
<h2><strong>We will use:</strong></h2>
<ul>
<li>An image of the photo you want to use as the background</li>
<li>GIMP</li>
<li>A text editor</li>
</ul>
<h2><strong>Steps</strong></h2>
<p>First, open up the image you want to use as the backdrop in GIMP. There are a few things you should keep in mind while choosing a image for a task like this. You must keep in mind that when the GRUB menu is displayed, your system has limited graphic capabilities. So don&#8217;t choose an image that is too wide or too high. A normal 4:3 aspect ratio photo or image would work well.</p>
<p>Also not something that we will have to reduce colors (to a mere 14 to be precise), so again don&#8217;t choose something with gradients, or soft edges or varying tones of a single color because all this will look abrupt once we finish editing to make it work with GRUB.</p>
<p>Once the image is open inside GIMP, go to <strong>Image &gt; Scale Image</strong>.  In the dialog that appears, type 640 for the width, the height would automatically be reduced to 480 (if it&#8217;s set to constrain proportion and if you chose the right sized image). Once you are satisfied hit &#8216;Scale&#8217;. The image will now be scaled to 640 x 480, which is perfect for our needs.</p>
<p style="text-align: center;"><img class="aligncenter" src="http://main.makeuseoflimited.netdna-cdn.com/wp-content/uploads/2008/11/scalegrb.png?323f2c" alt="" /></p>
<p>Next go to <strong>Image &gt; Mode &gt; Indexed</strong>. Check &#8216;generate optimum palette&#8217; if it&#8217;s not already checked and key in &#8217;14&#8242; in the &#8216;Maximum number of colors&#8217; box. Leave color dithering to none. Hit &#8216;convert&#8217; and you will see that your image loses some colors and looks a bit out of place. If it&#8217;s too much for you, maybe you should try it on a different image. It&#8217;s all about what you would like to see! If it looks good, then we are almost done.</p>
<p style="text-align: center;"><img class="aligncenter" src="http://main.makeuseoflimited.netdna-cdn.com/wp-content/uploads/2008/11/indexcolor.png?323f2c" alt="" /></p>
<p>Click on <strong>File &gt; Save</strong> and save the image as an xpm file. Further use <strong>gzip ~/background.xpm</strong> (assuming you saved it as background.xpm in your home directory) to create a file background.xpm.gz. You may also use File Roller to achieve the task as long as you get background.xpm.gz</p>
<p style="text-align: center;"><img class="aligncenter" src="http://main.makeuseoflimited.netdna-cdn.com/wp-content/uploads/2008/11/savegrb1.png?323f2c" alt="" /></p>
<p>Now for the final part we need to tell GRUB to use the masterpiece you have just created as the background. Since now you know how to create the backgrounds for GRUB, you might as well create a dedicated directory to store them. Quickly type in the following set of commands:</p>
<p style="text-align: center;"><strong>sudo mkdir /boot/grub/backgrounds/<br />
sudo mv ~/background.xpm.gz /boot/grub/backgrounds/</strong></p>
<p style="text-align: center;"><img class="aligncenter" src="http://main.makeuseoflimited.netdna-cdn.com/wp-content/uploads/2008/11/termgrb.png?323f2c" alt="" /></p>
<p>Finally edit the boot menu file to let GRUB know about the location of your master piece(s). You will need to edit the /boot/menu.lst file. Do so as follows:</p>
<p style="text-align: center;"><strong>sudo vi /boot/grub/menu.lst</strong> (or &#8220;gksu gedit /boot/grub/menu.lst&#8221; if you prefer GUI)</p>
<p>Scroll down or find the line which reads &#8216;End Default Options&#8217;. Just next to this line and before the title paragraphs start you need to insert the following line</p>
<p style="text-align:center"><strong>splashimage=XXXXXX/boot/grub/backgrounds/background.xpm.gz</strong></p>
<p>replace <strong>XXXXXX</strong> with your root partition. If everything went well, you should see the background next time you boot.</p>
<p>There you go, your very own personalized GRUB splashimage. You can also find ready made splashimages at <a href="http://gnome-look.org/">gnome-look</a> and other places.</p>
<p>Let me know in the comments if you have some questions.  Oh and don&#8217;t forget to show us what you are using as a splashimage for the GRUB menu on <strong>your</strong> machine.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.makeuseof.com/tag/how-to-create-a-custom-splashimage-for-grub/feed/</wfw:commentRss>
		<slash:comments>23</slash:comments>
		</item>
		<item>
		<title>10 Cool Linux Apps You Maybe Didn&#8217;t Know About</title>
		<link>http://www.makeuseof.com/tag/10-cool-linux-apps-you-maybe-didnt-know-about/</link>
		<comments>http://www.makeuseof.com/tag/10-cool-linux-apps-you-maybe-didnt-know-about/#comments</comments>
		<pubDate>Thu, 06 Nov 2008 21:00:00 +0000</pubDate>
		<dc:creator>Stefan Neagu</dc:creator>
				<category><![CDATA[Cool Linux Apps & Tips]]></category>
		<category><![CDATA[MakeUseOf Lists]]></category>
		<category><![CDATA[banking]]></category>
		<category><![CDATA[browsers]]></category>
		<category><![CDATA[cd-dvd tools]]></category>
		<category><![CDATA[ebooks]]></category>
		<category><![CDATA[flickr uploader]]></category>
		<category><![CDATA[grub]]></category>
		<category><![CDATA[ISO]]></category>
		<category><![CDATA[ripping]]></category>
		<category><![CDATA[ubuntu]]></category>
		<category><![CDATA[webcam]]></category>
		<category><![CDATA[widgets]]></category>

		<guid isPermaLink="false">http://www.makeuseof.com/?p=7144</guid>
		<description><![CDATA[Ubuntu comes pre-installed with a wealth of apps &#8211; covering almost every task you need to do, while still managing to fit on a CD. Are you ready to discover some pretty cool Linux apps that don&#8217;t get the attention they deserve? Let&#8217;s check them out. You can easily install any of these apps using [...]]]></description>
			<content:encoded><![CDATA[<p>Ubuntu comes pre-installed with a wealth of apps &#8211; covering almost every task you need to do, while still managing to fit on a CD. Are you ready to discover some pretty cool Linux apps that don&#8217;t get the attention they deserve? Let&#8217;s check them out.</p>
<p>You can easily install any of these apps using the &#8216;Add/Remove Applications&#8217; from the upper panel.</p>
<p style="text-align: center;"><img src="http://main.makeuseoflimited.netdna-cdn.com/wp-content/uploads/2008/11/cool-ubuntu-apps.png?323f2c" alt="cool ubuntu linux apps" /></p>
<h2>1. Midori</h2>
<p style="text-align: center;"><img class="aligncenter" src="http://main.makeuseoflimited.netdna-cdn.com/wp-content/uploads/2008/11/linux-midori.png?323f2c" border="0" alt="midori - light weight web browser" /></p>
<p>Midori is a web browser that uses the well-known WebKit rendering engine, providing quite a speed bump from Firefox and standards complying page rendering. Midori is currently packaged into Xubuntu and features include tabs, bookmarks and customizable search engine box. The browser is extensible via Javascript.</p>
<h2>2. gDesklets</h2>
<p style="text-align: center;"><img class="aligncenter" src="http://main.makeuseoflimited.netdna-cdn.com/wp-content/uploads/2008/11/gdesklets-linux.png?323f2c" border="0" alt="gDesklets - widgets for linux" /></p>
<p>gDesklets is a platform for widgets, tiny applets sitting on your desktop in a symbiotic relationship of eye candy and usefulness. You can populate your desktop with status meters, icon bars, weather sensors and news tickers.</p>
<p>I managed to configure gDesklets to emulate the OS X Dashboard feature in addition to the standard placement on the desktop.</p>
<h2>3. AcidRip</h2>
<p style="text-align: center;"><img class="aligncenter" src="http://main.makeuseoflimited.netdna-cdn.com/wp-content/uploads/2008/11/acid-rip.png?323f2c" border="0" alt="acidrip - rip and encode DVDs" /></p>
<p>AcidRip is a GTK application for ripping and encoding DVD&#8217;s. It neatly wraps MPlayer and MEncoder, which I think is pretty handy, seeing as MPlayer is by far the best bit of video playing kit around for Linux.</p>
<p>As well as creating a simple Graphical Interface for those nervous of the MEncoders command line interface, it also automates the entire process.</p>
<h2>4. Cheese Webcam Booth</h2>
<p style="text-align: center;"><img class="aligncenter" src="http://main.makeuseoflimited.netdna-cdn.com/wp-content/uploads/2008/11/cheese-webcam-booth.png?323f2c" border="0" alt="take pics using webcam" /></p>
<p>Cheese is a Photobooth-inspired GNOME application for taking pictures and videos from a webcam. It also includes fancy graphical effects based on the gstreamer-backend.</p>
<h2>5. Gmount-iso</h2>
<p style="text-align: center;"><img class="aligncenter" src="http://main.makeuseoflimited.netdna-cdn.com/wp-content/uploads/2008/11/image4.png?323f2c" border="0" alt="image" /></p>
<p>Gmount-iso is a small tool written using PyGTK and Glade. It allows you to easily mount your CD images.</p>
<h2>6. KGRUBEditor</h2>
<p style="text-align: center;"><img class="aligncenter" src="http://main.makeuseoflimited.netdna-cdn.com/wp-content/uploads/2008/11/linux-kgrub-editor.png?323f2c" border="0" alt="GRUB editor" /></p>
<p>A tool to view and edit the menu.lst file of the GRUB boot manager. It offers many features and it is the perfect solution for those who want to change the way GRUB works, without messing with the menu.lst file.</p>
<h2>7. Flickr Uploader</h2>
<p style="text-align: center;"><img class="aligncenter" src="http://main.makeuseoflimited.netdna-cdn.com/wp-content/uploads/2008/11/ubutu-flickr-uploader.png?323f2c" border="0" alt="Flick uploader linux" /></p>
<p>Postr is a small app that lets you upload photographs to Flickr, with tight integration into the GNOME desktop.</p>
<h2>8. DOS Emulator</h2>
<p style="text-align: center;"><img class="aligncenter" src="http://main.makeuseoflimited.netdna-cdn.com/wp-content/uploads/2008/11/linux-dos-emulator.png?323f2c" border="0" alt="DOS emulator" /></p>
<p>DOSEMU stands for DOS Emulation, and allows you to run DOS and many DOS programs, including many DPMI applications such as DOOM and Windows 3.1, under Linux.</p>
<p>Features include:</p>
<ul>
<li>word size and addressing modes of the iAPX86 processor family&#8217;s &#8220;real mode,&#8221; while still running within the full protected mode environment</li>
<li>simulate a hardware environment over which DOS programs are accustomed to having control.</li>
<li>provides DOS services through native Linux services; dosemu can provide a virtual hard disk drive which is actually a Linux directory hierarchy.</li>
</ul>
<p>&nbsp;</p>
<h2>9. E-book reader</h2>
<p style="text-align: center;"><img class="aligncenter" src="http://main.makeuseoflimited.netdna-cdn.com/wp-content/uploads/2008/11/ubunut-ebook-reader.png?323f2c" border="0" alt="ebook reader for linux" /></p>
<p>FBReader is an e-book reader with a lot of great features:</p>
<ul>
<li>supports several open e-book formats: fb2, html, chm, plucker, palmdoc, ztxt, tcr (psion text), rtf, oeb, openreader, non-DRM&#8217;ed mobipocket, plain text, epub</li>
<li>reads directly from tar, zip, gzip, bzip2 archives (you can have several books in one archive)</li>
<li>supports a structured view of your e-book collection</li>
<li>automatically determines encodings</li>
<li>automatically generates a table of contents</li>
<li>keeps the last open book and the last read positions for all open books between runs</li>
<li>automatic hyphenation (patterns for several languages are included)</li>
</ul>
<h2>10. HomeBank</h2>
<p style="text-align: center;"><img class="aligncenter" src="http://main.makeuseoflimited.netdna-cdn.com/wp-content/uploads/2008/11/linux-homebank.png?323f2c" border="0" alt="homebank for linux" /></p>
<p>HomeBank is a fast, simple and easy to use program to manage your bank accounts. It differs from gnucash for the better look and feel, and for the faster start-up speed. It has a lot of features such as easy analysis with graphical charts (statistics, budget, overdrawn, car cost), multi-accounts support, budget management, reminders, import from OFX/QFX-CSV files, visual status of operations. It is based on GTK2.</p>
<p>Let&#8217;s hear some other interesting, less-known Linux apps in the comments!</p>
]]></content:encoded>
			<wfw:commentRss>http://www.makeuseof.com/tag/10-cool-linux-apps-you-maybe-didnt-know-about/feed/</wfw:commentRss>
		<slash:comments>25</slash:comments>
		</item>
	</channel>
</rss>

<!-- Performance optimized by W3 Total Cache. Learn more: http://www.w3-edge.com/wordpress-plugins/

Page Caching using memcached (Requested URI is rejected)
Database Caching 1/36 queries in 0.039 seconds using apc
Object Caching 744/823 objects using disk: basic
Content Delivery Network via main.makeuseoflimited.netdna-cdn.com

Served from: www.makeuseof.com @ 2012-02-10 14:29:03 -->
