Slashdot Mirror


Interview with Adam Di Carlo (Debian Boot)

robstah writes: "The installer is the heart of any Operating System, Debian is no different. The mature but ageing boot-floppies installer will rear its head for the last time in woody. In this interview with Adam Di Carlo, one of the lead developers of this system we investigate the past, present and future of the Debian installation system ready for the upcoming release of woody: The next generation of Debian."

40 of 150 comments (clear)

  1. boot floppies by rizzo420 · · Score: 2, Informative

    i've always used them to install debian (except when i didn't have a working floppy drive) and i always choose the network install for both the base system and packages. it's so much easier than the cd. you can always get the latest packages and not have to worry about upgrading right away. the only thing i didn't like was the addition of another driver disk with one of the last releases of potato. i got over it though.

    --
    please me, have no regrets.
  2. The heart of any operating system? by Bobo_the_Chimp · · Score: 2, Interesting

    Although it's a necessary component, it's a stretch to call it the heart.

    What I'd like to see is more install source options... perhaps the capability to mount Windows shares via smbmount to access the CDROM.

    1. Re:The heart of any operating system? by reverius · · Score: 3, Interesting

      I wonder what the heart of Linux From Scratch is?

      The "scratch", maybe?

      Unless... could it be... Linux!?

  3. I think it would be better to call the installer.. by ConsumedByTV · · Score: 2, Funny

    The Spleen of the Distro!

    --


    "Not my manner of thinking but the manner of thinking of others has been the source of my unhappiness." - M
  4. Do Not Fix What Isn't Broken by Lethyos · · Score: 5, Insightful

    The Debian installer IMHO, is very elegant, smooth, and has a near perfect balance of functionality for power users and entry level users alike. Power users generally get the flexability they need, and entry level users only need to contribute a little bit more thought than say, RedHat's installer. I say, KISS, and hang onto this installer for a little while longer. The only real problem I've ever seen with Debian's installer was the dselect stage, where most users choke completely. That however, has become an option and users may now run the simple and straight foward tasksel util. If the Debian people are going to try and replace this installer, I certainly hope they keep the existing paradigms around for those of us who love Debian as it is (it's the only perfect distro in my book).

    On the other hand, what Debian really needs to do is enhance and extend the aforementions tasksel utility. Tasksel has the right idea, but it doesn't go far enough. It's not very extensive and it'd be nice to break things down into smaller groups without having to jump all the way over to dselect. For example, from tasksel, installing the TeX packages is clear, but maybe I want all the immediately necessary LaTeX components and not all the utilities that convert TeX to every other format imaginable for documents. But make this a hierarchial option that's hidden in tree form under this task. That'll give us more middle ground between tasksel and dselect.

    --
    Why bother.
    1. Re:Do Not Fix What Isn't Broken by Teancom · · Score: 4, Insightful

      Excuse me? "...debian is the only perfect destribution"??!? I've been using debian for a few years now (1.x days) and love it to death. But *perfect*? Apart from the various bugs and glitches from packages, the fact that I have to run unstable just to have a decent desktop (kde2.2.2) is *wrong*. And don't get me started on "testing" and how b0rked up that normally is (i'm 0 for 3 in trying to get a working testing system). Talk to Ivan Moore if you want a good rant on how people shouldn't be using testing for real workstations. Getting locked into cyclical traps of "this package depends on that one, but conflicts with another with depends on yet another which conflicts with.." is too common to be ignored. I shouldn't have to use dpkg to clear up messes like that, but I do. I'm a sysad at a company that is looking to switch to linux, and all I need to convince them to go with debian is come up with an automated installer. You'll notice that in the interview, they cover that: it's slated for the release *after* woody. I.e., all we need to do is wait for a year. And don't point me to FAI. It's nice, but I don't want to have to write my own installer, which is basically what you do with it. Mandrake "records" my choices, makes a floppy, and off I go. Don't get me wrong, I use debian for my personal workstation, but we're rolling out mandrake everywhere else...

      Anyways, if debian is "perfect", as in it fits your needs with no complaint, more power to you. But for the rest of us, we appreciate the developer's hard work in trying to make a *really* good distrobution even better...

    2. Re:Do Not Fix What Isn't Broken by CentrX · · Score: 2, Informative

      Testing works great for me, that's 4 working systems out of 4 I've installed it on. No problems I didn't get in some other /released/ distributions.

      --

      "The price of freedom is eternal vigilance." - Thomas Jefferson
    3. Re:Do Not Fix What Isn't Broken by mbanck · · Score: 2, Informative
      The only real problem I've ever seen with Debian's installer was the dselect stage, where most users choke completely.


      I've read discussion on debian-boot, where joeyh stated that aptitude would advance into base and replace dselect. This got reflected in aptitude's latest ChangeLog, but I don't know if it will really happen. Anyway, aptitude is a lot nicer than dselect.


      On the other hand, what Debian really needs to do is enhance and extend the aforementions tasksel utility. Tasksel has the right idea, but it doesn't go far enough.


      I'm sad to tell you that we dropped old-style tasks for woody and did a new implementation. This is not bad, but it seems tasks got tidied up quite a bit and there are fewer around now.


      Michael

    4. Re:Do Not Fix What Isn't Broken by Tachys · · Score: 2

      You have got to be kidding.

      Debian has the worst installer of any operating system I have ever used.

      Even FreeBSD has a more user-friendly installer

    5. Re:Do Not Fix What Isn't Broken by Ogerman · · Score: 2

      And don't get me started on "testing" and how b0rked up that normally is (i'm 0 for 3 in trying to get a working testing system).

      You likely are doing something horribly wrong as I've had hardly any problems with testing OR unstable. Don't rely on un-official "pre-Woody ISO's" for one. Some of them ARE broken, but that's not the Debian project's fault. Start out with the latest stable (2.2r4) for a base install and then switch the package source to testing/unstable and install via FTP or your own local archive of known-good packages. (also convenient if installing identically to multiple systems, which it appears you want to do)

      Getting locked into cyclical traps of "this package depends on that one, but conflicts with another with depends on yet another which conflicts with.." is too common to be ignored. I shouldn't have to use dpkg to clear up messes like that, but I do.

      Make sure you're using dselect to help you manage the dependancies. And remember, just because there's a more updated package that has just hit the unstable tree, doesn't mean you have to use it right away. It's really not as difficult as you make it out to be.

      I'm a sysad at a company that is looking to switch to linux, and all I need to convince them to go with debian is come up with an automated installer.

      If you're the sysadmin, why do they care how dumbed up the installer is?

      ..but I don't want to have to write my own installer, which is basically what you do with it. Mandrake "records" my choices, makes a floppy, and off I go.

      No, you can do the same thing with Debian either by setting up your own archive as previously mentioned and/or by using the clone-debian script. You can also do it manually. It's not that hard. Or, if you really want to save some time installing multiple workstations, just clone the whole partition to each drive.

      Don't get me wrong, I use debian for my personal workstation, but we're rolling out mandrake everywhere else...

      It's better than nothing (or windows), but Mandrake is still a messy distro. For your own sake, reconsider that choice.

    6. Re:Do Not Fix What Isn't Broken by Daniel · · Score: 3, Informative

      As someone who's has to maintain boot-floppies for the last 2 releases (Potato and Woody) and was also involved in Slink boot-floppies, I can definately state that it is broken.

      And people who don't believe him should consider the fact that "getting boot-floppies into shape" has been (if we can trust my memory) a MAJOR cause of delays in the last two releases.

      (this is not to fault Adam, who does wonderful work, but rather to emphasize that the code is just too fragile to be kept alive)

      Daniel

      --
      Hurry up and jump on the individualist bandwagon!
    7. Re:Do Not Fix What Isn't Broken by Daniel · · Score: 2

      I've read discussion on debian-boot, where joeyh stated that aptitude would advance into base and replace dselect.

      It seems /. ate my comment yesterday. Maybe something to do with this minimum-time-between-comments thingy.

      Anyway, I jumped the gun on this; the release manager decided that fiddling with base just before a release was too risky, and so this is not, as far as I can tell, happening.

      The only change necessary, though (AIUI) is to tell debootstrap to download aptitude along with the base packages. (if aptitude is installed with base, the initial configuration process will offer it as an option) If boot-floppies is buildable by mere mortals in woody (haven't tried recently), this would be fairly trivial to do. I think.

      (also, there is no chance that aptitude will entirely replace dselect any time soon; if nothing else, there are some people who like dselect)

      Daniel

      --
      Hurry up and jump on the individualist bandwagon!
  5. The Installer is... by SpringRevolt · · Score: 3, Funny

    ..the birth canal of a distribution

    otherwise known as...

    ahem...

    ah... lets not go there...

  6. Re:I think it would be better to call the installe by MrEd · · Score: 4, Funny

    More like the breasts... it's hard to get started in life without access to some.

    --

    Wah!

  7. Solaris 8 Intel Installer by Otis_INF · · Score: 3, Funny

    Anyone who has tried to install Solaris 8 on Intel will cry tears of joy by seeing any Debian installer ANY time.

    --
    Never underestimate the relief of true separation of Religion and State.
    1. Re:Solaris 8 Intel Installer by lavaforge · · Score: 2

      If I remember correctly, only the initial stages of the Solaris install are a heinous abomination. After that I remember a nice webview install. Would something like that work for Debian?

  8. Policies essential, installer incidental by Euphonious+Coward · · Score: 4, Interesting
    The installer is incidental. Debian users run it once, and never again.

    What makes the difference in a distro is the set of policies and procedures that make the distro something recognizable. If those are comprehensive, enforced, and automated enough, it becomes possible to trust the distro from release to release.

    The infrastructure of the Debian distro has flowered as the "apt-get" tool and its related GUI applications (gnome-apt, aptitude, deity). Apt-get makes a Debian system far easier to maintain, and keep up to date and secure, than any other. Debian policies and package tools make it possible to use safely. Apt-get without all the infrastructure beneath would be too dangerous to trust.

    For more detail on the topic, see the Advogato posting.

  9. Bare bones CD-ROM installation media. by pi_rules · · Score: 2, Insightful

    If you've ever tried downloading a Debian .iso and install off if you'll find that they intentionally do not provice .iso images to save on bandwidth. However, making 12-16 floppies with all the possible drivers on it was something I was -not- going to do.

    For my first 2.2. installation I put the drivers.tgs and the base2_2.tgz on my existing windows partition then just used the boot/root disks to do the install. This was nice; and I did something similar on two machines which were shipped to me w/ a RedHat installation on them.

    But... what do you do when you don't have an existing OS on there? After some thinking I put together my own .iso that had nothing but the boot * root floppies, base2_2.tgz, and drivers.tgz, burned it to disk and viola. All I needed now was my CD, two floppy disks and I could do a 'net install just fine. If I ever got adventurous I'd have actually made the CD bootable and put the root FS on it but quite frankly It's only once every month or so that I have to do an install so finding the floppies isn't a big deal.

    How 'bout it Debian team... a ~20MB .iso image for download, burn to disc, and have all the tools to do a 'net install off of it? Made my life pretty simple; wouldn't take more than a day to smash together I'd imagine either.

    Justin Buist

    1. Re:Bare bones CD-ROM installation media. by quinto2000 · · Score: 2, Informative

      They do have ISO, but they are fairly well hidden. To save bandwidth, they don't link to them from the front page. If you can download the ISO, you should probably just use a boot disk and do a net install instead.

      --
      Ceci n'est pas un post
    2. Re:Bare bones CD-ROM installation media. by Daniel · · Score: 2

      Woody can download the base system off the net. On modern hardware, I've done single-floppy network installs.

      Daniel

      --
      Hurry up and jump on the individualist bandwagon!
    3. Re:Bare bones CD-ROM installation media. by Daniel · · Score: 2

      hm, maybe it was two floppies. It's been a while. I know that it was able to download the drivers and base via http.

      Daniel

      --
      Hurry up and jump on the individualist bandwagon!
  10. Which boot? by BLAG-blast · · Score: 2, Funny
    Hi Adam,

    Great work and all that, we really appreciate what you've done. Now, I'd really like to know which boot you put on first thing in the morning, is the right foot or the left foot? Have you ever put your boots on the wrong feet before?

    Thanks!.

    P.S.: What do you think of RedBoot (It's for embedded devices)?

    --
    M0571y H@rml355.
  11. Boot Floppies aren't "aging"! by wowbagger · · Score: 3, Interesting

    Installers that work by using a boot floppy to access a network image of the install are still one of the best ways to install systems in a large environment:

    1) You don't have to configure the machine to boot from CD, then remember to turn that back off in the BIOS when you are done.

    2) HTTP or NFS access across a 10Base-T is about equal to a 10 spin CD-ROM - across a 100Base-t its faster than all but the most top of the line DVDROM drives.

    3) Start one install, as soon as the machine boots remove floppy, insert into next machine, and repeat.

    Don't get me wrong - I like CD installs for single machine environments. But I ALWAYS have the latest copy of RedHat exported from my server in the basement - makes it a lot easier when rolling a firewall/scratch machine/whatever.

    1. Re:Boot Floppies aren't "aging"! by danish · · Score: 4, Informative
      In Debian terms, "boot-floppies" (notice the hyphen) is the name of the installer system. So the old, aging Debian installer is called boot-floppies, which is what the submitter said. He did not mean to say that floppies themselves are aging; they are still useful for the tasks you describe.

      That said, the installer can and will still work with floppies, CD-ROMs, NFS, HTTP/FTP and whatnot.

    2. Re:Boot Floppies aren't "aging"! by wowbagger · · Score: 3, Funny

      Unfortunately, unless you are familiar with the Debian distro and know that "boot-floppies" is more of a proper noun than a simple designation, the comment is misleading.

      Somewhat similar to saying "I finally got my woodie up" in the general public.

  12. Installing X is Broken by TheAJofOZ · · Score: 2, Insightful

    I quite like the Debian installer as well, however it suffers from the same problem that all Linux installers seem to - it doesn't consistently get X configuration right. For a server that's not a problem, for a desktop machine it is. Support for graphics cards, monitors, input devices etc in XFree86 seems to be pretty good now, but configuring it is still a nightmare. Installers (or better X) need to automatically detect the settings required and just work.

    In fact, that's probably the biggest reason Linux isn't ready for the desktop. Once you get a system set up and configured right, it's fairly easy to use, particularly with KDE and GNOME these days, but if you can't get your system to that point then it's all for naught. Remember that not everyone has a local geek and Linux pretty much never comes preinstalled.

  13. Best Way to do a Debian Install by talonyx · · Score: 4, Informative

    From my vast experience with this distro, on a high-bandwidth connection this is the easiest way to do an install.

    1. Download and write to floppy the image-1.44/compact disks (rescue, root, and driver-1).

    2. Boot with Rescue in.

    3. Follow the directions.

    DHCP makes this a blast and you're into Dselect (or tasksel if you want) within fifteen minutes at most. You end up download much less than an entire ISO in most cases, and it's better because you're always going to get the latest packages.

    If you have to do an install on multiple machines, download the entire tree for your distro onto one machine, and set it up as a server with FTP or somesuch so that APT can access that local machine as a repository. Over 100baseTX, it takes no time at all to do an install (after all, a fast hard drive over ethernet is probably faster than your cdrom drive is anyways :-D )

    There are also ReiserFS boot disks available now that will let you get up and running with a great journalling filesystem from scratch, with the selection of one simple option.

    I found the Debian installer much easier to use than Red Hat's, and much more powerful than Mandrake's.

    Give it a try! You won't go back!

    1. Re:Best Way to do a Debian Install by greenfly · · Score: 2

      There are also XFS boot disks available.

      The link is on the official XFS site.

  14. Fix it! Please! by roystgnr · · Score: 2, Informative

    I've been an assistant at a half dozen installfests: a couple where mostly Red Hat got installed, a couple with mostly Mandrake, and a couple with mostly Debian. Unless Debian's installer has improved by orders of magnitude in the last 9-10 months, it is by far the most newbie-unfriendly of the lot. Even people experienced with other distributions needed to be walked through a Debian installation process beforehand to try and prevent any unpleasant surprises.

    Debian is a wonderful distribution (even for new users, now) once you've got it running, but if you think any "entry level users" can sit down at a Debian installation and have the slightest hope of getting through it successfully, you're deluding yourself.

  15. Good analogy by roystgnr · · Score: 2, Insightful

    It's also the first thing you notice when you're checking out a new distro, and it's the only thing at all that shallow reviewers pay any attention to.

  16. Satan? by Compact+Dick · · Score: 2, Funny
    Could it be ... Satan?

    Yes, but only for FreeBSD and NetBSD.
  17. Option for experienced users? by sammy.lost-angel.com · · Score: 2, Insightful

    A lot of debian users are very comfortable with debian's installer as it is. Most debian users I know, install just the basic OS, then use dselect to install the packages of their liking. Very minimal and effective. Will this option still be around for us experienced users?

    1. Re:Option for experienced users? by Daniel · · Score: 2

      Woody's installer allows this. I'm sure joeyh will make allowances in debian-installer, although I haven't tested it myself.

      Daniel

      --
      Hurry up and jump on the individualist bandwagon!
  18. Re:Graphical installer? by psamuels · · Score: 5, Insightful
    In other words, we'll see a graphical Debian installer around 2010 or so?

    Yeah, they do have long release cycles, but why exactly do you want a graphical installer anyway?

    I've never quite understood this point. Bringing up the GUI early in the install process adds a bunch of complexity and failure cases, and to my mind anyway, doesn't really add any functionality.

    What features of an installer do you have in mind that can be accomplished within a GUI but not with a text-based UI? And don't say "to impress people who confuse pretty with advanced" - why the **** should we care about their opinions?

    One thing might be "to fit a reasonable amount of information on one screen" - which is why I boot with "vga=1" meaning 80x50 cells, and I think this should be made the default on boot-floppies, although I understand why it isn't (it would screw over those .001% of users that don't have VGA-compatible video cards or BIOSes).

    This is like those BIOS setup screens that come with icon boxes, scroll bars and PS/2 mouse support. Does anyone find them easier to use than the venerable text-based BIOS setup screens? I don't. I find them confusing. Easy-to-use does not imply graphical, or vice versa.

    --
    "How can you claim that you are anti-crack, while still writing a window manager?" — Metacity README
  19. One Crummy Package is GREAT Justification to Drop. by Christopher+B.+Brown · · Score: 2
    Did you ever consider the option of grabbing the source code to Roaring Penguin PPPoE, sticking it on your system somewhere, maybe in /usr/src , and then running:

    # make install

    I spent 1/2 an hour fiddling with the Debian pppoe package, and concluded it was a much better idea to punt over to David Skoll's original version.

    I did a make install , answered the questions, and my firewall has been up 64 days since the last time I moved the machine, and it works like a charm.

    Considering the entire distribution as worm-fodder just because one package hasn't turned out well is about as logical as deciding Windows is wonderful because the BSOD is a particularly nice shade of blue.

    --
    If you're not part of the solution, you're part of the precipitate.
  20. The "heart"? by uid8472 · · Score: 2, Interesting

    OK, then: the heart of my new NetBSD system would be tar(1), because that's about as close as I got to an installer while setting it up.

  21. Really useful feature to add by billcopc · · Score: 2, Interesting

    What I'd really like to see in a new installer is the ability to actually install the thing from a serial port. I always find myself hauling around a spare monitor from box to box when rebuilding my 3 boxen. It would be quite nice to remotely control them all from my desktop with a standard terminal emulator, just like I do with the big iron at work.

    --
    -Billco, Fnarg.com
  22. Re:maby this would help by cduffy · · Score: 2

    How is launching some InstallShield lookalike better than typing "apt-get install myprogram" and pressing enter?

    Yup... no finding and downloading packages... no worrying about dependancies... no recompiling stuff by hand... just one command on the command line, and apt does all the work for 'ya. That's why I run Debian. Furthermore, whenever a newer version of any program you have installed comes out, apt will download and update it for you.

    Frankly, if there's a means of making this model easier, I just don't see it.

  23. Re:Eeek, dselect in sight! by Daniel · · Score: 2

    if you're not sharing the habits of the inner gang that designed the software

    Yum, I'm a gang now? :)

    I guess getting armchair criticism from an AC on /. is a sign that the software is being used, anyway.

    Cheers,
    Daniel

    --
    Hurry up and jump on the individualist bandwagon!
  24. Re:Eeek, dselect in sight! by Daniel · · Score: 2

    Aptitude is definitely much nicer than dselect, but still not intuitive enough, in my opinion.

    The most useful definition of "intuitive" I've ever heard is "whatever the speaker or writer of 'intuitive' likes" :)

    *eek* command-line apt-get

    apt-get is a very useful tool, for what it's meant to do. There's nothing majorly wrong with it, except that it's not intended to browse the full set of packages, which is what most of us want to do sooner or later :)

    (I wouldn't put "eek" before mentioning how hard it is to drive nails with a screwdriver, personally..YMMV (of course, there aren't any mobs of screwdriver fans roaming the streets telling you to drive nails with them, but I digress))

    Graphical UI would help a lot, as you can make it much more eye-friendly with colors, fonts, and graphics, and have more freedom in doing the layout.

    Adding a graphical UI to aptitude would require a near-complete rewrite, unfortunately, and there's a very practical need/use for a text-mode package manager that doesn't scare young children above the age of, say, 3.

    I've thought from time to time about doing a GUI apt frontend, building on what I've learned from aptitude, but I've decided that I'd have to either (a) give away aptitude or (b) get a full-time job before attempting it.

    I've heard synaptic is rather nice. I wasn't terribly impressed, but they have implemented one of my long-standing todo items, visual construction of filter terms. Newbies would probably like this more than typing ~b~D(~vhelix) :)

    When upgrading packages, I'd recommend to make it totally non-interactive (at least by default).

    Yes, this would be nice in many circumstances. Unfortunately, dpkg needs to be redesigned a bit first AIUI :( (because of conffile handling)
    However, proper use of debconf should severely cut down on interaction (emphasis on "proper")

    Daniel

    --
    Hurry up and jump on the individualist bandwagon!