Ubuntu Tute Part 1

Posted by on Jan 2, 2007 | 12 Comments

Before we get too deep into this, you need to make sure that you have two very important things: a non-daily use machine and that it has a bootable CD Drive. I went back and forth about the whole bootable CD thing and I finally came to one very important conclusion – if you are running a PC that does not have a bootable CD drive, then you have bigger problems than switching to a new OS. That said, here is an “option” for you that will have most of you breaking down to simply buying a machine that is ready to go.

I don’t have a viable second PC.
Now, when I talk to most Linux enthusiasts, they seem to have the mistaken impression that most new users are trying out Linux because they want to spend their time learning something new. Well guess what, they are wrong. With some limited exceptions, most people are trying out Linux because they are tired of defragmenting, spyware and other crap. Speaking for myself, the idea of spending the better part of my day “configuring” anything is a real turn off. Not because I am lazy or that I am not interested in expanding my understanding, it’s because I have loved ones whom I would rather be spending my time with.

So if your goal is not to spend your time trying to get Ubuntu installed on a really outdated PC better suited for Puppy Linux than Ubuntu, then stop, break out the credit card and make the commitment. If you have tried Ubuntu in the past, were impressed enough to make the investment, then I’d buy a ready to go, modern machine from these guys. This is especially true when considering purchasing a brand new notebook.

Seriously, when it comes to notebooks, which looks more time effective to you? This or this? Guess it depends on what you are looking for, being geeky or not trying to install Ubuntu on really crappy hardware. It’s up to you, moving on.

OK, so you are going to install Ubuntu.
So it looks like buying a new PC was out the question, fair enough, been there myself. Now for the first step, burning the ISO. You need to first either purchase or simply download an ISO of the Ubuntu CD. If possible, I would download Edgy (6.10). Now for the clincher, the utility that I normally use to download and install multimedia codecs appears to be down. Not sure if “Automatix” will be back up soon or not, but in the mean time, let’s just do this instead: Enter Mint Linux. It’s Ubuntu, with a minty after taste!

Java, Flash 9, Multi-Media CODECS, all ready to go, right out of the box.
Even with a number of people squealing about the GPL being violated somehow. Regardless of the hardcore GPL types that get all bent out of shape about this kind of thing, Mint Linux is basically Ubuntu with everything ready to go. Outside of adding extra applications or maybe utilizing a second monitor, this distro is as they say on the Taco Bell commercials: Good To Go!

Gulp, the install.
First you need to set your BIOS to boot from CD. Then assuming you are using an install CD for Mint Linux 2.1 upon booting it, you will be presented with the option to boot from Mint Linux or to boot from the same – with Safe Graphics. Generally, those of you who happen to be using NVIDIA based cards will find that booting into normal mode will be just fine. And for the most part, the same goes for ATI cards as well. Now should your first boot simply result in a black screen, try again with Safe Graphics mode selected.

If you happen to be forced to use Safe Graphics mode, this could be a sign of fun issues to come; like no sound for example. Take my old Averatec 3200 as an example. This aging notebook would only run and install with Safe Graphics as an option. Generally, you ought to be fine with watching videos and that sort of thing, so don’t fret too much about that.

My desktop PC, a self-built machine with a GeForce 6800 GS card, a gig of DDR RAM, an ASUS board with the nForce 4 chipset, an AMD Athlon 64 Processor 3700+ and have had no problems whatsoever. Hence the beauty of building your own box or having a company other than “Dell” building it for you. No odd ball hardware to send you off screaming into the night. Let me say this again, if you are trying to boot into Linux on a HP, Dell, Gateway, whatever, and things are not working – go to the Ubuntu forums for help. Because I can tell you right now that most PC companies use some pretty off the wall stuff for sound and on-board video.

