LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Desktop
User Name
Password
Linux - Desktop This forum is for the discussion of all Linux Software used in a desktop context.

Notices


Reply
  Search this Thread
Old 09-06-2013, 01:00 PM   #1
manuel19
Member
 
Registered: May 2010
Distribution: Fedora Core 8 (Werewolf)
Posts: 40

Rep: Reputation: 0
Kernel parameter to auto-recreate initrd


Hi!

I want to know; exist a way to re-create the initrd-xxx.img when kernel boot and then, boot the new initrd normally?

Last edited by manuel19; 09-06-2013 at 01:02 PM.
 
Old 09-06-2013, 03:15 PM   #2
jthill
Member
 
Registered: Mar 2010
Distribution: Arch
Posts: 211

Rep: Reputation: 67
Well, as an initial answer until someone who knows better shows up, I'd say you have to put a script to check /proc/cmdline in your boot sequence to do the job.

Last edited by jthill; 09-06-2013 at 03:16 PM.
 
Old 09-06-2013, 03:27 PM   #3
Firerat
Senior Member
 
Registered: Oct 2008
Distribution: Debian sid
Posts: 2,683

Rep: Reputation: 783Reputation: 783Reputation: 783Reputation: 783Reputation: 783Reputation: 783Reputation: 783
I might be wrong here, but did you delete the old one?

one option would be to boot an older kernel ( assuming available ) and then use your package manager to reinstall the 'current' kernel.

Another option is boot a liveCD, chroot and again use package manager to reinstall kernel

details on Distro will help
 
  


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 to pass initrd parameter using slack's bootstick? Larry37 Slackware 6 08-05-2009 08:07 PM
Where to find initrd .img and kernel parameter satimis Linux From Scratch 10 08-06-2005 04:23 AM
autofs enabled in kernel but auto.mount and auto.master are NOT in /etc! Alybyzrp Linux - General 0 11-11-2003 12:26 PM
Apache, php auto parameter variable empty lanzdale Programming 2 09-04-2003 05:05 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Desktop

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