hzcx998 / XBook

This is the new kernel of Book OS, I hope it is a new start.
GNU General Public License v3.0
84 stars 18 forks source link

Compile on Ubuntu #9

Open marcpiulachs opened 4 years ago

marcpiulachs commented 4 years ago

I'm getting this error when trying to run on linux.

marc@marc-Aspire-ES1-531:~/XBook$ make qemu > error.txt 1+0 records in 1+0 records out 512 bytes copied, 0,00131748 s, 389 kB/s 8+0 records in 8+0 records out 4096 bytes (4,1 kB, 4,0 KiB) copied, 0,000808064 s, 5,1 MB/s 604+1 records in 604+1 records out 309408 bytes (309 kB, 302 KiB) copied, 0,00900299 s, 34,4 MB/s WARNING: Image format was not specified for '../developments/image/a.img' and probing guessed raw. Automatically detecting the format is dangerous for raw images, write operations on block 0 will be restricted. Specify the 'raw' format explicitly to remove the restrictions. qemu-system-i386: -hda ../developments/image/c.img: Could not open '../developments/image/c.img': No such file or directory make[1]: [makefile:193: qemu] Error 1 make: [Makefile:10: qemu] Error 2 marc@marc-Aspire-ES1-531:~/XBook$

The os compiled just fine with make

hzcx998 commented 4 years ago

I know your problem. I didn't put the image files on github. You need image files, so you can get them in release version with 0.7.1, download zip file, or you can get them on www.book-os.org, in download page, download v0.7.1. The image files are on /developments/image, copy image dir to you program with right path. Your problem will be resolve.

---Original--- From: "Marc Piulachs"<notifications@github.com> Date: Tue, Mar 24, 2020 22:08 PM To: "hzcx998/XBook"<XBook@noreply.github.com>; Cc: "Subscribed"<subscribed@noreply.github.com>; Subject: [hzcx998/XBook] Compile on Ubuntu (#9)

I'm getting this error when trying to run on linux.

marc@marc-Aspire-ES1-531:/XBook$ make qemu > error.txt 1+0 records in 1+0 records out 512 bytes copied, 0,00131748 s, 389 kB/s 8+0 records in 8+0 records out 4096 bytes (4,1 kB, 4,0 KiB) copied, 0,000808064 s, 5,1 MB/s 604+1 records in 604+1 records out 309408 bytes (309 kB, 302 KiB) copied, 0,00900299 s, 34,4 MB/s WARNING: Image format was not specified for '../developments/image/a.img' and probing guessed raw. Automatically detecting the format is dangerous for raw images, write operations on block 0 will be restricted. Specify the 'raw' format explicitly to remove the restrictions. qemu-system-i386: -hda ../developments/image/c.img: Could not open '../developments/image/c.img': No such file or directory make[1]: [makefile:193: qemu] Error 1 make: [Makefile:10: qemu] Error 2 marc@marc-Aspire-ES1-531:/XBook$

The os compiled just fine with make

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub, or unsubscribe.