Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
moving from P4 to centrino with same hdd [SOLVED]
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Other Things Gentoo
View previous topic :: View next topic  
Author Message
mahdi1234
Guru
Guru


Joined: 19 Feb 2005
Posts: 559
Location: Being There

PostPosted: Thu Sep 27, 2007 5:59 pm    Post subject: moving from P4 to centrino with same hdd [SOLVED] Reply with quote

hi there,

I have a question ... my laptop with P4 just died and I've gotten older Centrino laptop from work (IBM T41P). I'm planning on putting hdd from my P4 to Centrino one. What is the best way to follow to migrate? I plan on something like -

- recompile kernel and include correct network adapter module
- solve other peripherals problems

Do I have to recompile whole system & world, or it's fine change make.conf now and apply it only for newly compiled applications? Any suggestions appreciated ;)

I don't have access to my gentoo now, though as far as I remember my make conf had only those -
Code:

CFLAGS="-O2 -march=pentium4 -pipe -fomit-frame-pointer"


thanks & cheers,
mahdi


Last edited by mahdi1234 on Fri Sep 28, 2007 9:54 am; edited 1 time in total
Back to top
View user's profile Send private message
jonnevers
Veteran
Veteran


Joined: 02 Jan 2003
Posts: 1594
Location: Gentoo64 land

PostPosted: Thu Sep 27, 2007 6:12 pm    Post subject: Reply with quote

considering you are really staying inside the same arch (i.e. x86) you shouldn't see very many issues.

yes, verify your chost is ok but even recompiling your kernel may not be necessary, except with laptops where hardway is so specific.

I've moved a single install of gentoo from a celeron to a p4 to another p4.
Back to top
View user's profile Send private message
linuxtuxhellsinki
l33t
l33t


Joined: 15 Nov 2004
Posts: 700
Location: Hellsinki

PostPosted: Thu Sep 27, 2007 6:17 pm    Post subject: Re: moving from P4 to centrino with same hdd Reply with quote

mahdi1234 wrote:
I have a question ... my laptop with P4 just died and I've gotten older Centrino laptop from work (IBM T41P).

- recompile kernel and include correct network adapter module
- solve other peripherals problems

Sounds like good plan fo me and I've been moving this system from PII TP600 to few different PIII's and now to this P4 T30.
And if you had P4 and this T41P is P4, what are the "real" differences within 'em (other than chipset & drivers) :?:
mahdi1234 wrote:

Do I have to recompile whole system & world, or it's fine change make.conf now and apply it only for newly compiled applications? Any suggestions appreciated ;)

I don't have access to my gentoo now, though as far as I remember my make conf had only those -
Code:

CFLAGS="-O2 -march=pentium4 -pipe -fomit-frame-pointer"


thanks & cheers,
mahdi

Those flags seems fine for me and I think you'll just need to recompile the Kernel and boot :?

Check the specs and other things from http://www.thinkwiki.org/wiki/Category:T41p
_________________
1st use 'Search' & lastly add [Solved] to
the subject of your first post in the thread.
Back to top
View user's profile Send private message
mahdi1234
Guru
Guru


Joined: 19 Feb 2005
Posts: 559
Location: Being There

PostPosted: Thu Sep 27, 2007 7:13 pm    Post subject: Reply with quote

Thanks guys!

Quote:

And if you had P4 and this T41P is P4, what are the "real" differences within 'em (other than chipset & drivers) :?:


So Pentium M is also P4 for gcc or is there something else than
Code:
-march=pentium4
recommended? I had before ASUS L5800C - http://gentoo-wiki.com/HARDWARE_Asus_L5800C - with Intel Pentium4 2.6GHz and T41 is Pentium M 1.7
Back to top
View user's profile Send private message
linuxtuxhellsinki
l33t
l33t


Joined: 15 Nov 2004
Posts: 700
Location: Hellsinki

PostPosted: Thu Sep 27, 2007 8:36 pm    Post subject: Reply with quote

mahdi1234 wrote:
So Pentium M is also P4 for gcc or is there something else than
Code:
-march=pentium4
recommended?

http://gentoo-wiki.com/Safe_Cflags#Pentium_M.28Centrino.29.2FCeleron_M says
Code:
CHOST="i686-pc-linux-gnu"
CFLAGS="-march=pentium-m -O2 -pipe -fomit-frame-pointer"

And cause P-M is newer than P4 & P4M (supports sse2 etc.) it should work with it just fine (but I'm not "really" experienced with it) ,so just stick that HD in to it and try to boot it and if it doesn't work then chroot in to the system with live-cd and recompile the Kernel.
_________________
1st use 'Search' & lastly add [Solved] to
the subject of your first post in the thread.
Back to top
View user's profile Send private message
mahdi1234
Guru
Guru


Joined: 19 Feb 2005
Posts: 559
Location: Being There

PostPosted: Fri Sep 28, 2007 9:54 am    Post subject: Reply with quote

Great. Thanks a lot guys!. It's working fine.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Other Things 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