LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 02-18-2017, 05:46 PM   #31
Richard Cranium
Senior Member
 
Registered: Apr 2009
Location: McKinney, Texas
Distribution: Slackware64 15.0
Posts: 3,858

Rep: Reputation: 2225Reputation: 2225Reputation: 2225Reputation: 2225Reputation: 2225Reputation: 2225Reputation: 2225Reputation: 2225Reputation: 2225Reputation: 2225Reputation: 2225

Quote:
Originally Posted by drgibbon View Post
The grub menuentry for a Slackware generic kernel needs a linux line (pointing to the kernel) and an initrd line (the initrd.gz). E.g.,
Code:
linux	/boot/vmlinuz-generic-4.4.38 root=/dev/sda6 ro
initrd  /boot/initrd-4.4.38.gz
The Slackware generic kernel won't boot without an initrd. I've never needed to manually edit grub files for this; the grub-mkconfig works it out if you name the files sensibly (I suppose, it may find them some other way).


On booting, grub will only read your configuration from /boot/grub/grub.cfg

You are supposed to make any changes inside /etc/grub.d and /etc/default/grub, and then run grub-mkconfig -o /boot/grub/grub.cfg to update grub.cfg
I had thought a grub user would know to do so, but I'll update the README to mention that you'll have to run grub-mkconfig for the change to have any effect.

Documentation should be clear, and I guess that wasn't.
 
  


Reply



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
[SOLVED] kernel panic on boot with generic kernel 3.10.17 on slackware 14.1 josefin Slackware 35 07-08-2016 08:08 PM
[SOLVED] Generic kernel 4.4.7 wont boot after current update zaganzar Slackware 9 04-17-2016 02:20 PM
[SOLVED] Custom kernel doesn't work, but now even generic and huge kernels panic. ibrunton Slackware 3 01-27-2014 02:03 PM
[SOLVED] How do I modify GRUB to boot using the generic kernel? Robert.Thompson Slackware 3 02-16-2011 02:00 PM
slack 12, switch to generic kernel from huge kernel, using grub? jaguarrh Slackware 8 09-19-2007 06:29 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 08:34 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