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.
I don't really care about a pretty install, I'm just glad they finally got hardware detection.
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!
Why does it silently switch to Dvorak when you select diff languages?
"If you select "English (USA)" you'll be safe, but be warned that if you choose "English (Australia)" or "English (United Kingdom)" your keyboard will switch to the Dvorak layout! Not quite what most people expect."
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*
WARNING: there is a trojan on your
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
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
I don't really see the logic. Linux in general used to get beat up severly because of installation difficulties. Over the years many distros heard these complaints and addressed them by developing better and better installers. Today, there are numerous distros available that have such excellent installers that installation is a moot topic, except for Debian, Slack and Gentoo.
Most, if not all, of these better installers are open source GPLed programs. It seems to me that "logical progression" would be Debian taking one or many of these better installers and adapting them to Debian. Instead they choose to reinvent the wheel and have produced a crude installer whose interface was passe years ago. Where is the logic?
it works, if you stick with woody, it's pretty much a "hit enter" proposition. It's not as good as libranet or knoppix/gnoppix/morphix. But given the "Debian Mindset" it is a step forward.
~corporate tool, but employed~
First Look: Next-Generation Debian Installer
The Debian installer has been considered its Achilles heel for a long time, but in the last couple of months things have really been heating up in Debian-installer-land. Ian Murdock recently announced to the Debian project that Progeny, the Debian-based distro that created the Progeny Graphical Installer, was dropping PGI in favour of porting Red Hat's Anaconda installer to Debian. But things haven't been sitting still within Debian itself either, with frantic work over the last couple of months to get the next-generation Debian Installer to the point where Sarge (Debian 3.1) can be released.
A Debian-Installer Debcamp in Germany in September saw many of the core developers get together for several days of intensive coding, with the result that Beta 1 of the new installer is now ready for the world to come and gawk, and poke, and kick the tyres, and even take it for a spin around the block. It's still changing on a daily basis but the developers want as many people as possible to give it a whirl and report back any problems they have.
So, for your edutainment and complete with pretty pictures, I present to you this first look at the next-generation Debian Installer.
Installer Rationale
To understand some of the design decisions that have been made with respect to the installer and why it's taken so long to get to this point, it's important to know a little about the Debian project itself. For many people this section will be rehashing old ground so if you just want to get to the guts of it skip ahead now to the next section, "Getting The Installer".
The long and the short of it is that Debian is committed to supporting multiple processor architectures. It's famous for being the most broadly deployable Linux distro (and possibly operating system) in existence, running on at least 11 distinct architectures. Nobody has more expertise in porting software to different platforms than the Debian project.
While that causes some problems when distributing normal user-space software, they're difficulties that can be worked around: for example, a package written in C needs to compile on all 11 architectures, but not all architectures use the same C libraries. No problem, Debian's server farm just autobuilds the package with different libraries for each platform.
When it comes to an installer, though, things are different. An installer needs to be bootable on all platforms, but different platforms boot in totally different ways. x86 systems start up and look for local disks in a certain way, Power Macintosh systems do it another way, and S/390 is different again. Then consider that the job of an installer is to figure out what local hardware you have available and setting up the system in a way that will work on that hardware. How does it detect the hardware? Will a detection system that works on one architecture fail horribly on another?
Probably.
But it gets worse: think about what happens when you first launch an installer. It boots up and displays some stuff on screen, right? But some machines use an AGP or PCI graphics subsystem, while others may not have a graphics subsystem at all, only a serial interface with a character-based console. What should the installer do if it starts up and finds the host system doesn't even have a graphics card installed?
The more you think about questions like that, the more it'll bake your noodle when you consider the task faced by the Debian Installer team.
In essence, they are trying to make a universal installer that will run on any architecture with any hardware detection method and any display system.
So people may bitch and moan about how it's taken so long for Debian to produce a "pretty" installer while other distros have had one for years, or they may say that Debian should just adopt a third-party installer like PGI or Anaconda, but that doesn't really take the big picture into account. Debian's mantra is to be the Universal Operating System, a
-Fork for architectures: i know lots of people don't like to wait for upgraded packages because they break on different architectures. This is what's happenning with xfree 4.3 not being available. If there were a debian-x86 fork, it would use optimization and wouldn't be behind other distros in package versions.
/dev/null. The debian installer was never the problem. It isn't harder than slackware, but dselect really, really sucks.
-Dselect needs to be sent to
-Loose the restrictions a little bit: why mplayer is missing and xine not? Mplayer has been 100% gpl since 0.9 and it was rejected from getting a package because of ffmpeg, which xine also has.
-More customization: the USE variable of Gentoo is really powerful, and it would be great when apt getting source packages. I want package X, and it wants me to install package Y that is optional and i dont want.
-Updated versions! Slackware is current, and it's stable.
-Re-do the stable, testing and unstable package list: they should only contain base, critical packages. So i want to run the latest kde with my stable setup? Is kde 2.2 more stable than 3.1? The security bugs fixed between them say no (yeah, i know they backport, but those packages never get the same QA) User-level desktop apps which aren't critical shouldn't be restricted in the same stable, testing and unstable trees, or at least they could mix and match.
And lot of other things i can't remember...
Open Source Java Web Forum with LDAP authentication
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.
The right thing to do is what Windows has always done: make it easy to change.
XFree 4.3 has an extension called randr that allows changing resolution and vertical refresh on the fly, and the latest versions of both Gnome and KDE now include control panel applets for setting resolution and refresh rate. How long it will take for that to trickle down into Debian stable is anyone's guess, but the Linux community at large is already there.
0 1 - just my two bits
www.dvorak-keyboard.com/
Lazy, hell. You don't really believe this, do you?
I don't go to every machine I manage, I use shell scripts. When the machine boots, init configures the system. Hardware configuration is part of the entire scheme. If it fails, the user (not an admin) should then get someone else to fix it as it's not thier job to know how. If the hardware configuration software is worth it, there should be few situations where it does indeed fail. Kudzu (Red Hat's) is damn good. If the Debian folks want to reinvent the wheel, they can.
Getting the proper modules loaded automatically is exactly the kind of task that software does well. Looking up hardware details and slogging through kernel notes is an entirely automatable process...and automation is why we have computers in the first place.
I used to fiddle around with modules every time I upgraded the kernel -- either from source or from a new distribution. Kudzu (also used in Knoppix BTW) does an amazing job of auto configuration...so why not use it or something like it?
It doesn't make you any less special that the system figures out something that you also can figure out. Yes, experts should know how the system works. Tinker with modules.conf if you like. I personally would like to fiddle with other things beyond the base hardware configuration since I already know how it works.
That said, if you're a professional let me put in a plug for InstallBase. This is a TK-based, cross-platform installation program; Solaris, Windows, and Linux. It provides a good balence between simple and detailed configuration, as well as a silent mode. Currently, I'm using it to bring sanity and automation to a mismanaged network.
Here's something you likely agree with. The network management document I'm writing says -- up front -- installation is not running an install program. I'm a strong believer that If you don't know what the answer should be, using a computer to tell you is an act of trust in something that has proven itself untrustworthy; it is foolish.
InstallBase (the tool) is used becuase it meets the goal of automation, though to use it or any other tool properly you have to know exactly what it is you want it to do. That takes concerned effort. The result eliminates needless work and inconsistant human mistakes that happen when each machine is managed a little differently. (If done wrong, you get consistant mistakes...so, there you go!)
A firewall can not protect you from yourself. Turn off what you do not need. Do not use the firewall to do your work.
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.
The easiest Debian installer is Knoppix.
You boot from a Knoppix CD, and all you have to do is install a base system and apt to your hard disk, and you've got a Debian system that's already configured.
They should acknowledge this fact and officially support Knoppix as an install method for desktop users. Then they can still focus their installer on people who want to install Debian on an Alpha over their serial line.
Win dain a lotica, en vai tu ri silota
It's called Knoppix...