mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-07-31 13:19:05 +00:00
Kernel: Allow to boot from a partition with partition UUID
Instead of specifying the boot argument to be root=/dev/hdXY, now one can write root=PARTUUID= with the right UUID, and if the partition is found, the kernel will boot from it. This feature is mainly used with GUID partitions, and is considered to be the most reliable way for the kernel to identify partitions.
This commit is contained in:
parent
d22d29a29a
commit
9dc8bea3e7
Notes:
sideshowbarker
2024-07-19 00:15:15 +09:00
Author: https://github.com/supercomputer7
Commit: 9dc8bea3e7
Pull-request: https://github.com/SerenityOS/serenity/pull/4686
Reviewed-by: https://github.com/awesomekling
Reviewed-by: https://github.com/linusg
9 changed files with 162 additions and 62 deletions
|
@ -46,7 +46,7 @@ public:
|
|||
virtual bool is_valid() const override { return m_valid; };
|
||||
|
||||
private:
|
||||
bool is_unused_entry(ByteBuffer) const;
|
||||
bool is_unused_entry(Array<u8, 16>) const;
|
||||
const GUIDPartitionHeader& header() const;
|
||||
bool initialize();
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue