LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Kernel (https://www.linuxquestions.org/questions/linux-kernel-70/)
-   -   ALERT! /dev/disk/by-uuid/.... does not exist. Dr. opping to a shell! (https://www.linuxquestions.org/questions/linux-kernel-70/alert-dev-disk-by-uuid-does-not-exist-dr-opping-to-a-shell-852952/)

Deimon 12-28-2010 11:35 PM

ALERT! /dev/disk/by-uuid/.... does not exist. Dr. opping to a shell!
 
Hello, I am new in Linux Kernel development and I have got stuck in my fisrt kernel compilation due to an error related to root fs detection at boot.

When I try to boot my kernel I got the error in the subject:

ALERT! /dev/disk/by-uuid/blah.blah. does not exist. Dr. opping to a shell!

By looking at dmesg I see a suspecting line:

scsi_transport_spi: disagrees about version of symbol module layout

The process I have followed to build my kernel is to download the sources from kernel.org matching the kernel version installed on my running linux.

1-Copying the kernel config-2.6.31-14-generic from /boot and compiling
2-Copying initrd with copio adapting the directory names
3-Configuring grub

After the boot crash I can only see in /dev/disks a directory by-.path with an entry for pci-0000:00:07.1-scsi-1:0:0:0
But I am missing the partition device files.

I was following the Linux Kernel in a Nutshell as guide but seems a bit outdated and brief. So if you could reference a better guide would be very appreciated.

Thank you
Deimon

andrewthomas 01-05-2011 08:15 PM

https://help.ubuntu.com/community/Kernel/Compile

You should use the ubuntu sources.

If you have any questions after reading the link, feel free to ask.


All times are GMT -5. The time now is 03:59 PM.