Amiga.org

Operating System Specific Discussions => Other Operating Systems => Topic started by: trekiej on August 27, 2011, 08:56:00 AM

Title: Gentoo Install
Post by: trekiej on August 27, 2011, 08:56:00 AM
I am planning to install Gentoo to Virtual Box. I found the Xamiga build instructions by Fractalyte or Fraccy he uses Gentoo as an example.
I have never installed Gentoo before and found that there is a Stage 3 tarball needed.
I have not used that before.

Should I use Gentoo or do you think Ubuntu or Debian 6 to do the same?
I do not mind reading their handbook. I am looking for an easier path.
Also will VBox be able to work as a workstation or do I need real hard ware?
I was able to install Xamiga in VBox but it has problems booting.
It would install on real hardware and it seemed grub has a problems with HD's
It was a HD0 and SD0 mix up.

Thanks.
Title: Re: Gentoo Install
Post by: EvilGuy on August 27, 2011, 09:14:51 AM
I like Gentoo, but you need to follow all of the installation instructions exactly. If you can do that, then the installation is easy. Really easy.

If reading and installing is too hard, Ubuntu is the way to go.
Title: Re: Gentoo Install
Post by: trekiej on August 27, 2011, 09:41:12 AM
I do not know how it will go. I have not read the hand book yet.
I remember installing Linux with about 10 floppy disks.
It it no rush.
Title: Re: Gentoo Install
Post by: nikodr on August 27, 2011, 10:03:43 AM
Ditch gentoo and get ubuntu,no need for anything else,a good install of ubuntu blows away any distro of gentoo.
Title: Re: Gentoo Install
Post by: EvilGuy on August 27, 2011, 11:46:29 AM
Quote from: trekiej;656292
I do not know how it will go. I have not read the hand book yet.
I remember installing Linux with about 10 floppy disks.
It it no rush.


Ah, easy then ;-)

Boot from LiveCD, prep the drives, mount them, install stage-3 and grub, reboot.

Quote
Ditch gentoo and get ubuntu,no need for anything else,a good install of ubuntu blows away any distro of gentoo.


There is always one in the group, isn't there.
Title: Re: Gentoo Install
Post by: Piru on August 27, 2011, 12:58:40 PM
Quote from: trekiej;656288
I am planning to install Gentoo to Virtual Box. I found the Xamiga build instructions by Fractalyte or Fraccy he uses Gentoo as an example.
I have never installed Gentoo before and found that there is a Stage 3 tarball needed.
I have not used that before.

Should I use Gentoo or do you think Ubuntu or Debian 6 to do the same?

They'll do the same and more without ton of headache. Obviously it depends on how good the instructions are: if they're sucky then they're tied to Gentoo and you will have pain.
Title: Re: Gentoo Install
Post by: esc on August 27, 2011, 04:13:30 PM
Gentoo is great.  You can make it as simple or complicated as you want, and the system will be very minimal until you decide what applications/utils to install.

Ubuntu/Debian will give you pretty much everything you need by default...which for many people is great, but it will be bloated.  If you like bloat and just want a quick install, it's a great way to go.

I, personally, prefer to have complete control over my system.  So, for me, Gentoo is a better distribution.  Plus, by merely installing Gentoo, you'll probably learn a lot more about linux and your computer than using Ubuntu long-term.  Just my two cents :)
Title: Re: Gentoo Install
Post by: Piru on August 27, 2011, 04:20:21 PM
Quote from: esc;656327
Ubuntu/Debian will give you pretty much everything you need by default...
Untrue. With Debian you get to choose the type of the system you want to install.(http://www.classhelper.org/articles/reverse-proxy-server-squid-debian/screens/debian-install-23.png)
Just deselect everything and you have very basic system without any extra packages.

Quote
I, personally, prefer to have complete control over my system.  So, for me, Gentoo is a better distribution.
How does Gentoo give you any more control than say Debian?

Quote
Plus, by merely installing Gentoo, you'll probably learn a lot more about linux and your computer than using Ubuntu long-term.
http://funroll-loops.info/#fourth
Title: Re: Gentoo Install
Post by: nicholas on August 27, 2011, 04:45:56 PM
Apparently the NASDAQ runs on Gentoo.
Title: Re: Gentoo Install
Post by: Karlos on August 27, 2011, 05:19:59 PM
I played around with Gentoo for a bit back in the day. It was interesting but to be honest, I just don't need to know the linux internals that well. These days I just want stuff to work so that I can get on with things without having to faff around.

Consequently I use the N-1th LTS version of Ubuntu on my desktop and wouldn't hesitate to use debian on any other devices.
Title: Re: Gentoo Install
Post by: esc on August 27, 2011, 06:15:57 PM
Quote from: Piru;656328
Untrue. With Debian you get to choose the type of the system you want to install.

Just deselect everything and you have very basic system without any extra packages.


How does Gentoo give you any more control than say Debian?


http://funroll-loops.info/#fourth

The thing is that Debian still automates much of the (most of the) install process, whereas with Gentoo, it's all done manually.  Watching the text scroll by doesn't do squat, but learning how to optimize make flags for your architecture, how to manually set up block devices, networking, etc, ends up being quite a good lesson in computing.  It's not a system where you click install and things "just work" - it takes some time and ingenuity.  Also, I'm not badmouthing Debian or Ubuntu at all...I have Ubuntu on the family computer because it's easier to update and maintain for other members of my family.

The "control" factor is because with Gentoo, you manually select everything that you need, and you compile it fresh for your install with your compile flags.  Ubuntu and Debian package management is still binary based; if you want to compile things with Debian, you still need to download the package, configure, and make && make install...which most people can't really be bothered to do.

After using both distros for many years, sometimes Ubuntu feels better to me because it "just works."  However, having to figure out every last detail of a Gentoo install to make it work has made me more intimately familiar with my computer hardware and the way it interfaces with software, and a lot of the voodoo magic behind why an operating system works makes a lot more sense to me.
Title: Re: Gentoo Install
Post by: Karlos on August 27, 2011, 07:21:13 PM
Quote
learning how to optimize make flags for your architecture


Well, there are less herculean ways of doing it than building your OS from source :D
Title: Re: Gentoo Install
Post by: Piru on August 27, 2011, 07:34:35 PM
Quote from: esc;656346
The thing is that Debian still automates much of the (most of the) install process, whereas with Gentoo, it's all done manually.
Yes exactly. That's why Debian is much better.

Quote
Watching the text scroll by doesn't do squat, but learning how to optimize make flags for your architecture
Uh what? Figuring out what optimization flags to use with your specific CPU? Are you for real? This is direct out of http://funroll-loops.info/#second

Quote
, how to manually set up block devices, networking, etc, ends up being quite a good lesson in computing.
Unfortunately it doesn't actually teach you much. I'd argue that most Gentoo users don't have a clue what they're actually doing and why.

Quote
It's not a system where you click install and things "just work"
That sounds bad indeed.

Quote
- it takes some time and ingenuity.
No, it takes following instructions and googling a lot. I'm not sure if that teaches anyone much.

Quote
The "control" factor is because with Gentoo, you manually select everything that you need
Not different to Debian at all. You can select stuff manually if you wish. If you don't you can just select "a desktop installation" or "a web server installation" and adjust those to your liking.

Quote
and you compile it fresh for your install with your compile flags.
What does this have to do with control? Elaborate please. Some example that explains how this would give any advantage over Debian would be desirable.

Quote
Ubuntu and Debian package management is still binary based; if you want to compile things with Debian, you still need to download the package, configure, and make && make install...which most people can't really be bothered to do.
Why would you want to build your own packages?

If you do, you do NOT have to download the package, configure and make && make install.

Rather you do: apt-get build-dep package, apt-get source package && dpkg-buildpackage. You can do this for any package if you wish.. but I really fail to see why would you want to.

Quote
However, having to figure out every last detail of a Gentoo install to make it work has made me more intimately familiar with my computer hardware and the way it interfaces with software, and a lot of the voodoo magic behind why an operating system works makes a lot more sense to me.
I've heard this argument numerous times, but even more I've heard cursing when something doesn't build or work as expected. Today I know of no-one using Gentoo anymore, it just isn't worth the trouble.
Title: Re: Gentoo Install
Post by: trekiej on August 27, 2011, 07:36:14 PM
I still got to find out if I can still build X-amiga with it.
I guess this will stall because of the lack of DSL at families home.
Title: Re: Gentoo Install
Post by: esc on August 27, 2011, 08:07:13 PM
This is for Piru -

I think you and I will just have to agree to disagree.  Calling one thing better than another is completely subjective, and quite ridiculous.  The word "better" should NEVER be used when making a comparison, because one person's idea of better can be completely different from someone else's...but I digress.

As someone that has used linux for many years, and used everything from Slackware, Mandrake, Redhat, Gentoo, Debian, Ubuntu, Arch...and some BSD's...I can say that my personal preference is to build my desktop step by step.  I like to buy specific hardware, screw it all together, plug it in, and then manually build my operating system.

I am also someone that likes to build cars from parts.  My daily driver is a '67 Chevy with a brand new Corvette motor...which I build by hand-selected parts.

My point is not to show off.  My point is to illustrate that some people are happy with plug-and-play; some people like to work with the nuts and bolts and learn the why and how.
Title: Re: Gentoo Install
Post by: Piru on August 27, 2011, 08:19:48 PM
Quote from: esc;656355
My point is to illustrate that some people are happy with plug-and-play; some people like to work with the nuts and bolts and learn the why and how.

Okay fine, but I'd argue that you can learn with Debian and Ubuntu as well, but you're not forced to deal with the nuts and bolts, like you are if you go for Gentoo.

As such I certainly wouldn't recommend Gentoo for anyone as their first Linux experience.
Title: Re: Gentoo Install
Post by: esc on August 27, 2011, 09:16:21 PM
Quote from: Piru;656357
Okay fine, but I'd argue that you can learn with Debian and Ubuntu as well, but you're not forced to deal with the nuts and bolts, like you are if you go for Gentoo.

As such I certainly wouldn't recommend Gentoo for anyone as their first Linux experience.

Fair enough :)  Yes, that's probably true, come to think of it...not the best for a first timer.

FWIW - Sabayon is a great distro for Virtualbox, and is Gentoo based.  The guest additions work now, out-of-the-box, and it is pre-built with a GUI of your choice.  :)
Title: Re: Gentoo Install
Post by: kolla on August 28, 2011, 03:29:30 AM
Quote from: nikodr;656295
Ditch gentoo and get ubuntu,no need for anything else,a good install of ubuntu blows away any distro of gentoo.


So where do one find a good install of ubuntu? I have searched everywhere.
Title: Re: Gentoo Install
Post by: kolla on August 28, 2011, 03:33:20 AM
Quote from: Piru;656357
As such I certainly wouldn't recommend Gentoo for anyone as their first Linux experience.
Why not? Afraid they might learn something? I'd argue that Debian has a heck lot more nuts and bolts than Gentoo, they are just obfuscated behind a blurry curtain of commands starting with dpkg, db, deb, apt, update ...
Title: Re: Gentoo Install
Post by: kolla on August 28, 2011, 03:57:13 AM
Quote from: Piru;656328
Untrue. With Debian you get to choose the type of the system you want to install.(http://www.classhelper.org/articles/reverse-proxy-server-squid-debian/screens/debian-install-23.png)
Just deselect everything and you have very basic system without any extra packages.


That's an old picture, current Debian has "SSH server" in the list.

Quote
How does Gentoo give you any more control than say Debian?


Gentoo lets me pick combos of features and versions of software, whereas Debian forces me to use certain versions, very often badly packaged, with mostly unwanted dependencies. For example, for a very long time Debian was shipped with libldap-2.1 from openldap, and all software with LDAP dependencies were linked to libldap-2.1. The OpenLDAP packages though (like ldap-utils), were 2.4 and linked to libldap-2.4. So there were no ldapsearch or whatever linked to libldap-2.1 shipped, and debugging LDAP problems were a major PITA, and libldap2.1 was broken in so many ways, so there was plenty of problems. In general, Debian tends to ship with outdated and broken software that is not recommended by the upstream devs. And Debian support, which you of course have to use, since no upstream devs will bother with you as long as you run ancient versions that Debian have patched beyond FUBAR anyways, is a tiresome slow mess to deal with. So you end up building from source, and the build systems on Debian (yes, there are several) are far from elegant and easy to use.

For the record, I use Debian and Ubuntu professionally, I get paid for installing and maintaining Debian and Ubuntu systems, I get paid for packing software for Debian and Ubuntu systems. Do I enjoy it? Not much, it's quite often a PITA and reporting bugs is tiresome, they take forever (months and years) to get fixed. Privatly I run Gentoo on around 20-30 machines of a wide range of systems and architectures.
Title: Re: Gentoo Install
Post by: kolla on August 28, 2011, 04:08:14 AM
Quote from: esc;656346
Also, I'm not badmouthing Debian or Ubuntu at all...I have Ubuntu on the family computer because it's easier to update and maintain for other members of my family.


Oh, I am badmouthing Debian and Ubuntu, all right. I rather have family members use Windows and OSX than Debian or Ubuntu, far less problems for both them and me.
Title: Re: Gentoo Install
Post by: EvilGuy on August 28, 2011, 04:52:04 AM
Quote from: kolla;656403
In general, Debian tends to ship with outdated and broken software that is not recommended by the upstream devs. And Debian support, which you of course have to use, since no upstream devs will bother with you as long as you run ancient versions that Debian have patched beyond FUBAR anyways, is a tiresome slow mess to deal with. So you end up building from source, and the build systems on Debian (yes, there are several) are far from elegant and easy to use.


I ended up moving from Red Hat to Gentoo years ago because I got sick of RPMs and
source builds creating a mess in a system. Red Hat was good so long as you only used their packages. The number of times I sat their scratching my head when RH was asking for x.y.so.n and no RPM could be found to supply it :-)

