Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Some installation questions
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Installing Gentoo
View previous topic :: View next topic  
Author Message
Kodama
Tux's lil' helper
Tux's lil' helper


Joined: 28 Jan 2003
Posts: 85
Location: Linköping, Sweden

PostPosted: Tue Jan 28, 2003 8:15 pm    Post subject: Some installation questions Reply with quote

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
View user's profile Send private message
s003apr
Apprentice
Apprentice


Joined: 04 Oct 2002
Posts: 162

PostPosted: Tue Jan 28, 2003 9:24 pm    Post subject: Reply with quote

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
View user's profile Send private message
Kodama
Tux's lil' helper
Tux's lil' helper


Joined: 28 Jan 2003
Posts: 85
Location: Linköping, Sweden

PostPosted: Wed Jan 29, 2003 10:57 am    Post subject: Reply with quote

Thanks for the useful answers! :-)
Back to top
View user's profile Send private message
drakonite
l33t
l33t


Joined: 02 Nov 2002
Posts: 768
Location: Lincoln, NE

PostPosted: Wed Jan 29, 2003 11:27 am    Post subject: Reply with quote

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
View user's profile Send private message
rtn
Guru
Guru


Joined: 15 Nov 2002
Posts: 427

PostPosted: Wed Jan 29, 2003 3:33 pm    Post subject: Reply with quote

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
View user's profile Send private message
ebrostig
Bodhisattva
Bodhisattva


Joined: 20 Jul 2002
Posts: 3152
Location: Orlando, Fl

PostPosted: Wed Jan 29, 2003 7:25 pm    Post subject: Reply with quote

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
View user's profile Send private message
jimlynch11
Guru
Guru


Joined: 21 Feb 2003
Posts: 590
Location: massachusetts

PostPosted: Tue Feb 25, 2003 2:36 pm    Post subject: Reply with quote

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
View user's profile Send private message
Kodama
Tux's lil' helper
Tux's lil' helper


Joined: 28 Jan 2003
Posts: 85
Location: Linköping, Sweden

PostPosted: Tue Feb 25, 2003 2:44 pm    Post subject: Reply with quote

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.

Code:
# swapon /dev/hdxx


You probably want to chroot to /mnt/gentoo too.

Code:
# chroot /mnt/gentoo /bin/bash
Back to top
View user's profile Send private message
jimlynch11
Guru
Guru


Joined: 21 Feb 2003
Posts: 590
Location: massachusetts

PostPosted: Tue Feb 25, 2003 3:23 pm    Post subject: Reply with quote

well that couldn't have been easier.

thanks!
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Installing Gentoo All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum