42 Comments
- noamsml, on 10/12/2007, -9/+25Or, alternatively, because you want a good, easy-to-use, and solid distro that does what you need. Personally, I've used a multitude of distros, including Fedora, Ubuntu, Debian, Arch, (a bit) Gentoo, and Mandriva, Personally, I just find Ubuntu to be the best for me.
You, sir, need to take your fanboyism and shove it. - Phocion55, on 10/12/2007, -10/+23Ubuntu!?!?!?! Compiling a kernel!?!?!!?!? *gasp* This is unheard of.
....and all I see on Digg are Ubuntu users bashing Gentoo users for doing this. - smartssa, on 10/12/2007, -2/+14wtf. "the ubuntu way" would not start by setting a root password and then su'ing to root.
IIRCC, the entire process, with the exception of actually installing the kernel, can be done as a regular (admin) user.
And modifying installed packages is just lame. (rm -f /bin/sh && ln -s /bin/bash /bin/sh)
It's like that for a reason, see https://launchpad.net/distros/ubuntu/+spec/dash-as-bin-sh - natterca, on 10/12/2007, -2/+11Congrats. You just won the asshat of the day award.
- Mejogid, on 10/12/2007, -3/+12Both Ubuntu and Gentoo obviously have their strength and weaknesses, both will have a place in the Linux world for the foreseeable future and both groups of users need to recognise that.If people were willing to experiment a bit more and use the right tool for the right job, I think there would be a lot less 'fanboyism' and many people would find themselves being a lot more productive.
I use Gentoo and Ubuntu, and think it's one of the great advantages of Linux world that I'm not forced to conform with my OS, but can use variants or even make my own if I see the need. Grow up, guys.
Oh, and it's better to use 'sudo -s' than set up su, since the latter isn't officially supported or tested and they have the exact same effect. - jackmaninov, on 10/12/2007, -0/+8Using 'sudo -i' to get an interactive root shell works well too.
- flake, on 10/12/2007, -1/+7Exactly. No package should be compiled as root. You become root only in order to copy your newly created binaries onto the system.
The dash sh symlink thing makes me wonder if the kernel makefiles inappropriately have bashisms in them? - yasth, on 10/12/2007, -0/+5Ubuntu is good for noobies and people who know what they are doing. People who are learning like Gentoo, it allows them to worry about all sorts of stuff, they even learn how to configure and compile, and all the rest, but when you have real work to be done, bah give me something that has a solid update system that doesn't break. No one cares that your $1000 laptop is optimized to the hilt if it took you 20 hours to do it.
Like it or not a lot of the mainline linux contributors (i.e. the people who write the software that gentoo users compile) use Debian or Ubuntu, and they can customize whatever they want, and the rest has sane defaults. - dhenderson, on 10/12/2007, -1/+6Or you could do it the FreeBSD way....
cd /usr/src; make buildkernel kernconf=XYZ
and installing it is almost as hard...
cd /usr/src; make installkernel kernconf=XYZ - stmiller, on 10/12/2007, -2/+7^Yeah no kidding. From TFA:
"I prefer to do all the steps here as the root user. So if you haven't already created a root login, you should do so now:"
EEEEP! WTF is this guy doing? Doesn't he know all you have to do is
$ sudo -s
to get a root prompt? No need to enable the root account. Good grief! - jackmaninov, on 10/12/2007, -1/+5A better way to install the packages required for building the kernel:
sudo apt-get install build-essential
Also, unless you're going to be reconfiguring your kernel, it's easier to just use 'make oldconfig' instead of 'make menuconfig' and then loading the old config. - leszek, on 10/12/2007, -2/+4sudo bash
works well too and he don't need to change the sh symlink to bash .. - Equtious, on 10/12/2007, -0/+2I'm going to change from Gentoo to ubuntu/kubuntu, because Gentoo take to long time to install and update. And this article is great because I like to compile my own kernel.
- Mejogid, on 10/12/2007, -0/+1Dash is the successor to bash, and any scripts that don't work with it are hackish and relying on legacy features. Simply reverting to an old shell is not the answer - rewriting problematic bits of script is.
- Urusai, on 10/12/2007, -2/+3How hard is it to do "sudo su" anyway? You get root without setting a root password.
- rockets, on 10/12/2007, -1/+2This is a very timely article. Dugg.
- MrViklund, on 10/12/2007, -0/+1Are people here on Digg just stupid or born without a brain? Sometimes I really do wonder. What's the fun in Digging down normal positive comments? People hare are just digging down comments for the laugh...
- Ssullivan, on 10/12/2007, -0/+1Slackware doesn't need any distro specific tools to compile a kernel from kernel dot org...
- bariswheel, on 10/12/2007, -1/+2I'll need to compile the 2.6 kernel on Redhat enterprise edtion, does anyone have a good resource for this?
- Giga, on 10/12/2007, -1/+2And what's so wrong with that?
- Giga, on 10/12/2007, -1/+2"Oh, and it's better to use 'sudo -s' than set up su"
Since when did you need to set up su access? - sholdowa, on 10/12/2007, -1/+2This has st*ff all to do with ubuntu - as previous posters have pointed out - and is making a simple task complex.
If you're downloading from kernel.org, then use their make system as well!
cd /usr/src/linux-x-x-x
make [oldconfig|menuconfig|xconfig]
make
make install
fix up your /boot/grub/menu.conf to add in the new kernel, run mkinitramfs if necessary, and reboot. - Hydraulix, on 10/12/2007, -4/+4I also use Gentoo and Ubuntu. Gentoo is installed on my main machines and server. And Ubuntu is installing on my girlfriends laptop. :) I see Ubuntu as the starter distro. Kind of like Mandrake 2.0.
- randomsel, on 10/12/2007, -4/+4If you want to just use the computer, Ubuntu's very nice.
If you want to learn Linux, better try for something without training wheels like Slackware or Gentoo - JEmerson, on 10/12/2007, -0/+0"You Linux fanboys make me laugh. You bash everyone else until there is none around."
I've been using Linux since BeOS died, and have to kinda agree with that. There's really not much difference between the vast majority of distros other than package management at this point. Back when the majority were actually distinct from each other, with horrible hacks of the software and custom utilities I might agree that there's some point in being a cheerleader for one or the other. But at this point they're all pretty much interchangeable for anyone who has any actual understanding of linux and the standard pack of utilities.
I actually do use (k)ubuntu at the moment, having switched from somewhere around five years of debian use. The lack of up-to-date packages in the latter even using a unstanble/experimental setup was just too galling when combined with debian's recent glut of new firefox related shouting matches and their usual old screaming at each other on mailing lists. And, in the end, there's been next to no difference in ubuntu compared to debian aside from the civil community and far better package repositories.
What's hilarious is that I'd get geek points for fighting with experimental and having to compile half the packages I used on a frequent basis amid a deluge of juvenile arguments on the internet. While somehow it's seen as less mature to choose a distro that promotes civil discourse and policy, aims at providing what the users want, and which tries to keep their software current and in the state any particular program's author intended it. - sboyce, on 10/12/2007, -0/+0Started with kubuntu 6.06 and after massaging a mass of config files for the upgrade to 6.10, the upgrade failed with unnamed packages. The only thing to do, a fresh install of 6.10. Tried the wonderful "apt-get install ntop", doesn't exist. Checked the online repository, no ntop (was in 6.06). I know, grab the sources and build it, gave up when I became exhausted from chasing packages and building some that didn't exist. Earlier today I decided to build a new vanilla kernel to check something out with, massaged /boot/grub/menu.lst in many ways, still booted the 2.6.17-11 kernel every time. I know, try update-grub, looking good, reboot, click-click-click, my laptop hard drive just died - not ubuntu's fault I might add. Seems a great distro to install and run the available apps, but don't mess, pretty much Windows-like, also, probably based on a falsehood due to the one experience, upgrades don't work so well and apt-get can be a lottery.
Tried gentoo, despite the long build, AOK except for the messing with confUSE flags and blocked packages that halt emerge, skip the wrong thing and land in no-man's land. I next tried to upgrade to the next version, then tried a fresh install, both had networking problems after the network checked out and works with any other distro. The forum offered no useful help, so I forgot about Gentoo on that biox.
For me Ubuntu is not there yet and does quite strange things compared to Fedora, openSUSE , Slackware or Mandriva. I'm no newbie, installed and maintained Linux on SPARC boxes and Mainframes quite easily. When I started with Linux there was only a boot and root floppy, then bootlace and shoelace from Minix were used to get Linux to boot from hard disk and you had to use a calculator to work out the Modelines for X when it was first ported to Linux. Some of these later distros try to be too clever. - SpaceApache, on 10/12/2007, -0/+0I'm moving from Gentoo to Ubuntu (for the second time). I think Ubuntu is great, but from a Gentooers point of view, Ubuntu makes is (not difficult but) awkward to progress. The reason some of you might be asking why I'm switch from gentoo to Ubuntu: Gentoo is pissing me off, no matter how much I prefer it. It refuses to install on my system with the no-nptl profile set, in order to experiment with UML, and most of the production audio software is broken on compile-time (possibly my fault for wanting maximum multimedia support, aka, too many USE flags). Ubuntu works very VERY well. 6.10 is the first "out of the box" distro I've encountered to properly detect and configure my M-Audio 2496 semi-pro sound card, and handles it incredibly well as a low-latency setup, even without realtime-lsm.
I do still yearn for gentoo though :( - ddinsdale, on 10/12/2007, -2/+1Reading these comments just makes me sad to be in IT. Contentious Fanboy Flamewar macho posturing bullsh*t wankers. This is why projects crash and burn. Instead of building out of stable, known quantities, the geek squad just cant spin their wheels fast enough hacking everything in site in the name of the optimization god. Get it working and stable and leave it the f**k alone. If this doesn't apply to you, then don't assume it does. I'm not coming back to look.
- anjinash, on 10/12/2007, -9/+8Ubuntu is a great distro to get ones feet wet with Linux. I've never tried Gentoo, but likely will someday when I've learned enough through Ubuntu to feel confident enough to tackle the geekier Linux distros. I don't see a need for the flamebait and the bickering between two sides. Both distros fill a need for different types of users.
I think it's great that Ubuntu is pretty easy to use "out of the box", yet allows you to customize and get as deep into the CLI and guts of Linux as you want to. It's a great way to learn more about Linux without plunging right into the hardcore geek stuff that scares so many away.
Linux users tend to want everybody to use Linux, yet pick on the distros that make it an easier transition, and pick on their users even more. You can't have it both ways. Either you want to be in an elite club of uber-nerds, or you want everybody to be able to embrace this great OS and opensource in general. - LogicallyGenius, on 10/12/2007, -2/+1http://torrentportal.com/torrents-search.php?search=mandriva+2007&sort=id&d=desc&type=and&sizel=&sizeh=&cat=0&exclude=
no need to compile, just download it - cynyr, on 10/12/2007, -2/+0i would argue it's out of the box usefulness, unless i am mistaken, correct me if i am, 6.10 is the current stable release. So i decided to what all the hype was about and put ubuntu on a spare laptop i had about. long story short after the install 3d hardware acceleration(mach 64 ATI card with full open source drivers), my wireless card(pci prism 2.2 based), did not work out of the box. so being a long time gentoo user was not the least bit worried about compiling and installing the kernel. so after some work i found the kernel sources packages and installed them using synaptic. but they did not install build-essential or libncurses-dev. Now what good is the kernel source if i can't do naught but read it? which is what i was told on irc was the reason that the sources did not depend on those packages.
Also if someone could tell me how to do a "mii-tool -A 10BaseT" in the init scripts/config/etc every time /etc/init.d/networking is run that would be great. - geminitojanus, on 10/12/2007, -3/+1"....and all I see on Digg are Ubuntu users bashing Gentoo users for doing this."
Or gee, sometimes we like to hack our kernels and add features to them that aren't shipped in as a default.
Not everything is about "PERFORMANCE RICE 9111 RED STRIPES ZOMG MY COMPUTER IS TEH FASTAR>" as honestly recompiling your kernel doesn't do very much for your machine's performance unless there's a huge leap in performance via a kernel patch, which hasn't been seen since 2.4.x when we first got the kernel pre-empt patch. - Clearz, on 10/12/2007, -9/+5"...because you want everyone at the coffee shop you hang out at to think you're 'leet."
You Linux fanboys make me laugh. You bash everyone else until there is none around. Then you fight amongst yourselves. Kinda like a certain "friendly religion" we have come to love. - uzytkownik, on 10/12/2007, -4/+0What's so ubuntu specific?
Only:
rm -f /bin/sh
ln -s /bin/bash /bin/sh - harisund, on 10/12/2007, -7/+2Wait, let me get this straight.
Ubuntu users compile their kernel? Do ubuntu users even know what a kernel is?
Considering that Ubuntu is for dumb computer users who know nothing beyond a keyboard and a monitor (99.9% of users), this guide is wortheless. When a Ubuntu user knows enough to recompile a kernel, he wont be using UBuntu anymore. - qbyte, on 10/12/2007, -8/+2Linux will never make it to the mainstream until it rids its self of this Draconian practice.
- burke, on 10/12/2007, -10/+4"That's why I make /bin/sh a symlink to /bin/bash instead."
Ugh.... - MrViklund, on 10/12/2007, -13/+7Thanks!
- jonnyfatman, on 10/12/2007, -10/+1I've seen the light!
Fanboyism=religion - inactive, on 10/12/2007, -13/+3Yea like ununtu users know how to compile/config a kernel. What a joke.
- inactive, on 10/12/2007, -23/+1unless you're building embedded systems just go with Windows, it's better.
- DocRob0t, on 07/15/2009, -37/+9Ubuntu...
...because you want everyone at the coffee shop you hang out at to think you're 'leet.


What is Digg?