View previous topic :: View next topic |
Author |
Message |
jgaffney Apprentice
![Apprentice Apprentice](/images/ranks/rank_rect_2.gif)
Joined: 22 Dec 2004 Posts: 165
|
Posted: Sat Sep 10, 2005 2:02 pm Post subject: No init found |
|
|
OK, can't seem to find an answer in the existing posts.
I am suddenly recieving this error when booting
Code: |
Kernel panic - not syncing: No init found. Try passing init= option to kernel
|
My system has been working fine for months so my config should be correct. No changes were made, it just started to happen so I'm thinkg I may have some corruption on my disk but I'm not sure how I would go about trying to repair. Any suggestions would be greatly apreciated.
Edit: The root partition is mounted. Just before the Kernel panic I also recieve this
Code: |
Trying to move old root to /initrd ... failed
|
I aslo had an older kernel available, tried to boot to that one, same results. |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
NeddySeagoon Administrator
![Administrator Administrator](/images/ranks/rank-admin.gif)
![](images/avatars/3946266373f47d606a2db3.jpg)
Joined: 05 Jul 2003 Posts: 54834 Location: 56N 3W
|
Posted: Sat Sep 10, 2005 2:27 pm Post subject: |
|
|
jgaffney,
Boot with the liveCD and mount your root partion at /mnt/gentoo with the o -ro option. That will stop things getting worse if you have a drive problem.
The implication from the message is the the root filesysterm was mounted and the kernel can read it but a lest one file is missing. Can you see anything obvious by looking round with the ls command.
Its worth running fsck however a few warings are in order.
1. Do not let it attempt any repairs at all on the first run - it can so more harm than good.
2. How good it is varies with filesystem.
3. You must not run fsck on a mounted filesystem
You will need to read the man page for your particular fsck (its just a front end that calls the right checker) to see how to make it run without doing any repairs. _________________ Regards,
NeddySeagoon
Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail. |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
jgaffney Apprentice
![Apprentice Apprentice](/images/ranks/rank_rect_2.gif)
Joined: 22 Dec 2004 Posts: 165
|
Posted: Sat Sep 10, 2005 4:19 pm Post subject: |
|
|
ran fsck, all seems to be clean.
It looks like the needed files are in place to boot. Hmmmm....
Anything else I could check? |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
|