You are not logged in.

#1 2010-09-19 14:39:41

mrmike503
Member
Registered: 2008-12-23
Posts: 15

Quick question about kernel

I switched my old desktop to Arch 64 in anticipation for my new rig that will be ready in a few days. My question is, will the kernel recognize the processor correctly right off the bat and reconfigure itself accordingly or do I need to reinstall the whole system? It sounds silly I suppose, but I just want to be safe and be ready for any troubleshooting if it will come my way. Also, if switching from AMD -> Intel might also cause a problem (I doubt it, but mentioning anyway), lemme know if that might cause a problem too. I don't expect any of this to, but I would just like to ask so I don't my hopes up of the computer running fine on the install it has now on the get-go.

Offline

#2 2010-09-19 14:40:29

graysky
Wiki Maintainer
From: :wq
Registered: 2008-12-01
Posts: 10,595
Website

Re: Quick question about kernel

You should be fine, no fuss no muss.


CPU-optimized Linux-ck packages @ Repo-ck  • AUR packagesZsh and other configs

Offline

#3 2010-09-19 14:43:09

mrmike503
Member
Registered: 2008-12-23
Posts: 15

Re: Quick question about kernel

Awesome, thank you for the quick reply!

Offline

#4 2010-09-19 14:50:16

graysky
Wiki Maintainer
From: :wq
Registered: 2008-12-01
Posts: 10,595
Website

Re: Quick question about kernel

...you'll probably have to rebuild the kernel images though.  See this wiki article.  Pretty much boot from the arch cd, chroot into the distribution and rebuilt.


CPU-optimized Linux-ck packages @ Repo-ck  • AUR packagesZsh and other configs

Offline

#5 2010-09-19 15:00:00

mrmike503
Member
Registered: 2008-12-23
Posts: 15

Re: Quick question about kernel

That would be the last part of the article "Update and Install packages from host system via chroot", correct?

Offline

#6 2010-09-19 15:11:49

Stebalien
Member
Registered: 2010-04-27
Posts: 1,237
Website

Re: Quick question about kernel

You will probably also want to remove your old '/var/lib/hwclock/adjtime'.


Steven [ web : git ]
GPG:  327B 20CE 21EA 68CF A7748675 7C92 3221 5899 410C
Do not email: honeypot@stebalien.com

Offline

#7 2010-09-19 15:29:40

mrmike503
Member
Registered: 2008-12-23
Posts: 15

Re: Quick question about kernel

I take it that is so I can adjust the clock settings again? I'm a little unclear on what gray is saying I should do, most of the information is regarding setting up two different distros on a computer and the different ways of getting there. I know I probably need to rerun the kernel configuration, but isn't that all I should need to do? I know I'll need to rerun things like the nvidia-xconfig or alsaconf to change things like the audio drivers and video drivers. It's just the processor and having the kernel recognized changed components I just don't know anything about.

Offline

#8 2010-09-19 15:40:21

hume's doona
Member
Registered: 2009-12-11
Posts: 206

Re: Quick question about kernel

I think that depends on the kernel. A stock kernel should be set up for generic x86-64 and take a range of processors, but it is possible to only allow the features of a smaller set, like core 2 duo, or 64 bit atoms.

If you are asking, I'm assuming it's not a custom kernel and should be fine on a different cpu

Offline

#9 2010-09-19 15:45:46

mrmike503
Member
Registered: 2008-12-23
Posts: 15

Re: Quick question about kernel

hume's doona wrote:

I think that depends on the kernel. A stock kernel should be set up for generic x86-64 and take a range of processors, but it is possible to only allow the features of a smaller set, like core 2 duo, or 64 bit atoms.

If you are asking, I'm assuming it's not a custom kernel and should be fine on a different cpu

Well it's configured around an ages-old AMD 64 single-core (How many ever existed?). I set up the computer... about 3-4 weeks ago by net installation. I'll just assume that it it will take a wide range and bring up the issue up again later if it happens that the kernel hates my i7.

Offline

#10 2010-09-19 16:26:19

graysky
Wiki Maintainer
From: :wq
Registered: 2008-12-01
Posts: 10,595
Website

Re: Quick question about kernel

mrmike503 wrote:

That would be the last part of the article "Update and Install packages from host system via chroot", correct?

Yeah, try it without doing first, but every time I've moved an HDD to another PC, I had to do it (kernel panics on boot).
basic steps

1) boot from cd
2) mount old root partition
3) prepare dev nodes
4) mount various filesystems
5) chroot into it
6) run mkinitcpio -p kernel26
7) umount and reboot


CPU-optimized Linux-ck packages @ Repo-ck  • AUR packagesZsh and other configs

Offline

Board footer

Powered by FluxBB