I'm using the windows version of Qemuiansjack wrote: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.
Booting my OS
-
- Member
- Posts: 30
- Joined: Sat Dec 12, 2020 8:30 am
Re: Booting my OS
-
- Member
- Posts: 5568
- Joined: Mon Mar 25, 2013 7:01 pm
Re: Booting my OS
Which version of Linux are you using in WSL? Which GRUB packages did you install? If you didn't install the correct packages, grub-mkrescue will create an ISO that doesn't support legacy boot (which is what QEMU uses by default).
Re: Booting my OS
I'm very confused. Earlier you were talking about GTK, XMing and WSL. The Windows version of qemu shoudln't need any of these.
Anyway, this appears to be a problem with your qemu installation, not with the BareBones tutorial. This isn't a general PC support site, so you might need to look elsewhere to solve your problem. Perhaps there are qemu forums that can help. Try first to get qemu working with a known good Linux Live CD and then take it from there.
Anyway, this appears to be a problem with your qemu installation, not with the BareBones tutorial. This isn't a general PC support site, so you might need to look elsewhere to solve your problem. Perhaps there are qemu forums that can help. Try first to get qemu working with a known good Linux Live CD and then take it from there.
-
- Member
- Posts: 30
- Joined: Sat Dec 12, 2020 8:30 am
Re: Booting my OS
Well I tried with both the Windows & WSL qemu, they still don't work. But this is (again) probably becasue of the ISO being corrupt, or something like that.iansjack wrote:I'm very confused. Earlier you were talking about GTK, XMing and WSL. The Windows version of qemu shoudln't need any of these.
Anyway, this appears to be a problem with your qemu installation, not with the BareBones tutorial. This isn't a general PC support site, so you might need to look elsewhere to solve your problem. Perhaps there are qemu forums that can help. Try first to get qemu working with a known good Linux Live CD and then take it from there.
-
- Member
- Posts: 797
- Joined: Fri Aug 26, 2016 1:41 pm
- Libera.chat IRC: mpetch
Re: Booting my OS
Make sure you have installed these packages:Failure to have all the prerequisites may produce an unbootable ISO image. This kind of question has been asked regarding the Barebones tutorial over on Stackoverflow https://stackoverflow.com/a/56344746/3857942
Code: Select all
sudo apt-get install grub2-common grub-pc xorriso
Last edited by MichaelPetch on Sun Dec 20, 2020 6:04 pm, edited 1 time in total.
Re: Booting my OS
I know the feeling, but I also can't believe how fast this thread is moving! On forums, I try to expect to wait days for answers because people won't all be online at the same time. It can be difficult to switch to something else while you wait, though.hausemaster wrote:I hope someone answers me soon cause I'm getting sick of waiting here with no answers, you guys wrote the page, you should know what's wrong
I was going to mention `-boot d`, but nexos beat me to it.
I really don't get this issue. I think someone once said Qemu doesn't work right on Windows, but that seems strange to me. Have you tried Bochs? (Edit: deleted something I figured out)
Last edited by eekee on Sun Dec 20, 2020 6:16 pm, edited 1 time in total.
Kaph — a modular OS intended to be easy and fun to administer and code for.
"May wisdom, fun, and the greater good shine forth in all your work." — Leo Brodie
"May wisdom, fun, and the greater good shine forth in all your work." — Leo Brodie
-
- Member
- Posts: 797
- Joined: Fri Aug 26, 2016 1:41 pm
- Libera.chat IRC: mpetch
Re: Booting my OS
I've never had problems with QEMU on Windows whether it was a native Windows build or running inside of WSL/WSL2 (in the latter I set the DISPLAY environment variable and run X-Ming server for X-Windows).
-
- Member
- Posts: 30
- Joined: Sat Dec 12, 2020 8:30 am
Re: Booting my OS
Alright, First I would love to say thanks to everyone on this thread for replying and trying to help, and I want to apologize because I may have gotten a little frustrated, but you guys still helped anyway and that's amazing.
My theory is that "vt-x" is disabled on my system, I ran into this for Vmware. I'm not sure if it affects qemu at all, but It's worth trying, I'll update you once I enable vt-x.
Again, thanks everyone.
-Hause
My theory is that "vt-x" is disabled on my system, I ran into this for Vmware. I'm not sure if it affects qemu at all, but It's worth trying, I'll update you once I enable vt-x.
Again, thanks everyone.
-Hause
-
- Member
- Posts: 797
- Joined: Fri Aug 26, 2016 1:41 pm
- Libera.chat IRC: mpetch
Re: Booting my OS
QEMU won't need VT-x for this to work. Make sure you have installed the required packages in your WSL/Ubuntu environment and then rebuild your project and ISO. A part of me thinks it is related to similar questions and an answer like this one: https://stackoverflow.com/a/56344746/3857942
-
- Member
- Posts: 30
- Joined: Sat Dec 12, 2020 8:30 am
Re: Booting my OS
We did it.
As you've noticed, I'm visibly the newcomer to Osdeving, and god dang it, we did it. I figured it out, you guys were right, and you deserve a big thank you.
-Hause
As you've noticed, I'm visibly the newcomer to Osdeving, and god dang it, we did it. I figured it out, you guys were right, and you deserve a big thank you.
-Hause
Re: Booting my OS
Yay!
Kaph — a modular OS intended to be easy and fun to administer and code for.
"May wisdom, fun, and the greater good shine forth in all your work." — Leo Brodie
"May wisdom, fun, and the greater good shine forth in all your work." — Leo Brodie
Re: Booting my OS
FYI, until I needed to get a linear framebuffer for my GUI, I used to use QEmu’s multiboot elf loading feature. That’s the only real way to do rapid development in when your kernel is little
more than a few ISRs and a memory allocator...
more than a few ISRs and a memory allocator...
CuriOS: A single address space GUI based operating system built upon a fairly pure Microkernel/Nanokernel. Download latest bootable x86 Disk Image: https://github.com/h5n1xp/CuriOS/blob/main/disk.img.zip
Discord:https://discord.gg/zn2vV2Su
Discord:https://discord.gg/zn2vV2Su