PDA

View Full Version : [ubuntu] Grub2 and apic = off noapic nolapic



senectus
January 9th, 2010, 03:52 PM
To boot into my desktop I have to edit the boot menu option to include apic = off noapic nolapic as the Asus mainboard I have is a bit ugly in that area...

In old GRUB I could do this permanently pretty easily, but I can't figure out how to do it in Grub2..

Can someone help?

Elfy
January 9th, 2010, 04:05 PM
Run


gksudo gedit /etc/default/grub

add it to the GRUB_CMDLINE_LINUX_DEFAULT line

you can see I added hpet=force

GRUB_CMDLINE_LINUX_DEFAULT="quiet splash hpet=force"

save the file then run


sudo update-grub

senectus
January 9th, 2010, 04:23 PM
worked perfectly, thank you very much

oldfred
January 9th, 2010, 04:43 PM
http://ubuntuforums.org/showthread.php?t=1195275

You may want to move it to grub_cmdline_linux so it is also added to the recovery modes also.


GRUB_CMDLINE_LINUX
If it exists, this line imports any entries to the end of the 'linux' command line (Grub Legacy's "kernel" line) for both normal and recovery modes. This is similar to the "altoptions" line in menu.lst
GRUB_CMDLINE_LINUX_DEFAULT="quiet splash"
This line imports any entries to the end of the 'linux' line (Grub Legacy's "kernel" line). The entries are appended to the end of the normal mode only. This is similar to the "defoptions" line in menu.lst. For a black screen with boot processes displayed in text, remove "quiet splash". To see the grub splash image plus a condensed text output, use "splash". This line is where other instructions, such as "acpi=off" are placed.

tonytraductor
July 17th, 2010, 06:21 AM
Okay.
I keep seeing various different versions of this.
noapic nolapic
apci=off
apic=off

Which is correct?

Why do I see both apci an apic?

I'm finding this confusing.
I was told that adding this option might resolve some system freezes I'm experiencing.

Also, after editing /etc/default/grub
(sudo nano /etc/default/grub)
I did
sudo update-grub
and got
command not found
(the changes were saved, anyway, after editing in nano...does this matter?)
??

thanks
tony

dlynes
September 23rd, 2010, 04:45 PM
I don't know about other kernel versions, but in the kernel version shipped with Jaunty (9.04), you need to use noapic, not apic=off.

There's no such option as apci. It's acpi (Advanced Configuration and Power Interface) and apic (Advanced Programmable Interrupt Controller). lapic is 'local' APIC.


Okay.
I keep seeing various different versions of this.
noapic nolapic
apci=off
apic=off

Which is correct?

Why do I see both apci an apic?

I'm finding this confusing.
I was told that adding this option might resolve some system freezes I'm experiencing.

Also, after editing /etc/default/grub
(sudo nano /etc/default/grub)
I did
sudo update-grub
and got
command not found
(the changes were saved, anyway, after editing in nano...does this matter?)
??

thanks
tony