hypriot / image-builder-odroid-c1

Build SD card image for ODROID C1 and C1+
http://blog.hypriot.com/post/how-to-get-docker-working-on-your-favourite-arm-board-with-hypriotos/
MIT License
15 stars 6 forks source link

Set partition labels #6

Open djmaze opened 8 years ago

djmaze commented 8 years ago

We should set a label for each partition. This makes it easy to e.g. find the "root" partition regardless of the partition layout (which might differ between devices or setups).

umiddelb commented 8 years ago

Partition labels are a good idea in general, but you should prevent duplicates. Otherwise tools like df will get confused.

The ODROID boot.ini uses UUIDs to identify the root filesystem. Either you change the UUID in boot.ini or you pass the UUID to the mkfs command. Using UUIDs instead of device nodes is really helpful since the device numbering may vary between different kernels (3.10 vs. mainline).