{"id":16,"date":"2006-03-28T22:50:45","date_gmt":"2006-03-28T22:50:45","guid":{"rendered":"https:\/\/www.bishnet.net\/tim\/blog\/2006\/03\/28\/upgrading-debian\/"},"modified":"2010-11-11T13:02:08","modified_gmt":"2010-11-11T13:02:08","slug":"upgrading-debian","status":"publish","type":"post","link":"https:\/\/www.bishnet.net\/tim\/blog\/2006\/03\/28\/upgrading-debian\/","title":{"rendered":"Upgrading Debian"},"content":{"rendered":"<p>If you&#8217;ve been following my blog you&#8217;ll know that I&#8217;ve been working on a new filestore project at work for a while now. After getting things working nicely on our Solaris machines, and finally moving my home directory over, I decided to tackle our Debian server. It quickly became apparent that I&#8217;d need to upgrade the machine, which was running Woody with a 2.4 kernel, to get to a decent IPsec and autofs setup.<\/p>\n<p>Now, I&#8217;m not a Linux user, let alone a Debian one. So this was a new experience for me. After a quick nose around online, and with a few helpful pointers, I found some <a href=\"http:\/\/www.debian.org\/releases\/sarge\/i386\/release-notes\/\">useful instructions<\/a> on how to upgrade. It boils down to a fairly simple process;<\/p>\n<ol>\n<li>Make sure the system is running\u00c2\u00a0the latest Woody updates.<\/li>\n<li>Modify apt <code>sources.list<\/code> file to change woody to sarge.<\/li>\n<li>Run <code>apt-get update<\/code>.<\/li>\n<li>Install\/update aptitude.<\/li>\n<li>Run <code>aptitude -f --with-recommends dist-upgrade<\/code> to do the full upgrade.<\/li>\n<\/ol>\n<p>Then it&#8217;s just a case of fixing up any conflicting files and changes, and you&#8217;re done. I had to remove our backup software (lgtoclnt) and re-add it though, because it messed with the X packages.<\/p>\n<p>I decided at this point to make sure Sarge worked before looking at the kernel. So I rebooted the system. I waited. And I waited some more. The console showed that it had gone through the BIOS and RAID POST, but nothing else. A brief trip back to the machine room showed a scary looking &#8220;LI&#8221; message, which I knew meant lilo wasn&#8217;t working.<\/p>\n<p>At this point I\u00c2\u00a0consulted some friends who explained what I needed to do. A short while later, and with a\u00c2\u00a0freshly burnt boot CD,\u00c2\u00a0I had the system back up and running. To reinstall lilo I&#8217;d booted the CD up to the point where it loaded the aacraid drivers, switched to another terminal, mounted my root parition, chrooted, and run <code>lilo<\/code>.<\/p>\n<p>By this point I&#8217;m starting to grumble about Linux\/Debian being stupid. But, I move on. I discover that I&#8217;m also going to need to upgrade to 2.6 if I&#8217;m going to get IPsec support. After a short while of looking at rebuilding kernels, and boggling at the myriad of build options available, I decide to <code>apt-get install kernel-image-2.6<\/code>. That can&#8217;t be too hard, can it? A few moments later I&#8217;m left staring at an Oops message referring to a &#8220;kernel NULL point deference&#8221; which appears to have come from the install running dd.<\/p>\n<p>Nasty. Anyway, to cut a long story short I tweaked the postinst script to stop it running dd, and that allowed me to get the kernel installed. Surprisingly it worked first time, but I did have to fix the modules list afterwards to silence some error messages.<\/p>\n<p>Now a few hours later, and after discovering the difference between autofs4 and the Solaris automounter, I now have a working system. But I&#8217;m left wondering why I&#8217;d really want to be using Debian at all.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>If you&#8217;ve been following my blog you&#8217;ll know that I&#8217;ve been working on a new filestore project at work for a while now. After getting things working nicely on our Solaris machines, and finally moving my home directory over, I decided to tackle our Debian server. It quickly became apparent that I&#8217;d need to upgrade the machine, which was running &hellip;<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[3,2],"tags":[],"class_list":["post-16","post","type-post","status-publish","format-standard","hentry","category-computing","category-work"],"aioseo_notices":[],"_links":{"self":[{"href":"https:\/\/www.bishnet.net\/tim\/blog\/wp-json\/wp\/v2\/posts\/16","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.bishnet.net\/tim\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.bishnet.net\/tim\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.bishnet.net\/tim\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.bishnet.net\/tim\/blog\/wp-json\/wp\/v2\/comments?post=16"}],"version-history":[{"count":1,"href":"https:\/\/www.bishnet.net\/tim\/blog\/wp-json\/wp\/v2\/posts\/16\/revisions"}],"predecessor-version":[{"id":393,"href":"https:\/\/www.bishnet.net\/tim\/blog\/wp-json\/wp\/v2\/posts\/16\/revisions\/393"}],"wp:attachment":[{"href":"https:\/\/www.bishnet.net\/tim\/blog\/wp-json\/wp\/v2\/media?parent=16"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.bishnet.net\/tim\/blog\/wp-json\/wp\/v2\/categories?post=16"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.bishnet.net\/tim\/blog\/wp-json\/wp\/v2\/tags?post=16"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}