Hi All,
While just getting started with Genode, I wanted to follow the Sculpt build process from the Sculpt-20-02.pdf in Section 5 as the objective is to create a sculpt iso.
For that, I kept the "image/iso" in the "build/x86_64/etc/build.conf" to see if that would work.
I am running everything in a freshly built Ubuntu 18.04 docker container with the Genode Toolchain installed.
Everything was going well until I tried:
make -C build/x86_64 run/sculpt KERNEL=nova BOARD=pc
in which case it gives me an error:
---------------------------------------------- root@9b145a6d1be6:~/project/genode# ./tool/create_builddir x86_64
Successfully created build directory at /root/project/genode/build/x86_64. Please adjust /root/project/genode/build/x86_64/etc/build.conf according to your needs.
root@9b145a6d1be6:~/project/genode# mc
root@9b145a6d1be6:~/project/genode# ./tool/ports/prepare_port grub2 grub2 download https://github.com/alex-ab/g2fg.git grub2 git Cloning into 'boot'... grub2 update boot grub2 generate grub2.hash
root@9b145a6d1be6:~/project/genode# make -C build/x86_64 run/sculpt KERNEL=nova BOARD=pc
make: Entering directory '/root/project/genode/build/x86_64' /bin/bash: /root/project/genode/tool/run/run: /usr/bin/expect: bad interpreter: No such file or directory Makefile:323: recipe for target 'run/sculpt' failed make: *** [run/sculpt] Error 126 make: Leaving directory '/root/project/genode/build/x86_64'
root@9b145a6d1be6:~/project/genode# ----------------------------------------------
Any ideas what I probably missed in my approach?
Cheers, Lonnie
I actually may have found it.
Need to install expect. cheers Lonnie
On Wed, Apr 8, 2020 at 2:53 PM Lonnie Cumberland lonnie@outstep.com wrote:
Hi All,
While just getting started with Genode, I wanted to follow the Sculpt build process from the Sculpt-20-02.pdf in Section 5 as the objective is to create a sculpt iso.
For that, I kept the "image/iso" in the "build/x86_64/etc/build.conf" to see if that would work.
I am running everything in a freshly built Ubuntu 18.04 docker container with the Genode Toolchain installed.
Everything was going well until I tried:
make -C build/x86_64 run/sculpt KERNEL=nova BOARD=pc
in which case it gives me an error:
root@9b145a6d1be6:~/project/genode# ./tool/create_builddir x86_64
Successfully created build directory at /root/project/genode/build/x86_64. Please adjust /root/project/genode/build/x86_64/etc/build.conf according to your needs.
root@9b145a6d1be6:~/project/genode# mc
root@9b145a6d1be6:~/project/genode# ./tool/ports/prepare_port grub2 grub2 download https://github.com/alex-ab/g2fg.git grub2 git Cloning into 'boot'... grub2 update boot grub2 generate grub2.hash
root@9b145a6d1be6:~/project/genode# make -C build/x86_64 run/sculpt KERNEL=nova BOARD=pc
make: Entering directory '/root/project/genode/build/x86_64' /bin/bash: /root/project/genode/tool/run/run: /usr/bin/expect: bad interpreter: No such file or directory Makefile:323: recipe for target 'run/sculpt' failed make: *** [run/sculpt] Error 126 make: Leaving directory '/root/project/genode/build/x86_64'
root@9b145a6d1be6:~/project/genode#
Any ideas what I probably missed in my approach?
Cheers, Lonnie
Hi All,
Well, good news and bad.
I was able to produce the sculpt.iso but it does not boot up. I tested it in Virtualbox and it gives me a blank screen.
Will try with Qemu but the iso does not boot from what I can see so far. Cheers Lonnie
On Wed, Apr 8, 2020 at 2:57 PM Lonnie Cumberland lonnie@outstep.com wrote:
I actually may have found it.
Need to install expect. cheers Lonnie
On Wed, Apr 8, 2020 at 2:53 PM Lonnie Cumberland lonnie@outstep.com wrote:
Hi All,
While just getting started with Genode, I wanted to follow the Sculpt build process from the Sculpt-20-02.pdf in Section 5 as the objective is to create a sculpt iso.
For that, I kept the "image/iso" in the "build/x86_64/etc/build.conf" to see if that would work.
I am running everything in a freshly built Ubuntu 18.04 docker container with the Genode Toolchain installed.
Everything was going well until I tried:
make -C build/x86_64 run/sculpt KERNEL=nova BOARD=pc
in which case it gives me an error:
root@9b145a6d1be6:~/project/genode# ./tool/create_builddir x86_64
Successfully created build directory at /root/project/genode/build/x86_64. Please adjust /root/project/genode/build/x86_64/etc/build.conf according to your needs.
root@9b145a6d1be6:~/project/genode# mc
root@9b145a6d1be6:~/project/genode# ./tool/ports/prepare_port grub2 grub2 download https://github.com/alex-ab/g2fg.git grub2 git Cloning into 'boot'... grub2 update boot grub2 generate grub2.hash
root@9b145a6d1be6:~/project/genode# make -C build/x86_64 run/sculpt KERNEL=nova BOARD=pc
make: Entering directory '/root/project/genode/build/x86_64' /bin/bash: /root/project/genode/tool/run/run: /usr/bin/expect: bad interpreter: No such file or directory Makefile:323: recipe for target 'run/sculpt' failed make: *** [run/sculpt] Error 126 make: Leaving directory '/root/project/genode/build/x86_64'
root@9b145a6d1be6:~/project/genode#
Any ideas what I probably missed in my approach?
Cheers, Lonnie
On 4/8/20 3:11 PM, Lonnie Cumberland wrote:
Hi All,
Well, good news and bad.
I was able to produce the sculpt.iso but it does not boot up. I tested it in Virtualbox and it gives me a blank screen.
Will try with Qemu but the iso does not boot from what I can see so far.
It works for me, but you have to be careful how you configure the VM Settings. The "Download" page on genode.org has a link to a pre-built VirtualBox appliance:
https://genode.org/files/sculpt/sculpt-20-02.ova
That appliance should boot into Sculpt directly, but you can also use it to test your ISO file, by adding it to a virtual optical drive (and setting the optical drive higher in the boot order than the hard drive).
If that doesn't work for you, I can share the settings from my VM (which might be a little different from Genode's appliance).
John J. Karcher devuser@alternateapproach.com
Thanks for the info on the iso, John.
I can confirm that when running sculpt.img in Qemu (kvm) that it does work also.
Still in the learning curve, sorry.
Going to experiment with sculpt a bit to see what it can do and then try to play with running the Genode Virtualbox on it and get a feel for that as well. My hope is that each virtualbox VMM instance is truly in its own space within NOVA, but for now I am exploring a bit.
Cheers and stay safe, my friend.
On Wed, Apr 8, 2020 at 3:41 PM John J. Karcher < devuser@alternateapproach.com> wrote:
On 4/8/20 3:11 PM, Lonnie Cumberland wrote:
Hi All,
Well, good news and bad.
I was able to produce the sculpt.iso but it does not boot up. I tested it in Virtualbox and it gives me a blank screen.
Will try with Qemu but the iso does not boot from what I can see so far.
It works for me, but you have to be careful how you configure the VM Settings. The "Download" page on genode.org has a link to a pre-built VirtualBox appliance:
https://genode.org/files/sculpt/sculpt-20-02.ova
That appliance should boot into Sculpt directly, but you can also use it to test your ISO file, by adding it to a virtual optical drive (and setting the optical drive higher in the boot order than the hard drive).
If that doesn't work for you, I can share the settings from my VM (which might be a little different from Genode's appliance).
John J. Karcher devuser@alternateapproach.com
Genode users mailing list users@lists.genode.org https://lists.genode.org/listinfo/users