Gentoo was great because you could have a bleeding edge install (and all of the associated "features") or something a little more stable - and portage did a fairly good job of keeping everything in order. The downside I found was that if you left a significant period between world syncs (ie, > 3mths) you'd find that they'd moved so far forward it was easier just to do a full reinstall.

Now I'm back to Ubuntu because I really don't want to waste time building everything from source - whats the point of portage if you're going to be using PORTAGE_BINHOST for everything? ;-) And Ubuntu packaging seems to be fairly well done .. well, better then RH ever was.

Of course, if Unity/Gnome3 continue to be pains and Ubuntu insists on pushing Unity onto us, then I might reconsider Gentoo.

Quote from: kolla;656403

For the record, I use Debian and Ubuntu professionally, I get paid for installing and maintaining Debian and Ubuntu systems, I get paid for packing software for Debian and Ubuntu systems. Do I enjoy it? Not much, it's quite often a PITA and reporting bugs is tiresome, they take forever (months and years) to get fixed. Privatly I run Gentoo on around 20-30 machines of a wide range of systems and architectures.


lol, I had the opposite - paid to install and maintain Gentoo systems (probably close to a hundred over a couple of years) yet at the same time having a growing number of Ubuntu machines running loose within the family.
Title: Re: Gentoo Install
Post by: kolla on August 28, 2011, 05:30:18 AM
Quote from: EvilGuy;656406
The downside I found was that if you left a significant period between world syncs (ie, > 3mths) you'd find that they'd moved so far forward it was easier just to do a full reinstall.
Never had that problem, all my systems have only been installed once, some installs are much older than the hardware they run on, like the install I run on my EeePC, which started off in 2002, the very first time I tried out Gentoo.

Quote
Now I'm back to Ubuntu because I really don't want to waste time building everything from source - whats the point of portage if you're going to be using PORTAGE_BINHOST for everything?
Well, I'm not, and if I was, I'd be using Sabayon.

Quote
And Ubuntu packaging seems to be fairly well done .. well, better then RH ever was.
I've got plenty of issues with current Ubuntu, both 10.04.3 LTS and 11.04. My problem is probably that I care about whether stuff works or not, whilst "most people" don't.

Quote
Of course, if Unity/Gnome3 continue to be pains and Ubuntu insists on pushing Unity onto us, then I might reconsider Gentoo.
Unity is just a small part of the Ubuntu Ayatana project, and I actually think it's great that Ubuntu do these "wild things", like trying to break away from x11. Too bad that the end result will just be a somewhat borken OSX clone, and nothing really unique. I will rather use the real thing then.

Quote
lol, I had the opposite - paid to install and maintain Gentoo systems (probably close to a hundred over a couple of years) yet at the same time having a growing number of Ubuntu machines running loose within the family.

