LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 10-22-2015, 12:01 AM   #1
lucmove
Senior Member
 
Registered: Aug 2005
Location: Brazil
Distribution: Debian
Posts: 1,432

Rep: Reputation: 110Reputation: 110
How do I add threadirqs to grub2?


I have two questions about grub2:

1)

I edited /etc/default/grub and added this line:

GRUB_CMDLINE_LINUX="threadirqs"

then I ran

# update-grub2

Now the /boot/grub/grub.cfg file has three instances of this line:

linux /vmlinuz-3.16.0-4-amd64 root=UUID=5ce5(elided) ro threadirqs quiet

...and no other linux /vmlinuz(whatever) line. It gets down to one of those three.

However, when I boot, the threadirqs option is never there. I can add it manually at boot time and later confirm that the kernel has indeed loaded with the option enabled, but I want to have that added correctly. How do I do that???

2)

How do I get to land a punch to the stomach of the people who turned grub into a big pile of feces? Does anyone here know where they hang out? Steve Jobs is dead, but I still have a shot with Bill Gates and the people responsible for grub2, right?
 
Old 10-22-2015, 01:25 AM   #2
syg00
LQ Veteran
 
Registered: Aug 2003
Location: Australia
Distribution: Lots ...
Posts: 21,123

Rep: Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120
I don't do Debian, soooo ...
1) I would expect them to use update-grub (a Debian/Ubuntu-ism BTW) - you would have to scan the scripts.
2) My recollections is that the Ubuntu (nee Debian) devs drove it initially. Pretty obvious from the verbosity of the scripts.
Banging on about grub vs grub2 is a lost cause - just like systemd. We all liked the classic grub, but it was never going to measure up in the current world of UEFI, gpt ...
 
1 members found this post helpful.
Old 10-22-2015, 01:45 AM   #3
goumba
Senior Member
 
Registered: Dec 2009
Location: New Jersey, USA
Distribution: Fedora, OpenSUSE, FreeBSD, OpenBSD, macOS (hack). Past: Debian, Arch, RedHat (pre-RHEL).
Posts: 1,335
Blog Entries: 7

Rep: Reputation: 402Reputation: 402Reputation: 402Reputation: 402Reputation: 402
Run as root:

Code:
dpkg-reconfigure grub-efi
or
Code:
dpkg-reconfigure grub-pc
depending if you are running on an EFI machine or not. This will prompt you for, and add your args to the systemwide config, instead of having them wiped out.
 
1 members found this post helpful.
Old 10-23-2015, 06:33 PM   #4
lucmove
Senior Member
 
Registered: Aug 2005
Location: Brazil
Distribution: Debian
Posts: 1,432

Original Poster
Rep: Reputation: 110Reputation: 110
Quote:
Originally Posted by goumba View Post
Run as root:

Code:
dpkg-reconfigure grub-efi
or
Code:
dpkg-reconfigure grub-pc
depending if you are running on an EFI machine or not. This will prompt you for, and add your args to the systemwide config, instead of having them wiped out.
This worked for me. Thank you!
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
How can I add a second cryptdevice to GRUB2 slacksam Arch 3 12-21-2021 11:51 PM
[SOLVED] Struggling to add disk to grub2 menu benf96 Linux - Newbie 8 06-01-2014 07:31 AM
How to add PCBSD partition to Sabayon Grub2? rameshan12 Linux - Desktop 4 04-30-2012 09:25 PM
How to probe grub2 to add new installed os? shams Linux - Software 1 03-12-2012 12:45 PM
[SOLVED] How do I add gentoo to grub2 ? JESSEJJ89 Linux - General 6 12-29-2011 02:14 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 03:41 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration