View previous topic :: View next topic |
Author |
Message |
Kodama Tux's lil' helper
Joined: 28 Jan 2003 Posts: 85 Location: Linköping, Sweden
|
Posted: Tue Jan 28, 2003 8:15 pm Post subject: Some installation questions |
|
|
Hi, I am rather newbie at linux, I have used Mandrake for a month, but I managed to break it after doing some rpm commands with dodeps and force flags, when upgrading glibc. So I wanted to try a distro that don't use rpm's. Maybe Gentoo is too diffcult for me, but I figure I could give it a try. Now I am wondering if you could help me with these questions....
1. For incresed speed, are these flags good? Should I set the march flag to i686 instead? Or should I just skip this and install from stage3?
CHOST="i686-pc-linux-gnu"
CFLAGS="-march=pentium2 -O3 -pipe -fforce-addr -fomit-frame-pointer -funroll-loops -frerun-loop-opt - frerun-cse-after-loop -falign-functions=4"
CXXFLAGS="$CFLAGS"
My CPU: Pentium Celeron(Mendocino) 400 (@450)
2. Can reboot my computer during installation and start Windows, and later resume installation? If I want to search for help. If not, can I use Lynx to search for help?
3. If I want to install Xfree and a WM after (or during?) the installation, do I type this for example?
"emerge xfree4"
"emerge kde"
Or? I am just guessing. |
|
Back to top |
|
|
s003apr Apprentice
Joined: 04 Oct 2002 Posts: 162
|
Posted: Tue Jan 28, 2003 9:24 pm Post subject: |
|
|
Quote: | 1. For incresed speed, are these flags good? Should I set the march flag to i686 instead? Or should I just skip this and install from stage3?
|
I'd suggest stage 3 for the first time, just because it will save tons of time and you might end up redoing things 5 times before things are the way you want it.
I personally prefer the stage 3 because it's still a lot more optimized for you machine than you will get with alternative distros. Also, consider this. If you install from stage 3 and then change your USE and CFLAGs, the majority of things will still be installed with your custom optimizations, and as new updates come out for the different system programs and files they will also be compiled with your custom flags, therefore you eventually have the same system as a stage 1 install after a reasonable amount of time.
Quote: | 2. Can reboot my computer during installation and start Windows, and later resume installation? If I want to search for help. If not, can I use Lynx to search for help? |
There are a large number of places you can restart at. For instance, you could:
boot livecd
make partition table
reboot livecd
"format" partitions (ie mke2fs, mkswap)
reboot livecd
mount partitions
extract stage
reboot livecd again
remount partitions
chroot into new linux environment
emerge sync
reboot again
remount, chroot again
bootstrap etc for stage1 install
reboot again
remount, chroot
emerge system for stage 2 install
reboot again
and basically continue like this, rebooting and chrooting after each step until you get your kernel and grub install, at which point you no longer need to use the livecd and chroot to get into your new linux environment.
Quote: | 3. If I want to install Xfree and a WM after (or during?) the installation, do I type this for example?
"emerge xfree4"
"emerge kde"
Or? I am just guessing. |
Well, change it to "emerge xfree"
This and many other questions are answered in the desktop configuration guide:
http://www.gentoo.org/doc/en/desktop.xml |
|
Back to top |
|
|
Kodama Tux's lil' helper
Joined: 28 Jan 2003 Posts: 85 Location: Linköping, Sweden
|
Posted: Wed Jan 29, 2003 10:57 am Post subject: |
|
|
Thanks for the useful answers! |
|
Back to top |
|
|
drakonite l33t
Joined: 02 Nov 2002 Posts: 768 Location: Lincoln, NE
|
Posted: Wed Jan 29, 2003 11:27 am Post subject: |
|
|
You optimizations look a little strong...
I have a celery 400 too, and I can tell you from experience being that vigorous isn't going to help you much, in fact I've been getting better performance after I lightened up the settings (...because of cache usage... celeries dont' have much cache..)
For your celery you should definatly use -march=pentium2 and not -march=i686.
My CFLAGS are "-O3 -march=pentium2 -fomit-frame-pointer -pipe" and I'd recommend you using the same flags. If you don't want to use mine permenently then I recommend atleast during the install and then change them afterwords.
Yes, you can reboot during certain parts of the install, but if you can avoid it you'll be better off. It's easier to keep on track and do things correctly if you follow it straight through and not reboot. _________________ Shoot Pixels Not People
My GPG/PGP Public key |
|
Back to top |
|
|
rtn Guru
Joined: 15 Nov 2002 Posts: 427
|
Posted: Wed Jan 29, 2003 3:33 pm Post subject: |
|
|
And be forewarned that you might have problems with a stage1 install due to
your overclocking. Do a forum search on "segfault AND overclock".
I agree that your CFLAGS are too aggressive, especially for your first attempt.
Even with maximum optimization, you'd probably only seen a couple of percent
performance increase, if that much.
If you want to install KDE and xfree, you can just emerge xfree kde, and then you wait.
--rtn |
|
Back to top |
|
|
ebrostig Bodhisattva
Joined: 20 Jul 2002 Posts: 3152 Location: Orlando, Fl
|
Posted: Wed Jan 29, 2003 7:25 pm Post subject: |
|
|
I would actually recommend using -O2 rather than -O3. There has been several issues where the compiler crashes due to -O3 in some packages.
If you want to emerge KDE and Xfree in one swipe, you can even just do 'emerge kde', since it depends on XFree, it will install it first than KDE
Erik _________________ 'Yes, Firefox is indeed greater than women. Can women block pops up for you? No. Can Firefox show you naked women? Yes.' |
|
Back to top |
|
|
jimlynch11 Guru
Joined: 21 Feb 2003 Posts: 590 Location: massachusetts
|
Posted: Tue Feb 25, 2003 2:36 pm Post subject: |
|
|
ok so i tried to restart after my stage 3 install before installing the kernel (mostly cuz of connection problems) and now when i go to remount the drives it gives me a "mount point does not exist" error! what do i do? i booted straight from the cdrom and did nothing else before it. HELP i do not want to start from scratch again
thanks! |
|
Back to top |
|
|
Kodama Tux's lil' helper
Joined: 28 Jan 2003 Posts: 85 Location: Linköping, Sweden
|
Posted: Tue Feb 25, 2003 2:44 pm Post subject: |
|
|
You have to create the directories again.
Code: | # mkdir /mnt/gentoo
# mount /dev/hdxx /mnt/gentoo
# mkdir /mnt/gentoo/boot
# mount /dev/hdxx /mnt/gentoo/boot
|
Where xx is your partitions.
Also remember to activate the swap partition.
You probably want to chroot to /mnt/gentoo too.
Code: | # chroot /mnt/gentoo /bin/bash |
|
|
Back to top |
|
|
jimlynch11 Guru
Joined: 21 Feb 2003 Posts: 590 Location: massachusetts
|
Posted: Tue Feb 25, 2003 3:23 pm Post subject: |
|
|
well that couldn't have been easier.
thanks! |
|
Back to top |
|
|
|