User avatar
ukscone
Forum Moderator
Forum Moderator
Posts: 4155
Joined: Fri Jul 29, 2011 2:51 pm
Contact: Website

Re: Virtualbox VM for the RaspberryPi

Sun Sep 11, 2011 3:34 pm

Quote from obarthelemy on September 11, 2011, 16:27
Mmmm... read the readme... a very subsersive idea... Thanks though ^^

The debian installer doesn't seem to be working at all, nothing happens when I try to launch it, though it does ask for credentials.

not sure what's up with that. this is actually the first time i've seen or used lxde so i'm not sure where stuff is yet or whether it works or not. i'll do some digging around and see what's what.

perhaps i shouldn't have used the debian with lxde iso but rather should have used one with gnome or kde. My thinking was that lxde seems to be the de of choice on the raspi so might as well use it in the vm. perhaps that wasn't such a good idea after all

it looks like that the debian-installer-launcher is only for when you are running off a livecd and as the vm is running from a "harddisk" it won't work

Efcis
Posts: 28
Joined: Thu Sep 01, 2011 8:26 pm

Re: Virtualbox VM for the RaspberryPi

Mon Sep 12, 2011 1:14 am

add "setxkbmap us" at the end and save

I guess you meant "setxkbmap fr", right ?

It perfectly works for usual keys, but unfortunately not for the AltGr combinations that are used to enter characters like ~#{[|\@]}, which are pretty useful to program software ;-)

Any more help please ?

Thanks from another french ;-)

User avatar
ukscone
Forum Moderator
Forum Moderator
Posts: 4155
Joined: Fri Jul 29, 2011 2:51 pm
Contact: Website

Re: Virtualbox VM for the RaspberryPi

Mon Sep 12, 2011 1:35 am

Quote from Efcis on September 12, 2011, 02:14
add "setxkbmap us" at the end and save

I guess you meant "setxkbmap fr", right ?

It perfectly works for usual keys, but unfortunately not for the AltGr combinations that are used to enter characters like ~#{[|\@]}, which are pretty useful to program software ;-)

Any more help please ?

Thanks from another french ;-)

that was part of a cut & paste from a webpage to show the method. so yes changee us to fr or de or anything.

this page seems to tell how to change the keyboard layout

http://wiki.lxde.org/en/Change.....rd_layouts

deadprogram
Posts: 2
Joined: Mon Sep 12, 2011 1:38 am

Re: Virtualbox VM for the RaspberryPi

Mon Sep 12, 2011 2:44 am

Hi, there. Thanks very much for doing this!

I was not able to use the `sb2 -eR make` command. I get this error:
exec: 1: /bin/sh: not found

Any thoughts?

User avatar
ukscone
Forum Moderator
Forum Moderator
Posts: 4155
Joined: Fri Jul 29, 2011 2:51 pm
Contact: Website

Re: Virtualbox VM for the RaspberryPi

Mon Sep 12, 2011 3:33 am

Quote from deadprogram on September 12, 2011, 03:44
Hi, there. Thanks very much for doing this!

I was not able to use the `sb2 -eR make` command. I get this error:
exec: 1: /bin/sh: not found

Any thoughts?


if you are just doing a make or a configure then you don't use the -eR options you just do
sb2 make

the -eR means don't use any host binaries except for qemu and pretend to be root which you only use if you want to install new libraries to use for later builds.

however if you have setup scratchbox2 with a full rootfs seed rather than the one from the codesourcery toolchain then the sb2 -eR make would work as you'd have the make binary in the rootfs however you still wouldn't normally use the -eR option unless you were installing new s/w or libraries to the rootfs.

I probably could have been a bit clearer in the README.

deadprogram
Posts: 2
Joined: Mon Sep 12, 2011 1:38 am

Re: Virtualbox VM for the RaspberryPi

Mon Sep 12, 2011 3:44 am

I am trying to build ruby 1.9.2 which seems like it has some prereqs that might require those flags.

The problem I ran into specifically was
make: *** [.rbconfig.time] Segmentation fault

which is what led me to look into the possible missing dependencies.

User avatar
ukscone
Forum Moderator
Forum Moderator
Posts: 4155
Joined: Fri Jul 29, 2011 2:51 pm
Contact: Website

Re: Virtualbox VM for the RaspberryPi

Mon Sep 12, 2011 4:12 am

Quote from deadprogram on September 12, 2011, 04:44
I am trying to build ruby 1.9.2 which seems like it has some prereqs that might require those flags.

The problem I ran into specifically was
make: *** [.rbconfig.time] Segmentation fault

which is what led me to look into the possible missing dependencies.

yes ruby, perl and similar programs are a bit of a pain to build in scratchbox2 as they need some stuff run on the host and some in the emulated environment. your best option if you want to build things like ruby is to switch to a full rootfs which will have a full set of linux utilities to help with the build process where you can then use the -eR option pretty much full time if you wish or build and install ruby without using scratchbox2 and then build in scratchbox2. In your particular case because you'll have a lot of dependencies that the codesourcery toolchain doesn't supply and that you'd have to build yourself i'd go with the using an arm squeeze rootfs and either apt-get ruby or build from source but apt-get'ing all the dependencies using sb2 -eR apt-get ...........


obarthelemy
Posts: 1399
Joined: Tue Aug 09, 2011 10:53 pm

Re: Virtualbox VM for the RaspberryPi

Tue Sep 13, 2011 11:15 am

My guesstimate would be we've served about 50 VMs in 2 days. Thanks to the 10-15 dedicated seeders :-). And kudos to ukscone on a VM well done : no "don't work" SOSes... except mine :-p

stuporhero
Posts: 125
Joined: Fri Aug 19, 2011 2:02 pm

Re: Virtualbox VM for the RaspberryPi

Tue Sep 13, 2011 1:13 pm

I used ukscones' tutorial on his website FTW but my netbook is far too slow for this sort of thing :(

User avatar
ukscone
Forum Moderator
Forum Moderator
Posts: 4155
Joined: Fri Jul 29, 2011 2:51 pm
Contact: Website

Re: Virtualbox VM for the RaspberryPi

Tue Sep 13, 2011 1:53 pm

Quote from stuporhero on September 13, 2011, 14:13
I used ukscones' tutorial on his website FTW but my netbook is far too slow for this sort of thing :(


yes you really do need a reasonably fast computer with a fair amount of ram to make the experience with virtualbox fun (i'm using a dual core turion64 laptop with 3gig of ram with the vm image on an external usb hd and it's ok but nothing to write home about, usable but not fantastic). however windows qemu running an armel rootfs with gcc and other bits and pieces isn't too bad on most netbooks other than the cheapo 400Mhz chinese mips based ones.

mrv321
Posts: 3
Joined: Wed Sep 14, 2011 12:15 am

Re: Virtualbox VM for the RaspberryPi

Wed Sep 14, 2011 2:01 am

I'm currently running this on VirtualBox on Windows 7, I have an i5.

I can say it was remarkably easy to get working, however I had to disable internet. I'm new to this whole thing and I've set it up as a side project to get this working as a semi-decent emulator like the GP2X.

Also very nice work.

whutz
Posts: 2
Joined: Sat Sep 10, 2011 8:40 pm

Re: Virtualbox VM for the RaspberryPi

Sat Sep 17, 2011 6:41 pm

Glad all the seeding helped. My 101Mb/s upload seedbox has served up about 20 gigs so far :)

obarthelemy
Posts: 1399
Joined: Tue Aug 09, 2011 10:53 pm

Re: Virtualbox VM for the RaspberryPi

Sat Sep 17, 2011 6:47 pm

Kudos and thanks.

I've only done 5GB, though I've been seeding permanently at high priority. No seedbox, just my regular 80 KBps adsl connection. I currently see 12 seeds and 7 leeches which is fine.

Arreladd
Posts: 10
Joined: Mon Aug 22, 2011 8:06 pm

Re: Virtualbox VM for the RaspberryPi

Mon Sep 19, 2011 9:08 pm

I just started to download this and wanted to know a couple of things. about the image. Does it already have an OS or is the image setup to allow you to input your own?

Josh
Posts: 114
Joined: Mon Sep 12, 2011 8:08 pm
Contact: Website

Re: Virtualbox VM for the RaspberryPi

Sun Oct 16, 2011 5:19 pm

Ah, something on the PirateBay that's not illegal... there's a sight you don't see :D

obarthelemy
Posts: 1399
Joined: Tue Aug 09, 2011 10:53 pm

Re: Virtualbox VM for the RaspberryPi

Fri Oct 21, 2011 11:41 am

I don't even remember who put them up nor find them on the forum, but the debian-arm-gnome-en-uk.rar torrent is showing 172 leechers... One of the recent PR stuff must have it !
On a side not, for some reason I'm connecting to no leechers. I'm seeing tracker.publicbt.com and openbittorrent.com, peer exchange and DHT enabled... there must be a private torrent in the mix ?

mcscruff
Posts: 34
Joined: Thu Sep 22, 2011 5:41 pm

Re: Virtualbox VM for the RaspberryPi

Mon Oct 24, 2011 10:30 am

Does anyone have a direct link as i can't use torrents at work :(

Bumsfallera
Posts: 16
Joined: Mon Aug 22, 2011 1:15 am

Re: Virtualbox VM for the RaspberryPi

Mon Oct 24, 2011 2:00 pm

put it on my ftp (hope that is okay...):
ova: ftp://88.198.117.140/download/.....erryPi.ova
readme ;-) : ftp://88.198.117.140/download/.....0VM/README

torrent running as well =)

mcscruff
Posts: 34
Joined: Thu Sep 22, 2011 5:41 pm

Re: Virtualbox VM for the RaspberryPi

Mon Oct 24, 2011 4:44 pm

Quote from Bumsfallera on October 24, 2011, 15:00
put it on my ftp (hope that is okay...):
ova: ftp://88.198.117.140/download/.....erryPi.ova
readme ;-) : ftp://88.198.117.140/download/.....0VM/README

torrent running as well =)

My Hero :) xx

Anyway.. thanks for that currently l33ching the life out of it, will be done in less then 20 done

jshriver
Posts: 16
Joined: Sat Oct 08, 2011 2:41 am
Contact: Website

Re: Virtualbox VM for the RaspberryPi

Sat Oct 29, 2011 6:34 am

If this is 100% open source material I'd be willing to host the VM on my webserver. Great bandwidth. Just need permission.

BTW do you have info on using this VM? I just finished setting up qemu-arm and haven't tested it yet.
Just going step by step, but you're obviously well ahead of me.

jshriver
Posts: 16
Joined: Sat Oct 08, 2011 2:41 am
Contact: Website

Re: Virtualbox VM for the RaspberryPi

Sat Oct 29, 2011 6:42 am

What distro did you use?

Bumsfallera
Posts: 16
Joined: Mon Aug 22, 2011 1:15 am

Re: Virtualbox VM for the RaspberryPi

Sat Oct 29, 2011 8:32 pm

As far as I know this vm is x86 architecture (due to /proc/cpuinfo), so it is not like the Raspberry Pi...
There is another vm with a similar architecture (compared to the r-pi) in this thread: http://www.raspberrypi.org/?pa.....#038;t=577
=)

parkour86
Posts: 7
Joined: Mon Nov 07, 2011 9:29 pm

Re: Virtualbox VM for the RaspberryPi

Wed Nov 16, 2011 6:16 am

Thanks for the distro it worked great. Why is the ram set to 384mb when it should be 256mb since the Model B will be 256mb?

Just some information, I was able to get minecraft working on this version but it was very laggy.

User avatar
Jessie
Posts: 1754
Joined: Fri Nov 04, 2011 7:40 pm
Location: C/S CO USA

Re: Virtualbox VM for the RaspberryPi

Thu Nov 17, 2011 6:13 pm

Quote from parkour86 on November 16, 2011, 06:16
Thanks for the distro it worked great. Why is the ram set to 384mb when it should be 256mb since the Model B will be 256mb?

Just some information, I was able to get minecraft working on this version but it was very laggy.
The virtual box image does not emulate ARM. I don't even think it limits processor usage to 700 MHz.

Return to “Other projects”