running Virtualbox on Genode

Vincent Digital vdigital3800 at ...9...
Wed Sep 23 04:41:12 CEST 2015


Hi, Alex,

After a long break, I would like to update you on my recent work.
I've revisited the run script that you created for a USB boot-up.
It worked - previously it was a careless mistake on my part with the dd
command - use a wrong device name.

The USB boot-up could now boot-up partially but mainly on Acer hardware,
but not on Dell or HP hardware - the screen would hang on the Genode bootup.

For the Acer bootup, it was only partial - after the Windows 7 screen came
up, it seemed "hang" for very long. The mouse pointer can still movec
though.
I understand without serial port hardware, it is near to impossible to
troubleshoot. As such, I am thinking of purchasing a refurbished Lenovo
X201 - the same one that Norman is using.
I also tried using VMware Workstation and Virtualbox to boot up the USB
stick. I even swapped the Guest VMs between Ubuntu and Windows 7. All would
hang after Genode boots up.

Btw, is it necessary to stick to 32-bit versions of the Guest OSs ? I
notice the vbox_auto_win8 using the "assert_spec 64bit", does this meant
that this script is for 64-bit Guest OS.
Anyway, I would to consult you what are the main hardware features that are
required to be compatible to the Nova/Genode software ?

I would like to move on to a hard-disk based configuration in the long run.
I hope to be able to run two operating systems, Windows and a Linux on top
of Genode/Nova, both supporting Java applications. Can you recommend any
scripts or configuration steps that I can use to do such a setup. I am
trying using the vbox_auto_win7 and vbox_auto_win8 scripts.

Thanks.


On Thu, Sep 10, 2015 at 8:06 PM, Vincent Digital <vdigital3800 at ...9...>
wrote:

> Okay, noted. Thanks.
> I'll try again maybe with a new USB stick.
>
> Regards.
>
> On Thu, Sep 10, 2015 at 3:48 PM, Alexander Boettcher <
> alexander.boettcher at ...1...> wrote:
>
>> Some additional note:
>>
>> make sure that you remove/uncomment all RUN_OPT in your etc/build.conf
>> and really replace it by this line:
>>
>> # Set RUN_OPT in your build.conf to: RUN_OPT = --include image/disk
>>
>> Otherwise the resulting image is not in the expected state.
>>
>> Alex.
>>
>> On 10.09.2015 05:38, Vincent Digital wrote:
>> > Hi, Alex,
>> >
>> > I've used your USB_RUN script to create an image file.
>> > I followed your instructions to prepare the USB stick. However, the USB
>> > stick cannot boot up.
>> > Unfortunately, I do not have access to a laptop with serial port so I am
>> > unable to get any logs.
>> > Can I check with you on your instructions (the mini-howto below)
>> instead.
>> > Thanks.
>> >
>> > # Short mini howto for nova_x86_64:
>> > # - assumption - /dev/sdc is your USB stick
>> > # - assumption - you are in the genode source root directory
>> > # - assumption - you have prepared all external ports
>> > # - assumption - you have build the rump tools -> tool/tool_chain_rump
>> > #
>> > # create a nova_x86_64 build directory
>> > # - tool/create_builddir nova_x86_64
>> > #
>> > # Put/symlink your Windows 7 vdi to build/nova_x86_64/win7.vdi
>> > #
>> > # Set RUN_OPT in your build.conf to: RUN_OPT = --include image/disk
>> > #
>> > # Build everything:
>> > # - make -C build/nova_x86_64 run/vbox_usb
>> > #
>> > # Make sure that the USB is not used - all partitions are un-mounted.
>> >>> How should I prepare this USB stick, should it be formatted under a
>> > particular filesystem (ext2, or FAT32)
>> >>> I have tried various ways - delete everything including partitions,
>> etc.
>> > and then create a new partition
>> >>> Can I clarify the steps below are in sequential order
>> >>> 1. dd operation
>> >>> 2. fdisk operation  - delete all partitions, then create a new
>> partition
>> > and then write to disk.
>> >>> 3. Resizefs operation
>> >>> 4. Mount partiton (I tried this but could not get a successful mount
>> > until I create a filesystem using mke2fs. Is this step necessary ?)
>> >
>> > # Copy disk image to your USB stick:
>> > # - sudo dd if=build/nova_x86_64/var/run/vbox_usb.img of=/dev/sdc
>> > #
>> > # Make sure that the USB partition of the stick is un-mounted.
>> > #
>> > # Resize USB stick partition to maximum:
>> > # - sudo fdisk /dev/sdc
>> > # -- delete partition ('d')
>> > # -- create partition - ('p')
>> > # -- write table to disk and exit ('w')
>> > #
>> > # - sudo resize2fs -p /dev/sdc1
>> > #
>> > # Mount Genode partition on USB stick and copy your Windows image to
>> the USB
>> > # stick:
>> > #
>> > # - sudo mount /dev/sdc1 /media/genode
>> > # - cp build/nova_x86_64/win7.vdi /media/genode/.
>> > # - mkdir /media/genode/ram
>> > # - cp build/nova_x86_64/bin/overlay_win7.vdi /media/genode/ram/.
>> > # - umount /media/genode
>> > #
>> > # Boot your USB stick. For debugging get the serial output of the test
>> > machine.
>> > #
>> >
>> >
>> >
>> >
>> >
>> >
>> > On Tue, Sep 1, 2015 at 3:03 AM, Alexander Boettcher <
>> > alexander.boettcher at ...1...> wrote:
>> >
>> >> On 28.08.2015 13:44, Alexander Boettcher wrote:
>> >>>> The part that I am not sure are the "win7.vdi" and "overlay_win7.vdi"
>> >>>> files. How are they linked to the vbox_auto_win7.iso file ?
>> >>>> I have copied them onto the thumbdrive but is this correct ?
>> >>
>> >> You may try the following branch
>> >> https://github.com/alex-ab/genode/commits/vbox_usb_run. There exists
>> now
>> >> a run script called repos/ports/run/vbox_usb.run which helps you in
>> >> setting up a Virtualbox on Genode/NOVA running from USB stick and
>> >> fetching the Virtualbox image from the vary same USB stick. Please
>> >> follow the instruction as described in the run script.
>> >>
>> >> Still, there a lot of manual steps to go - but it may help a bit.
>> >>
>> >> Please keep in mind, depending on the read and write performance of
>> your
>> >> USB controller and stick the overall experience may be not as good as
>> >> when used with a real hard disk.
>> >>
>> >> Alex.
>> >>
>> >>
>> >>
>> ------------------------------------------------------------------------------
>> >> _______________________________________________
>> >> genode-main mailing list
>> >> genode-main at lists.sourceforge.net
>> >> https://lists.sourceforge.net/lists/listinfo/genode-main
>> >>
>> >
>> >
>> >
>> >
>> ------------------------------------------------------------------------------
>> > Monitor Your Dynamic Infrastructure at Any Scale With Datadog!
>> > Get real-time metrics from all of your servers, apps and tools
>> > in one place.
>> > SourceForge users - Click here to start your Free Trial of Datadog now!
>> > http://pubads.g.doubleclick.net/gampad/clk?id=241902991&iu=/4140
>> >
>> >
>> >
>> > _______________________________________________
>> > genode-main mailing list
>> > genode-main at lists.sourceforge.net
>> > https://lists.sourceforge.net/lists/listinfo/genode-main
>> >
>>
>>
>>
>> ------------------------------------------------------------------------------
>> Monitor Your Dynamic Infrastructure at Any Scale With Datadog!
>> Get real-time metrics from all of your servers, apps and tools
>> in one place.
>> SourceForge users - Click here to start your Free Trial of Datadog now!
>> http://pubads.g.doubleclick.net/gampad/clk?id=241902991&iu=/4140
>> _______________________________________________
>> genode-main mailing list
>> genode-main at lists.sourceforge.net
>> https://lists.sourceforge.net/lists/listinfo/genode-main
>>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.genode.org/pipermail/users/attachments/20150923/cbcc2b99/attachment.html>


More information about the users mailing list