Skip to content

Stop probing for UUID 00000000-0000-0000-0000-000000000001 in GRUB#82

Merged
margamanterola merged 1 commit intomainfrom
marga-kinvolk/uuid-disk
Aug 4, 2020
Merged

Stop probing for UUID 00000000-0000-0000-0000-000000000001 in GRUB#82
margamanterola merged 1 commit intomainfrom
marga-kinvolk/uuid-disk

Conversation

@margamanterola
Copy link
Copy Markdown
Contributor

Stop probing for UUID 0x01 in GRUB

Our GRUB configuration is currently probing all devices in search of a device with UUID 00000000-0000-0000-0000-000000000001. This is causing trouble on Packet c3.medium.x86 and m2.xlarge.x86 machines, where this probing leads to the machine hanging on GRUB for almost half an hour and then not mounting the disks correctly. See flatcar/Flatcar#155 for more information.

This code removes the probing from GRUB. An equivalent check will be added to bootengine to be performed during initramfs.

How to use / Testing done

Building an image with this change leads to GRUB booting successfully on a c3.medium.x86 machine. Without the corresponding bootengine change, the disk UUID stays at 0x01. With the corresponding change, it gets randomized after initramfs is done running.

WIP notice: Due to issues with current flatcar-master-alpha, I wasn't yet able to fully test this change on all platforms, I only manually tested it on Packet. Once alpha is fixed, I'll test again on all platforms.

@margamanterola
Copy link
Copy Markdown
Contributor Author

This has now been fully tested as mentioned in flatcar/bootengine#17

@margamanterola margamanterola force-pushed the marga-kinvolk/uuid-disk branch from 9fd35d6 to c832af0 Compare August 4, 2020 09:45
@margamanterola margamanterola changed the title WIP: Stop probing for UUID 00000000-0000-0000-0000-000000000001 in GRUB Stop probing for UUID 00000000-0000-0000-0000-000000000001 in GRUB Aug 4, 2020
@margamanterola margamanterola merged commit 34f7e42 into main Aug 4, 2020
@margamanterola margamanterola deleted the marga-kinvolk/uuid-disk branch August 4, 2020 09:46
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

Successfully merging this pull request may close these issues.

1 participant