{"id":1128,"date":"2010-06-27T17:59:04","date_gmt":"2010-06-27T23:59:04","guid":{"rendered":"http:\/\/www.gratuitousscience.com\/?p=1128"},"modified":"2010-06-27T18:13:21","modified_gmt":"2010-06-28T00:13:21","slug":"fuck-upgrading%e2%80%a6-viva-la-reinstallation-part-2","status":"publish","type":"post","link":"http:\/\/www.gratuitousscience.com\/?p=1128","title":{"rendered":"Fuck upgrading\u2026 viva la reinstallation! &#8211; Part 2"},"content":{"rendered":"<p>So now the time has come to reinstall Ubuntu on my very first PC, and this thing will go from Ubuntu 8.04 with LXDE to Ubuntu 10.04 with LXDE.<\/p>\n<p>But I&#8217;m going about things a little differently on this machine.\u00a0 First of all, when I tried to load the computer using the Ubuntu 10.04 Live CD, it wouldn&#8217;t boot all the way into a graphical environment.\u00a0 Fail.<\/p>\n<p>I&#8217;ve read that the minimum RAM requirement to use an Ubuntu Live CD is 250MB.\u00a0 Well, that must not be the case for the latest version because my computer has 384MB and it wouldn&#8217;t boot.<\/p>\n<p>So Plan B.\u00a0 Xubuntu 10.04.\u00a0 The Live CD booted fine, albeit very slowly.\u00a0 But once it did, I had to do a little bit of messing around with GParted again.<\/p>\n<p>Back when I had installed Xubuntu 7.04 on it, the swap partition had been set to about 320MB &#8211; twice the size of the RAM, which was 160.\u00a0 I had since upgraded the RAM to 384 (maxed out) and reinstalled different versions of Ubuntu on that thing.\u00a0 It saw Fluxbuntu 7.10, the same thing with LXDE on top, and Ubuntu 8.04 with LXDE on top.\u00a0 But none of these installations had ever enlarged the swap partition to where it should be.\u00a0 So I <a href=\"http:\/\/www.duffzone.org\/jebediah\/pics\/statue.gif\" target=\"_blank\">embiggened<\/a> it to around 2x of 384MB and started up the installation application.<\/p>\n<p>Xubuntu uses the same installation app as Ubuntu.\u00a0 I think it&#8217;s called &#8220;Ubiquity&#8221;.\u00a0 Anyway, on my very old first computer with it&#8217;s little Pentium II at 266MHz chugging away, each screen takes about 2 to 5 minutes to load off the Live CD once &#8220;OK&#8221; is clicked.\u00a0 So I played some video games while I did that.\u00a0 I&#8217;m kicking ass in Age of Empires and Lords of the Realm II right now.<\/p>\n<p>At first I was going to just wipe the previous installation of Ubuntu off the 10GB secondary IDE HD, but as I looked at the installer&#8217;s nicely laid out info about my drives, I decided to install 10.04 to my 16GB flash drive.\u00a0 I figured I could speed up my OS a little and give the aging hard disks a break.<\/p>\n<p>I did a little research on the net, which included <a href=\"http:\/\/www.reddit.com\/r\/linux\/comments\/cjjjq\/asklinux_linux_on_a_usb_flash_drive_best_file\/\" target=\"_blank\">an amusing post on Reddit<\/a>.\u00a0 I learned that ext2 is a non-journaling filesystem, and as such is better suited to flash drives because of the lack of writes it utilizes compared to journaling filesystems like ext3 and ext4.<\/p>\n<p>I also learned of Linux filesystem attribute called &#8220;noatime&#8221;.\u00a0 When a partition is mounted to a Linux OS with &#8220;noatime&#8221;, records aren&#8217;t made about the last time a file was accessed, as happens in most cases with most setups.\u00a0 That means a big speed and performance boost, but also less security and a reduced ability to recover the filesystem from errors.\u00a0 Since I only use that computer for reading, that doesn&#8217;t matter to me.<\/p>\n<p>I also learned that as long as one of a system&#8217;s drives has a swap partition, it will be used by whatever Linux OS happens to be running.\u00a0 That&#8217;s also good because swap partitions get written-to constantly, and you don&#8217;t want that with a flash drive.<\/p>\n<p>So off I went, installing Xubuntu 10.04 onto my ext2 formatted 16BG flash drive.\u00a0 Plugged into a USB 2.0 PCI card that my Windows 98 installation can&#8217;t even detect, I might add.\u00a0 The same PCI card enables the USB 2.0 ethernet adapter, but I digress.\u00a0 The installation process itself takes about 2 hours on that computer.\u00a0 It hasn&#8217;t gotten any faster since I first did it back in 2007.<\/p>\n<p>Once it was done, I needed to take a look at some things in GParted, so I selected &#8220;no&#8221; to the prompt to reboot now.\u00a0 Then once I tried to reboot, the Xfce panel crashed on me and I had to run it again to use it to logoff.\u00a0 I thought that this had caused a problem, because on reboot, I saw the CD drive light going crazy and a GRUB2 error message that a certain drive (bu UUID) could not be found.<\/p>\n<p>So I reinstalled GRUB2.<\/p>\n<p>That didn&#8217;t work either.\u00a0 Let me rephrase that.\u00a0 That didn&#8217;t fucking work either.\u00a0 Fuck.<\/p>\n<p>So I did what any sane geek would do, and I repeated the entire install process over again.\u00a0 And I continued to play Age of Empires and Lords of the Realm II.\u00a0 I&#8217;m still handily winning both games.<\/p>\n<p>And now, as I write this, I find that regardless of the Xfce panel crashing on reboot and everything going smoothly, I still can not boot my system at all.\u00a0 So I am currently reformatting the flash drive to FAT32, backing up my data from the 10GB HD again to it, and installing Xubuntu 10.04 to the 10GB HD like I planned all along.\u00a0 So much for the flash drive experiment.<\/p>\n<p>I had thoughts earlier of taking that rather loud 10GB HD out and <a href=\" http:\/\/en.wikipedia.org\/wiki\/Stoney%27s_Extra_Stout_%28Pig%29\" target=\"_blank\">replacing it with a rat<\/a>, I mean replacing it with a 40GB IDE HD, but I realized that the process of doing that would take at least two hours.\u00a0 In hindsight, I spent 4 fucking hours accomplishing absolutely nothing, so maybe I should have just done that.<\/p>\n<p>Meh.<\/p>\n<p>Anyway, I think it&#8217;s a good time to mention that I have found a better way of getting stuff onto a flash drive from a hard drive while using a Live CD.\u00a0 If you just try to go all copy and paste in the file manager, it won&#8217;t let you do it because you don&#8217;t have permission.\u00a0 You are the user, and the drives belong to &#8220;root&#8221;.<\/p>\n<p><a href=\"http:\/\/www.gratuitousscience.com\/wp-content\/uploads\/2010\/06\/root-bear.jpg\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-1129\" title=\"root bear\" src=\"http:\/\/www.gratuitousscience.com\/wp-content\/uploads\/2010\/06\/root-bear.jpg\" alt=\"\" width=\"130\" height=\"300\" \/><\/a><\/p>\n<p>I used to fuck around with changing the permissions, which involves typing out, among other things, &#8220;chmod&#8221; and some numbers (like 666 or something, and I&#8217;m not kidding) into a terminal window.<\/p>\n<p><a href=\"http:\/\/www.gratuitousscience.com\/wp-content\/uploads\/2010\/06\/chode-thumb.jpg\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-1130\" title=\"chode-thumb\" src=\"http:\/\/www.gratuitousscience.com\/wp-content\/uploads\/2010\/06\/chode-thumb.jpg\" alt=\"\" width=\"240\" height=\"180\" \/><\/a><br \/>\nBut my new preferred method is much easier.\u00a0 I still have to use a terminal window, but now all I type is:<\/p>\n<pre style=\"padding-left: 30px;\">sudo thunar\r\n<\/pre>\n<p><a href=\"http:\/\/www.gratuitousscience.com\/wp-content\/uploads\/2010\/06\/sudo-thunar.jpg\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-medium wp-image-1131\" title=\"sudo thunar\" src=\"http:\/\/www.gratuitousscience.com\/wp-content\/uploads\/2010\/06\/sudo-thunar-300x223.jpg\" alt=\"\" width=\"300\" height=\"223\" srcset=\"http:\/\/www.gratuitousscience.com\/wp-content\/uploads\/2010\/06\/sudo-thunar-300x223.jpg 300w, http:\/\/www.gratuitousscience.com\/wp-content\/uploads\/2010\/06\/sudo-thunar.jpg 500w\" sizes=\"auto, (max-width: 300px) 100vw, 300px\" \/><\/a><br \/>\nOr &#8220;sudo nautilus&#8221; or &#8220;sudo pcmanfm&#8221;.\u00a0 That opens up the file manager (whatever it may be) as &#8220;root&#8221;, which means you now call the shots, Bucko.<\/p>\n<p><a href=\"http:\/\/www.gratuitousscience.com\/wp-content\/uploads\/2010\/06\/sherriff.jpg\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-medium wp-image-1132\" title=\"sherriff\" src=\"http:\/\/www.gratuitousscience.com\/wp-content\/uploads\/2010\/06\/sherriff-224x300.jpg\" alt=\"\" width=\"224\" height=\"300\" srcset=\"http:\/\/www.gratuitousscience.com\/wp-content\/uploads\/2010\/06\/sherriff-224x300.jpg 224w, http:\/\/www.gratuitousscience.com\/wp-content\/uploads\/2010\/06\/sherriff.jpg 337w\" sizes=\"auto, (max-width: 224px) 100vw, 224px\" \/><\/a><br \/>\nAnd this is you before you opened the file manager as root:<\/p>\n<p><a href=\"http:\/\/www.gratuitousscience.com\/wp-content\/uploads\/2010\/06\/square_bike_wheel.jpg\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-medium wp-image-1133\" title=\"square_bike_wheel\" src=\"http:\/\/www.gratuitousscience.com\/wp-content\/uploads\/2010\/06\/square_bike_wheel-262x300.jpg\" alt=\"\" width=\"262\" height=\"300\" srcset=\"http:\/\/www.gratuitousscience.com\/wp-content\/uploads\/2010\/06\/square_bike_wheel-262x300.jpg 262w, http:\/\/www.gratuitousscience.com\/wp-content\/uploads\/2010\/06\/square_bike_wheel.jpg 450w\" sizes=\"auto, (max-width: 262px) 100vw, 262px\" \/><\/a><br \/>\nOkay, so now I&#8217;m just babbling and making horrendously stupid jokes.\u00a0 But that&#8217;s what this blog is for!<\/p>\n<p>And good Gord it&#8217;s taken me a long time to write all this.\u00a0 That&#8217;s because I started writing at a point when I wasn&#8217;t sure if my 2nd flash drive installation would fail, like it did.\u00a0 Right now, the installer is actually off and running again, and I&#8217;ve decided to try ext2 on the HD instead of ext4.\u00a0 That computer doesn&#8217;t have any data I want to keep on it, and without journaling, I will probably see a speed increase.\u00a0 I also want to try using it with &#8220;noatime&#8221; to see how that effects speed.\u00a0 Coupled with the fast boot time I&#8217;ve seen with a fresh install of 10.04, I should see that old computer running Linux as fast as it ever has.<\/p>\n<p>I&#8217;m sure you&#8217;re holding your breath in anticipation, so I&#8217;ll let y&#8217;all know all about it next weekend when I have time to actually use the thing again.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>So now the time has come to reinstall Ubuntu on my very first PC, and this thing will go from Ubuntu 8.04 with LXDE to Ubuntu 10.04 with LXDE. But I&#8217;m going about things a little differently on this machine.\u00a0 First of all, when I tried to load the computer using the Ubuntu 10.04 Live [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[5,4,7,6],"tags":[],"class_list":["post-1128","post","type-post","status-publish","format-standard","hentry","category-computers","category-linux","category-lxde","category-ubuntu"],"_links":{"self":[{"href":"http:\/\/www.gratuitousscience.com\/index.php?rest_route=\/wp\/v2\/posts\/1128","targetHints":{"allow":["GET"]}}],"collection":[{"href":"http:\/\/www.gratuitousscience.com\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/www.gratuitousscience.com\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/www.gratuitousscience.com\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"http:\/\/www.gratuitousscience.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=1128"}],"version-history":[{"count":6,"href":"http:\/\/www.gratuitousscience.com\/index.php?rest_route=\/wp\/v2\/posts\/1128\/revisions"}],"predecessor-version":[{"id":1137,"href":"http:\/\/www.gratuitousscience.com\/index.php?rest_route=\/wp\/v2\/posts\/1128\/revisions\/1137"}],"wp:attachment":[{"href":"http:\/\/www.gratuitousscience.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=1128"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/www.gratuitousscience.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=1128"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/www.gratuitousscience.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=1128"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}