<?xml version='1.0' encoding='UTF-8'?><?xml-stylesheet href="http://www.blogger.com/styles/atom.css" type="text/css"?><feed xmlns='http://www.w3.org/2005/Atom' xmlns:openSearch='http://a9.com/-/spec/opensearchrss/1.0/' xmlns:georss='http://www.georss.org/georss' xmlns:gd='http://schemas.google.com/g/2005' xmlns:thr='http://purl.org/syndication/thread/1.0'><id>tag:blogger.com,1999:blog-634272145747225760</id><updated>2011-11-27T16:29:13.340-08:00</updated><category term='linux ubuntu grub menu.lst fstab'/><category term='linux'/><category term='windows'/><category term='wine'/><category term='ubuntu'/><category term='review'/><category term='success'/><title type='text'>The Rant Bastard</title><subtitle type='html'>Lieutenant, if I want your opinion I'll give it to you.</subtitle><link rel='http://schemas.google.com/g/2005#feed' type='application/atom+xml' href='http://therantbastard.blogspot.com/feeds/posts/default'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/634272145747225760/posts/default?max-results=100'/><link rel='alternate' type='text/html' href='http://therantbastard.blogspot.com/'/><link rel='hub' href='http://pubsubhubbub.appspot.com/'/><author><name>Craig Jackson</name><uri>http://www.blogger.com/profile/08539652166587211362</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><generator version='7.00' uri='http://www.blogger.com'>Blogger</generator><openSearch:totalResults>3</openSearch:totalResults><openSearch:startIndex>1</openSearch:startIndex><openSearch:itemsPerPage>100</openSearch:itemsPerPage><entry><id>tag:blogger.com,1999:blog-634272145747225760.post-7039048322799010830</id><published>2009-01-09T22:17:00.000-08:00</published><updated>2009-01-09T22:53:28.596-08:00</updated><title type='text'></title><content type='html'>For those of you with either friends or family, you no doubt have had to act as their unpaid system administrator.  When a phone call for support turns into a frustrating exchange of confusion, many of us turn to remote administration to provide assistance.  If Ubuntu 8.10 is the operating system that is deployed, there is an issue that could ironically provide for yet another service call related to the sharing of the desktop itself.  Here is the scenario:&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;Admin&lt;/span&gt;: Okay, I am having a hard time explaining it.  Please open a terminal and type "ifconfig".  Then tell me what it says for "inet addr".&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;User&lt;/span&gt;: Okay, I'm connecting...&lt;br /&gt;&lt;br /&gt;{blah blah blah, Admin fixes some problem}&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;User&lt;/span&gt;: Great, thanks for your help!  You are a genius!&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;Admin&lt;/span&gt;: Please, Please, I don't need a bigger ego than I already have.&lt;br /&gt;&lt;br /&gt;{Call ends}&lt;br /&gt;&lt;br /&gt;{Ten minutes go by}&lt;br /&gt;&lt;br /&gt;{User calls back}&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;Admin&lt;/span&gt;: Yes....?&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;User&lt;/span&gt;: I can't set my wallpaper anymore, It's just this damn brown background.  It doesn't matter what I do.&lt;br /&gt;&lt;br /&gt;There is a bug in the dialog that enables Remote Desktop.  Here is a screenshot of this dialog in the "Advanced" tab:&lt;br /&gt;&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://3.bp.blogspot.com/_Gn4mWPqOnOc/SWhCIeXTkeI/AAAAAAAAAEU/2seY4vQ6ABA/s1600-h/remote+desktop+sharing.jpg"&gt;&lt;img style="margin: 0px auto 10px; display: block; text-align: center; cursor: pointer; width: 400px; height: 348px;" src="http://3.bp.blogspot.com/_Gn4mWPqOnOc/SWhCIeXTkeI/AAAAAAAAAEU/2seY4vQ6ABA/s400/remote+desktop+sharing.jpg" alt="" id="BLOGGER_PHOTO_ID_5289550475703849442" border="0" /&gt;&lt;/a&gt;Now it seems logical when dealing with a remote location to choose the option to disable the wallpaper.  This will do just that.  But good luck trying to change it back.  No matter what the user does, it does not draw the wallpaper, even when the Administrator is not connected and even after a reboot.  Here is the fix:&lt;br /&gt;&lt;br /&gt;Open a terminal window&lt;br /&gt;Type &lt;span style="font-weight: bold;"&gt;gconf-editor&lt;/span&gt;&lt;br /&gt;Select &lt;span style="font-weight: bold;"&gt;desktop&lt;/span&gt; &gt; &lt;span style="font-weight: bold;"&gt;gnome&lt;/span&gt; &gt; &lt;span style="font-weight: bold;"&gt;background&lt;/span&gt;&lt;br /&gt;Check "&lt;span style="font-weight: bold;"&gt;draw_background&lt;/span&gt;"&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://4.bp.blogspot.com/_Gn4mWPqOnOc/SWhE-3sGcoI/AAAAAAAAAEc/KnKk-AehO7w/s1600-h/Configuration+editor+draw+background.jpg"&gt;&lt;img style="margin: 0px auto 10px; display: block; text-align: center; cursor: pointer; width: 400px; height: 314px;" src="http://4.bp.blogspot.com/_Gn4mWPqOnOc/SWhE-3sGcoI/AAAAAAAAAEc/KnKk-AehO7w/s400/Configuration+editor+draw+background.jpg" alt="" id="BLOGGER_PHOTO_ID_5289553609238147714" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;That's all it takes.  If someone lets me know this is no longer an issue, I will happily send this article to /dev/null.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/634272145747225760-7039048322799010830?l=therantbastard.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://therantbastard.blogspot.com/feeds/7039048322799010830/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=634272145747225760&amp;postID=7039048322799010830' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/634272145747225760/posts/default/7039048322799010830'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/634272145747225760/posts/default/7039048322799010830'/><link rel='alternate' type='text/html' href='http://therantbastard.blogspot.com/2009/01/for-those-of-you-with-either-friends-or.html' title=''/><author><name>Craig Jackson</name><uri>http://www.blogger.com/profile/08539652166587211362</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://3.bp.blogspot.com/_Gn4mWPqOnOc/SWhCIeXTkeI/AAAAAAAAAEU/2seY4vQ6ABA/s72-c/remote+desktop+sharing.jpg' height='72' width='72'/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-634272145747225760.post-2146755039259836936</id><published>2008-12-08T09:30:00.000-08:00</published><updated>2008-12-08T11:40:11.270-08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='linux ubuntu grub menu.lst fstab'/><title type='text'>Grub repair for Ubuntu</title><content type='html'>In my experience, Ubuntu is the most trouble-free Linux distribution.  That being said, there is a fundamental issue with the Grub boot loader that can cause issues with some types of hardware that doesn't fit into the mold of the "typical desktop machine".  There are basically two types of hardware that have the "issue": a. Early SATA controllers that emulate IDE and b. Other various machines that try to manage controller order in the BIOS.  This causes a conflict between the ordering of the hard drive controllers between the BIOS vs. the PCI bus.&lt;br /&gt;&lt;br /&gt;When Grub loads at boot time, it does not know what &lt;b&gt;/dev/sda1&lt;/b&gt;, &lt;b&gt;/dev/hda1&lt;/b&gt;, &lt;b&gt;/dev/cciss/c0d0p1&lt;/b&gt;, or &lt;b&gt;/dev/{anything}&lt;/b&gt; are.  The kernel and udev need to be loaded before those devices exist, so Grub has to rely on the BIOS to get its information about which devices are available to get a kernel booted.  On systems with a more-or-less linear boot order, this is not an issue.  However, sometimes the BIOS can be set to a different boot order than the Linux kernel will agree with.  Once the BIOS passes control of the boot process to the kernel, the kernel no longer requires the help of the BIOS at all (unless compiled in an unusual way).  It can look directly at the PCI bus to figure out the order of the disks.&lt;br /&gt;&lt;br /&gt;Grub and the Linux Kernel use different naming schemes for hard disks.  Since Grub is all BIOS-based, SCSI vs. IDE are not an issue.  All hard drives are &lt;b&gt;(hdD,P)&lt;/b&gt; where "&lt;b&gt;D&lt;/b&gt;" is the disk number and "&lt;b&gt;P&lt;/b&gt;" is the partition number.  These start with Zero, so if you are used to referring to a partition as &lt;b&gt;/dev/sda2&lt;/b&gt; it will be &lt;b&gt;(hd0,1)&lt;/b&gt; and &lt;b&gt;/dev/sdb1&lt;/b&gt; will be &lt;b&gt;(hd1,0)&lt;/b&gt;.&lt;br /&gt;&lt;br /&gt;Linux Kernel Hard Disk Devices:&lt;br&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;b&gt; /dev/TdDP&lt;/b&gt;&lt;br&gt;where&lt;br&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;"&lt;b&gt;T&lt;/b&gt;" is the type of driver used (s for SCSI or h for IDE)&lt;br&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;"&lt;b&gt;D&lt;/b&gt;" is the disk letter, starting with a&lt;br&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;"&lt;b&gt;P&lt;/b&gt;" is the partition number, starting with 1&lt;br&gt;Example: &lt;b&gt;/dev/sdb2&lt;/b&gt; == SCSI driver, Second disk, Second partition&lt;br&gt;&lt;br&gt;&lt;br /&gt;Linux Kernel Hard Disk Devices: (Some RAID arrays)&lt;br&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;b&gt;/dev/cciss/cCdDpP&lt;/b&gt;&lt;br&gt;where&lt;br&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; "&lt;b&gt;C&lt;/b&gt;" is the number of the controller, starting with 0&lt;br&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; "&lt;b&gt;D&lt;/b&gt;" is the disk number, starting with 0&lt;br&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; "&lt;b&gt;P&lt;/b&gt;" is the partition number, starting with 1&lt;br&gt;Example: &lt;b&gt;/dev/cciss/c0d1p2&lt;/b&gt; == RAID Array, First controller, Second disk, Second partition&lt;br&gt;&lt;br&gt;Grub Hard Disk Devices:&lt;br&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;b&gt;(hdD,P)&lt;/b&gt;&lt;br&gt;where&lt;br&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;"&lt;b&gt;D&lt;/b&gt;" is the disk number, starting with 0&lt;br&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;"&lt;b&gt;P&lt;/b&gt;" is the partition number, starting with 0&lt;br&gt;Example: &lt;b&gt;(hd1,0)&lt;/b&gt; == Second drive, First partition&lt;br&gt;&lt;br&gt;&lt;br /&gt;Here is the part of the Ubuntu installer where things can get messed up:&lt;br&gt;&lt;div id="s:_u" style="padding: 1em 0pt; text-align: left;"&gt;  &lt;a href="http://docs.google.com/File?id=d8phbcq_59g5gvp7f8_b" target="_blank"&gt;&lt;img style="width: 800px; height: 600px;" src="http://docs.google.com/File?id=d8phbcq_59g5gvp7f8_b" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt; If &lt;b&gt;(hd0)&lt;/b&gt; happens to be on a different controller than will be booted to, the boot process will fail.  This requires some very manual intervention.  I will go through this step-by-step.&lt;br /&gt;&lt;br /&gt; Boot to a Live CD of your choice.  For the purposes of this tutorial I will use an Ubuntu 8.10 Live CD.&lt;br /&gt; Choose "&lt;b&gt;Try Ubuntu without any change to your computer&lt;/b&gt;":&lt;br /&gt; &lt;div id="r0h5" style="padding: 1em 0pt; text-align: left;"&gt;  &lt;a target="_blank" href="http://docs.google.com/File?id=d8phbcq_606dgq5xgz_b"&gt;&lt;img style="width: 800px; height: 600px;" src="http://docs.google.com/File?id=d8phbcq_606dgq5xgz_b" /&gt;&lt;/a&gt;  &lt;/div&gt; &lt;br /&gt; When the CD starts up, open a Terminal window:&lt;br /&gt;&lt;/div&gt; &lt;div id="qry5" style="padding: 1em 0pt; text-align: left;"&gt;  &lt;a target="_blank" href="http://docs.google.com/File?id=d8phbcq_61gcztwmw8_b"&gt;&lt;img style="width: 800px; height: 600px;" src="http://docs.google.com/File?id=d8phbcq_61gcztwmw8_b" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;To become a super user, type:&lt;br&gt;  &amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;b&gt;&lt;i&gt;sudo su -&lt;/i&gt;&lt;/b&gt;&lt;br&gt;  Change to the &lt;b&gt;/mnt &lt;/b&gt;directory, where we will be doing most of the work&lt;br&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;b&gt;&lt;i&gt;cd /mnt&lt;/i&gt;&lt;/b&gt;&lt;br&gt;  List the available partitions in the system:&lt;br&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;b&gt;&lt;i&gt; fdisk -l&lt;/i&gt;&lt;/b&gt;&lt;br&gt;Based on the list of partitions, create a directory under &lt;b&gt;/mnt&lt;/b&gt; with an appropriate name, for example:&lt;br&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;b&gt;&lt;i&gt; mkdir sda1&lt;/i&gt;&lt;/b&gt;&lt;br&gt;Mount the partition to this directory:&lt;br&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;b&gt;&lt;i&gt; mount /dev/sda1 sda1&lt;/i&gt;&lt;/b&gt;&lt;br&gt;Verify this is indeed the partition you wanted to mount:&lt;br&gt;&amp;nbsp;&amp;nbsp;&lt;b&gt;&lt;i&gt;&amp;nbsp; ls sda1&lt;/i&gt;&lt;/b&gt;&lt;br&gt;&lt;a target="_blank" href="http://docs.google.com/File?id=d8phbcq_62g82zhwfm_b"&gt;&lt;img style="width: 800px; height: 600px;" src="http://docs.google.com/File?id=d8phbcq_62g82zhwfm_b" /&gt;&lt;/a&gt; &lt;/div&gt;&lt;br /&gt;Bind-Mount the existing &lt;b&gt;/dev&lt;/b&gt;, &lt;b&gt;/proc&lt;/b&gt;, &lt;b&gt;/sys&lt;/b&gt; (located in RAM) to the &lt;b&gt;/dev&lt;/b&gt;, &lt;b&gt;/proc&lt;/b&gt;, &lt;b&gt;/sys&lt;/b&gt; folders on the partition you just mounted:&lt;br&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;b&gt;&lt;i&gt; mount --bind /dev /mnt/sda1/dev&lt;br&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; mount --bind /proc /mnt/sda1/proc&lt;br&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; mount --bind /sys /mnt/sda1/sys&lt;/i&gt;&lt;/b&gt;&lt;br&gt;&lt;br /&gt;Enter a chroot environment.  This tells the kernel that within this environment, it will assume a new path is the root of the filesystem.  The above filesystems will now be available in this new environment:&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;i&gt;&lt;b&gt;chroot sda1&lt;/b&gt;&lt;br&gt;&lt;/i&gt;&lt;br /&gt;&lt;div id="fte5" style="padding: 1em 0pt; text-align: left;"&gt;  &lt;a target="_blank" href="http://docs.google.com/File?id=d8phbcq_63fzt4jkfc_b"&gt;&lt;img style="width: 800px; height: 600px;" src="http://docs.google.com/File?id=d8phbcq_63fzt4jkfc_b" /&gt;&lt;/a&gt; &lt;/div&gt; With your favorite text editor (beginners should use "&lt;b&gt;nano&lt;/b&gt;", help is at the bottom of the screen) edit the file &lt;b&gt;/etc/fstab&lt;/b&gt;:&lt;br&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;i&gt;&lt;b&gt;nano /etc/fstab&lt;/b&gt;&lt;/i&gt;&lt;br&gt;You should see a string similar to this: "&lt;b&gt;UUID=c6d12c7f-fac9-4e0b-b86a-4e0b4cd5b29b&lt;/b&gt;" with a slash "&lt;b&gt;/&lt;/b&gt;" next to it.&amp;nbsp; Replace it with the kernel's version of the root "&lt;b&gt;/&lt;/b&gt;" partition.&amp;nbsp; For example:&lt;br&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;i&gt;&lt;b&gt; /dev/sda1 / ext3 relatime,errors=remount-ro 0 1&lt;/b&gt;&lt;/i&gt;&lt;br&gt;Do the same for the swap partition:&lt;br&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;i&gt;&lt;b&gt;/dev/sda5 none swap sw 0 0&lt;/b&gt;&lt;/i&gt;&lt;br&gt;This certainly cleans up the file a bit, as well as helps if you are planning on making a disk image of this system and need to put it in a different system on a different hard drive.&amp;nbsp; Save and exit.&amp;nbsp; (in nano this is accomplished with &lt;b&gt;&amp;lt;Ctrl&amp;gt;-&amp;lt;x&amp;gt;&lt;/b&gt; followed by a "&lt;b&gt;y&lt;/b&gt;" to the question of whether to save)&lt;br&gt;&lt;div id="qo.e" style="padding: 1em 0pt; text-align: left;"&gt;  &lt;a target="_blank" href="http://docs.google.com/File?id=d8phbcq_64dtbd5hgm_b"&gt;&lt;img style="width: 800px; height: 600px;" src="http://docs.google.com/File?id=d8phbcq_64dtbd5hgm_b" /&gt;&lt;/a&gt; &lt;/div&gt; Enter the Grub shell:&lt;br&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;b&gt; &lt;i&gt;grub&lt;/i&gt;&lt;/b&gt;&lt;br&gt;&lt;br /&gt;Get a listing of your available partitions:&lt;br&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;i&gt; &lt;b&gt;root (hd&amp;lt;tab&amp;gt;&amp;lt;tab&amp;gt;&lt;/b&gt;&lt;/i&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;(don't press enter)&lt;br&gt;Based on the output of the above command, note the grub disk name for the root (&lt;b&gt;/&lt;/b&gt;) partition, for example &lt;b&gt;(hd0,0)&lt;/b&gt;.&lt;br&gt;Quit Grub&lt;br&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;i&gt;&lt;b&gt;quit&lt;/b&gt;&lt;/i&gt;&lt;br&gt;&lt;div id="y05g" style="padding: 1em 0pt; text-align: left;"&gt;  &lt;a target="_blank" href="http://docs.google.com/File?id=d8phbcq_65g3j7x5dg_b"&gt;&lt;img style="width: 800px; height: 600px;" src="http://docs.google.com/File?id=d8phbcq_65g3j7x5dg_b" /&gt;&lt;/a&gt; &lt;/div&gt;&lt;br /&gt;With your favorite text editor, edit the file /boot/grub/menu.lst:&lt;br&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;i&gt;&lt;b&gt; nano /boot/grub/menu.lst&lt;/b&gt;&lt;/i&gt;&lt;br&gt;Page down to the end of the file.&amp;nbsp; There should be three entries, each beginning with a "&lt;b&gt;title&lt;/b&gt;" line.&amp;nbsp; Comment out (Put a &lt;b&gt;#&lt;/b&gt; in front of) the line that starts with "&lt;b&gt;uuid&lt;/b&gt;".&amp;nbsp; Do this for all three entries:&lt;br&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;&lt;i&gt;&lt;b&gt;#uuid c6d12c7f-fac9-4e0b-b86a-4e0b4cd5b29b&lt;/b&gt;&lt;/i&gt;&lt;br&gt;In the first two entries, there is a line that begins with "&lt;b&gt;kernel&lt;/b&gt;".&amp;nbsp; On this line you will find a string similar to "&lt;b&gt;root=UUID=c6d12c7f-fac9-4e0b-b86a-4e0b4cd5b29b&lt;/b&gt;".&amp;nbsp; Change this to "&lt;b&gt;root=/dev/TdDP&lt;/b&gt;" based on the kernel name of your root (&lt;b&gt;/&lt;/b&gt;) partition.&amp;nbsp; (see chart at top of article, example is &lt;b&gt;/dev/sda1&lt;/b&gt;)&amp;nbsp; Also, add a line above the "&lt;b&gt;kernel&lt;/b&gt;" line to point grub to the partition in the format "&lt;b&gt;root (hdD,P)&lt;/b&gt;. (see chart at top of article, example is &lt;b&gt;root (hd0,0)&lt;/b&gt;):&lt;br&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;i&gt; &lt;b&gt;root (hd0,0)&lt;/b&gt;&lt;br&gt;&amp;nbsp;&amp;nbsp;&lt;b&gt;&amp;nbsp; kernel&amp;nbsp;&amp;nbsp;&amp;nbsp; /boot/vmlinuz-2.6.27-7-generic root=/dev/sda1 ro quiet splash&lt;/b&gt;&lt;/i&gt;&lt;br&gt;Repeat this step for the recovery mode entry:&lt;br&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;i&gt;&lt;b&gt; root (hd0,0)&lt;br&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; kernel&amp;nbsp;&amp;nbsp;&amp;nbsp; /boot/vmlinuz-2.6.27-7-generic root=/dev/sda1 ro single&lt;/b&gt;&lt;/i&gt;&lt;br&gt;Save and exit this file.&lt;br&gt;&lt;div id="y67-" style="padding: 1em 0pt; text-align: left;"&gt;&lt;a target="_blank" href="http://docs.google.com/File?id=d8phbcq_66ds29m5hg_b"&gt;&lt;img style="width: 800px; height: 600px;" src="http://docs.google.com/File?id=d8phbcq_66ds29m5hg_b" /&gt;&lt;/a&gt;&lt;/div&gt;Now, run the Grub shell again:&lt;br&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;i&gt;&lt;b&gt;grub&lt;/b&gt;&lt;/i&gt;&lt;br&gt;Enter the root partition that contains &lt;b&gt;menu.lst&lt;/b&gt;, in Grub format:&lt;br&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;i&gt;&lt;b&gt; root (hd0,0)&lt;/b&gt;&lt;/i&gt;&lt;br&gt;Install Grub into the master boot record of the hard disk:&lt;br&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;i&gt;&lt;b&gt; setup (hd0)&lt;/b&gt;&lt;/i&gt;&lt;br&gt;Quit Grub:&lt;br&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;i&gt;&lt;b&gt; quit&lt;/b&gt;&lt;/i&gt;&lt;br&gt;&lt;div id="acqj" style="padding: 1em 0pt; text-align: left;"&gt;&lt;a target="_blank" href="http://docs.google.com/File?id=d8phbcq_67ftm64fhn_b"&gt;&lt;img style="width: 800px; height: 600px;" src="http://docs.google.com/File?id=d8phbcq_67ftm64fhn_b" /&gt;&lt;/a&gt;&lt;/div&gt;Exit the chroot environment:&lt;br&gt;&amp;nbsp;&amp;nbsp;&lt;i&gt;&lt;b&gt;&amp;nbsp; exit&lt;/b&gt;&lt;/i&gt;&lt;br&gt;&lt;br /&gt;List your mount points:&lt;br&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;i&gt;&lt;b&gt; mount&lt;/b&gt;&lt;/i&gt;&lt;br&gt;&lt;br /&gt;&lt;div id="ez55" style="padding: 1em 0pt; text-align: left;"&gt;&lt;img style="width: 800px; height: 600px;" src="http://docs.google.com/File?id=d8phbcq_68cb6xzs87_b" /&gt;&lt;/div&gt;You will get a long list of all the mounts that have been done in the Live CD environment.&amp;nbsp; We are only concerned with the last 4 displayed.&amp;nbsp; Start at the bottom and work your way up the list, unmounting only the mount points, not the devices:&lt;br&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;i&gt;&lt;b&gt; umount /mnt/sda1/sys&lt;br&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; umount /mnt/sda1/proc&lt;br&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; umount /mnt/sda1/dev&lt;br&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; umount /mnt/sda1&lt;/b&gt;&lt;/i&gt;&lt;br&gt;Exit the superuser environment:&lt;br&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;i&gt;&lt;b&gt; exit&lt;/b&gt;&lt;/i&gt;&lt;br&gt;Exit the shell:&lt;br&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;i&gt;&lt;b&gt; exit&lt;/b&gt;&lt;/i&gt;&lt;br&gt;&lt;br /&gt;&lt;div id="iex2" style="padding: 1em 0pt; text-align: left;"&gt;&lt;img style="width: 800px; height: 600px;" src="http://docs.google.com/File?id=d8phbcq_70f8xfdbg6_b" /&gt;&lt;/div&gt;Finally, restart your system and cross your fingers:&lt;br /&gt;&lt;div id="sioz" style="padding: 1em 0pt; text-align: left;"&gt;&lt;a target="_blank" href="http://docs.google.com/File?id=d8phbcq_71ghns8rxf_b"&gt;&lt;img style="width: 800px; height: 600px;" src="http://docs.google.com/File?id=d8phbcq_71ghns8rxf_b" /&gt;&lt;/a&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/634272145747225760-2146755039259836936?l=therantbastard.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://therantbastard.blogspot.com/feeds/2146755039259836936/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=634272145747225760&amp;postID=2146755039259836936' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/634272145747225760/posts/default/2146755039259836936'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/634272145747225760/posts/default/2146755039259836936'/><link rel='alternate' type='text/html' href='http://therantbastard.blogspot.com/2008/12/in-my-experience-ubuntu-is-most-trouble.html' title='Grub repair for Ubuntu'/><author><name>Craig Jackson</name><uri>http://www.blogger.com/profile/08539652166587211362</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-634272145747225760.post-7190849765938850052</id><published>2008-07-21T12:41:00.000-07:00</published><updated>2008-12-03T22:45:27.582-08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='linux'/><category scheme='http://www.blogger.com/atom/ns#' term='success'/><category scheme='http://www.blogger.com/atom/ns#' term='windows'/><category scheme='http://www.blogger.com/atom/ns#' term='wine'/><category scheme='http://www.blogger.com/atom/ns#' term='review'/><category scheme='http://www.blogger.com/atom/ns#' term='ubuntu'/><title type='text'>TheRantBastard's Ubuntu Linux Success Story</title><content type='html'>There are a lot of techie reviews of Linux distributions out there.  Techies are the ones that usually read, write, (and flame) these reviews.  This is a good success story of a Windows user's Linux experience.  Hopefully this will have a little more weight than just me preaching to the choir.&lt;br /&gt;&lt;br /&gt;I have been installing Ubuntu on various peoples' machines for about a year now and have had almost no complaints.  Occasionally I will get a question about the nature of how to do some sort of maintenance (such as installing an anti-virus product) only to inform them that said maintenance is not necessary.  I must admit this lack of support calls surprised me.&lt;br /&gt;&lt;br /&gt;One particular friend I gave Ubuntu to was on a testing contract at Microsoft and said he was "fed up" with all Microsoft has to offer and wished there was an alternative.  As you might imagine, there was no way out of the discussion at this point.  Since he only had one home machine, a laptop, I initially offered to set up a Dual-Boot environment on it.  He said "No way, I don't want any Microsoft products on my machine any more."  Although he had never used Linux before, he was not a complete novice when it came to computers in general, so I explained the technical barriers he might run into with a Linux-only setup.  I told him that he might have trouble with his scanner, printer, camera, sound, and video.  I refused to wipe his machine until he assured me he had burned all his data to CDs, and had his XP and Office software available in case we needed to back out of the whole ordeal.  When he promised this had been done, I went over to his house and ran a standard Ubuntu 7.04 Live CD.&lt;br /&gt;&lt;br /&gt;I was shocked at how well it worked with the hardware even before the installation.  Sure enough, after I had installed it, every single piece of hardware in the system worked flawlessly.  His Camera, Webcam, Scanner, Printer, and Video chipset were all detected and working without any intervention at all.  He was absolutely dazzled by all of this, and couldn't believe something that is free was able to "just work" right out of the box.  He was used to fighting with Windows drivers for years.  I was taken back myself, until then I hadn't had a system work that well with Linux.  I am used to either a. building Linux from source code or b. using distros that were not anywhere near this good with hardware.&lt;br /&gt;&lt;br /&gt;I had to call him the other day just to see if he was still alive, or more important for this article, if his Linux machine was still up and running.  He said he never has to do any troubleshooting.  He just allows the updates to continue.  He has been allowing the package manager to perform dist-upgrades since 7.04 and the same installation of Ubuntu is now running 8.10.  He said it feels like it is just a snappier, more refined version of the original each time an upgrade occurs.  This is impressive when you think about the move from 7.10 to 8.04, which had many fundamental changes.&lt;br /&gt;&lt;br /&gt;I find it necessary to tell this story when someone at work or otherwise insists that "Linux isn't ready for users".  If by users they mean cutting-edge gamers that require only the most updated DirectX-capable machine, then no it is not ready for them.  The gaming market is the last stand for user adoption.  I admit I have a Windows XP Home dual-booted with my main Desktop machine.  I only use it for playing a Windows game when I can't get it to work with Wine.  Some of my Windows games (Call of Duty 2 for example) actually run better in Wine than in Windows.  If more games are written with this level of compliance, I see an interest in game studios porting their game engines to Linux (SDL or OpenGL).  Most of the work in creating a game goes into creating the universe with graphics and audio, which are just pieces of data that care not what operating system they are being run on.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/634272145747225760-7190849765938850052?l=therantbastard.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://therantbastard.blogspot.com/feeds/7190849765938850052/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=634272145747225760&amp;postID=7190849765938850052' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/634272145747225760/posts/default/7190849765938850052'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/634272145747225760/posts/default/7190849765938850052'/><link rel='alternate' type='text/html' href='http://therantbastard.blogspot.com/2008/07/title.html' title='TheRantBastard&apos;s Ubuntu Linux Success Story'/><author><name>Craig Jackson</name><uri>http://www.blogger.com/profile/08539652166587211362</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry></feed>
