LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
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 10-31-2016, 04:49 PM   #16
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 Drakeo View Post
the /usr/share/mkintrid script is the real issue it reads the running kernel so this is not going to help me. Been here before.
That's why you are able to tell /usr/share/mkinitrd/mkinitrd_command_generator.sh the kernel that you wish to use.

You would use something similar to
Code:
$(/usr/share/mkinitrd/mkinitrd_command_generator.sh -k ${RELEASE} -r -a "-o /boot/initrd.gz.${RELEASE}")
to build the initrd.

Getting the lilo entry correct is slightly trickier and should look similar to:
Code:
/usr/share/mkinitrd/mkinitrd_command_generator.sh -a "-o /boot/initrd.gz.${RELEASE}" --lilo /boot/vmlinuz-${RELEASE} >>/etc/lilo.conf
Similar is underlined since I haven't tested both of these commands. (I'm on a Mac at work at the moment.)
 
2 members found this post helpful.
  


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
Pulseaudio/Pavucontrol/Sound die after Upgrade/Kernel Upgrade mzsade Linux - Software 0 09-03-2015 02:44 PM
LXer: Linux Kernel 3.19 Has Reached To End With Last Release Kernel 3.19.8, Install/Upgrade Kernel 3 LXer Syndicated Linux News 0 05-15-2015 12:03 AM
How to upgrade kernel in rhel6/centos6 with internet. manually download and upgrade. Gil@LQ Linux - Kernel 3 03-12-2012 05:07 PM
LXer: Speaking Unix, Part 6: Automate, automate, automate! LXer Syndicated Linux News 0 01-04-2007 09:54 AM
automate software upgrade searches bobwall Linux - Software 11 06-18-2005 02:22 PM

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

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