With custom build desktops, it is very rare to have sound issues. Notebooks, well that can be a tough one, but there is some help out there. But generally if you are installing in Safe Graphics mode as a last resort, the only challenge left would be your sound and wireless card. Sound card is a simple yes or no. It either works or you are going to need to visit the forums. As for wireless, well, let’s just say outside of the pesky Broadcom chipsets, Mint does pretty darn well out of the box. Where it leaves off, one can find out how to use their Windows wifi drivers from Mint’s tute found via Places, Documents and then just click the wifi tute page.

Alright, I am assuming that by now you are looking at a rather sparse desktop with an install icon. Great, double click it. Follow the wizard because you really ought to be using a stand-alone machine. Should you be feeling more adventurous and completely understand that you are telling me that if something should go wrong, you don’t mind reinstalling your other OS, then super deal – roll the dice. I did, but I have been working with partitions for a very long time and am comfortable in it. That and my XP partition has very little data on it that I cannot afford to loose. Should I ever hose it, I really could care less. So for me, it’s fine.

Now it should be noted that on some machines, Mint’s disc may not ask you to eject. That’s fine, just use your best judgment as it will be pretty obvious as the shut down process and loading bar have already done their thing.You might need to do a hard reset to get the CD out. Rare, but it happens. Or better yet, boot off the CD again and then choose to boot off the hard drive from the options. You can then just eject the disc after it loads up the login screen.

A brand new OS for a brand new year!
Cool, now you are ready to get down and dirty. Now, most non-installed applications can be found from Applications, Add/Remove. Just enter your password and browse around a bit. With Mint Linux, I believe that all of the non-free (free as in open source) stuff like for drivers and the like are already clicked into place for you ahead of time, as part of the install. A good way to test this is to head on over to The Chris Pirillo Show and try out an audio file. Locate an episode and click on the “pop-up” player. Yup, Flash 9 has your back. Now if Flash popped up and you did not hear anything, check to see if you have any USB headphones plugged in. Close and restart the browser and try it again with the headphones on. Hear sound now? Chances are you do and have no idea how to toggle the sound back to the speakers. You could try going to System, Preferences and Sound, then toggling those switches until the world looked level. Or instead, take my solution for a spin (I’m ctsdownloads on the forums, btw). Thus far, people dig it.

