Page 1 of 1

Can't install Ubuntu Server 8.04.3 in VirtualBox 3.0.6

Posted: 13. Sep 2009, 00:16
by mosocms
Hi,

I can't install Ubuntu Server 8.04.3 in VirtualBox 3.0.6... :(

I tried first in my laptop (HP Pavilion dv5-1160br) using Windows 7 64-bit as host and Ubuntu Server 8.04.3 LTS 32-bit as guest.

Then I tried in the same laptop but this time using Ubuntu 9.04 64-bit as host.

In both cases the installation must be aborted when the following message appears: "No installable kernel was found in the defined APT sources."

But the same installation using a Ubuntu Server 8.04.3 LTS (32-bit or 64-bit) as host and made via headless server works perfectly...

Any ideas?

Re: Can't install Ubuntu Server 8.04.3 in VirtualBox 3.0.6

Posted: 13. Sep 2009, 00:20
by Perryg
Couple of things to try.
(1) Make sure that PAE is turned on. (probably will fix it)
(2) make sure that you have updated kernel, linux-headers, and build-essential installed

Re: Can't install Ubuntu Server 8.04.3 in VirtualBox 3.0.6

Posted: 13. Sep 2009, 00:38
by mosocms
Hi Perryg!

When I create the VMs for Ubuntu Server I always turn on PAE, so (1) is covered.

Suggestion (2) were done when I tried to install using Ubuntu 9.04 64-bit as host. Using Windows 7 64-bit this suggestions doesn't apply.

In Windows 7 I used the following batch to create the VM:

Code: Select all

@ECHO OFF

CLS

SET VM_NAME="ubuntu-server-8.04.3"
SET VM_DISK="ubuntu-server-8.04.3.vdi"
SET VM_ISO="C:\ISOs\Ubuntu 8.04.3 LTS (Hardy Heron)\ubuntu-8.04.3-server-i386.iso"

SET VBOXMANAGE="C:\Program Files\VirtualBox\VBoxManage.exe"

ECHO.
ECHO.
ECHO                        VirtualBox Machine Creation Script
ECHO.
ECHO ================================================================================
ECHO VM_NAME = %VM_NAME%
ECHO.
ECHO VM_DISK = %VM_DISK%
ECHO.
ECHO VM_ISO = %VM_ISO%
ECHO.
ECHO ================================================================================
ECHO Creates a new virtual hard disk image.
ECHO.
%VBOXMANAGE% createhd --filename %VM_DISK% --size "10240" --remember
ECHO.
ECHO ================================================================================
ECHO Creates a new XML virtual machine definition file.
ECHO.
%VBOXMANAGE% createvm --name %VM_NAME% --register
ECHO.
ECHO ================================================================================
ECHO Changes the properties of a registered virtual machine.
ECHO.

%VBOXMANAGE% modifyvm %VM_NAME% --ostype "Ubuntu" --memory "256" --acpi "on" --ioapic "on" --pae "on" --boot1 "disk" --boot2 "dvd" --boot3 "none" --boot4 "none" --sata "on" --sataport1 %VM_DISK% --dvd %VM_ISO% --nic1 "bridged" --nictype1 "82545EM" --bridgeadapter1 "Realtek RTL8102E/RTL8103E Family PCI-E Fast Ethernet NIC (NDIS 6.20)" --vrdp "on"

ECHO ================================================================================
ECHO All done!
After run this batch I opened the GUI of VirtualBox, verified again all settings and turned the VM on. Later I get the error showed in the screenshot that I posted earlier.

Anyway, thanks for the suggestions! 8)

Re: Can't install Ubuntu Server 8.04.3 in VirtualBox 3.0.6

Posted: 13. Sep 2009, 00:44
by Perryg
I see several errors in your batch. Why not simply set it up the old fashion way and select defaults where you don't know what to put it?

Re: Can't install Ubuntu Server 8.04.3 in VirtualBox 3.0.6

Posted: 13. Sep 2009, 00:58
by mosocms
Can you please show me the errors in the batch?

Besides, I also tried "the old fashion way".

The same parameters of the batch were used with success using a Ubuntu Server 8.04.3 LTS (32-bit and 64-bit) as host. Then, the Ubuntu Server 8.04.3 LTS 32-bit were installed flawless.

:P

Re: Can't install Ubuntu Server 8.04.3 in VirtualBox 3.0.6

Posted: 13. Sep 2009, 01:27
by Perryg
Sorry I mis-read the batch file the first time. My apology.
I installed 8.04.3 again a few days ago though and it worked flawlessly. I was using the 3.06 beta but it should be the same on the final. I will try to install again tomorrow and let you know but from experience Ubuntu always works.

Re: Can't install Ubuntu Server 8.04.3 in VirtualBox 3.0.6

Posted: 13. Sep 2009, 01:52
by Perryg
I just installed a new clean copy of Ubuntu 8.04.3-jeos-i386.iso server and it went flawlessly with VBox 3.0.6.
It must have something to do with the 64 bit (VT-x/AMD-v) or something along that line.

Why not try adding --hwvirtex off to your batch modify and see if it will force an install for the 32 bit Ubuntu.
Also look in the bios and make sure that you have hardware-v turned on.

Re: Can't install Ubuntu Server 8.04.3 in VirtualBox 3.0.6

Posted: 13. Sep 2009, 11:11
by pixelblender
i can't install it either :(

here's what i have:
My Machine: Core2 Duo, 4GB RAM Dell XPS m1330.
Host OS: Windows XP 32 bit
Guest: Ubuntu Server 9.04 64 bit. ACPI: on, IOAPIC: on, PAE: on, VT-X/AMD-V: on, Nested Paging: on.

on virtualbox 3.02 the guest works just fine, but when i upgraded to 3.06 it failed to boot with no error message. i can see it's trying to boot from grub but that's it. tried to boot from install disc and i got the same result. no error message at all.

please help

regards,

PA

* edited the guest server type.

Re: Can't install Ubuntu Server 8.04.3 in VirtualBox 3.0.6

Posted: 13. Sep 2009, 12:25
by Papo06
In 3.0.6 theres is clearly a problem on 32 bits windows host running 64 bits linux guest:

http://forums.virtualbox.org/viewtopic.php?f=3&t=22224

i reverted to 3.0.2 (cause i had some weird mouse issues in 3.0.4)

Pascal

Re: Can't install Ubuntu Server 8.04.3 in VirtualBox 3.0.6

Posted: 13. Sep 2009, 19:30
by pixelblender
ah, seems like lots of people are having problems running virtualized 64 bit OS on 32 bit OS. that's sad because i need this config to mime our development server at work :(

oh well .. thanks for the info Pascal.

cheers,

PA

Re: Can't install Ubuntu Server 8.04.3 in VirtualBox 3.0.6

Posted: 13. Sep 2009, 22:28
by mosocms
Hi everbody! :)

My problem isn´t install a 64-bit guest (Ubuntu Server 8.04.3) on a 32-bit host.

It´s the other way around...

I am trying to install a 32-bit guest (Ubuntu Server 8.04.3) into a 64-bit host. I tried first using Windows 7 64-bit as host and then after failure I tried to install into a Ubuntu 9.04 64-bit as host.

Before I was using VirtualBox 3.0.4 without any problem in this same laptop. So clearly isn´t a problem with BIOS configuration or other hardware related stuff.

Something change from VirtualBox 3.0.4 to 3.0.6 that breaks up things... :roll:

Re: Can't install Ubuntu Server 8.04.3 in VirtualBox 3.0.6

Posted: 15. Sep 2009, 14:03
by mosocms
Any news about this problem? :roll: