Review your favorite Linux distribution.
Go Back > Forums > Linux Forums > Linux - Software > Linux - Kernel
User Name
Linux - Kernel This forum is for all discussion relating to the Linux kernel.


  Search this Thread
Old 02-13-2013, 01:28 AM   #1
LQ Newbie
Registered: Nov 2010
Posts: 3

Rep: Reputation: 0
Post newly included /etc/init.d/init_route_dns is not found after reboot

Hi all

I would like to add the file in this path of the current ramdisc image /etc/init.d/init_route_dns.

The intention is set the route automatically when system boots up. I added few route add commands in init_route_dns file and initilized in rcS file.

The file init_route_dns is missing after the reboot.How to add that file in the ramdisc which is currently runnning ? , I wanted to do this without recompiling the kernel.

[root@localhost boot]# ls -l
total 5173
-rw-r--r-- 1 root root 65249 Oct 17 2006 config-2.6.18-1.2798.fc6xen
drwxr-xr-x 2 root root 1024 Feb 8 13:00 grub
-rw------- 1 root root 1515053 Feb 8 12:22 initrd-2.6.18-1.2798.fc6xen.img
drwx------ 2 root root 12288 Feb 8 12:17 lost+found
-rw-r--r-- 1 root root 94600 Jul 13 2006 memtest86+-1.65
-rw-r--r-- 1 root root 95032 Oct 17 2006 symvers-2.6.18-1.2798.fc6xen.gz
-rw-r--r-- 1 root root 865778 Oct 17 2006
-rw-r--r-- 1 root root 1728127 Oct 17 2006 vmlinuz-2.6.18-1.2798.fc6xen
-rw-r--r-- 1 root root 272336 Oct 17 2006 xen.gz-2.6.18-1.2798.fc6
-rwxr-xr-x 1 root root 607044 Oct 17 2006 xen-syms-2.6.18-1.2798.fc6
[root@localhost boot]# uname -a
Linux localhost.localdomain 2.6.18-1.2798.fc6xen #1 SMP Mon Oct 16 15:11:19 EDT 2006 i686 i686 i386 GNU/Linux
[root@localhost boot]# pwd

please let me know if any other Information is required.


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
Unable to shutdown, reboot, halt, init 6, init 0 procfs Linux - Newbie 6 07-23-2012 03:58 AM
[SOLVED] glibc included inside initramfs causes reboot carlatpg Linux - Server 2 08-09-2010 01:49 PM
kernal panic no init found try passing init option to kernel m2azer Linux - General 3 11-08-2007 02:51 PM
Kernal Panic: No init found. Try passing init= option to kernel raees Linux - General 12 03-19-2004 12:10 AM
error "Kernel panic: No init found. Try passing init= option Anauj0101 Linux - Newbie 3 05-06-2003 11:18 PM > Forums > Linux Forums > Linux - Software > Linux - Kernel

All times are GMT -5. The time now is 10:57 AM.

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