[Q] VirtualBox and ubuntu help please! - Android Q&A, Help & Troubleshooting

I'm trying to install ubuntu 12.04 on virtualbox but it seems to be running very slow! I don't have a slow computer so I don't understand why its running so slow. I put for it to take up 50 GB and use 1024 MB of ram. I have 4 GB of ram in total and 237 GB of free space. Is there a special way to install it? Also when I choose Ubuntu 64 bit (because I have a 64 bit computer) and than start the vm it shows an error saying I don't have the correct kernel and I need to install x86 bit or x32 bit so thats what im using. Any help would be very appreciated. I also am not a noob at this so please dont call me that. Thanks.
Processor: AMD E-300 APU with Radeon(tm) HD Graphics 1.30 GHz
OS: Windows 7 Home Premium 64 bit

itzdarockz said:
I'm trying to install ubuntu 12.04 on virtualbox but it seems to be running very slow! I don't have a slow computer so I don't understand why its running so slow. I put for it to take up 50 GB and use 1024 MB of ram. I have 4 GB of ram in total and 237 GB of free space. Is there a special way to install it? Also when I choose Ubuntu 64 bit (because I have a 64 bit computer) and than start the vm it shows an error saying I don't have the correct kernel and I need to install x86 bit or x32 bit so thats what im using. Any help would be very appreciated. I also am not a noob at this so please dont call me that. Thanks.
Processor: AMD E-300 APU with Radeon(tm) HD Graphics 1.30 GHz
OS: Windows 7 Home Premium 64 bit
Click to expand...
Click to collapse
It would be slow because you running a 64bit OS with 1GB of RAM, you really should use the 32bit version, it dosnt matter what OS your running as your host OS, thats the whole point of virtualisation you can run either

zacthespack said:
It would be slow because you running a 64bit OS with 1GB of RAM, you really should use the 32bit version, it dosnt matter what OS your running as your host OS, thats the whole point of virtualisation you can run either
Click to expand...
Click to collapse
Actually im using 32 bit not 64 for ubuntu because it wouldnt boot up. How much ram is good eneough for 32 bit?

itzdarockz said:
Actually im using 32 bit not 64 for ubuntu because it wouldnt boot up. How much ram is good eneough for 32 bit?
Click to expand...
Click to collapse
1GB should me move than enough, how much CPU time are you giving it? and have you enabled 2D/3D graphics in virtualboxes settings?

zacthespack said:
1GB should me move than enough, how much CPU time are you giving it? and have you enabled 2D/3D graphics in virtualboxes settings?
Click to expand...
Click to collapse
By cpu time do you mean how long its taking me? Its taken me like 1 hour just to get from the start of the vm to actually installing the files. It took like 20 min to boot up. And 30 min just to finish copying the files. And no i do not have the 3d and 2d accelerator enabled.

itzdarockz said:
By cpu time do you mean how long its taking me? Its taken me like 1 hour just to get from the start of the vm to actually installing the files. It took like 20 min to boot up. And 30 min just to finish copying the files. And no i do not have the 3d and 2d accelerator enabled.
Click to expand...
Click to collapse
No I meant how much of the CPU are you giving to the virtualmachine to use (i.e 50% of the time etc) and you should enabled 3/2D acceleration as I have always found it gives a big speed boost as it takes away the GUI load from the CPU, unless you have a really poor graphics card

zacthespack said:
No I meant how much of the CPU are you giving to the virtualmachine to use (i.e 50% of the time etc) and you should enabled 3/2D acceleration as I have always found it gives a big speed boost as it takes away the GUI load from the CPU, unless you have a really poor graphics card
Click to expand...
Click to collapse
Where do i find the cpu time and i do not have a poor graphics card i have amd Radeon Hd 6310 graphics. And thanks i will check that when i get home and i will tell you if it works good. Also are those times that i put normal?

itzdarockz said:
Where do i find the cpu time and i do not have a poor graphics card i have amd Radeon Hd 6310 graphics. And thanks i will check that when i get home and i will tell you if it works good. Also are those times that i put normal?
Click to expand...
Click to collapse
No not really which is why it sounds like the not enough CPU time it being giving to the virtual machine, I believe these settings are found in the system section of the settings for that virtual machine but I have not used virtualbox for a while so cant be sure. But you need to give it really atleast half maybe more if you dont plan on doing most in the host OS while the virtual machine is running

zacthespack said:
No not really which is why it sounds like the not enough CPU time it being giving to the virtual machine, I believe these settings are found in the system section of the settings for that virtual machine but I have not used virtualbox for a while so cant be sure. But you need to give it really atleast half maybe more if you dont plan on doing most in the host OS while the virtual machine is running
Click to expand...
Click to collapse
I think its called execution cap on system->processor because of the description. Im going to set it to 60% and see what it does.
EDIT: Still no good. I also cant find anything that has CPU time in it.

I've been looking around and i've noticed others are having problems with 12.04. I will try another version (9.04) and I will update on how it runs.
EDIT: I installed 9.04 and it ran perfectly fine with half the settings I used for 12.04. But sadly it cannot install git-core which is what im going for. Im going to try 10.10 now.

itzdarockz said:
I've been looking around and i've noticed others are having problems with 12.04. I will try another version (9.04) and I will update on how it runs.
EDIT: I installed 9.04 and it ran perfectly fine with half the settings I used for 12.04. But sadly it cannot install git-core which is what im going for. Im going to try 10.10 now.
Click to expand...
Click to collapse
Latest Ubuntu comes with the Unity UI which is very graphically intense.
You have two quick options:
- kill the Unity UI (can be disabled during boot/login screen)
- attempt to get the guest tools installed inside Ubuntu so it can tap into the power of the host PC's GPU/graphics card.
I'd try installing the guest tools in Ubuntu, it's usually either easy and a success, or a pointless nightmare.
To kill Unity UI just google for it with the exact version of Ubuntu you've got and the results should be plentiful. It's a common complaint with the latest version.

Related

[Q] Is it Possible to run Windows XP or Windows 7 (PC) on HD2 ?

