2

I have a weird laptop, that, long story short, must have these 2 parameters set for it to boot:

pnpbios=off
noapic

How to I tell grub to utilize these every time it boots?

1 Answer 1

5

Edit your GRUB configuration file e.g. using the command

sudo nano /etc/default/grub

Add those two parameters to GRUB_CMDLINE_LINUX_DEFAULT, so that it looks like this:

GRUB_CMDLINE_LINUX_DEFAULT="quiet splash pnpbios=off noapic"

Then update GRUB's configuration using the command

sudo update-grub
4
  • 1
    any way to temporarily boot into the OS first to set these parameters?
    – Blaine
    Jul 22, 2016 at 6:44
  • Boot in recovery mode, mount -o remount,rw /, mount --all, then follow the above steps. Jul 22, 2016 at 6:48
  • 3
    @AlcuinArundel No need for recovery mode, you can temporarily set those kernel parameters by editing the GRUB boot entry from the GRUB menu itself. Select the Ubuntu entry in GRUB and press e. Then search the line starting with linux in the appearing script and insert the two parameters after quiet splash. Press F10 (if I remember correctly) to boot the modified entry.
    – Byte Commander
    Jul 22, 2016 at 8:33
  • I had a VirtualBox VM suffering the dreaded MP-BIOS BUG 8254 timer not connected error and nolapic (NOT noapic) using @ByteCommander's technique did the trick!
    – tresf
    Mar 6, 2019 at 19:24

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .