Booting my OS
Re: Booting my OS
You never stated that you made a cross compiler. People here can't help you unless politely express what you are saying. When I followed the tutorial a long time ago, I didn't make a cross compiler. So I was just checking.
-
- Member
- Posts: 30
- Joined: Sat Dec 12, 2020 8:30 am
Re: Booting my OS
Fine, I'll be polite, but it's not fixing my problem, how do I run my OS?
Re: Booting my OS
You are an impatient, incompetent, bad guy.hausemaster wrote:I hope someone answers me soon cause I'm getting sick of waiting here with no answers
With your attitude you won't get help. At least not from me.
Good luck
Peter
-
- Member
- Posts: 30
- Joined: Sat Dec 12, 2020 8:30 am
Re: Booting my OS
I'll be fucking patient and polite if that's what it takes, but please, someone answer my question? How do I start up my OS? This is one of the most fun programming things I've ever done, but please, one question is all I have and it's taking a long time to get an answer.
1. I used GCC to compile
2. I used GAS to compile assembly files
3. How do I boot my ISO in a virtual machine (preferably qemu because vmware is ****)
Thank you,
Hause(master)
1. I used GCC to compile
2. I used GAS to compile assembly files
3. How do I boot my ISO in a virtual machine (preferably qemu because vmware is ****)
Thank you,
Hause(master)
Re: Booting my OS
When I did the tutorial
worked for me.
Code: Select all
qemu-system-i386 -cdrom myos.iso
-
- Member
- Posts: 30
- Joined: Sat Dec 12, 2020 8:30 am
Re: Booting my OS
Sorry, but this didn't work for me? I use WSL so it comes out with a few errors, if there's a way to do this on windows that would help alot.jamesread wrote:When I did the tutorial
worked for me.Code: Select all
qemu-system-i386 -cdrom myos.iso
Re: Booting my OS
You can install X Window, GTK, and a desktop environment in WSL. It just takes a little extra work.nexos wrote:It means that WSL doesn't have gtk installed. It can't have it installed, as WSL doesn't have a desktop environment.
Re: Booting my OS
And typing the error message into Google never occurred to you? If this is a bare bones WSL installation, I would guess this means you have no X11 server installed, so QEMU cannot display its windows. Install Xming on Windows, then runhausemaster wrote:Even if I run the i386 Qemu executable, it still doesn't make a difference.
If you were wondering why I don't just use Qemu in the WSL, well I can but this shows up and it crashes
Unable to init server: Could not connect: Connection refused
gtk initialization failed
(Whatever that means)
If I wasn't motivated to do this, I'd give up
Code: Select all
export DISPLAY=:0.0
There is so much wrong in this statement. For one, GTK is installed since it is a dependency of QEMU. If it was not installed, he'd get a dynamic linking error. WSL can very much have GTK installed, and lacking a desktop environment has precisely nothing to do with GTK, which is a widget toolkit. It's like saying you can't have a FAT32 partition in the system unless there's a full DOS 6.22 install on there.nexos wrote:It means that WSL doesn't have gtk installed. It can't have it installed, as WSL doesn't have a desktop environment.
Work the problem. Don't throw stuff at a wall to see what sticks, see what is actually going wrong and fix things. No amount of recompilation will fix QEMU not starting because it cannot display its window.hausemaster wrote:I'll be fucking patient and polite if that's what it takes, but please, someone answer my question? How do I start up my OS?
Carpe diem!
Re: Booting my OS
The advice you can expect on this forum is exactly what you paid for. If you're lucky you'll get more help than that, but it's not something that you can demand, and you certainly can't demand instant answers.hausemaster wrote:I'll be fucking patient and polite if that's what it takes, but please, someone answer my question? How do I start up my OS? This is one of the most fun programming things I've ever done, but please, one question is all I have and it's taking a long time to get an answer.
(That's a general comment. In this specific case I would judge that you can expect no more help from the good folk here.)
-
- Member
- Posts: 30
- Joined: Sat Dec 12, 2020 8:30 am
Re: Booting my OS
Right, I got the Xming installed, and qemu and other graphical apps work! But it still comes up with the same errors, so now it's probably an ISO issue, there has to be something I'm missing here
Re: Booting my OS
Or you could just ask qemu to display to a VNC server and then access it from a Windows VNC client.nullplan wrote:If this is a bare bones WSL installation, I would guess this means you have no X11 server installed, so QEMU cannot display its windows. Install Xming on Windows....
Re: Booting my OS
I may be wrong, but I don't think that you can refer to "C:\" from WSL.
-
- Member
- Posts: 30
- Joined: Sat Dec 12, 2020 8:30 am
Re: Booting my OS
If you're refering to when I did ./qemu-system-i386.exe -cdrom C:\Users\hausemaster\Documents\OS\myos.isoiansjack wrote:I may be wrong, but I don't think that you can refer to "C:\" from WSL.
I did that in powershell
Re: Booting my OS
But it's (the Linux) qemu that is trying to resolve the path. Why not try putting the iso file in your working directory, or changing the working directory to the one containing the file, so that you don't need to specify a path?
Advice is free - you're not compelled to try it.
Advice is free - you're not compelled to try it.
-
- Member
- Posts: 30
- Joined: Sat Dec 12, 2020 8:30 am
Re: Booting my OS
It keeps saying "NO BOOTABLE DEVICE." then sits there