That's funny, indeed :)
Title: Re: Gentoo Install
Post by: TheBilgeRat on August 28, 2011, 06:05:29 AM
Gentoo is fine if you feel that compiling everything is the only way to go.  I dont have a hexacore beast, so I really have no desire to spend 2-3 days (yes, DAYS) compiling gnome or kde.  I really could care less that my system may be "faster" or "more stable."  If you can't build a stable Ubuntu or Debian or Fedora than you certainly cannot build a stable Gentoo.  I personally enjoy Arch, as it is plenty "fast" and "stable" and I have strong pacman-fu.  I also am an old geezer when it comes to linux flavors, and frankly I have no more desire to compile anything anymore unless I really have to.  vim foo.bar works the same on a Debain box as it does on Ubuntu or Arch or Debian or Red Hat etc etc etc ad nauseum.  Pick a tool and get to know it.
Title: Re: Gentoo Install
Post by: TheBilgeRat on August 28, 2011, 06:36:34 AM
(http://funroll-loops.info/poser.jpg)

Hi-larious!
Title: Re: Gentoo Install
Post by: kolla on August 28, 2011, 10:49:20 AM
On small systems (slow IO and low on memory), the optimization flags actually do matter, and debian with all its dependency bloat and non-optimization really is both slower and less stable (OOM killer strikes). Sure, make all the jokes you like, but please make some new ones that are actually funny? And what CFLAGS I use varies with system, arch and packages, Gentoo allows me to do this easily, unlike Debian.
Title: Re: Gentoo Install
Post by: Piru on August 28, 2011, 11:37:01 AM
Quote from: kolla;656403
That's an old picture
Does that matter?

Quote
In general, Debian tends to ship with outdated and broken software that is not recommended by the upstream devs.
Could be, then again Debian stable is rather err, stable. Of course you don't get the latest 0day warez with that.

Quote
And Debian support, which you of course have to use, since no upstream devs will bother with you as long as you run ancient versions that Debian have patched beyond FUBAR anyways, is a tiresome slow mess to deal with. So you end up building from source, and the build systems on Debian (yes, there are several) are far from elegant and easy to use.
If I want the latest 0day warez I use Debian Unstable. That's what I run in my desktop systems.

Alternate solution is to use http://backports.debian.org/
Title: Re: Gentoo Install
Post by: kolla on August 29, 2011, 02:09:24 AM
Quote from: Piru;656443
Could be, then again Debian stable is rather err, stable. Of course you don't get the latest 0day warez with that.


Have yet to see any real documentation of the so called stability of Debian stable. I have plenty of experience with Debian stable being nothing but crash party due to old broken hardware drivers, borken libs, incompatible mixes of libs and apps etc.

Quote
If I want the latest 0day warez I use Debian Unstable. That's what I run in my desktop systems.


And if you don't want 0day warez, but rather latest _stable_ from upstream for the software you care about, with the advised versions of libs etc? Gotta compile yourself, that's what.

Quote
Alternate solution is to use http://backports.debian.org/


Not a solution, merely a very slow work around when you're too lazy to figure out how to build packages yourself, typically the software you want is not there and you have to "order" it. Backports also introduces you to a new level of dependency hell, and pinning is trivial and easy huh? The apt/preferences* parser is  not exactly state of art.
Title: Re: Gentoo Install
Post by: TheBilgeRat on August 29, 2011, 04:01:33 AM
No hurt feelings meant, and I agree that Gentoo can be a good system and can be at times faster, but I seriously could tell absolutely no difference in stability and speed between Gentoo, Arch and Debian(stable or unstable, TBH), the way I set them up.  The effort needed to get to a Good Gentoo install is astronomical compared to a good Arch or Debian install.  At the end of the day, its all linux.  I just prefer typing pacman -S whatever and having the program just work without tweaks or compile errors.  When I get a hankering to compile something, 99% of the time its already been done and is on AUR (yaourt -S whatever and edit the pkgbuild to your hearts content).

I have to agree with Piru on Gentoo being a terrible choice for a first linux.  learning that way was foisted on me back in the day, but then I spent every tuesday in a LUG meeting learning what the hell I was doing.  RPM hell is a thing of the past (honestly!), there are .debs for just about everything you'd want to use -- anymore its more of an issue as to which Desktop environment or window manager you use.
Title: Re: Gentoo Install
Post by: kolla on August 30, 2011, 05:14:16 PM
Quote from: TheBilgeRat;656616
At the end of the day, its all linux.

That's true for Linux as a desktop system on a PC, but there's way more to Linux than just that. I find it nice that I can use the same system on a whole range of hardware... m68k, mips, arm, powerpc, amd64, ia32, hppa, sparc, sh and more. I run Gentoo on mips and arm based router boards, old m68k amigas and macs, various NAS boxes, wii, gamecube, xbox... pretty much anything. And Gentoo goes beyond Linux, you can use portage with BSD as well, and you can use it to build and maintain software on OSX, Solaris (and its spinoffs) etc.

Also, not all first time Linux users are alike, why is it wrong to have a distro that has different goals and different target than that of "most users"?
Title: Re: Gentoo Install
Post by: trekiej on September 26, 2011, 03:28:11 AM
Are you a command line junkie?
What are good apps. that work with FrameBuffer?
Title: Re: Gentoo Install
Post by: TheBilgeRat on September 26, 2011, 05:29:58 AM
Quote from: trekiej;661318
Are you a command line junkie?
What are good apps. that work with FrameBuffer?

Links, Feh might, mplayer does,