Slashdot Mirror


How To Upgrade Linux To The 2.6 Kernel

An anonymous reader writes "Here's a good computer project for the long labor-day weekend. KernelTrap has posted a howto detailing eight steps to upgrade your GNU/Linux OS from the 2.4 stable kernel to the 2.6.0-test development kernel. Complete with screen shots, the end result sounds to be well worth the effort." Since chances are most people will be upgrading anyway once 2.6 is deemed release-worthy, it's always worth learning the upgrade procedure well.

17 of 351 comments (clear)

  1. Advantage: Bill by Baron_Yam · · Score: 1, Insightful

    Hey, I love the idea of Linux as much as the next guy...

    However, you have to see the whole idea of needing a step-by-step upgrade guide with screen shots, etc is exactly why Bill still owns huge percentages of the market. Windows upgrades: Insert CD.

    1. Re:Advantage: Bill by HBI · · Score: 1, Insightful

      Inserting the CD just gets you started. Getting you finished and running again often require quite a bit more effort.

      Actually Win32 lets you get your system in trouble much faster than Linux ever could. Selling point?

      Seriously, users couldn't give two shits about upgrade functionality. They aren't going to do it. No matter how easy you make it.

      --
      HBI's Law: Frequency of calling others Nazis is directly correlated with the likelihood of the accuser being Communist.
    2. Re:Advantage: Bill by Nicolas+MONNET · · Score: 4, Insightful

      Bollocks, those steps are only intended for those who want to try the BETA kernel. End users will just use whatever kernel is provided by their distribution, and won't have to deal with any of that shit.

    3. Re:Advantage: Bill by TheRaven64 · · Score: 4, Insightful

      Don't forget that this is a lowest common denominator tutorial. The only people who will upgrade this way are hard-core geeks. Debian users will simply use apt to grab a package containing the latest kernel, RedHat users will use up2date to do the same thing. Of course the easiest way of upgrading will probably be to pop a RedHat 10 (or whatever) CD in your drive and click on the upgrade button...

      --
      I am TheRaven on Soylent News
    4. Re:Advantage: Bill by swtaarrs · · Score: 3, Insightful

      Yes, I've seen this problem a lot. People are comparing the ease of use of Windows to the ease of use of Gentoo or similar, in which case Windows is a whole lot easier (don't get me wrong, I love Gentoo). If you're going to compare the ease of use of Windows with linux, compare it with a distro that's designed for ease of use, like Mandrake.

    5. Re:Advantage: Bill by Anonymous Coward · · Score: 1, Insightful

      End users will just use whatever kernel is provided by their distribution, and won't have to deal with any of that shit.

      Got that right. There are those of us who run Linux, use it all the time, are posting this very message in Konqueror, but who never have and never wlll compile a kernel.

      GASP! -- just like Microsoft users!

      When the next version (or perhaps even the one after that) of SuSE comes out, I will just upgrade. Cheap and easy.

      Like my Microsoft zealot (tm) coworker says: I'm locked hopelessly into my vendor of choice, never to be able to escape once my vendor starts playing like Microsoft.

    6. Re:Advantage: Bill by Stonent1 · · Score: 2, Insightful

      Yes, I've seen this problem a lot. People are comparing the ease of use of Windows to the ease of use of Gentoo or similar, in which case Windows is a whole lot easier (don't get me wrong, I love Gentoo). If you're going to compare the ease of use of Windows with linux, compare it with a distro that's designed for ease of use, like Mandrake.

      And for all users who complain about a kernel compile being hard compared to windows, if you think about it, in windows you aren't given the option to modify the compile options of the OS which is basically like someone just using binary packages (rpm, deb, etc) in Linux. So if you want windowsupdate like updates, subscribe to the "Redhat Network" or get a free one system trial account. It is really not that expensive and you can have your system updated without messing with things. And if it comes down to a new kernel revision, Download a new ISO and "upgrade"

  2. alsa? by Al+Al+Cool+J · · Score: 3, Insightful

    The one thing not mentioned in the article, and the one thing that has me nervous about trying 2.6-test is the changes to alsa. With 2.6, alsa is built into the kernel, so presumably this makes it easier to set up in the first place. But I already have alsa set up perfectly in 2.4, complete with OSS emulation and artsd sound mixing, so that all my apps play nice and just work. How much deconfiguring and reconfiguring am I going to have to do if I'm going to be jumping back and forth between 2.4 and a possibly unstable 2.6? Especially since I have the rather finicky via82xx driver. I'm really keen to try out 2.6, but not if I end up breaking sound in the process.

  3. Isn't Debian still on 2.2? by Anonymous Coward · · Score: 2, Insightful

    I run Debian stable so I'll have to wait until the next perihelic opposition of Earth and Mars before being able to apt-get a 2.6 kernel image.

  4. Re:I've got other plans... by Enucite · · Score: 2, Insightful

    I totally agree, many people who want to use Linux just can't do it at this point. It's not their fault, Linux just isn't ready to be used in the home by the average user.

    However, I do use Linux on my desktop every day, and I'm very happy with it. (However I tend to stick to BSDs for most servers) It's taken me about 5 years of using it off and on (started in 97 or 98) to get comfortable with it as a desktop system. And earlier year I finally removed Windows completely from all of my systems.

    Linux can be used as a desktop system right now. It's just a question of "do you have the time to learn it?" For almost everyone right now the answer is no. There's so many things you don't realize you need to know to be able to manage a computer. Most of us take it for granted on Windows because we have been exposed to it for so long that we don't realize how much we had to learn to be able to manage it.

    Right now, Linux will work as a desktop. The problem is maintenance. If they don't have to worry about maintenance (ie someone else is managing it for them), I have no doubts that someone could sit down and use the computer just as easy as they could in Windows. The problem is if they want to install new programs/hardware or otherwise change the system configuration. This is where it requires more than just a basic knowledge and where most people give up and say Windows is easier--because they already know how these changes would be done on Windows, but don't yet know how to do it in Linux. It's also much harder to learn how to do it in Linux because you can't usually just ask the local "computer guy" because most of the "computer guys" know just as much about Linux as you do. As more and more people start using Linux, it will become easier to learn, so more people will use Linux, and it will be easier to learn, ad infinitum.

    Those are my thoughts on the subject anyway.

  5. Tao by Brian+Kendig · · Score: 3, Insightful

    The Tao says: the perfect piece of paper is unmarked by pen; the perfect flower is unpruned by shears; the perfect operating system is untouched from its default installation.

    I've had to support, debug, fix, and otherwise un-screw-up many computers in my time. Inevitably, the closer a system is to what everybody else is using, the more likely it is that any problems with it will have been seen and solved countless times before.

    That's why the idea of countless legions of users out there each recompiling his own kernel just makes my blood run cold. This is the twenty-first century, peoples! Why is it necessary for anyone other than a kernel developer to compile the kernel sources? Why haven't all the optional pieces been broken out into modules yet?

  6. Re:Seems complicated by MrEd · · Score: 2, Insightful

    No no, if you really want an upgrade you should go out and pay $199.95 for Linux 2003 SE, then, as long as you have a valid installation of a previous Linux product, you can upgrade to fully enjoy your digital convergence lifestyle!

    --

    Wah!

  7. Oh come off it.. by Ayanami+Rei · · Score: 2, Insightful

    There are plenty of people who use it effectively. They just don't waste their time posting to slashdot to brag about it. It's complainers that make the most noise.

    --
    THIS THING CAN TURN ON A DIME, MACROSSZERO STYLE ALSO FUCK BETA, ~NYORON
  8. kernel upgrades as a major turnoff by binarybum · · Score: 2, Insightful

    Doesn't it seem that a lengthy eight-step process for an OS upgrade could be one of linux's major pitfalls when it comes to targeting new users?

    I'm not complaining, but shouldn't this be easier if linux is ever going to make it into the realm of familiarity?

    --
    ôó
    1. Re:kernel upgrades as a major turnoff by Rasta+Prefect · · Score: 2, Insightful
      Doesn't it seem that a lengthy eight-step process for an OS upgrade could be one of linux's major pitfalls when it comes to targeting new users?

      Isn't having to fix some things by delving into an arcane database noone understands using "regedit" a turnoff for new windows users? New users should just use the kernel that comes with their distro. Theres no reason anyone _has_ to compile their own shiny new 2.6 kernels. Once it's out of the -test phase, the distros will pick it up, and the users will get their shiny new kernels the same way they got their current ones.

      In the mean time, new users shouldn't be recompiling their kernels anymore than they play with regedit under windows.

      --
      Why?
  9. Re:You need a HowTo? by DA-MAN · · Score: 2, Insightful

    Yeah, cos configuring a FreeBSD kernel is so much easier than it is in Linux. I mean just cp GENERIC MYKERNEL then vi MYKERNEL for the next four hours, all the while looking up what everything means. Yeah, that's so much easier than pressing F2 on a make menuconfig.

    --
    Can I get an eye poke?
    Dog House Forum
  10. Re:Wow - This is exactly what I was looking for... by javamutt · · Score: 2, Insightful

    In a way I have to agree... While there is some kind of an assumption made when someone embarks on a kernel recompile, it shouldn't be an assumption that the individual is a professional developer. On the other hand, you shouldn't be asking what a makefile is if you're recompiling. There is, however, a happy medium.

    Linus indicated that he wanted more people testing the kernel... Unfortunately, that means venturing out beyond the shadow of kernel developers. Even if you know how to program, the kernel is no simple playground. I tried to get 2.6test01 working for quite a while before giving up - in fact this was the first article which seemed to make it obvious what needed to be done. I admit to not being a hardcore, but it should have been easier.

    Linux is a fantastic world to be in, but it could be a bit more friendly not only to newbies, but also power users. I would suggest that many power users would rather test functionality that their ability to locate obscure libraries. Haven't tried since then, but hopefully the build has become more stable.

    All that being said, I'm thankful to have it in front of me, and will happily use my 2.4 kernel until I can figure out 2.6.