-
Notifications
You must be signed in to change notification settings - Fork 182
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Can't compile on Ubuntu Mate 21 #44
Comments
and with sudo: |
Hi Moldytzu Unfortunately, I have not touched this project in several years and I do not use Ubuntu, so I won't be able to help you debug this issue. |
Hello @Moldytzu,
Possibly
should now probably be
I am not sure about the
Let me know if the above works for you. Thank you! |
gives me an error saying: |
@Aayushi-R This file should be included in a submodule, have you checked out all the submodules? |
@wichtounet Hi! I am making this OS for a class and I am having a problem. The error message I get is
Is there anything anyone knows about this? |
@CMK-student I have not run this OS in years, so recent tooling probably changed enough to make it not work. The first warning can likely be ignored and can be fixed with setting the raw format when running Qemu. For the second, it may be that the qemu-bridge-helper does not exit on your computer. You can try to do |
mkdir -p mnt/fake/
dd if=bootloader/stage1.bin of=hdd.img conv=notrunc
0+1 records in
0+1 records out
446 bytes copied, 0,000152826 s, 2,9 MB/s
dd if=bootloader/stage2.bin of=hdd.img seek=1 conv=notrunc
3+0 records in
3+0 records out
1536 bytes (1,5 kB, 1,5 KiB) copied, 0,000147727 s, 10,4 MB/s
loopdev="
/sbin/losetup -f
" &&sudo /sbin/losetup -o1048576 "$loopdev" hdd.img &&
sudo mkdosfs -v -F32 "$loopdev" &&
sudo /bin/mount -t vfat "$loopdev" mnt/fake/ &&
sudo mkdir mnt/fake/bin/ &&
sudo mkdir mnt/fake/sys/ &&
sudo mkdir mnt/fake/dev/ &&
sudo mkdir mnt/fake/proc/ &&
sudo /bin/cp init/debug/init.bin mnt/fake/ &&
sudo /bin/cp kernel/debug/kernel.bin mnt/fake/ &&
sudo /bin/cp programs/dist/* mnt/fake/bin/ &&
sleep 0.1 &&
sudo /bin/umount mnt/fake/ &&
sudo /sbin/losetup -d "$loopdev"
losetup: cannot find an unused loop device: Permission denied
make: *** [Makefile:33: thor.flp] Error 1
The text was updated successfully, but these errors were encountered: