kenel panic - not sysching
I installed a new kernel 3.0.22 on ubuntu server 11.04 32 bit.
when I select the kenel from boot loader it stops when Code:
loading initial ramdisk... now it says that Code:
kernel panic - not synching: attempts to kill init so! what's the problem? |
Quote:
To find what UUID is for /dev/sda1/ open a konsole, navigate to : /dev/disk/by-UUID/ You should see something like this with a ls command: Quote:
|
new kernel comile, root file system fails to mount
3 Attachment(s)
well, thanks for the reply. I checked /dev/disk/by-uuid, you know, ../../dev/sda1 is the only device in this directory.
you know, my guess is that i probably don't select some particular modules required to load the root filesystem. Because I tested the new kernel on 32 bit, 64 bit and even another distribution of linux, and I have the same problem everywhere. Let's be more accurate. when I choose my customized kernel, first it said : Code:
Booting a command list it output some other things, I got a shot of the screen which is attached. I would thank if you help me fix the problem. the attached file is mykernel .config customized with make menuconfig more info: Code:
processor : 0 |
This is the UUID for sdb1 on my system. -->f7cefa1c-32a7-41b0-ae0c-14705b2deecb
It is the ASCII string, this is what you want for sda1 on your system. |
Quote:
|
Quote:
This is Ubuntu. It uses Grub2. Grub2 documentation can be found here -->https://help.ubuntu.com/community/Grub2 |
Quote:
Code:
root@saman-HP-ProBook-4530s:/dev/disk/by-uuid# df -h Code:
lrwxrwxrwx 1 root root 10 2012-03-08 15:54 0b4e5053-302a-4977-a1e0-0e128a1e3b8c -> ../../sda5 Code:
ALET! root=uuid=a43xxxxxx does not exists!! Code:
# What do you think? |
Have you followed the instructions for updating Grub2 in the link I posted ( post6) above?
A direct quote from the section on updating Grub2: Quote:
|
I don't think the problem is update-grub. Whenever the kernel is installed via the debian packages, the grub is automatically updated at the end of the process:
Code:
dpkg -i linux-headersxxx.deb |
You are trying to do a custom kernel, if I understand correctly. You will have to update grub2 manually to get the correct files loaded.
|
Quote:
|
Quote:
Did you create an initrd.gz file for this custom kernel? |
All times are GMT -5. The time now is 01:24 AM. |