Cannot use UUID with self-compiled kernel (Hardy)

Rashkae ubuntu at tigershaunt.com
Fri Jul 25 14:57:10 UTC 2008


Mumia W. wrote:
> Rashkae wrote:
>> Mumia W. wrote:
>>> Hello. I'm having a problem with a self-compiled kernel. I can't use 
>>> UUID to specify my root partition; however, using "root=/dev/sda8" 
>>> works. When I try to boot using the UUID, I get this:
>>>
>>>  > VFS: Cannot open root device "xxxxx" or unknown-block(0,0)
>>> [...]
>> My research on the subject (via google) has revealed a shocking and sad
>> truth.  The kernel built in file system detection cannot use UUIDs.  The
>> only way for this to work as intended is to use initrd/initramfs.
>>
>>
>>
> 
> :-O
> 
> Thanks Rashkae. Can you give me the links? Are there any bugs filed?
> 
> 
> 

It's not a bug.. Being able to specify a root device by UUID is just one
of the many benefits initramfs offers.

http://newsgroups.derkeiler.com/Archive/Uk/uk.comp.os.linux/2007-03/msg00069.html

I think the direction of kernel devs is to offload as much stuff to
userspace as possible, so I doubt anyone will be interested in
integrating the UUID stuff into the kernel.




More information about the ubuntu-users mailing list