Results 1 to 4 of 4

Thread: [grub2]How to add kernel boot options (e.g. nohz=off) ???

  1. #1
    Join Date
    Jul 2009
    Beans
    60
    Distro
    Ubuntu 12.04 Precise Pangolin

    [grub2]How to add kernel boot options (e.g. nohz=off) ???

    Using grub legacy, adding a kernel boot option was as simple as editing the respective kernel's line in the menu.lst file.

    Using grub2, how can I add a kernel boot option?
    Thanks in advance for any hint.

  2. #2
    Join Date
    Feb 2007
    Location
    Romania
    Beans
    Hidden!

    Re: [grub2]How to add kernel boot options (e.g. nohz=off) ???

    Edit the /etc/default/grub file and add the kernel parameter to the GRUB_CMDLINE_LINUX_DEFAULT="quiet splash" line, then run:
    Code:
    sudo update-grub

    community/Grub2
    The Grub 2 Guide
    Grub 2 - 5 Common Tasks
    Grub 2 Title Tweaks

  3. #3
    Join Date
    Jul 2009
    Beans
    60
    Distro
    Ubuntu 12.04 Precise Pangolin

    Re: [grub2]How to add kernel boot options (e.g. nohz=off) ???

    Thanks a lot. Is there a way to add a kernel parameter which will not be default for all the linux systems available but only for those selected.

  4. #4
    Join Date
    Nov 2005
    Location
    New Mexico
    Beans
    984
    Distro
    Lubuntu 11.10 Oneiric Ocelot

    Re: [grub2]How to add kernel boot options (e.g. nohz=off) ???

    @ sisco311 THANK YOU
    'Those who are willing to sacrifice essential liberties for temporary security deserve neither liberty nor security.' - Benjamin Franklin

    Registered Linux User#407002 / Registered Ubuntu User#1806

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •