Did I understand, setting keyboard layout via dietpi-config and reboot did not have any effect?
If yes, could you try and paste here to output of following commands, choosing you desired layout in the GUI:
dpkg-reconfigure keyboard-configuration
invoke-rc.d keyboard-setup start
cat /etc/default/keyboard
Your VM network settings look like they should, bridged network to host interface/adapter, which allows internet and local SSH to guest, virtio virtual network adapter for guest, no promiscuous mode.
I am not sure, if my VM export includes the host WLAN adapter, that I use here during creation. I am not able to unselect the host adapter, without changing network type or completely disable. But I would keep the settings mentioned above, as they allow all kind of network you usually want. The only thing that needs to be chosen by end user, is the correct host network adapter/interface that provides internet access, if there are more than one available. Of course we can't predict here, as it totally depends on OS etc. etc.
Are there more issues you face with this VM image?
- The keyboard layout issue should be not related to the VM, as the methods to change are the same for all devices. So we will check separately.
- About the default VM network settings, I am open for improvements. Would be great if you could compare the settings you need with the ones your find in our VM image.
Dietpi (stretch) Virtualbox image will not import?
- kaptain_zero
- Posts: 39
- Joined: Tue Apr 12, 2016 2:51 am
Re: Dietpi (stretch) Virtualbox image will not import?
The linked screenshot shows the results of those commands. The second command showed NO response at all. It appears for some reason that my image is using the "de" layout on the correct keyboard, even though it is set to "us" in dietpi.txt.
The link: https://www.dropbox.com/s/rsat8q9mpl0pd ... d.png?dl=0
The network does work properly, it just asks me to select a different interface name as the one defaulted to in the image is not available on my mahcines.... I only noted that this did not happen with thie older OVA.
The link: https://www.dropbox.com/s/rsat8q9mpl0pd ... d.png?dl=0
The network does work properly, it just asks me to select a different interface name as the one defaulted to in the image is not available on my mahcines.... I only noted that this did not happen with thie older OVA.
Re: Dietpi (stretch) Virtualbox image will not import?
Okay, I realized one issue with my image, will upload a new one.
I though during DietPi-Prep, at least as first run setup, "gb" will be set automatically as keyboard layout. But actually it is only overwritten, if something different than "gb" is set in "dietpi.txt": https://github.com/Fourdee/DietPi/blob/ ... 855-L13862
For easier creation I used my native "de" layout, which will then not be overwritten without changing "dietpi.txt" to something different.
But you say now that even setting layout via dietpi.txt to "us" and manually running "dpkg-reconfigure keyboard-configuration", selecting keyboard model and language there, does both not have an effect? I just tested it here on VM and both worked well, even when accessing just via VM (so no physical keyboard attached).
Do you see any error messages during "dpkg-reconfigure keyboard-configuration"?
Does it work with:
and reboot?
I though during DietPi-Prep, at least as first run setup, "gb" will be set automatically as keyboard layout. But actually it is only overwritten, if something different than "gb" is set in "dietpi.txt": https://github.com/Fourdee/DietPi/blob/ ... 855-L13862
For easier creation I used my native "de" layout, which will then not be overwritten without changing "dietpi.txt" to something different.
But you say now that even setting layout via dietpi.txt to "us" and manually running "dpkg-reconfigure keyboard-configuration", selecting keyboard model and language there, does both not have an effect? I just tested it here on VM and both worked well, even when accessing just via VM (so no physical keyboard attached).
Do you see any error messages during "dpkg-reconfigure keyboard-configuration"?
Does it work with:
Code: Select all
sed -i '/XKBLAYOUT=/c XKBLAYOUT="'"us"'"' /etc/default/keyboard
- kaptain_zero
- Posts: 39
- Joined: Tue Apr 12, 2016 2:51 am
Re: Dietpi (stretch) Virtualbox image will not import?
Is there something missing in the command: sed -i '/XKBLAYOUT=/c XKBLAYOUT="'"us"'"' /etc/default/keyboard
I had to CTRL-C to get the prompt back, it never completed.
The new *.OVA still will not import into Virtualbox that is running on a Ubuntu 16.04 system. The error is as before:
While I am able to import the appliance on a Manjaro Linux system, in Ubuntu, this does not work for me. Another fellow, who attempted it and who let me know about this, is also running Ubuntu Mate 16.04, so the new image you uploaded, did not make any difference with that issue. The old image made with raspbian (?!?!) had no such problem. As this is two separate computers, locations and operators... it appears it is not isolated on just *my* Ubuntu install. I have no problems importing other *.OVA from other sources.... It is an odd error.
As mentioned, the dietpi-config script was able to set the keyboard and language in the end, so it is working now.
Regards
Christian
I had to CTRL-C to get the prompt back, it never completed.
The new *.OVA still will not import into Virtualbox that is running on a Ubuntu 16.04 system. The error is as before:
https://www.dropbox.com/s/z971nnbu57mcd ... m.png?dl=0Failed to import appliance /home/chris/Desktop/DietPi_VirtualBox-x86_64-(Stretch).ova.
Seeking within the archive failed (VERR_TAR_UNEXPECTED_EOS).
Result Code: VBOX_E_IPRT_ERROR (0x80BB0005)
Component: ApplianceWrap
Interface: IAppliance {8398f026-4add-4474-5bc3-2f9f2140b23e}
While I am able to import the appliance on a Manjaro Linux system, in Ubuntu, this does not work for me. Another fellow, who attempted it and who let me know about this, is also running Ubuntu Mate 16.04, so the new image you uploaded, did not make any difference with that issue. The old image made with raspbian (?!?!) had no such problem. As this is two separate computers, locations and operators... it appears it is not isolated on just *my* Ubuntu install. I have no problems importing other *.OVA from other sources.... It is an odd error.
As mentioned, the dietpi-config script was able to set the keyboard and language in the end, so it is working now.
Regards
Christian
Re: Dietpi (stretch) Virtualbox image will not import?
Have you tried the VirtualBox forums? As the image works on some platforms and not on others, it seems possible it is an underlying issue with VirtualBox on Ubuntu or at least they might know if a particular option is required.
Re: Dietpi (stretch) Virtualbox image will not import?
@kaptain_zero:
First of all, the new image is not yet online, sorry for confusion. I granted access to them for Fourdee, who needs to review and upload to: http://dietpi.com/downloads/images/ Then you will find images for VirtualBox and VMware dated 12+. March.
They contain a fix for the first run keyboard layout issue. Apologize for this, at least it worked as expected via dietpi-config.
About the import error, I just found:
https://forums.virtualbox.org/viewtopic.php?f=6&t=77528
https://groups.google.com/forum/#!topic ... WazrlOGz9s
https://stackoverflow.com/questions/484 ... irtual-box
It could be related to wrapping, transferring, storing on different systems/servers, unwrapping somehow.
- First of all try to upgrade your VirtualBox to the latest version. They seem to handle this kind of "EOS" (End Of Stream) issues better with current versions.
- If it does not help, try to extract the .ova file with 7zip and import via 3 extracted files.
- If error still occurs, we need to check if it is related to ovf file format (I use 1.0) or something else, maybe Fourdee did something different there for the older images.
First of all, the new image is not yet online, sorry for confusion. I granted access to them for Fourdee, who needs to review and upload to: http://dietpi.com/downloads/images/ Then you will find images for VirtualBox and VMware dated 12+. March.
They contain a fix for the first run keyboard layout issue. Apologize for this, at least it worked as expected via dietpi-config.
About the import error, I just found:
https://forums.virtualbox.org/viewtopic.php?f=6&t=77528
https://groups.google.com/forum/#!topic ... WazrlOGz9s
https://stackoverflow.com/questions/484 ... irtual-box
It could be related to wrapping, transferring, storing on different systems/servers, unwrapping somehow.
- First of all try to upgrade your VirtualBox to the latest version. They seem to handle this kind of "EOS" (End Of Stream) issues better with current versions.
- If it does not help, try to extract the .ova file with 7zip and import via 3 extracted files.
- If error still occurs, we need to check if it is related to ovf file format (I use 1.0) or something else, maybe Fourdee did something different there for the older images.
Re: Dietpi (stretch) Virtualbox image will not import?
New images you created are up (thanks Micha) https://dietpi.com/#downloadMichaIng wrote:If error still occurs, we need to check if it is related to ovf file format (I use 1.0) or something else, maybe Fourdee did something different there for the older images.
I believe I may of used OVF 2.0 previously. Hopefully the 1.0 will fix it with older version of VirtualBox?
If you find our project or support useful, then we’d really appreciate it if you’d consider contributing to the project however you can.
Donating is the easiest – you can use PayPal or become a DietPi patron.
Donating is the easiest – you can use PayPal or become a DietPi patron.
- kaptain_zero
- Posts: 39
- Joined: Tue Apr 12, 2016 2:51 am
Re: Dietpi (stretch) Virtualbox image will not import?
I downloaded the new image, same problem.
Ubuntu is updated to the latest packages in the repos and clicking "about Virtualbox" shows:
5.0.40_Ubuntu r115130
And in my Manjaro install:
5.2.8 r120774 (Qt5.10.1)
For my personal use, I have sworn off Ubuntu and switched to Manjaro, but this does not help other Ubuntu users.
I have created an account on the Virtualbox forums and will be posting some questions there. In the meantime I may remove the Ubuntu sanctioned version of VB and replace it with a virgin copy from Oracle and see if that clears things up.... the only problem is finding the time. <groan>
Ubuntu is updated to the latest packages in the repos and clicking "about Virtualbox" shows:
5.0.40_Ubuntu r115130
And in my Manjaro install:
5.2.8 r120774 (Qt5.10.1)
For my personal use, I have sworn off Ubuntu and switched to Manjaro, but this does not help other Ubuntu users.
I have created an account on the Virtualbox forums and will be posting some questions there. In the meantime I may remove the Ubuntu sanctioned version of VB and replace it with a virgin copy from Oracle and see if that clears things up.... the only problem is finding the time. <groan>
- kaptain_zero
- Posts: 39
- Joined: Tue Apr 12, 2016 2:51 am
Re: Dietpi (stretch) Virtualbox image will not import?
Just a small update.
The new image installs fine in Manjaro and all I have to change at first boot is the wired interface which is dead easy to do (the correct interface is your only option!). Once up, I was able to select the correct keyboard, lanquage and timezone with no issues using dietpi-config.
The new image installs fine in Manjaro and all I have to change at first boot is the wired interface which is dead easy to do (the correct interface is your only option!). Once up, I was able to select the correct keyboard, lanquage and timezone with no issues using dietpi-config.
Re: Dietpi (stretch) Virtualbox image will not import?
Did you try downloading the deb from the virtualbox site rather than doing an apt-get? They have a 5.2.8 package or add the virtualbox rep to your sources.