Coming up Thursday, locating and installing applications you won’t likely find elsewhere for your new install. Also, company supported Linux wifi cards, webcams and all-in-one printers.

  • Eric R Beals

    I have a number of bootable partitions and use a boot manger (BootIT). It took me several days and manny many trys before I was able to get it to boot. There was help via BootIT’s FAQ but that was dated (did not appli\y for 6.10 but was helpful) There were other bits of help here and there (Note: grub-install and grup-floppy did not solve to problem but they were a help). The final solution was use use grub-install to get the correct boot sector written and then text editing the \boot\grub\??? config file to correct the problems there. I was unable to find a clear discription of what grub actuall does nor a comment about the config file.
    Probably if I had gotten the grub code I would have been able to figure it out faster that my funbling around with trying … reinstall … try….

    The next problem is that I have dual LCD monitors driven by a single ATI 9200 pro (analog + digit ports). The Install correctly load dirver which display the same image on both drives. I then found a linux drive on the ATI site only it dies with an error. I have found the configue file a nice readable text file and I expect that with only a few tries I will be able to a different display (screen) on each of the monitors. Again there is help out there which point in the right direction but no clear description of how to modify the config file.

    Should I expect that everytime I have anything slightly different I will have to manually edit config files with no clear descrption of how those files should be modifiied.

    Note: With WinXP there are many cases where one has to modify the registry but always I have found clear precise explaination of what and how the modification shuld be made. And these explaination can be redily found using google. Many there are clear explainations of the Lynix config files but pointers to them do not should up when googling

    Note: I have not yet gotten around to trying out the C++ IDE package to see if I can do my programming as easily as I can with VS6.

  • Matt Hartley

    Hi Eric,
    With your question regarding BootIT, not sure I follow? You having issues with booting/installing Ubuntu using this boot manager? Speaking for myself, I use the KISS principle when using more than one OS. And I never try for anything too creative. I opt for either a dual or tri-boot at the most. For instance, win2k, xp and then Linux. As a rule, boot managers that are not bundled can be a pain and I have next to no expertise here. Ubuntu forums for installation has some outstanding experts though, you might try there on that one.
    As for the dual LCD monitor, I am an NVIDIA guy all the way when it comes to a Linux box because ATI has worked pretty hard at thumbing their noses at open source. Having said that, ATI does make a great video card. But understand that they have no interest in providing options like NVIDIA’s twinview for dual monitors.(Actually, they do, in sense)
    Moving on, give this a shot.
    http://www.ubuntuforums.org/showthread.php?p=1773544
    for more issues with ATI and Edgy, you’ll find this interesting with an alternative solution that may help as well:
    http://www.ubuntuforums.org/showthread.php?t=325219&highlight=9200
    Personally, I have never done a dual monitor setup with ATI as I dislike the support the company has provided to me in Linux but do appreciate their Windows support though. At any rate, I have heard that it can be done as you are needing. And to be fair, the 9200 pro is a sweet card; in Windows. :)
    If you are still stuck, provide me with the latest and I will do what I can to get you helpful, clear documentation. I too, grow tired of the poor documentation out there. Hence, why I use Ubuntu. They have one of the best guides that I have ever seen:
    http://ubuntuguide.org/wiki/Ubuntu_Edgy
    and
    http://wiki.cchtml.com/index.php/Ubuntu_Edgy_Installation_Guide
    Hope this is of some help,
    Matt

  • http://www.matthartley.com Matt Hartley

    Oh, one other thing that I completely forgot to mention before. When I installed Edgy for the first time (even booting to the CD for that matter), I was forced to go to a single monitor just for the install.
    I Left my VGA LCD plugged in and completely unplugged the DVI LCD monitor. Then I made my xorg alternations, along with backing up my single monitor xorg file as well. With xorg in place, driver installed, I turned off the PC, hooked the DVI LCD back up and boom – we have dual monitors! (NVIDA’s twinview option in xorg)
    Matt

  • http://www.matthartley.com Matt Hartley

    Oh, and I will be covering a step by step how-to edit your xorg config file later on…just hang on, it’s coming.

    It will be presented from the standpoint of someone who would not be familiar with it. Very, very detailed.

  • http://www.ctran.co.uk/wordpress Zombiefly

    Hi,
    Thanks for this tutorial series. I’m a windows user mainly, but i have repeatedly “had a go” with linux over the years, only to hiss at it and format after a few days. Last year though, i tried (k)ubuntu, and oddly i still have a partition with it on. I got quite far with it, dual nvidia monitors, sound, internet, all working nicely. For once i was impressed, but still put off by the lack of usable information out there. Like the previous poster said, the information on linux configuration is pretty sparse, which is annoying, given the fact that it’s supposed to be an open source OS and “free”. It’s a pity more geeks don’t share that sentiment. There is still a big elitist snobbery following linux and i still believe that this is it’s biggest downfall.

    Anyway, in december, i got my vista premium MSDN copy. I’d used betas of the OS before, but the final version left me thinking “ok, so that was totally uninteresting, now what?”…. then i saw some videos of Beryl in action on Linux…… Back to my linux partition i went!.. 2 days later i was nowhere near seeing it, all i had was a list of dependencies for dependencies of dependent dependencies :) …so once again, i returned to windows in a mood.

    …Then my RSS aggregator picked up your post about your tutorials. I’ve read the first one and i’m going to follow your tutorials through from a fresh install. Thanks for doing these, people need quick access to Linux if it is ever going to make a mark in the home OS market.

    nb. If you could cover The installation of Beryl at a later date, i’d appreciate it (and i guess others will too!)

    thanks

    ZF

  • Matt Hartley

    Hi Zombiefly,

    Would love to help with Beryl. Actually, the biggest problem with people trying to get it setup is by using half-done instructions, hence why I am linking so much to other areas instead of trying to rewrite stuff that already exists.

    At this point, I am knee deep into a recipe site that I am working on getting off the ground. It’s designed for us geeks, so there is RSS, tagging and all of that good stuff otherwise lacking out there.

    But once that has a chance to push forward, I am going to be creating an Ubuntu (and its variants) documentation to unlike anything else out there. It will scrape my link reserves for the best, most thorough how-tos available – anywhere.

    The pain of it is, the helpful docs are out there, but they are all over the place and mixed in with the poorly written ones. I have a fix to this and a fix to the hardware issues as well.

    It’s coming, simply because no one else has taken the bull by the horns yet. :)

  • John Van Herck

    Hi,

    I am not sure what docs you have seen or been directed to but I’ve found the ones at http://help.ubuntu.com very helpful and clear. Ubuntu has actually caught on because of its friendly and huge community (~900 people on its IRC chat channels almost any time of day, for example!). There’s also tons of free help available from the Local Community teams: https://wiki.ubuntu.com/LoCoTeamList

    And Beryl is still pretty cutting edge and relatively recent. Ubuntu’s next version (Feisty) though, will include it as a standard package. So I am guessing your tutorial will look something like: “Start Synaptic, Search for Beryl/GLX/whatever it’s called, Click “apply” :)

  • http://www.matthartley.com Matt Hartley

    Hi John, thanks very much for the well thought out links. Thanks to John’s links, I have an opportunity to point something out here. The guides themselves skim over much of the needed detail that is needed needed when choosing hardware or finding a less convoluted way to set things up as needed. Here, let me give you an example: Printers. OK, so I want to buy this printer as a fictional example. Now after sifting through threes levels of links, I finally find this. Now this does in fact affirm that the 5610 is a great choice, It lists the expected level of functionality, etc. Great, now what? If I was a newbie, I would have no links, no idea what the hell a “hpijs/hpoj” is or any reference of what to do next? The existing Ubuntu guides are a fantastic resource, when combined with human speak instructions of what to do, step by step. Then take the how-to on using an iPod. People, seriously, give me a break. This is not enough as I have read forum post after forum post of people who have been told to visit this link and are just as in the dark as before.My point being is that existing docs are great a link reference, but only salt the issue for most people. We need these docs, and I link to them frequently. But I want to make sure everyone understand that the existing docs are frankly, not even close to be enough for answering all of the questions out there.As for the IRC, it’s a novel idea likely thought up by geeks. But Ma and Pa PC user are not likely going to jump onto a the chat room for help when they don’t understand why their modem is not working. A great tool for you and I perhaps to a limited extent, however I really dislike chatrooms and have done well with never visiting one for support. It’s a personal preference I guess. Again, I want to echo John’s point about Ubuntu being so successful in part thanks to its community and common sense approach to helping people. Now we just need to take this level community and make it a wee-bit more accessible to people who are tired of scouring the forums and documentation for cures to seriously common problems: pretty much everything I am trying to cover in this series.Thanks John for pointing out those links, they have always served me well as a resource for me to elaborate on in further detail. :)

  • Pingback: The CTRAN weblog » Blog Archive » Ubuntu Tute Part 1

  • Pingback: Planeta Ubuntu » Ubuntu Tute Part 3 - Nice Package!

  • http://twitter.com/GeekToEnglish Tracy Newhouse

    I came to the same conclusions for pretty much the same reasons. I also didn’t like the fact that my iTunes account would drop from my AppleTV whenever the computer it was linked to went to sleep. Jumping from my iPhone to my TV was cool, just not enough to make it my preferred device.

  • http://twitter.com/jenknox Jen Knox

    We’ve had a Roku for almost two years and love it! We use it more than we use our TiVo Premiere in terms of watching recorded broadcast shows AND in use of apps that are available on both the Roku and TiVo. When we added Hulu Plus to the mix, it was all over….Roku rocks! Get the PlayOn service for it as well and you can *almost* cancel your cable because then you can access the standard content on Hulu as well!