Skip to content

Commit

Permalink
fix stuff for the new limine version
Browse files Browse the repository at this point in the history
  • Loading branch information
theverygaming committed Sep 30, 2024
1 parent 79fb4af commit 14e7518
Show file tree
Hide file tree
Showing 10 changed files with 29 additions and 44 deletions.
2 changes: 1 addition & 1 deletion boot/createimg-aarch64.sh
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ mkfs.fat image_extracted.img

mmd -i image_extracted.img ::boot

mcopy -i image_extracted.img rootfs-aarch64/boot/limine.cfg ::boot/
mcopy -i image_extracted.img rootfs-aarch64/boot/limine.conf ::boot/
mcopy -i image_extracted.img ../kernel/kernel.o ::boot/kernel.o
mcopy -i image_extracted.img ../roramfs.fs ::boot/initramfs.bin

Expand Down
4 changes: 2 additions & 2 deletions boot/createimg-x86_32.sh
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ else
e2cp ${limine_path}/limine.sys -G 0 -O 0 image_extracted.img:/boot/
fi

e2cp rootfs-x86_32/boot/limine.cfg -G 0 -O 0 image_extracted.img:/boot/
e2cp rootfs-x86_32/boot/limine.conf -G 0 -O 0 image_extracted.img:/boot/
e2cp ../kernel_shitshell.bin -G 0 -O 0 image_extracted.img:/boot/kernel.bin
e2cp ../roramfs.fs -G 0 -O 0 image_extracted.img:/boot/initramfs.bin

Expand Down Expand Up @@ -76,7 +76,7 @@ else
mcopy -i image_extracted.img ${limine_path}/limine.sys ::boot/
fi

mcopy -i image_extracted.img rootfs-x86_32/boot/limine.cfg ::boot/
mcopy -i image_extracted.img rootfs-x86_32/boot/limine.conf ::boot/
mcopy -i image_extracted.img ../kernel_shitshell.bin ::boot/kernel.bin
mcopy -i image_extracted.img ../roramfs.fs ::boot/initramfs.bin

Expand Down
2 changes: 1 addition & 1 deletion boot/createimg-x86_64.sh
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ mkfs.fat image_extracted.img
mmd -i image_extracted.img ::boot

mcopy -i image_extracted.img ${LIMINE_PATH}/limine-bios.sys ::boot/
mcopy -i image_extracted.img rootfs-x86_64/boot/limine.cfg ::boot/
mcopy -i image_extracted.img rootfs-x86_64/boot/limine.conf ::boot/
mcopy -i image_extracted.img ../kernel/kernel.o ::boot/kernel.o
mcopy -i image_extracted.img ../roramfs.fs ::boot/initramfs.bin

Expand Down
13 changes: 0 additions & 13 deletions boot/rootfs-aarch64/boot/limine.cfg

This file was deleted.

8 changes: 8 additions & 0 deletions boot/rootfs-aarch64/boot/limine.conf
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
default_entry: 1
timeout: 3
verbose: yes

/vix
protocol: limine
kernel_path: boot():/boot/kernel.o
module_path: boot():/boot/initramfs.bin
13 changes: 0 additions & 13 deletions boot/rootfs-x86_32/boot/limine.cfg

This file was deleted.

8 changes: 8 additions & 0 deletions boot/rootfs-x86_32/boot/limine.conf
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
default_entry: 1
timeout: 3
verbose: yes

/vix
protocol: multiboot2
kernel_path: boot():/boot/kernel.bin
module_path: boot():/boot/initramfs.bin
13 changes: 0 additions & 13 deletions boot/rootfs-x86_64/boot/limine.cfg

This file was deleted.

8 changes: 8 additions & 0 deletions boot/rootfs-x86_64/boot/limine.conf
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
default_entry: 1
timeout: 3
verbose: yes

/vix
protocol: limine
kernel_path: boot():/boot/kernel.o
module_path: boot():/boot/initramfs.bin
2 changes: 1 addition & 1 deletion nix-shells/common.nix
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@
];

limine = with pkgs; [
limine
(limine.override { enableAll = true; })
];

shellHook = ''
Expand Down

0 comments on commit 14e7518

Please sign in to comment.