Re: [osv-dev] Booting Bare Metal

2019-12-04 Thread Pekka Enberg
On Thu, Dec 5, 2019 at 6:56 AM Waldek Kozaczuk wrote: > PS. Do you see anything printed on the console? > Nope. I think I should have serial console enabled too to print to host stdout, but I honestly didn't spend any time debugging this. - Pekka -- You received this message because you are

Re: [osv-dev] Booting Bare Metal

2019-12-04 Thread Waldek Kozaczuk
The vmlinuz.bin was added fairly recently by me to make OSv boot on hyperkit (see this commit - https://github.com/cloudius-systems/osv/commit/1e460f5985c54496795f5aebea413881bc43ebd3). I am afraid that it might not be fully compliant per Linux boot protocol -

Re: [osv-dev] Booting Bare Metal

2019-12-03 Thread Pekka Enberg
On Tue, Dec 3, 2019 at 5:31 PM Pekka Enberg wrote: > Hi Matthew, > > On Tue, Dec 3, 2019 at 2:42 PM Matthew Weekley > wrote: > >> Hello, >> >> Sorry, I should’ve been more specific! That is what I am doing. Would it >> be more help if I gave you the script I am running and my grub.cfg...When I

Re: [osv-dev] Booting Bare Metal

2019-12-03 Thread Pekka Enberg
Hi Matthew, On Tue, Dec 3, 2019 at 2:42 PM Matthew Weekley wrote: > Hello, > > Sorry, I should’ve been more specific! That is what I am doing. Would it > be more help if I gave you the script I am running and my grub.cfg...When I > reboot my system and pick that partition in BIOS, then it

Re: [osv-dev] Booting Bare Metal

2019-12-03 Thread Matthew Weekley
Hello, Sorry, I should’ve been more specific! That is what I am doing. Would it be more help if I gave you the script I am running and my grub.cfg...When I reboot my system and pick that partition in BIOS, then it kernel panics. I’ve been trying to get it to work for some time now but I am

Re: [osv-dev] Booting Bare Metal

2019-12-03 Thread Geraldo Netto
Hello! I might be saying some non sense But maybe we don't have all the bare minimum drivers to boot it up from bare metal Maybe one strategy would be to DD the image to a disk and try to boot from it before trying grub configuration? Keep Rocking, Geraldo Netto Em ter, 3 de dez de 2019

Re: [osv-dev] Booting Bare Metal

2019-12-03 Thread Matthew Weekley
After further experimentation I still haven’t had any luck. When trying to boot it via USB, it appears I’m going into a kernel panic... I can not tell if I am missing parameters in my grub.cfg or not... Does anyone have any thoughts about what could be causing that? What I am doing is making

Re: [osv-dev] Booting Bare Metal

2019-11-26 Thread Matthew Weekley
My current grub.cfg: menuentry “OSv”{ linux /boot/service/release.x64/vmlinuz.bin boot } When I go to boot from within grub, I get a critical error :( Any thoughts why?? > On Nov 26, 2019, at 10:06 AM, Matthew Weekley wrote: > >  > Corrected that but that lead to a critical error when

Re: [osv-dev] Booting Bare Metal

2019-11-26 Thread Matthew Weekley
Corrected that but that lead to a critical error when trying to boot it. Do I need to specify any further files below the vmlinuz file? > On Nov 26, 2019, at 9:56 AM, Pekka Enberg wrote: > >  >> On Tue, Nov 26, 2019 at 4:50 PM Matthew Weekley >> wrote: > >> My current grub is >> >>

Re: [osv-dev] Booting Bare Metal

2019-11-26 Thread Pekka Enberg
On Tue, Nov 26, 2019 at 4:50 PM Matthew Weekley wrote: > My current grub is > > menuentry “OSv” { > multiboot /boots/service/release.x64/vmlinuz.bin > ^^^ this needs to "linux", instead of "multiboot". > boot > } > > This returns “no multiboot header found. You need to load the kernel

Re: [osv-dev] Booting Bare Metal

2019-11-26 Thread Matthew Weekley
My current grub is menuentry “OSv” { multiboot /boots/service/release.x64/vmlinuz.bin boot } This returns “no multiboot header found. You need to load the kernel first” Also, I don’t need any networking capabilities. Just trying to run a simple program and show it can boot bare metal :)

Re: [osv-dev] Booting Bare Metal

2019-11-26 Thread Nadav Har'El
On Tue, Nov 26, 2019 at 2:51 AM Matthew Weekley wrote: > I am looking to boot the kernel I generated from the build script. > > How would one recommend doing so using grub? I have noticed that OSv > doesn't support multiboot, or so it seems to me. I am not a grub expert by > any means so that's

Re: [osv-dev] Booting Bare Metal

2019-11-26 Thread Pekka Enberg
On Tue, Nov 26, 2019 at 4:14 PM wrote: > I've never used vmlinuz to boot, but I see files that pertain to vmlinuz. > Any suggestions for how to boot bare metal using vmlinuz? Currently looking > for solutions now. Thanks! > Use GRUB, for example. See the previous links to "grub-mkrescue" how to

Re: [osv-dev] Booting Bare Metal

2019-11-26 Thread Matthew Weekley
I’ve never used vmlinuz to boot. Any suggestions?? Currently looking but maybe you can provide a faster solution than I’ll be able to research. Thanks! > On Nov 26, 2019, at 8:51 AM, Waldek Kozaczuk wrote: > > Pekka, > > Thanks for finding this. From what I remember I found multiboot not

Re: [osv-dev] Booting Bare Metal

2019-11-26 Thread tweekley5
I've never used vmlinuz to boot, but I see files that pertain to vmlinuz. Any suggestions for how to boot bare metal using vmlinuz? Currently looking for solutions now. Thanks! On Tuesday, November 26, 2019 at 8:50:59 AM UTC-5, Waldek Kozaczuk wrote: > > Pekka, > > Thanks for finding this. From

Re: [osv-dev] Booting Bare Metal

2019-11-26 Thread Waldek Kozaczuk
Pekka, Thanks for finding this. From what I remember I found multiboot not that widely supported comparing to vmlinuz. Please note that OSv vmlinuz is not compressed so we simply wrap loader.elf I really need to revise the boot wikis Sent from my iPhone > On Nov 26, 2019, at 08:46, Pekka

Re: [osv-dev] Booting Bare Metal

2019-11-26 Thread Pekka Enberg
On Tue, Nov 26, 2019 at 3:30 PM wrote: > I just looked and I do not have any of those files anywhere on my system > (did the find command). > Aah, my tree was not up-to-date. Looks like Waldek removed Multiboot support: commit 2a34f9f2acb582b8351c3ca7cac0ac2ad18dfe2a Author: Waldemar Kozaczuk

Re: [osv-dev] Booting Bare Metal

2019-11-26 Thread tweekley5
I just looked and I do not have any of those files anywhere on my system (did the find command). On Tuesday, November 26, 2019 at 1:30:26 AM UTC-5, Pekka Enberg wrote: > > Hi Matthew, > > On Tue, Nov 26, 2019 at 2:51 AM Matthew Weekley > wrote: > >> How would one recommend doing so using grub?

[osv-dev] Booting Bare Metal

2019-11-25 Thread Matthew Weekley
I am looking to boot the kernel I generated from the build script. How would one recommend doing so using grub? I have noticed that OSv doesn't support multiboot, or so it seems to me. I am not a grub expert by any means so that's why I am asking for some help. I am doing a school research