View previous topic :: View next topic |
Author |
Message |
plb n00b
Joined: 19 Dec 2002 Posts: 34
|
Posted: Sun Apr 06, 2003 8:00 pm Post subject: Switched to AMD should I re-install my Gentoo system? |
|
|
I started using Gentoo a few months ago and installed from stage-1 with my P3 1000. Recently I switched to a 2200 XP AMD. I recompiled the kernel and changed my USE flags, and the system runs well. Would I notice a performance boost if I started from scratch?
Thanks |
|
Back to top |
|
|
magnet Guru
Joined: 16 Mar 2003 Posts: 582 Location: france
|
Posted: Sun Apr 06, 2003 8:08 pm Post subject: |
|
|
hello you can do emerge -e world , this will recompile the whole system with your news CFLAGS. _________________ every step aim at glory. |
|
Back to top |
|
|
plb n00b
Joined: 19 Dec 2002 Posts: 34
|
Posted: Sun Apr 06, 2003 8:13 pm Post subject: |
|
|
Thanks for the blazing fast reply.
But would it be worth the 3 days of compiling? Meaning would I get a speed boost out of the deal?
Thanks |
|
Back to top |
|
|
cybermans Apprentice
Joined: 04 Apr 2003 Posts: 193
|
Posted: Mon Apr 07, 2003 1:12 am Post subject: |
|
|
i think i CAN give a big boost. 3dnow 1 en 3d now 2 by example. And i dont now but maybe u could get an more instable system (guess you also changed mobo and mem) |
|
Back to top |
|
|
gilesjuk Guru
Joined: 11 Feb 2003 Posts: 412 Location: Staffordshire, UK
|
Posted: Mon Apr 07, 2003 1:34 am Post subject: |
|
|
plb wrote: | Thanks for the blazing fast reply.
But would it be worth the 3 days of compiling? Meaning would I get a speed boost out of the deal?
Thanks |
Well you'll end up recompiling all the same code to get your system back where it is now, so you may as well preserve your settings and do the emerge -e world.
Reinstalls are for Windows, most people attribute that a reinstall = faster system due to using Windows and its dumb registry.
In Linux if you are getting a slow down due to a component, recompile it. If there's a config problem then fix it. I would only reinstall if a hard disk partition was seriously corrupted or the system would not boot with no way of repair. _________________ ^<^>^<^>^
G. Jones
-=-=-=-=-=- |
|
Back to top |
|
|
jimlynch11 Guru
Joined: 21 Feb 2003 Posts: 590 Location: massachusetts
|
Posted: Mon Apr 07, 2003 1:44 am Post subject: |
|
|
i say do it, nothing really to lose and maybe alot to gain. hit alt-f2 or whatever and start it in the background, you'll never even know its happening...and if you have to pause it to turn your machine off or perhaps boot into that *other* operating system, just do an "emerge -e world --resume" when you're ready to start it back up again. |
|
Back to top |
|
|
magnet Guru
Joined: 16 Mar 2003 Posts: 582 Location: france
|
Posted: Mon Apr 07, 2003 9:40 pm Post subject: |
|
|
do it. _________________ every step aim at glory. |
|
Back to top |
|
|
plb n00b
Joined: 19 Dec 2002 Posts: 34
|
Posted: Mon Apr 14, 2003 2:25 pm Post subject: |
|
|
Damn, at about 80 of 400+ it crapped out, after a "emerge -e world --resume" I get this:
! ! ! ERROR: --resume is an invalid option
After a "emerge --update portage"
I still get the error, is there something that needs to be updated to use this resume feature?
Thanks |
|
Back to top |
|
|
Donovan Tux's lil' helper
Joined: 08 Feb 2003 Posts: 97 Location: Halifax, NS, Canada
|
Posted: Fri Apr 18, 2003 5:37 am Post subject: |
|
|
I've never heard of the resume option...
One option is to look through /var/log/emerge.log to see how far/which packages were emerged, print off a list of 'emerge -pe world' and emerge all the other packages (emerge package1 package2 ... package10).
Another option is to perhaps recompile some of the larger and more important packages (desktop environment, etc) and let the natural progression of new updates from emerge -u world eventually replace the existing code. This assumes, of course, that everything is working okay. And if it isn't, you could still just remerge the affected packages...
_________________ Gentoo Linux * DirecTivo * Who needs heaven? |
|
Back to top |
|
|
Jimbow Guru
Joined: 18 Feb 2003 Posts: 597 Location: Silver City, NM
|
Posted: Fri Apr 18, 2003 5:51 am Post subject: |
|
|
You can get a list of the packages that you still need to recompile this way: Code: | cd /var/db/pkg
grep ${OLD_OPTION} */*/CFLAGS > ~/packages |
Pop ~/packages into your editor of choice to remove everything but the package names and then: Code: | cat ~/packages | xargs emerge -p --oneshot |
Not elegant but it works. It is in some ways better then emerge -e because allows you to pick just those packages that were compiled with your old flags. _________________ After Perl everything else is just assembly language. |
|
Back to top |
|
|
pjp Administrator
Joined: 16 Apr 2002 Posts: 20067
|
Posted: Fri Apr 18, 2003 9:21 pm Post subject: |
|
|
Moved from Installing Gentoo. _________________ Quis separabit? Quo animo? |
|
Back to top |
|
|
cybermans Apprentice
Joined: 04 Apr 2003 Posts: 193
|
Posted: Fri Apr 18, 2003 11:48 pm Post subject: |
|
|
try todo the big packages first one by one (big packes have most of the time big deps) after kde gnome OOo and other big stuff try the world option again. U will see that (if no now patches are avail) that u have only a shitload of small packages to do _________________ My weBlog
Linux compability list (hardware) |
|
Back to top |
|
|
|