Go to advanced search

by arglebargle
Thu Jun 08, 2017 7:57 pm
Forum: Advanced users
Topic: Booting rootfs via "root=LABEL=" or "root=UUID=" (buildroot)
Replies: 11
Views: 3561

Re: Booting rootfs via "root=LABEL=" or "root=UUID=" (buildr

I don't have enough experience with buildroot to be specific, sorry. The documentation indicates that buildroot can build the initramfs but I don't know if it uses initramfs-tools from the target distribution or from the host. If using the target distro's copy just patch the initramfs-tools/scripts/...
by arglebargle
Wed Jun 07, 2017 10:19 pm
Forum: Advanced users
Topic: Booting rootfs via "root=LABEL=" or "root=UUID=" (buildroot)
Replies: 11
Views: 3561

Re: Booting rootfs via "root=LABEL=" or "root=UUID=" (buildr

Any idea what would need to be done to boot using PARTUUID and an initrd? Generally, udev is built in into initrd, and is responsible for creating /dev/disk/... symlinks. Will need to play with it. I suggest to do some digging by unpacking generated initrd and look at udev rules. When booting w/o i...
by arglebargle
Wed Jun 07, 2017 8:09 pm
Forum: Advanced users
Topic: Booting rootfs via "root=LABEL=" or "root=UUID=" (buildroot)
Replies: 11
Views: 3561

Re: Booting rootfs via "root=LABEL=" or "root=UUID=" (buildr

[quote="arglebargleAh, you're right, I didn't catch that in my testing. Here's a fun one, using an initrd without switching from root=PARTUUID= to root=UUID= will cause boot to dump you into busybox. Correct. Having busybox is a good sign, that means you have kernel&initrd loaded successfully. I gu...
by arglebargle
Wed Jun 07, 2017 6:24 pm
Forum: Advanced users
Topic: Booting rootfs via "root=LABEL=" or "root=UUID=" (buildroot)
Replies: 11
Views: 3561

Re: Booting rootfs via "root=LABEL=" or "root=UUID=" (buildr

UUID= is NOT implemented in the kernel. It IS possible to boot with UUID by adding initramfs. 1. # mkinitramfs -o /boot/initrd.img-kernel 2. add to the config.txt file: initramfs initrd.img-kernel followkernel reboot, enjoy. Don't forget to rebuild your initrd after every kernel update or module in...
by arglebargle
Sun Jun 04, 2017 9:51 pm
Forum: Advanced users
Topic: Booting rootfs via "root=LABEL=" or "root=UUID=" (buildroot)
Replies: 11
Views: 3561

Re: Booting rootfs via "root=LABEL=" or "root=UUID=" (buildr

I don't think `root=LABEL=` is actually implemented but I can tell you a little bit about PARTUUID and UUID. Both root=UUID= and root=PARTUUID= work without issue with the current bootloader and kernel (4.9.24-v7+) as long as you aren't loading an initrd image . Using an initrd.img causes root=PART...
by arglebargle
Sun May 28, 2017 2:41 am
Forum: Advanced users
Topic: [Solved] Issues with root=PARTUUID= in cmdline.txt at boot
Replies: 6
Views: 9588

Re: [Solved] Issues with root=PARTUUID= in cmdline.txt at bo

PARTUUID != UUID The new Jessie images as of April 2017 finally mount by PARTUUID, which is 32+8 bits, instead of UUID,a which is 128 bits. See also https://www.raspberrypi.org/forums/viewtopic.php?p=1161764#p1161764 They work great, especially when you clone images from mSD to USB memory thumb dri...
by arglebargle
Thu May 25, 2017 9:30 pm
Forum: Advanced users
Topic: [Solved] Issues with root=PARTUUID= in cmdline.txt at boot
Replies: 6
Views: 9588

Re: Issues with root=PARTUUID= in cmdline.txt at boot

Yeah, I just tested that again this morning and I'm up and running using root=UUID= syntax. Thanks! I could have sworn I tested that before I switched to PARTUUID but I must've made some other mistake then. There's some confusing information out there about this as older 3.x kernels refused to boot ...
by arglebargle
Wed May 24, 2017 7:12 pm
Forum: Advanced users
Topic: [Solved] Issues with root=PARTUUID= in cmdline.txt at boot
Replies: 6
Views: 9588

[Solved] Issues with root=PARTUUID= in cmdline.txt at boot

Edit: Using an initrd caused this confusion. Mounting root with root=PARTUUID= works without an initrd, with an initrd root=PARTUUID= fails and root=UUID= works. Hey all, I'm having some trouble understanding which drive identifiers are available at different stages of system boot. I'm running a Pi ...

Go to advanced search