Hi ! I have an interesting question here, perhaps you may noticed on the Title "Is it Possible to run Windows XP or Windows 7 (PC) on HD2 ?"... well.. after I tested Windows 95 with the QEMU soft.. I was really impressed by how it works.. & I'm sure it can have ALOT of more possibilities than just a simple Smartphone OS, by having at least Windows XP on the HD2 ... so what do you say ? Is it possible or not ? and btw.. I tried to start Windows XP SP2 (597MB) on the HD2, by copying the .img File on the SD.. then I noticed that in the qemu_launcher, it doesn't see the XP SP2 image File.. so I noticed that the Win95 had 2 notepads .txt files "emul_cmdline" & the "EMUL_INI" .. and I opened them in my Win7 PC, and changed in the "emul_cmdline.txt" the name of the Image File, like this.. from ...
1G-qcow.img to the name of my XP SP2 Image File like "XP Sp2.img" ... & changed the "[emul]
name=" from the "EMUL_INI" to the name of the Windows or so... then I copied those 2 .txt files "emul_cmdline.txt" & "EMUL_INI.txt" to the folder on my HD2's SD Card in which contained the XP SP2.img... then I noticed that in the qemu_launcher it show'd me the XP SP2.img... and when I tried to launch it.. I just pressed the "Launch" button.. & the qemu launcher closes & nothing happens... xD.. any help ? or at least explain me if is it possible to run XP or even 7 (PC OS) on the HD2 ? .. but I think that at least Win XP can be runed FOR SURE on the HD2, because the Win XP's System Requirements are these:
PC with 300 megahertz or higher processor clock speed recommended; 233 MHz minimum required (single or dual processor system);* Intel Pentium/Celeron family, or AMD K6/Athlon/Duron family, or compatible processor recommended
• 128 megabytes (MB) of RAM or higher recommended (64 MB minimum supported; may limit performance and some features)
• 1.5 gigabytes (GB) of available hard disk space*
• Super VGA (800 x 600) or higher-resolution video adapter and monitor
But the HD2's capabilities are MUCH MORE higher than these requirements... the only problem is again the Internal Memory or the SD Card... because on the Internal Memory it can't just fit in... but if you boot from the SD Card.. you may experience laggs or even freezes... xD .. I don't know really... I'm just guessing now...
Please do not post any comments like: "What's the point ?" or "Why do you need to do all this ?" ... I'm just interested in having Win XP or even 7 on my HD2... and I'm sure there are more people on XDA which probably want the same thing as I do...
i've always wanted this too jus hope i dont get bashed for supportin u
It may be possible to get it to boot, but I doubt you would be able to get it usable. Also, I think the fact that XP runs on ntfs instead of fat like 98 does, that may make it impossible. And when using emulators, you have to generally have a processor 10 times the speed of what's required for it to work properly. And arm processors are different than the x86 processors that computers use... you can't expect a 1 ghz arm processor to handle the same things a 1 ghz x86 processor handles... different architecture.
Sent from my HTC HD2 using XDA App
zarathustrax said:
It may be possible to get it to boot, but I doubt you would be able to get it usable. Also, I think the fact that XP runs on ntfs instead of fat like 98 does, that may make it impossible. And when using emulators, you have to generally have a processor 10 times the speed of what's required for it to work properly. And arm processors are different than the x86 processors that computers use... you can't expect a 1 ghz arm processor to handle the same things a 1 ghz x86 processor handles... different architecture.
Sent from my HTC HD2 using XDA App
Click to expand...
Click to collapse
Yeah ! I agree with you.. but the HD2 has a Qualcomm CPU, so I don't know... is it an x86 or an ARM CPU ? .. but it kinda' doesn't make part of either x86 or ARM ...
hmm does our HD has a 1.5 HDD?
running from an external SD card maybe then.
and yes xp supports fat32
but can you format an sd card to NTFS?
Guess a mouse and keyboard would come in handy.
I'm not entirely sure how QEMU works. If it's really an x86 emulator with functioning kernel and driver support, it might work. But I doubt it'd be really usable.
Danny1911 said:
Yeah ! I agree with you.. but the HD2 has a Qualcomm CPU, so I don't know... is it an x86 or an ARM CPU ? .. but it kinda' doesn't make part of either x86 or ARM ...
Click to expand...
Click to collapse
Qualcomm's Snapdragons use a custom ARMv7-based CPU comparable to the Cortex-A8, called the "Scorpion".
Also, don't compare clock speeds here. The Scorpion and A8 achieve approximately 2 instructions per clock. Even the lowly Pentium 3 could get about 2.7 instructions per clock.
Add to that the fact that the architecture's being emulated, and that there aren't really any good drivers (meaning little to no hardware acceleration) and you've got yourself some awful performance right there.
M-en-M said:
I'm not entirely sure how QEMU works. If it's really an x86 emulator with functioning kernel and driver support, it might work. But I doubt it'd be really usable.
Qualcomm's Snapdragons use a custom ARMv7-based CPU comparable to the Cortex-A8, called the "Scorpion".
Also, don't compare clock speeds here. The Scorpion and A8 achieve approximately 2 instructions per clock. Even the lowly Pentium 3 could get about 2.7 instructions per clock.
Add to that the fact that the architecture's being emulated, and that there aren't really any good drivers (meaning little to no hardware acceleration) and you've got yourself some awful performance right there.
Click to expand...
Click to collapse
all in all...dreams busted
We aren't worried about how fast, we just want it to work. Once itworks I am sure people will make drivers.
Sent from my Nexus One using XDA App
soneracar said:
We aren't worried about how fast, we just want it to work. Once itworks I am sure people will make drivers.
Sent from my Nexus One using XDA App
Click to expand...
Click to collapse
Yes ! Very Right ! I'm totally agree with you !
soneracar said:
We aren't worried about how fast, we just want it to work. Once itworks I am sure people will make drivers.
Sent from my Nexus One using XDA App
Click to expand...
Click to collapse
After some searching, I did find someone who managed to get XP working.
Here.
Using another x86 emulator, Bochs. You'll need to know a thing or two about coding, obviously. So if anyone really, really wants XP on their phones, go ahead and tell us if that works out.
Within the same thread, people confirmed that with emulation going on in the background, our good ol' QSD8250 scored along the lines of a 90MHz Pentium.
M-en-M said:
After some searching, I did find someone who managed to get XP working.
Here.
Using another x86 emulator, Bochs. You'll need to know a thing or two about coding, obviously. So if anyone really, really wants XP on their phones, go ahead and tell us if that works out.
Within the same thread, people confirmed that with emulation going on in the background, our good ol' QSD8250 scored along the lines of a 90MHz Pentium.
Click to expand...
Click to collapse
Awesome !!! Big thx !... at least I'm happy to know that it is possible, and that someone tried it & it worked... good to know... but I think that the software he used "Bochs" is not so good as QEMU... and that may be the main problem why the Win XP is working slow... and also it matters which SP the Windows has, because XP SP1 eates about 100 - 200 MB of RAM... while SP3 eats between 200MB - 300MB ... so it's really important too which SP he had used to boot... using to boot from the SD Card is also the big problem... SD Card is not as fast as the internal memory of the phone...
PS: But anyway... I'm happy to know that someone tried XP on HD2, and it worked... that's Awesome news ! ... I hope some developers may try to work on making a more greater & smaller in capacity Image File of the Windows.. but to keep the same features as like a Real Computer !
http://forum.xda-developers.com/showthread.php?t=784424
windows 7 and qemu
as for the size, look at xplite or similar, and there's one for win 7, get rid of all the useless stuff,, you can get xp down to a few hundred meg
never got it running, myself, but i only spent an evening trying.
samsamuel said:
http://forum.xda-developers.com/showthread.php?t=784424
windows 7 and qemu
as for the size, look at xplite or similar, and there's one for win 7, get rid of all the useless stuff,, you can get xp down to a few hundred meg
never got it running, myself, but i only spent an evening trying.
Click to expand...
Click to collapse
Wow ! Amazing ! Unexpected xD ! Thx alot man !

