Slashdot Mirror


First Look at Debian's Next Generation Installer

An anonymous reader writes "Over at LinMagAu There is an interesting look at the new beta version of the Next Gerneration Debian Installer. Putting aside the fuss around Ian Murdock, Progeny and Anaconda, this is how Debian is constructing the future of what is known to be it's Achilles heel. It's a well done beginning." While still not a graphical installer (and the article does a good job of explaining why that's not a priority) the installer now autodetects hardware, streamlining module selection, which was previously one of the more confusing parts of the install for newbies.

32 of 454 comments (clear)

  1. It's about time by bsharitt · · Score: 5, Insightful

    I don't really care about a pretty install, I'm just glad they finally got hardware detection.

    1. Re:It's about time by awgriff279 · · Score: 5, Insightful

      I can think of one good reason for Linux to have an easier installation process. I've wanted to switch from Windows for several years now. However, not having any Linux experience makes a proper installation very complicated. Consequently, I'm still using Windows until I have time to figure everything out. Unfortunartely, it's hard to learn about an OS when one doesn't have it to use. I love the idea of Linux, but until the learning curve drops on a free version, I'll probably keep using WIN98se.

    2. Re:It's about time by CentrX · · Score: 2, Insightful

      To be fair, the only time most people ever need to even insert any hardware modules for the install is to install a single network card driver. The modules for the rest of a person's hardware are generally loaded by the kernel after installation.

      --

      "The price of freedom is eternal vigilance." - Thomas Jefferson
  2. not yet graphical? by Anonymous Coward · · Score: 0, Insightful

    I wonder why isn't it not yet graphical? Any reasons at all?

    1. Re:not yet graphical? by Arker · · Score: 3, Insightful

      There are a number of good reasons not to do the install in Graphics mode. It's not necessary. It would introduce unecessary complexity in a crucial operation (installation) that doesn't require such complexity - that alone is good reason to veto the idea. Setting up the video properly is one of the most difficult things to do, and when you have a graphics mode installer a failure in setting that up properly on auto becomes a fatal error rather than a minor inconvenience. Plus a lot of Linux installations don't use graphics mode anyway - why go to the windows way of requiring a graphics card on machines that should be running headless and accessed via telnet and/or console cables only? Plenty of people use linux on machines that don't have a graphics system of any kind, and that's fine, in many cases it's a good thing. Why make an installer that won't work on a sizable portion of the machines that will run the software you're installing? How much sense does that make?

      If it ain't broke don't fix it is an axiom for a reason - and making a graphic mode installer would be a great example of fixing something that isn't broke. The Debian installer could certainly be improved though, and from the article it seems they've made excellent choices in deciding what needs to be improved - and what isn't broken and shouldn't be fixed.

      --
      =-=-=-=-=-=-=-=-=-=-=-=-=-=-
      Friends don't let friends enable ecmascript.
  3. Graphical? by yoshi_mon · · Score: 5, Insightful

    While still not a graphical installer (and the article does a good job of explaining why that's not a priority)...

    Who ever said we needed a graphical installer? There is absolutly nothing wrong with a good text installer. And for installing small footprint it's always best.

    And besides, this is the logical progression. First you do the text installer, then you move on to a graphical installer if you so desire. Not the other way around.

    --

    Really, I know what I'm doing...Ohhhh, look at the shiny buttons!
    1. Re:Graphical? by BHearsum · · Score: 2, Insightful

      I completely agree. The debian installer is the only one that has never failed me. It's simple, fast, and efficient. I can install a debian system in about 10 minutes flat from the standard or XFS boot disk. (That includes the time it takes for me to download the initial packages).

      Don't fuck with perfection.

    2. Re:Graphical? by Kjella · · Score: 4, Insightful

      Who ever said we needed a graphical installer? There is absolutly nothing wrong with a good text installer. And for installing small footprint it's always best.

      Average consumers. There's nothing *wrong* with a command prompt either, but they don't like that either. Neither the cryptic C:\> prompt in DOS nor [root@mypc root]# in Linux/Unix. That is, if you want Linux to be interesting to average consumers, but I'd say having a market share that'd at least make companies take Linux users into consideration would benefit all.

      And besides, this is the logical progression. First you do the text installer, then you move on to a graphical installer if you so desire. Not the other way around.

      Mostly true. But considering that just about everyone except those installing a headless server would prefer to use the GUI if there was one available, it's not exactly a small "add-on" for a small special interest group. Particularly if you ever hope to convert Microsoft "point-n-click for almost everything" powerusers...

      Kjella

      --
      Live today, because you never know what tomorrow brings
    3. Re:Graphical? by iantri · · Score: 2, Insightful

      Remember.. the installer isn't a command-line, its a TUI. Basically, a GUI done in text. Its not as bad as you'd think. And have you ever installed Windows 2000/XP? It uses a text-mode installer..

    4. Re:Graphical? by TheRaven64 · · Score: 3, Insightful
      I run FreeBSD on two boxes, neither of which has a screen or keyboard. When I installed them, I did so using a serial console. The only improvement to the FreeBSD installer I would like to see is the ability to run it over an ssh session (since serial ports are becomming less common). A graphical installer would add nothing for me.

      In general, I feel graphical installers for operating systems are a bad idea, since you really should not be installing an OS unless you know what you're doing. The FreeBSD text installer has the advantage of being easy to use while still looking intimidating to the kind of person who shouldn't really be installing an OS, and encouraging them to either get help or read the documentation.

      --
      I am TheRaven on Soylent News
    5. Re:Graphical? by Anonymous Coward · · Score: 1, Insightful

      It's not only for the average consumer. Look, I've installed more Linux systems that I can remember. It's not an interesting or pleasant experience, so why not make it as painless as possible. Let the poor tired sysadmins eyes rest on a 1024x768 or better resolution with a decent colorscheme and refresh rate, and why not some soothing background music while you're at it...

    6. Re:Graphical? by swb · · Score: 4, Insightful

      Text mode installers are fine, but Sysinstall (FreeBSD's) ain't that great.

      The user interface isn't terribly consistant or easy to navigate, although it may be curses fault as much as FreeBSD's. It's also a major fuckaround if it fails someplace -- there's no recovering, despite the fact that the installer sticks around.

      Personally I think it needs major rework to improve the UI. I'd like to see fewer seperate screens and more expandable hierarchical menus. They do seem to be kind of stuck on the two-floppy size limitation, which I'm not sure makes much sense anymore outside of die-hards that insist on doing floppy-started network installations.

      I'd also like to see it capable of doing installations for network booted systems. This might seems contradictory, but think of an installer you run on the master system that lets you fill in the blanks and generate an image for bootable floppy or .iso that would then be net bootable, or on the net-booted system itself if the HDD was to be the boot source.

      While it's been a usable install screen, it could use some UI and functionality help, all of which would require ditching the 2.88MB barrier.

    7. Re:Graphical? by evilquaker · · Score: 2, Insightful
      yoshi_mon: Who ever said we needed a graphical installer? There is absolutly nothing wrong with a good text installer. And for installing small footprint it's always best.

      Kjella: Average consumers

      "Average consumers" don't install operating systems. They get an OS pre-installed and never change (or probably even update) it.

      --
      To within half a percent, pi seconds is a nanocentury. -- Tom Duff
    8. Re:Graphical? by Brandybuck · · Score: 2, Insightful

      For instance, no one should be allowed to drive a car unless they can also tear down and rebuild an engine.

      So close, yet so, so far away.

      No one should be allowed to drive a car unless they can demonstrate their ability to properly handle it when a tire blows out. They shouldn't be allowed to drive in the snow or rain unless they've demonstrated how to handle it during a skid. They don't need to know how to build an engine, but they do need to know how to check the oil, radiator, battery, etc.

      --
      Don't blame me, I didn't vote for either of them!
    9. Re:Graphical? by Bob9113 · · Score: 2, Insightful

      There is absolutly nothing wrong with a good text installer.

      Sorry to get in on this one late. You are absolutely correct, and just a hair short of the mark. A good command line interface (CLI) installer is better than a good gui installer. You can run a CLI installer on a VGA card, but have you ever tried to run a gui installer without a grahics card? If (and this may be a big if) the CLI and the GUI have all the same features (sensible help, wizards, etc), the only upside of GUI is the prettiness.

      A GUI means there is more code to potentially get wrong, and it's less user-friendly for advanced use. Many things have to be text entered for a full install (EG: static network settings) - requiring the user to switch from analog data entry (mouse) to binary data entry (keyclicks) is a hinderance both in terms of moving your right hand and in terms of mental context switching.

      There is far too much GUI in the world. This is a matter of consciousness raising - stop blindly nodding when technots imply GUI is inherently better. The invention of the GUI should no more be the death of the CLI than television was the death of radio (which is to say, CLI may take a back seat, but still has an important role).

      The litmus test of this is code editors. The two most effective code editors are Vi* and Emacs. I switched to Emacs from a GUI editor in 2000. I've since made extensive use of IntelliJ and Eclipse. Emacs is still better - it doesn't sacrifice keyboarding and screen real estate to satisfy an analog input device, which has absolutely no place in code development.

      Even the technotards at Microsoft have finally figured this out and have begun rebuilding DOS.

    10. Re:Graphical? by ifwm · · Score: 2, Insightful

      "you really should not be installing an OS unless you know what you're doing"

      It's exactly this type of thinking that keeps Linux off the desktop

    11. Re:Graphical? by qtp · · Score: 2, Insightful

      Average consumers.

      "Average consumers" could care less if the install is "graphical" (I'll assume you mean "X11-based"), what "average consumers" want is an install that does everything itself without asking them very many questions, and I've yet to find one (including on Windows) that doesn't ask at least one question that your "average consumer" is unable to answer correctly the first time.

      What would be nice addition to the Debian installer is an ai that can look at your disk resources, ask if you want to keep your previous OS for double booting, and then partition according to some reasonable assumptions based on the resources available.

      just about everyone except those installing a headless server would prefer to use the GUI

      Again, you are assuming too much of the users, most every one designing installers is making this assumption, but the truth is that most everyone would prefer to not interact with the computer at all until it is time to decide what applications they want installed. Building a cli installer that can accept an "assume_yes" option to get you through most of the initial install is a hell of a lot closer to this than "Click here to continue".

      --
      Read, L
  4. A good graphical installer... by ca1v1n · · Score: 5, Insightful

    A good installer for a vanilla desktop user would take advantage of all the hardware on their system. It should detect your sound card, and then play a sound that says "hey, we found your sound card!" and it should let you use your USB mouse, show all this stuff on your display in such a fashion that acknowledges the existence of the video card, etc.

    Basically, it should be more like Knoppix.

    Now, I wouldn't want to lock the user, who may not be a vanilla desktop user and may not even have a mouse or video card on the machine, into this setup, but it sure would be nice to have the option, wouldn't it?

    Knoppix is wonderful and all, but it leaves behind some artifacts of the live CD setup that can make package upgrades (which users ought to be able to do graphically, and with little pain) very painful. If we could get stuff like this in the base Debian distribution, we'd be a lot closer to Debian being sufficiently user-friendly that we could hand a disc to grandma without fear.

    *prepares for the "get redhat" flames*

    1. Re:A good graphical installer... by AKAImBatman · · Score: 4, Insightful

      > *prepares for the "get redhat" flames*

      Try "RTFA". They state that the installer needs to work for every type of screen output from a GeForceFX to a serial cable. Being that the serial cable is the lowest common denominator that they had to support, they designed the installer as a simple text mode interface.

    2. Re:A good graphical installer... by treke · · Score: 2, Insightful

      Not really arbitrary, it's about starting with work that benefits the most people. Since Debian supports machines without hardware capable of running a graphical installer they are starting by writing a text mode installer. Once the basics of a full installer are in place they can start working on frontends like a "kickstart" or gui installer.

      Just a matter of trying to use the available resources the best they can.

  5. It's about time by Fux+the+Penguin · · Score: 5, Insightful

    Personally, I've never had good luck with Debian. I know lots of people love it, and bully for them, but I have never been able to get a Debian system up and running to my satisfaction. I believed this was a personal failure until I succeeded two times with Gentoo, which is to Debian as Alaska is to Montana, in terms of frontier cred. Anyway, I agree that things that are dumb about the Debian installer could be improved, but I'm still a little worried that an installer my mama could run isn't right around the corner...

    As everyone knows, Debian is maintained by an organization of volunteers. When people working on the distribution support users, it takes away from the time that they could be spending to improve the distribution. Therefore, it makes sense for them to not make Debian open for anybody to install. If someone can't make it through an installer that requires some attention and knowledge on the part of the user, then they should probably be using a commercial distribution that offers support for money or whatever. That's one of the things I like best about Gentoo's root shell installer. It immediately gets rid of people that are intimidated by that sort of thing, and prevents them from sucking up tons of attention on mailing lists or forums. The difficulty of the installer should be like those little signs in front of rides at amusement parks: "You must be this tall to ride."

    The target audience of Debian doesn't need a graphical installer, so there's really no reason to put one in. If you want the easy graphical installer, perhaps you should ask yourself why you chose Debian in the first place. Besides, with distributions like Debian and Gentoo, using the installer is more likely than not a one time thing, because you can upgrade the version of your operating system without bothering with the installer. I'm all for installer improvements that save time for the core users of a distribution, but revising the installer to open the distribution to a new class of users should not be entered into lightly

  6. Installer with My Hardware? by idonotexist · · Score: 2, Insightful

    I prefer to go through the difficult installation process Debian is known for - I know what hardware I have and can update drivers in the kernel if necessary, manually. So has does an installer perform? How about detecting a p4p800 deluxe motherboard with a 3com 3C940 nic? Unfortunately not. The disadvantage with installer is that users generally become lazy because of the very nature of an installer. It's purpose is to automatically detect a user's hardware - if it does not, then a user will likely give up and not naturally, say, update a drive in the kernel.

    --
    "There ought to be limits to freedom"
  7. Reinventing the wheel.. by spectrokid · · Score: 3, Insightful

    I don't want to be a troll, but I thought the whole idea about open source is you can copy from each other and not reinvent the wheel. If Mandrake has a really good hardware detection, then why are these dudes writing something from scratch?

    --

    10 ?"Hello World" life was simple then

  8. Re:Logical progression? by DavidNWelton · · Score: 3, Insightful

    Good theory, but the article explains why it doesn't work in practice: Debian has to be installable on 11 different architectures, and they have gone for a lowest common denominator approach (instead of, say, having a different, graphical install for x86 and maybe ppc).

    I agree with other comments. I can do without the graphics, but it's nice to whip through hardware detection without opening another console and digging through /proc.

  9. Re:someday by njdj · · Score: 2, Insightful

    For your information, it's a great deal easier to add a gui to an installer than it is to get the underlying functionality of the installer right. Debian is certainly not short of people who can program GUIs.

    Somebody at Debian has probably thought about whether a GUI would really add value to an installer. He/she presumably came to the conclusion that it adds little or none. He/she is probably right.

  10. Re:hardware autodetection... by GrenDel+Fuego · · Score: 2, Insightful

    I mean, once you install a "server" operating system using a generic kernel, then go and recompile the kernel to include support for whatever hardware you have in your server.

    What exactly is the purpose of hardware detection in this case? You won't be using X11, USB, or any of that stuff that needs to be "detected" on a server, and by installing Linux in the first place you accept the responsibility that you know what you are doing.


    Not everyone uses linux for just servers. And even on servers, installing custom kernels doesn't scale well if you support a large number of machines of different types.

    I love autodetection. I spent a lot of time setup Redhat kickstart installations that ended up being supported on a variety of hardware. Should a machine require manual work just because this particular machine included an intel NIC instead of a 3com?

    I know what I'm doing. I can compile a custom kernel, but it might not be the best use of my time.

  11. Re:Logical progression? by Aliencow · · Score: 1, Insightful

    Gentoo now has "Genkernel" which generates a Kernel configuration...and I must tell you, it is utter crap ! I'm OK with graphical installers and auto-detect and all, but I know my hardware and I much prefer being able to do it by hand and remove the unneeded crap...so it needs to be just an option!

  12. Not just for newbies... by jdreed1024 · · Score: 3, Insightful
    While still not a graphical installer (and the article does a good job of explaining why that's not a priority) the installer now autodetects hardware, streamlining module selection, which was previously one of the more confusing parts of the install for newbies.

    While seleting modules by hand may not be confusing for non-newbies, it's still annoying. Sure, I know exactly which modules I need, and I could select them all by hand, but I shouldn't have to. One of the great things about RedHat's installer (I know, I know, RedHat is dead) is the kickstart option. I can put in a disk, kickstart a net install, take the disk out, and move on. And barring any unusual hardware, I'll come back to a fully installed system. This is great for bulk-installing machines.

    I'm glad to see Debian has moved closer to this goal by doing module auto-detection.

    --
    There is no sig, there is only Zuul.
  13. Re:Logical progression? by the+uNF+cola · · Score: 3, Insightful

    Installation difficulties != graphical installer. Installation difficulties are due to a bad user interface.

    OpenBSD has a great installer for the tecnically inclined, while dselect is just plain annoying. You have so many keys to remember just to select stuff, and the screen's view keeps changing.

    Redhat's text mode interface is quite nice, 'cept it doesn't provide all the right questions or choices all the time. If i select something and its dependencies aren't met, it should ask me right away, "Do I want to add this or forget about my selection." I shouldn't have to think, I selected some packages before, and these are the missing dependencies over all of them, now I can go back and guess which ones i fooked up on.

    The autodetect and what not is important too, getting rid of stupid questions like, "do you have a 3 button mouse." If there was a way it could figure it out, do it damnit. And this project at LEAST strives for the autodetection. Hopefully, it'd streamline the package selection process and what not.

    --

    --
    "I'm not bright. Big words confuse me. But Wanda loves me and that should be enough for you." - Cosmo

  14. Hard Disk Partitioning / LILO Install by AELinuxGuy · · Score: 2, Insightful
    For me anyway, the most difficult part of setting up Debian has been the uncertainty in the disk partitioning / Lilo setup. Unfortunately, these screenshots do not show much of a change in that area. As the author suggests, some sort of "automatic partitioning" like Anaconda does would be a nice addition.

    On another front, is there any reason why the installer cannot let you choose in between GRUB and LILO like Anaconda does?

  15. Re:Sure they are... by goat_attack · · Score: 2, Insightful
    If you're working with a personal workstation, it's usualy worthwhile to use testing or unstable instead of stable. Change the references to stable in your /etc/apt/sources.list to testing. In practice, they're more than stable enough. Just don't try to do apg-get upgrade or dist-upgrade, you might break dependencies. Only apt-get the stuff you need up to date. I've never had problems with debian detecting my eepro100 though.

    I haven't seen any distro that does CD burning very easily though, so the problem isn't localized to debian by any means.

  16. & to add to that... by M$Marketing · · Score: 1, Insightful
    I don't really care about a pretty install,
    ...sometimes a picture is worth a 1000 words. In situations where graphics would be clearer, I would rather have graphics. However, in most/all situations, I think that a text based system would be better. After all, a good gui is going to have a help button for every screen, & what pops up when the user clicks for help? Text! This just goes to show that often times, 1000 words is better than a gui.

    To further prove this point, ever been to an art gallery? Ever noticed that the paintings aren't always very useful or good? I went to an art gallery once, the only reason that I got anything out of the experience was because of a self guided tour, which had words!
    I'm just glad they finally got hardware detection.
    I whole heartedly agree. I think that the next generation of installers will make software suggestions based on hardware cofigurations. For example:
    I see you have foo card. Many users love to make use of bar package, so that they can biz the baz. You seem to have enough left over space on your hard drive, & installing it should not slow the computer. Would you like me to try installing it? You can always install/uninstall it later.
    This type of a suggestion works well with all types of users. Here's another example.
    I see that you haven't installed foo package. A lot of security experts install it so that bar won't happen. If don't install it, then your computer will work well still, but experts advise you to avoid using your computer in the following types of situations:
    biz
    baz
    etc.
    --
    Take care...