Results 1 to 7 of 7
What I did : Moved /sbin/init to /usr/local/sbin/init intentionally , I know how to fix this using LILO but not with grub. In LILO one can simply pass the value ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
- 06-16-2009 #1
[SOLVED] Kernel Panic !!!!
What I did : Moved /sbin/init to /usr/local/sbin/init intentionally , I know how to fix this using LILO but not with grub. In LILO one can simply pass the value of init=/usr/local/sbin/init but how to circumvent it through Grub. I land somewhere in init shell
Only if I could understand the man pages
Registered Linux user #492640
OS: RHEL4,5 ,RH 9,Ubuntu
- 06-17-2009 #2Linux Guru
- Join Date
- Apr 2009
- Location
- I can be found either 40 miles west of Chicago, or in a galaxy far, far away.
- Posts
- 10,152
I have to ask, why did you do that? I presume you had what seems to be a good reason, but enquiring minds, and all that...
Sometimes, real fast is almost as good as real time.
Just remember, Semper Gumbi - always be flexible!
- 06-17-2009 #3
i did it but now i m stuck with grub i dont know how to handle it using grub , so thought you people might help
Only if I could understand the man pages
Registered Linux user #492640
OS: RHEL4,5 ,RH 9,Ubuntu
- 06-17-2009 #4Linux Guru
- Join Date
- Apr 2009
- Location
- I can be found either 40 miles west of Chicago, or in a galaxy far, far away.
- Posts
- 10,152
Boot your liveCD or recovery disc. Login as root, mount the hard drive, and move the file back. Example (after logging in as root):
Once you have moved init back to its proper place, you can reboot the system and be back in business.Code:mkdir /mnt /mnt/hd1 # note that on most current systems, the root file system is on /dev/sda3 # and /boot is /dev/sda1, swap is /dev/sda2. If your / and /usr directories # are on another device, substitute that for /dev/sda3 below. mount /dev/sda3 /mnt/hd1 cd /mnt/hd1/usr/local/sbin mv init /mnt/hd1/sbin
Sometimes, real fast is almost as good as real time.
Just remember, Semper Gumbi - always be flexible!
- 06-17-2009 #5
hey thanks but I found another better solution
When you boot form grub go in edit mode and pass the kernel the new place of init . I did some R&D and got it working.Only if I could understand the man pages
Registered Linux user #492640
OS: RHEL4,5 ,RH 9,Ubuntu
- 06-17-2009 #6
useful link
Here is a useful link 10 boot time parameters you should know about the Linux kernel
Only if I could understand the man pages
Registered Linux user #492640
OS: RHEL4,5 ,RH 9,Ubuntu
- 06-17-2009 #7Linux Guru
- Join Date
- Apr 2009
- Location
- I can be found either 40 miles west of Chicago, or in a galaxy far, far away.
- Posts
- 10,152
Thanks. I saved that to my Linux documentation folder. Useful stuff that we often forget about.
Sometimes, real fast is almost as good as real time.
Just remember, Semper Gumbi - always be flexible!



