diff options
author | Liav A <liavalb@gmail.com> | 2020-12-26 16:53:30 +0200 |
---|---|---|
committer | Andreas Kling <kling@serenityos.org> | 2020-12-27 23:07:44 +0100 |
commit | 72b1998f0d228f63cd5b095b282ee534f285bcb2 (patch) | |
tree | 742ae0ac006f1309ea3ba12c76b09b598e139dda /Meta/grub-ebr.cfg | |
parent | bc18712adf8b683d3f8a319df3fd1ea5cf03b517 (diff) | |
download | serenity-72b1998f0d228f63cd5b095b282ee534f285bcb2.zip |
Kernel: Introduce a new partitioning subsystem
The partitioning code was very outdated, and required a full refactor.
The new subsystem removes duplicated code and uses more AK containers.
The most important change is that all implementations of the
PartitionTable class conform to one interface, which made it possible
to remove unnecessary code in the EBRPartitionTable class.
Finding partitions is now done in the StorageManagement singleton,
instead of doing so in init.cpp.
Also, now we don't try to find partitions on demand - the kernel will
try to detect if a StorageDevice is partitioned, and if so, will check
what is the partition table, which could be MBR, GUID or EBR.
Then, it will create DiskPartitionMetadata object for each partition
that is available in the partition table. This object will be used
by the partition enumeration code to create a DiskPartition with the
correct minor number.
Diffstat (limited to 'Meta/grub-ebr.cfg')
-rw-r--r-- | Meta/grub-ebr.cfg | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/Meta/grub-ebr.cfg b/Meta/grub-ebr.cfg index f865bb9162..ef83b24ba5 100644 --- a/Meta/grub-ebr.cfg +++ b/Meta/grub-ebr.cfg @@ -2,21 +2,21 @@ timeout=1 menuentry 'SerenityOS (normal)' { root=hd0,5 - multiboot /boot/Kernel root=/dev/hda5 + multiboot /boot/Kernel root=/dev/hda4 } menuentry 'SerenityOS (text mode)' { root=hd0,5 - multiboot /boot/Kernel boot_mode=text root=/dev/hda5 + multiboot /boot/Kernel boot_mode=text root=/dev/hda4 } menuentry 'SerenityOS (No ACPI)' { root=hd0,5 - multiboot /boot/Kernel root=/dev/hda5 acpi=off + multiboot /boot/Kernel root=/dev/hda4 acpi=off } menuentry 'SerenityOS (with serial debug)' { root=hd0,5 - multiboot /boot/Kernel serial_debug root=/dev/hda5 + multiboot /boot/Kernel serial_debug root=/dev/hda4 } |