Sign up ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free.

I have a Toshiba Satellite L300 dual core laptop. Due to some problem I need to disable one core. How to do this in Ubuntu 12.10?

share|improve this question

2 Answers 2

To do it dynamically, try (as root):

echo 0 > /sys/devices/system/cpu/cpu1/online

(or cpu0 to disable the first core)

To disable one core during boot use maxcpus=1 kernel parameter.

Alternatively, poke around your BIOS, maybe an option in there.

share|improve this answer

Edit the configuration file

sudo vim /etc/default/grub

Find the line GRUB_CMDLINE_LINUX_DEFAULT and append this as below example maxcpus=n (n number of CPU) want to enable


After saving the file run the below command

sudo update-grub2

When you reboot, linux will run on 1 cores

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.