Kernel: root command line option can be specified as an UUID

Format is the same as in linux
root=UUID=XXXXXXXX-XXXX-XXXX-XXXX-XXXXXXXXXXXX

This makes it easier to boot when computer has multiple disks installed
This commit is contained in:
2024-08-14 13:21:33 +03:00
parent fd018b32d0
commit 957df08932
3 changed files with 56 additions and 6 deletions

View File

@@ -18,6 +18,7 @@ namespace Kernel
, m_device(device)
, m_type(type)
, m_guid(guid)
, m_guid_string(MUST(guid.to_string()))
, m_first_block(first_block)
, m_last_block(last_block)
, m_attributes(attr)