Limine Bare Bones: Difference between revisions
Jump to navigation
Jump to search
[unchecked revision] | [unchecked revision] |
Content deleted Content added
mNo edit summary |
Change hdd creation instructions to allow for creation without sudo |
||
Line 409:
====Creating a hard disk/USB drive image====
In this example, we'll create a [[GPT]] partition table using '''
This example is more involved and is made up of more steps than creating an ISO image.
Line 416:
<source lang="bash">
# Create an empty zeroed
dd if=/dev/zero bs=1M count=0 seek=64 of=image.hdd
# Create a GPT partition table.
# Download the latest Limine binary release.
Line 435 ⟶ 431:
./limine/limine bios-install image.hdd
#
# Make /EFI and /EFI/BOOT an MSDOS subdirectory.
# Copy the relevant files over.▼
sudo cp -v myos.elf limine.cfg limine/limine-bios.sys img_mount/▼
sudo cp -v limine/BOOTX64.EFI img_mount/EFI/BOOT/▼
sudo cp -v limine/BOOTIA32.EFI img_mount/EFI/BOOT/▼
</source>
|