Troubles installing Android SDK in Ubuntu Chroot

Hello, my TouchPad has Ubuntu Chroot but I can't manage to install the Android SDK to be able to program on eclipse in my TouchPad, is it possible ? I believe Chroot lacks the ubuntu installer or something
SkynightZ said:
Hello, my TouchPad has Ubuntu Chroot but I can't manage to install the Android SDK to be able to program on eclipse in my TouchPad, is it possible ? I believe Chroot lacks the ubuntu installer or something
Click to expand...
Click to collapse
It is still a _very_ slow computer compared with your PC. Why not do the compiling on your PC and remotely login from your touchpad (if you really like to use touchpad with bluetooth keyboard as a termninal)?
goTouchGo said:
It is still a _very_ slow computer compared with your PC. Why not do the compiling on your PC and remotely login from your touchpad (if you really like to use touchpad with bluetooth keyboard as a termninal)?
Click to expand...
Click to collapse
I wouldn't say very slow, with emphasis. My secondary craptop only has a 1.73 Ghz 1st gen dual core Intel processor w/ a 5 year old video card. I think the Touchpad could def. give it a run for its money. Very slow, with emphasis, to me is a Pentium 4 @ 2 Ghz or less and a GeForce 2 MX.
SpikeyPsyche said:
I wouldn't say very slow, with emphasis. My secondary craptop only has a 1.73 Ghz 1st gen dual core Intel processor w/ a 5 year old video card. I think the Touchpad could def. give it a run for its money. Very slow, with emphasis, to me is a Pentium 4 @ 2 Ghz or less and a GeForce 2 MX.
Click to expand...
Click to collapse
Not a fair comparison at all. Just because an ARM processor and the comparable x86 processor may have the same clock speed, it doesn't mean that they'll compete. The x86 architecture has been much more widely accepted and hence developed over the years. An x86 will beat out an ARM processor clock for clock until there's more development done for ARM.
Are you making sure to use a version of the android sdk that is compiled against ARM? Some of it is java, but there are some compiled native libraries too.
Eclipse is not the fastest IDE even on a PC. I mean my netbook runs it pretty sluggest and it's a higher end atom (2 cores). I think much more than vim or emacs would start to annoy me.

League Of Legends/Ubuntu?

Just a quick question from someone who is new to this kinda scene, just curious if anyone knows if its possible to run LoL on my eee pad prime (not using a remote rdc though) if i installed linux and used wine would this work? (or are there any other possibilities)
Looking at the minimum system requirements:
Minimum System Requirements
2 GHz processor
1 GB RAM (Windows Vista and 7 users will want 2 GB of RAM or more)
750 MB available hard disk space
Shader version 2.0 capable video card
Support for DirectX v9.0c or better
Windows XP, Windows Vista, or Windows 7 (Mac OS is currently not supported)
Click to expand...
Click to collapse
I really don't see being able to play this game on the Prime, especially via Wine.
Only processor speed will be questionable. We do have quad core though. Once we overclock even higher, 2ghz will be easily obtained, it will be possible. That will be dependent of how well a dual boot of Ubuntu will be. Right now it runs alongside android so it shares CPU power etc...Once we dual boot, then ubuntu will have full access to whatever CPU/gpu power it needs. Then it'll just be a manner of getting LoL to load/install on it. Those other specs prime already has or better. PRIME is a beast. Alot more powerful than people may realize. Especially now that we already overclocked to 1.6ghz without even a custom rom or bootloader unlocked. It'll only get better from here. I'd say we doing great, developement wise, in Prime first month of usage. OVERCLOCK, root, ICS, Ubuntu, Fedora, Linux(Backtrk5), added drivers, themes, n so on.
The problem here is you will be trying to run an x86 game on ARM. I'm not sure if x86 emulators even exist to the required standard to even attempt this, but even if they do then you'll likely need a machine with way more power than the prime. Probably 3-5 times at least.
Emulating is very resource demanding.
Thanks for the replies everyone im looking forward to seeing what the prime can do in the near future, i do really enjoy having one, i cant wait untill everything runs perfect with it (rdcs with keyboard bindings for the dock, alt/esc and left/right click working properly) thanks again everyone

Developing

Here's my question. I want to start with an app or two, but ultimately want to make it to roms, themes, etc. My computer however is a bit on the low end. 1ghz dual core, 1gb ram. Decent storage though 250gb. Is this not enough, sufficient, or great. Thanks in advance
Posted from my 1.34ghz, Infected, Themed Out, Lightningbolt.
when your phone has a faster clockspeed than your desktop, it is time for an upgrade.
Bigandrewgold said:
when your phone has a faster clockspeed than your desktop, it is time for an upgrade.
Click to expand...
Click to collapse
Except clockspeed is not the almighty determinant of cpu power that years of marketing would lead you to believe. That CPU could still run circles around the phone CPU for various architectural reason I won't get into because it's too much to explain and no one will likely be interested. However, 1ghz is slow, especially if you're going to be using a Java based (that is, built on Java) IDE like Eclispe or Intellij IDEA. I've used Intellij IDEA on my 2 core Atom netbook when I'm not around my desktop and it's just painful (and Intellij is faster than Eclipse). Java anything eats RAM like a fat kid eats skittles and drags your CPU like you're running a race with him on your shoulders. Intellij IDEA eats up around 600mb of RAM being open and Eclipse is around the same.
That amount of RAM is also low as well. Your system is already using at least 50% of that + whatever more for your GPU if you do not have a separate GPU.
Can you use that computer to do some basic application tutorials, theme and do small mods? Yeah sure. Will it be annoying to do so? A little, as things lag and you probably don't realize it as you're used to that system.
If you're going to compile Android from the source, then that computer will never work out. Android source needs around 8-16gb of RAM for 2.3.x and 16-24gb for ICS. A 4 core CPU such as an i5 or i7 is also recommended.
You could build a decent computer from parts made for compiling for probably 700-900 excluding a monitor. One for just apps and anything else for probably 500-600.
Yeah definitely time for an upgrade.
I dev on my laptop. It's a Toshiba Satellite L675D-7104:
AMD Turion II Dual Core 2.5GHz cpu, 4GB RAM, 500GB HD, ATI Mobility Radeon HD 4200, dual booting Windows 7 Home Premium and Fedora 16.
It's a decent mid-range computer, nothing too special. It does the job as far as building ROMs. It can build from source, but takes a pretty long time.
Thanks folks. I will be dispatching my computer promptly, office space style
Posted from my 1.34ghz, Infected, Themed Out, Lightningbolt.
haliwa04 said:
Thanks folks. I will be dispatching my computer promptly, office space style
Posted from my 1.34ghz, Infected, Themed Out, Lightningbolt.
Click to expand...
Click to collapse
No need for that, I use old computers for linux test boxes quite a bit as you don't need that much to run it with just the command line. I'm sure someone will take it off your hands if you put it on Craigslist or give it to the thrift store.

Phoenix OS 32 bit ISO

I have an HP Elitepad 900 with absolutely no operating system on it. Windows was absolutely useless running on it due to its low spec hardware. Ive tried installing it a couple times with no luck due to its 32 bit CPU architecture. Would anybody happen to know where to get the 32 bit version of this OS' ISO to make an installation disk? Thank you for any help in advance!

Categories

Resources