Skip to content

Does cmdline.txt supports root=UUID= ? #209

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
retux opened this issue Sep 3, 2013 · 4 comments
Closed

Does cmdline.txt supports root=UUID= ? #209

retux opened this issue Sep 3, 2013 · 4 comments

Comments

@retux
Copy link

retux commented Sep 3, 2013

I'm trying to use root fs in an usb stick. Using root=/dev/sda1 in cmdline.txt everything just works.
But I'd like to use UUID: root=UUID=... that didn't work for me.

UUID identification should be supported by firmware or is this a kernel issue?

Thanks

@cleverca22
Copy link

i believe that's purely a kernel issue

https://github.com/raspberrypi/linux/blob/rpi-3.6.y/init/do_mounts.c#L97

@retux
Copy link
Author

retux commented Sep 27, 2013

You were completely right. I've build the kernel including these config options and I been able to use initrd:

CONFIG_BLK_DEV_INITRD=y
CONFIG_INITRAMFS_SOURCE=""

It would be very nice if stock kernel for raspbian includes these feature. How could we ask for that? Cos' it's just an option and is very useful.
Thanks!

@lurch
Copy link
Contributor

lurch commented Nov 5, 2013

Just to keep the threads connected: raspberrypi/linux#392

@popcornmix
Copy link
Contributor

Latest rpi-update firmware:

$ uname -a
Linux raspberrypi 3.10.18+ #577 Tue Nov 5 12:33:36 GMT 2013 armv6l GNU/Linux
$ zcat /proc/config.gz |grep INIT
CONFIG_BLK_DEV_INITRD=y
CONFIG_INITRAMFS_SOURCE=""

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants