Kernel: Wait 10 seconds to find root device

If root device is initialized asynchronously it may not be ready when
main initialization thread is finished. This patch adds searching for
root device every 500 ms for 10 seconds.
This commit is contained in:
2024-11-21 15:45:48 +02:00
parent 658ea68d04
commit 8054f6c618
2 changed files with 97 additions and 46 deletions

View File

@@ -83,5 +83,5 @@ command_line_enter_msg:
command_line:
# 100 character command line
command_line_buffer:
.ascii "root=/dev/sda2"
.skip 100 - 28
.ascii "root=UUID=9C87D2AF-566A-4517-971A-57BA86EEA88D"
.skip 100 - (. - command_line_buffer)