On Jan 13, 2015, at 10:37 PM, ChenQi 
<[email protected]<mailto:[email protected]>> wrote:

-    linux /vmlinuz root=$rootfs $rootwait rw $5 $3 $4 quiet
+    linux /vmlinuz root=PARTUUID=$rootfs_uuid $rootwait rw $5 $3 $4 quiet
I thought PARTUUID is for GPT only.

Perhaps so but it does seem to be there on my VirtualBox systems.  My Ubuntu 
host uses "root=UUID=blah" but that was't working for me at some point.  I'll 
dig back into it and see what I can find.

Drew


root=UUID=xxx has to be resolved by an initramfs because kernel itself cannot 
handle it.

There's a patchset I sent half a year ago trying to solve this problem.
http://cgit.openembedded.org/cgit.cgi/openembedded-core-contrib/log/?h=ChenQi/initramfs-uuid
This offers one solution, maybe an ugly one.

Best Regards,
Chen Qi

Hmm.  It seems that supporting static device paths with init-install.sh is a 
bit more tricky as PARTUUID is not supported and to use UUID requires a fairly 
heavyweight change to support initramfs.

For EFI though it seems that PARTUUID is usable.  Does it make sense to submit 
the patch to init-install-efi.sh separately?

Drew
-- 
_______________________________________________
Openembedded-core mailing list
[email protected]
http://lists.openembedded.org/mailman/listinfo/openembedded-core

Reply via email to