The Very Verbose Debian 3.0 Installation Walkthrough
Gentu writes "Cited the general displeasure which accompanied the Debian 3.0 release, mostly regarding its dated installation procedure, Clinton De Young wrote an easy-reading but long article for OSNews going through the Debian installation step by step. Of course Progeny released recently the PGI graphical installer, but it is not as complete as the current Debian text-based installer and it will definately be quite some time before it get adopted by the project."
Instead of spending the time to create a guide through the installation, it might be a better idea to make a more intuitive installation system. That's one thing RedHat/Mandrake have over Debian. If Debian wants to increase its market share, it will have to follow their lead and "dumb itself down" a little for less experienced users.
Have you been stalked by Seth today?
I found debian's own installation guide to be extensive enough
-dk
I haven't used Debian for quite some time since using Gentoo, I still think Gentoo's installation page is incredibly long. Or maybe it just seems that way because I'm waiting a really long, long time in between instructions that require compiling something.
I am in no way a linux guru and/or expert, in-fact I am about as wet behind the ears as you can get. Debian comes off as being one of those distros that you should only bother installing if you are in-the-know. I have been very curious about debian for a while now and have always went the RH or slackware and mandrake route beacause of the ease of install. I have to admit though that, A) this article helps TONS & B) debian has gotten much better for us newbs. This is a MUST read!!!
I don't think the problem is walking through the installation. I had a friend, who have never installed Linux before, install Debian two weeks ago. He had no problems following the onscreen instructions (just click next, basically).
The problem is, as many people has mentioned before, the automatic (non-existing one at that) hardware detection. We weren't sure about what kind of network card he had (as in which chipset to use), and we were doing a network installation (just boot up from disks), so that was a huge problem. Finally, we just tried all the drivers, one by one, until the right one didn't fail on load.
Everything else was pretty easy.
Je ne parle pas francais.
Increase its market share? Debian developers don't get paid for all the hard work they do. Why should market share matter?
Besides, the installer is not that difficult.
...the PGI graphical installer...
AAArrrgggh! RAS syndrome!!
(RAS: Redundant Acronym Syndrome)
Malike Bamiyi wanted my assistance.
> Of course Progeny released recently the PGI
> graphical installer, but it is not as complete as
> the current Debian text-based installer
More importantly, it's i386 only.
Warning: this article may contain humor, sarcasm, parody, and perhaps even irony. Read at your own risk.
On my house mail server, that's a different story. I'm running Debian on an old P133. Debian made it really easy to install a totally stripped down system and exim configuration beats the *#@$* out of sendmail configuration as far as I'm concerned.
The debian install isn't bad at all if you're FAMILIAR with linux and know what you're doing. People complain it isn't as nice as Mandrake install. Guess what, Debian is put out by hobbyists and not by a commercial company. The focus is on functionality, NOT GUI interface design.
Debian isn't shooting for the average Joe Schmo linux desktop user. I think Debian is great for systems when you want TOTALLY cutting edge (unstable gets updated all the time and installing new packages over the net is a breeze), when you want just a few precisely chosen packages, or when running headless.
My largest complaint about Debian isn't about the installer per se, it's about X windows and fonts. Basically, I apt-get install gnome etc... and I have no idea what is up with the font situation. It use to be that you didn't even have truetype and had to fuck around for hours to get basic truetype working. I have no idea what the situation is with anti-aliasing and gnome 2.
But watch the criticism of Debian. Debian is a free product that is remarkably functional. It literally amazes me that anything in Debian works at all (and for the most part, everything does *with a lil tweakin*). Unless you start paying money for Debian GUI development, watch your tongue :P You're not ENTITLED to completely free operating system with a nice graphical installer!
Why isn't there an O'Reilly book entitled "Installing Linux in a Nutshell" or "Installing Linux for n00bs" or something. The picture could be a drooling idiot or something.
As has been said a hundred times before (I'd link specific comments, but check back to any other thread about Debian), Debian isn't a distro for new Linux users. It can be, but that is not it's main purpose in life. If I were asked to summarize Debian's main purpose in life, I would say "to provide Linux on some more obscure hardware platforms and to put the F back into Free."
/dev/hda2 instead of /dev/hdb2), but otherwise, I followed my 13 page printout to the letter and not only did I have an installed system at the end of it, I knew how the installation worked. I knew all about partitioning and filesystems and swapfiles and hopefully someone who has never seen these things before will know what they all are at the end, as opposed to someone who hits "Enter" (or worse, clicks "OK") multiple times.
People say Debian's installer sucks for people who don't know what they doing. I had trouble the first time I installed Debian. I can whisk through the installer with no problems now.
I installed Gentoo some months ago for a LUG demo. The installation process ate my Windows partition (because I was an idiot and typed mke2fs
Putting the installer into X or gtkfb will sure make it seem a bit more friendly for new users, but unless it's backed up by a great set of administration tools for package management etc such as Red Hat provide, you're just fooling people into thinking that they can get by without knowing anything.
I think something like what has been produced here is what Debian needed more than a graphical installer - this page will instill the sense that "if you read the instructions, complex tasks become simple" into people, and that's what really counts.
If you're going to change something about Debian, change dselect. It's horrible. It needs to be changed. I haven't used dselect since I learnt how apt worked, but sometimes it would come in useful if it wasn't so god awful!
RTFM is a damned sight easier to say to someone if they have a decent manual available. Lets hope this guide can fill that void.
Does somebody somewheres not know the definition of plug and play?
See, there is this USB port thing, and you, err, plug stuff into it, and, uh, well, heh, it is supposed to kind of, err, work.
If USB mice require configuring then there are more serious problems here then just the lack of a graphical installer. . .
Need help treating your acne? Come here!
I would really like to hear an example from anyone as to exactly what in installing Debian was hard for them. I think it is easier than any other system, honestly.
Sure someone new will not know what the drive partitioning means and could impact. For that they should have a 'default: I have NO idea what this is' option on that. But all my hardware was detected except the network card and from experience I do know how to do that. Maybe they should put an app in there to try and auto detect them better. So other than selecting the network card to use by hand the rest is hitting enter ??
Redhat's administrative tools are graphical and there's really no good analogue in Debian.
Last time I installed Debian, I wrote about 20 points of installation instructions in a notebook. The instructions are simple, and let you quickly set up similar systems without needing to search online for more information.
Soon I'll be creating a webpage, so you too can run an open-relay EXIM server.
http://jesus.everdense.com/
And many of them also have some ideological views (like breaking the monopoly of a certain software giant)
I think their market share actually DOES matter to them.
(I agree on the installer though)
"The majority is always sane, Louis." -- Nessus
http://slashdot.jp
Insert media
Boot
Enter hostname and IP address [NON DHCP SYSTEMS ONLY]
Done.
If it's harder than that, get a better operating system.
I know some Linux distros aren't there yet, but some are (stand up Suse and Red Hat).
OS/400 has been like this for over twenty years (except the IP stuff - LU6.2, SNA, oh the memories)
Solaris is just like that.
Installation is a difficult, but solved problem. Before you start whinging about different device drivers, incompatible IRQs, horizontal sync rates and other inanities, ask yourself why IBM, Sun, HP, Microsoft et al. have solved the problem.
If you want real geek cred, make the hurd work, or add an optimisation to gcc. Or, possibly, build an installer for Linux. Working through a difficult install is a waste of everybody's time.
Thank you and good night.
because once Debian is installed, you can go thru upgrades without reinstalling, as it's the case for most other distributions. And if you have to install it more than once, you'd better understand the various steps for later recovery.
have you been defaced today?
It's not really a matter of noobies vs. geeks, or intutive vs. non-intuitive, is it? It's a matter of automation.
Most modern installers automatically detect hardware settings and proceed accordingly.
Why would an ubergeek prefer to enter in chip information any more than a noobie?
And why would a super-intuitive interface (if there is such a thing), or at least a conventional one, solve the problem of the installer not figuring it all out automatically?
Finally, would an ubergeek reject Debian if it were as easy to install as Mandrake or Redhat? Is that all there is to Debian that makes it a distribution of choice for geeks?
This installer is modularised, using udebs (micro debs) to extend its functionality. Currently bootable on i386 and s390 but probably not usable to do a complete install yet.
The Progeny-developed discover tool, similar to Red Hat's kudzu, is being used for hardware autodetection by the installer. But the Progeny installer itself seems to be not very useful to create a fully-fledged installer - it does not even have support for non-ext2 filesystems!
Michel
Fedora Project Contribut
In open source, a lot of people will vocally voice their opinions that projects should be similiar to each other.
Debian is a great example of this. You frequently hear complants of a non-graphical installer, usually with the comment 'but my $preferred_distro has a graphical installer!' I haven't looked at the exact reasons why debian doesn't have a graphical installer, but an educated guess would take into effect the roughly dozen hardware platforms debian supports and the fact that debian will do things in ways that usually won't break - autodiscovery has the potential to cause problems. Plus, this is the distro where I can stick a few floppies into a machine, do a tiny install and skip tasksel and dselect, then apt-get apache, sshd and iptables, and have a small, fairly secure webserver without ever needing to download x.
The other complaint is that debian should have up to date packages. Debian's philosophy isn't to ride the bleeding edge, its to make sure everything works, and that stable is named stable for a reason.
I see a lot of this going on in the open source movement, and its just wrong. If Debian wants to be a better Redhat, the developers should join the Redhat team. Same with other projects. If mySQL tries to be postgres, even if it succeeds, we will have lost something. However, if mySQL strives to be a fast SQL database for websites, then we will have two good databases, both with a different purpose.
Each project should have a purpose, a goal, and it should be different from the other projects. Else there is just duplication of efforts and time lost as each project reinvents the wheel.
-download and burn Libranet 2.0 -install Libranet 2.0 -modify /etc/apt-sources/list to your liking ( testing, sarge, unstable )
-apt-get upgrade
-apt-get dist upgrade
-rejoice that you're running Debian!
Seriously, it is that easy. I'm running Libranet 2.7 upgraded to Debian Sarge on my desktop and it's a dream. Accelerated nVidia drivers run well especially on UT 2003 and all of my peripherals ( wireless optical Intellimouse, networked printer, etc. ) work great. Not to mention apt-get :) Now if I could just get Return to Castle Wolfenstein running....
This guy is way out there
I was just asking for this same thing on Debian Community.
/etc/fstab will need to be edited if the newbie wants to see his Windows partition.
This is a nice start, but it leaves a lot of hurdles for a new user to overcome.
(1) DMA still needs to be turned on for the hard-disk.
(2) It may sound heretical, but most folks will want the Nvidia OpenGL drivers (this is a real pain)
(3)
(4) printing...
(5) As mentioned in the article, most people use KDE or Gnome.
(6) CD-RW and DVD
(7+) I'm sure I've missed something. Just thinking back to the last time I set up a desktop system, I seem to remember adding my user account into a number of different groups to get things working properly.
Anyway, this isn't a bad article...it looks like a great place to start, but I think any newbie moving from Mandrake to Debian following these instructions will be left completely pissed off that their machine is now incredibly slow (1 above) and can't play a game like Chromium (2 above).
You're right, default kernel is 2.2.x based but there's 2.4.18 based installation kernel too. With newer PC's you can choose which image load from the CD or if you're computer doesn't support that, you can make boot floppies w/ 2.4.18 as usual. And even if you installed it with 2.2.x, just apt-get install kernel-image-2.4.18 afterwards if you don't want to compile your own kernel.
I've been using Debian for years now, each version gets a little better. I dont think a redhatish GUI interface wil make it any easier to understand. Putting in on-line help(at each step) and a more wizard(help me Im an idiot) like interface will do the trick for newbies.
Can I axe my corporate exchange server yet?
BozoJoe
lick the cancle button (at least thats what our Chinese QA says)
MS has this thing called the Generic HID driver, it allows for darn near any analog input device to be plugged into the computer and work somehow.
TWAIN, scanners;
VESA, Video (though really a new 2D API needs to be made up and widely implemented. . .
Monitor refresh rates and such can also be communicated automatically to the operating system.
Now Linux can, to one degree or another, do the rest of those just fine (no idea about TWAIN support, then again, TWAIN is not exactly the best standard in the world. . . . icky icky baaa d standard), the USB mouse should come come naturally.
Actually I think that USB mice should be in the same place that PS/2 mice are supported at, the BIOS. (heya, USB keyboards are supported in the BIOS. . . . heh)
Then again, I do not actually own a USB mouse sooooo;
just mostly the idea that adding a USB mouse is such a hassle that the author of the walk through omitted it. Even if manual configuration is necessary, it should not be that long to explain.
Need help treating your acne? Come here!
I think Debian is great for systems when you want TOTALLY cutting edge (unstable gets updated all the time
Just to head off the obvious incoming criticism (no KDE 3 in unstable, GNOME 2 just hitting unstable, etc.), allow me to point out that the state Debian unstable has been in ever since the developers got serious about the Woody release is an anomalous situation, and it'll be corrected soon. The Debian development process has been going through some major growing pains recently (my box reports that it has over 11,000 packages available to it, and most of those are available in 11 architectures -- *whew*!) but things are getting sorted out, things are getting automated and I expect unstable will soon be the leading-edge distribution it has traditionally been. It may not quite keep pace with the source distros (Gentoo, etc.), but I think it's a very reasonable choice for those who want to stay on the leading edge but don't have time for the bleeding edge.
And, FWIW, I'm posting this from a Debian unstable box running KDE 3.0.3 with all the goodies. Getting KDE 3 running involved adding one line to my sources.list and running an ordinary update.
Note to ACs: I usually delete AC replies without reading them. If you want to talk to me, log in.
If you're going to change something about Debian, change dselect. It's horrible. It needs to be changed. I haven't used dselect since I learnt how apt worked, but sometimes it would come in useful if it wasn't so god awful!
Try aptitude. It's far better. It still suffers from the my-hell-this-list-is-huge problem, but making 11,000 packages not seem intimidating is a daunting task. Part of Debian's problem vis-a-vis Redhat, etc. is the fact that Debian packages so much more stuff. That's a fact that makes for a huge list of packages, but a huge list of well-integrated components is a *good* thing. So use aptitude, use it's search feature when you know part of the package name and use 'apt-cache search' when you're not sure what you're looking for, and life will be a bliss never known by users of other distros... ;-)
Note to ACs: I usually delete AC replies without reading them. If you want to talk to me, log in.
I thought Debian's contributors wanted feedback. If something is free and sucks, it still sucks.
Note: I am not saying that Debian sucks, just that people have IMO very valid concerns about its installer. Why not voice them?
One of the beauties of a good packaging system is that you don't have to upgrade everything just because one component changed. Debian, through its use of package dependencies, is particularly good about telling you which set of packages need to be upgraded whenever you upgrade a package or add a new package to your system. This helps prevent random system breakage that can be caused by inadvertantly changing something that other packages rely on. This is perhaps the biggest advantage the Debian package system has over an RPM-based system.
You could also contrast this to Windows, where even minor updates to Internet Explorer require downloading an entirely new version of the whole installation package for IE. Or the need to constantly replace your version of Windows every year or two if you want to keep up with the latest incremental changes, no matter how insignificant they might be. Yet, despite this, I don't see Windows having much of a problem attracting users. I think the reason is that many Windows users never bother to change the version of OS they're running from the one that came installed with the machine. How many people do you think still run an original version of Windows 98? In being able to keep components up-to-date without unnecessarily reinstalling huge portions of the system while not breaking what works, Debian has Windows beaten hands down, and also compares very favorably with other Linux distributions based on RPMs.
I have bounced from Red Hat to Mandrake, and gave Debian a try. The installer can be a pain if you have odd hardware that is supported by Linux. You just have to keep tring the install untill you find the right combo of drivers. Or, use Libranet. The installer is still text based, but it will auto detect hardware most of the time. Using Libranet 2.7 I installed a whitebox I bought and it found and detected the NIC and video card the first time around. The only thing it did not like was the SIIG ATA133 card for the the extra hard drives and the onboard sound. :O
I have installed Libranet on a few machines and only had a few problems with M$ specific devices, and onboard sound cards. The 2.7 version has default options for people that do not understand disk partitioning and is even on a bootable disk!
no
I recently installed FBSD 4.7 and the text based installer simply rocks. I bet you dont need a graphic installer just a text based installer but it has got to be more intuitive.
I don't know why they even include dselect, it's worse than useless. It encourages you to mess with the dependencies manually, which is a pain and totally unnecessary in 99.9% of cases. If you don't mess with the dependencies yourself, they Just Work (tm). Aptitude doesn't look any better either. Until they get away from the "every software package in the entire world in one giant tree widget" approach they're never going to make any progress with an easy-to-use menu-based package manager.
I think what Debian really needs is a program that streamlines the process of finding the package you want, because apt-get already has the installing part down. Debian needs Google for packages. Not another program that simply lists every debian package ever made.
main(c,r){for(r=32;r;) printf(++c>31?c=!r--,"\n":c<r?" ":~c&r?" `":" #");}
...to get the job done. When a friend and I co-wrote the "Linux Installation Project" a long time ago, we explained practically every step necessary to installing RedHat 5.0 or Slackware 3.4. We figured that explaining anything less than every step would mean that somebody would get lost in the process somewhere.
Slashdot's first reaction to VMware
This walkthrough will give away all the secrets to the textadventure that is the Debian installer.
If there is hope, it lies in the trolls.
The difference between a spell checker and a grammar checker is a hurdle for some.
I admin a RH webserver, and I have to manually go in and tidy up rpm dependancy breaks all the time. Debian-unstable will usually fix these for you within 24 hours. If you're looking for stability comparable to RH, then use Debian-testing or Debian-unstable. If you want OpenBSD-like stability, then run -stable. (For the love of Gub, why doesn't Debian or OpenBSD have a way to check signatures on all of the official ports/packages?)
Debian, through its use of package dependencies, is particularly good about telling you which set of packages need to be upgraded whenever you upgrade a package or add a new package to your system. This helps prevent random system breakage that can be caused by inadvertantly changing something that other packages rely on. This is perhaps the biggest advantage the Debian package system has over an RPM-based system.
Erm, RPM does this too. If you attempt to install/remove a package it'll warn you about dependency problems. Of course, you can just ignore these and --force it to comply, but unless you're sure you need to do this it usually leads to serious problems later.
I tend to use RH's up2date now too, which runs in the background checking for new packages and security fixes, downloads and installs them (if I wish), and hasn't caused a single problem.
Code, Hardware, stuff like that.
And the X maintainer is working at PGI :) Branden Robinson, of the (in)famous 'Have a nice cup of coffee and shut the F**k off' message when bugged about availability of X 4.1.0 :)
Oh weird, his X Strike Force site is down.
Michel
Fedora Project Contribut
If they want less-than-ubergeeks to use it then they whole thing should be reworked.
Yes, and it is being reworked. Not so much because we think it needs to be "dumbed down" as because the existing system is fragile, and takes too much work to tune for each new release. Tweaking and banging on the old system has added months to each of the last couple of releases.
The new system (d-i, or debian-installer) is in heavy development, but wasn't ready in time for Woody.
Once you have installed your debian system, all you ever really want to do is add particular programs so why bother with the "pain" of dselect or aptitude or gnome-apt or ....[?]
Well, as a recent aptitude convert, I can give a partial answer to this. Aptitude keeps track of which packages have been installed purely as dependencies. Any "auto-installed" packages (marked with "A" in the display) will be automatically removed if you remove the package(s) that depend on them. (And you can set/unset the "auto-installed" flag manually if you want or need.)
Furthermore, you don't actually need to use the fancy aptitude interface -- you can treat it as (essentially) a replacement for apt-get, i.e. you can say, "aptitude install foo", and it'll install foo, plus its dependencies. However (and this is where it gets good), you can later say, "aptitude purge foo", and it will remove foo and its dependencies[1]. No "pain" involved for an experienced apt-get user, except learning to type "aptitude" where you used to type "apt-get".
Plus, unlike apt-get, aptitude will take notice of suggestions and recommendations. You can configure how it treats these. I find life much happier with aptitude treating "Recommends:" as a dependency and ignoring "Suggests:". This is much less annoying than apt-get's habit of simply ignoring everything except actual dependencies. (And, if you're the install-everything-just-for-luck type, you can have it auto-install all of the suggestions too.)
[1] except those dependencies in use by other things, of course.
Oh weird, his X Strike Force site [debian.org] is down.
No, it's not.
:wq!
The focus is on functionality, NOT GUI interface design.
So how do I set up a raid or lvm install on Debian?
Well, don't worry about that. We can get you back before you leave. (Dr. Who)
You dont, but its very easy to get either working. I myself had a LVM ext3 system about 30 mins after finishing the install.
You think this is a normal thing? Really? No, it's a special-purpose thing, and one that you really should know how to handle doing if you are doing it. Installing to a normal ext2 partition and migrating to RAID partitions is safer (and more robust), in my opinion.
So can you? Yes.
Here you go.
Wow, that took long.
1) They include(d) dselect because for historical reasons it was part of the dpkg package, and therefore not uninstallable without also losing the core of your package-management system. This has been fixed in recent versions of dpkg and dselect will be optional in the next release. Aptitude will be installed instead.
2) Maybe aptitude isn't the ideal solution, but it's certainly better. If for no other reason than that it has sensical (opposite of nonsensical) keybindings...
3) dselect was only an optional part of the install for woody and aptitude will be an optional step for sarge. Tasksel is offered instead. Tasksel is about as easy as it gets. Of course, experienced users will pick no tasks and install things with apt-get afterwards.
The equivalent facility already exists. Look on your machine, /lib/modules/kernel-version/modules.pcimap . It is generated from tables compiled into your modules, and it gives enough information to identify the driver(s), if any, that believe they can handle any given PCI device. Parsing this information is an exercise for the reader, or for the distribution installer.
If you want to see where this data comes from, look in the kernel source tree. include/linux/pci_ids.h defines symbolic names for most supported (and some unsupported) PCI vendors and devices, in C symbol format. (A similar list, but in human-readable description format, is in drivers/pci/pci.ids, which is basically a copy of /usr/share/misc/pci.ids, which is used by lspci.) Then, in your individual driver files, look for a table starting with a line similar to
This table should be followed by a declaration which flags it so that depmod, the module dependency calculator, can find it and add its contents to the modules.pcimap file.Duplicating all this in pci.ids would IMHO be inappropriate - that file is not in any way specific to Linux. Since the driver itself has to know what devices it supports anyway, this list logically belongs in the driver source.
"How can you claim that you are anti-crack, while still writing a window manager?" — Metacity README