ianw1974 Posted April 6, 2006 Report Share Posted April 6, 2006 When I first started using Gentoo (2005.1), the install was manual, using the stage3 tarball from the CD. Subsequently, since 2006, it's all done automatically, giving you less control over the system install, compilation of kernel etc being done with genkernel instead of manual. Mysti mentioned in another post a whileback she normally does a stage2 install. I'm wondering what the differences are between the stage2 and stage3 installs, and how I would go about achieving this? I prefer the manual install with more control, than being given a genkernel setup. I know I can change this later after the install has finished, but I'd like to do it as quickly as possible, without having to go through all this first, and changing later. Quote Link to comment Share on other sites More sharing options...
phunni Posted April 6, 2006 Report Share Posted April 6, 2006 The first ever gentoo install I did used a stage 1 tarball. It turned out this wasn't any more difficult than stage 2 or 3, it just took longer. Basically the difference is simply that more of your system is compiled during install rather than before so you get more of the optimisations that gentoo users get so excited about... Quote Link to comment Share on other sites More sharing options...
ianw1974 Posted April 6, 2006 Author Report Share Posted April 6, 2006 OK, so a stage1 would be less compiled than stage2, and stage2 less compiled than stage3? The idea being that stage1 could be faster than stage2, and stage2 faster than stage3 when your system has been completely installed? Quote Link to comment Share on other sites More sharing options...
phunni Posted April 6, 2006 Report Share Posted April 6, 2006 stage1 would be more compiled on your system - but less pre compiled Stage1, in theory, would be faster.... Quote Link to comment Share on other sites More sharing options...
ianw1974 Posted April 6, 2006 Author Report Share Posted April 6, 2006 OK, understood, that's what I thought would happen :P Quote Link to comment Share on other sites More sharing options...
mystified Posted April 6, 2006 Report Share Posted April 6, 2006 I do either a stage 1 or stage 2 install. Mostly stage 2's. One of the reasons I like them over stage 3 is there is more control and flexibility. And I like the text install method. They don't give instructions anymore as they say they are for developers but I continue to download the stage2 tarball and do my install the old way. Quote Link to comment Share on other sites More sharing options...
Reiver_Fluffi Posted April 6, 2006 Report Share Posted April 6, 2006 I do either a stage 1 or stage 2 install. Mostly stage 2's. One of the reasons I like them over stage 3 is there is more control and flexibility. And I like the text install method. They don't give instructions anymore as they say they are for developers but I continue to download the stage2 tarball and do my install the old way. Ye dinnae fancy fixing my install, dunno how much I have broken my kernel, still can't get audio or ethernet to work despite compiling the modules and loading them (things were so much simpler with 2005 and genkernel, trust me to want more). I'll be yer groupie forever, see i'm ready: Quote Link to comment Share on other sites More sharing options...
ianw1974 Posted April 7, 2006 Author Report Share Posted April 7, 2006 Hey mysti, You got any install guide to follow when using a stage1 or stage2? I've usually done stage3 from the minimal CD, so would love to know how I would go about a stage1 or stage2, since you mentioned they don't have the documentation on this anymore! Quote Link to comment Share on other sites More sharing options...
mystified Posted April 7, 2006 Report Share Posted April 7, 2006 Sure, I'll pm it to you. Quote Link to comment Share on other sites More sharing options...
phunni Posted April 7, 2006 Report Share Posted April 7, 2006 Would it break any copyrights or anything to post it here? It might be a useful resource... Quote Link to comment Share on other sites More sharing options...
mystified Posted April 7, 2006 Report Share Posted April 7, 2006 No, I will do that but you have to realize that it's my condensed version designed for my system. Others may do it differently. Let me know if you still want it. Quote Link to comment Share on other sites More sharing options...
phunni Posted April 7, 2006 Report Share Posted April 7, 2006 I still think it would be a useful resource to have here - especially if gentoo no longer provide these docs... Perhaps it might be better posted in tips & tricks or somewhere else rather than here... Quote Link to comment Share on other sites More sharing options...
mystified Posted April 7, 2006 Report Share Posted April 7, 2006 No problem phunni. As long as everyone remembers this is my version of how to install and like I said others will do it differently so I expect other Gentoo users to jump in and say something is wrong. To them I say :P My pm to ian didn't go in my sent box. I'll pm him and ask him to send it back to me so I can copy and paste. Quote Link to comment Share on other sites More sharing options...
mystified Posted April 7, 2006 Report Share Posted April 7, 2006 What I forgot to tell ian is that I do this from within mandrake in a chroot environment. Anyway, here goes. The original instructions are over 45 pages long so this is my condensed version. You'll have to modify it if needed. 1. cd to my gentoo partition /mnt/gentoo 2. download tarball using wget 3. unpack tar -xvjpf*.tar.bz2 The asterick is where you would fill in the exact name of your tarball. 4. mount -t proc proc /mnt/gentoo/proc 5. cp /etc/resolv.conf /mnt/gentoo/etc/resolv.conf 6. chroot /mnt/gentoo /bin/bash 7. env-update && source /etc/profile 8. emerge sync, emerge portage For stage one. cd /usr/portage scripts/bootstrap.sh Stage two skip the above two steps emerge -u system (this gives you the latest version of system programs) ln -sf /usr/share/zoneinfo/your time /etc/localtime nano -w /etc/fstab cd /usr/src emerge kernel of choice ln -s linux* linux *your kernel info cd linux make menuconfig make && make modules_install cp arch/i386/boot/bzImage /boot emerge metalog rc-update add metalog boot emerge vixie-cron rc-update add vixie-cron default emerge reiserprog (only if using reiser) set root password passwd useradd name -m -G users,wheel,audio, portage,games and any others you want passwd your name emerge dhcpcd (if using dhcp) if not see gentoo instructions nano -w /etc/conf.d/net add two lines from gentoo instruction guide (sorry this has changed so I don't remember the command) rc-update add net.eth0 default emerge lilo or grub emerge udev install packages if using nvidia emerge nvidia-kernel && nvidia-glx edit /etc/rc.conf to set up dm and XSession (such as gnome or kdeversion) I use kdm but you still do rc-update add xdm default. This is so X loads at start. after you're done rm -rf /usr/portage/distfiles/* /var/tmp/portage/* to remove temporary files and of course you have to configure X. /usr/X11R6/bin/xorgconfig Set your USE flags by doing nano -w /etc/make.conf I think that's all. I usually remember things as I go along. Quote Link to comment Share on other sites More sharing options...
ianw1974 Posted April 7, 2006 Author Report Share Posted April 7, 2006 That's OK, I normally boot a LiveCD, and have another machine spare for doing stuff while the other is busy :P Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.