{"id":511,"date":"2008-12-09T04:28:25","date_gmt":"2008-12-09T09:28:25","guid":{"rendered":"http:\/\/blog.codedread.com\/archives\/2008\/12\/09\/from-gibbon-to-heron\/"},"modified":"2008-12-09T04:28:25","modified_gmt":"2008-12-09T09:28:25","slug":"from-gibbon-to-heron","status":"publish","type":"post","link":"https:\/\/www.codedread.com\/blog\/archives\/2008\/12\/09\/from-gibbon-to-heron\/","title":{"rendered":"From Gibbon to Heron&#8230;"},"content":{"rendered":"<p><object type=\"image\/svg+xml\" width=\"100\" height=\"100\" align=\"right\" hspace=\"10\" data=\"http:\/\/codedread.com\/clipart\/ubuntu.svgz\"><span\/><\/object>Ok so last night before heading to bed, I finally felt brave enough to click that \"Upgrade to 8.04 LTS\" button that's been sitting in my Ubuntu 7.10 Update Manager for a month or two.  This first part was relatively painless:  About a gig worth of files downloaded, unzipped, installed, some packages uninstalled, some questions about overwriting a couple config files.  However, today was the fun stuff where I actually tried to get it all working again.<!--more--><\/p>\n<p>The system naturally required a reboot.  Upon doing so, I got to my grub menu where it took me a minute to think of why it was still called \"Ubuntu 7.10\":  I had installed the grub menu long ago in ages past when I was using OpenSUSE and hadn't updated the menu.lst file yet on that partition.  Oh well, it was a simple naming change - - I could just do that later, <span title=\"One might detect a note of foreshadowing here\">right<\/span>?<\/p>\n<p>Anyway, upon finally booting up into Ubuntu, I was greeted with a dumping out to a full-screen console, then flickering black, then dumping back to full-screen console, then black a couple times more.  Next, a warning that the display was not configured properly and would be operating in low resolution mode, then finally into a 800x600 Gnome desktop.<\/p>\n<p>Once things settled down, attempting to change the screen resolution presented me with an error dialog stating:  \"The X Server does not support the XRandR extension...\".  <a href=\"http:\/\/www.google.com\/search?hl=en&client=firefox-a&rls=com.ubuntu%3Aen-US%3Aunofficial&hs=IRb&q=The+X+Server+does+not+support+the+XRandR+extension.&btnG=Search\">I was not alone.<\/a><\/p>\n<p>Doing a bit of web research, I thought I'd attempt to install the nVidia driver from nVidia themselves:<\/p>\n<p><span style=\"color:red\">Woops<\/span> - nVidia warns me that the X-Server can't be running.  Ok:  sudo \/etc\/init.d\/gdm stop.  Bye-bye nice warm and fuzzy windows and try it again...<\/p>\n<p><span style=\"color:red\">Woops<\/span> - nVidia says that the compiler used to compile my kernel (gcc 4.1) does not match the current compiler (gcc 4.2).  Hm, that's odd but ok, temporarily remap the \"gcc\" symlink to \/usr\/bin\/gcc-4.1.  Try again...<\/p>\n<p><span style=\"color:red\">Woops<\/span> - nVidia says that I don't have the Linux kernel source.  Ok:  sudo apt-get install linux-source and the 2.6.24 kernel source is downloaded and installed.  Try again...<\/p>\n<p><span style=\"color:red\">Woops<\/span> - nVidia warns me that the kernel source is <em>still<\/em> not installed for my kernel.  Hmm:  uname -r and it tells me the kernel version is 2.6.22.  Whah?  I confirm from sources on the web that Ubuntu 7.10=2.6.22 and that Ubuntu 8.04=2.6.24... so why is it booting up attempting to use the 2.6.22 kernel?<\/p>\n<p><object type=\"image\/svg+xml\" width=\"100\" height=\"100\" align=\"right\" hspace=\"10\" data=\"http:\/\/codedread.com\/clipart\/facepalm.svgz\"><span\/><\/object>Yep, you guessed it:  The <a href=\"http:\/\/www.gnu.org\/software\/grub\/\">grub<\/a> menu that I installed years ago in my OpenSUSE partition of course had no idea that I have upgraded my Ubuntu system.  It was still invoking the operating system using the 7.10 kernel and bad things were happening (my guess:  <a href=\"http:\/\/www.nvidia.com\/object\/linux_display_x86_96.43.07.html\">the nVidia driver<\/a> had been upgraded to support \"recent Linux 2.6 kernels\" and my old kernel just didn't cut the mustard).<\/p>\n<p>So... spend 15 mins re-learning how grub works and finding the menu file, then change the ...\/boot\/grub\/menu.lst file on that OpenSUSE partition from:<\/p>\n<p><code><\/p>\n<p>title ubuntu-7.10<\/p>\n<p>    root (hd1,7)<\/p>\n<p>    kernel \/boot\/vmlinuz-2.6.22-14-generic root=...<\/p>\n<p>    initrd \/boot\/initrd.img-2.6.22-14-generic<\/p>\n<p>    quiet<\/p>\n<p><\/code><\/p>\n<p>to:<\/p>\n<p><code><\/p>\n<p>title ubuntu-8.04<\/p>\n<p>    root (hd1,7)<\/p>\n<p>    kernel \/boot\/vmlinuz-2.6.24-22-generic root...<\/p>\n<p>    initrd \/boot\/initrd.img-2.6.24-22-generic<\/p>\n<p>    quiet<\/p>\n<p><\/code><\/p>\n<p>Reboot and now I'm back in business (the display is fine).<\/p>\n<p>So now I have to decide if installing grub on Ubuntu and copying over the menu and overwriting the old OpenSUSE grub install on the master boot record is worth the risk\/pain or what...<\/p>\n<p>Well, I thought it was a funny story anyway.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Ok so last night before heading to bed, I finally felt brave enough to click that &#8220;Upgrade to 8.04 LTS&#8221; button that&#8217;s been sitting in my Ubuntu 7.10 Update Manager for a month or two. This first part was relatively painless: About a gig worth of files downloaded, unzipped, installed, some packages uninstalled, some questions [&#8230;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[40,25,11],"tags":[92,193,116,152],"class_list":["post-511","post","type-post","status-publish","format-standard","hentry","category-linux","category-software","category-technology","tag-grub","tag-linux","tag-newbie","tag-ubuntu"],"_links":{"self":[{"href":"https:\/\/www.codedread.com\/blog\/wp-json\/wp\/v2\/posts\/511","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.codedread.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.codedread.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.codedread.com\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.codedread.com\/blog\/wp-json\/wp\/v2\/comments?post=511"}],"version-history":[{"count":0,"href":"https:\/\/www.codedread.com\/blog\/wp-json\/wp\/v2\/posts\/511\/revisions"}],"wp:attachment":[{"href":"https:\/\/www.codedread.com\/blog\/wp-json\/wp\/v2\/media?parent=511"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.codedread.com\/blog\/wp-json\/wp\/v2\/categories?post=511"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.codedread.com\/blog\/wp-json\/wp\/v2\/tags?post=511"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}