Can't install any guest

Discussions about using Linux guests in VirtualBox.
Post Reply
lleto
Posts: 2
Joined: 6. Nov 2010, 17:18
Primary OS: Ubuntu other
VBox Version: OSE other
Guest OSses: Debian, Ubuntu

Can't install any guest

Post by lleto »

Hi,
I'm missing something silly. I'm running Ubuntu 10.04 LTS and use VBox 3.2.10. As far as I can see the VBox install went okay, had some missing packages but these dependencies were solved.

Now I try to make new virtual machines using the following sequence:
- VBoxManage createvm -name “<name>” -register
- VBoxManage modifyvm “<name>” --memory 512 --acpi on --boot1 dvd --nic1 nat
- VBoxManage createhd --filename "<name>.vdi" --size 10000 --remember
- VBoxManage storagectl "<name>" --add ide --name 'IDE Controller'
- VBoxManage modifyvm "<name>" --hda <name>.vdi
- VBoxManage storageattach "<name>" --storagectl "IDE Controller" --port 1 --device 0 --type dvddrive --medium /usr/iso-file

So far no problem, so I issue:
VBoxHeadless -startvm "<name>" &

(where <name> is the name I gave the VBox). I can connect to the vm on port 3389 using remote desktop under windows and can see the virtual machine. I get a debian or ubuntu setup procedure (depending on the mounted iso). I can enter timezone, keyboard, it detects network fine. The problem in both cases (ubuntu 10.04 and debian) start when it starts to install the base system. Both simply quit at 6%. At that time the windows remote desktop stops responding. If I look on the linux machine with ssh I can see the process VBoxHeadless is killed.

What am I missing.. ? Harddisk of my host has 114GB free, server has 4GB physical mem, load avg is 0.

Thanks,
lleto
Sasquatch
Volunteer
Posts: 17798
Joined: 17. Mar 2008, 13:41
Primary OS: Debian other
VBox Version: VirtualBox+Oracle ExtPack
Guest OSses: Windows XP, Windows 7, Linux
Location: /dev/random

Re: Can't install any guest

Post by Sasquatch »

Verify your settings with VBoxManage showvminfo <name> --details. If they all add up correctly (with a HD attached to it and everything), then start the VM through SSH and keep an eye on it. It's best if you don't get the prompt back, as you will then see what is causing the sudden quit of the process.
Read the Forum Posting Guide before opening a topic.
VirtualBox FAQ: Check this before asking questions.
Online User Manual: A must read if you want to know what we're talking about.
Howto: Install Linux Guest Additions
Howto: Use Shared Folders on Linux Guest
See the Tutorials and FAQ section at the top of the Forum for more guides.
Try searching the forums first with Google and add the site filter for this forum.
E.g. install guest additions site:forums.virtualbox.org

Retired from this Forum since OSSO introduction.
lleto
Posts: 2
Joined: 6. Nov 2010, 17:18
Primary OS: Ubuntu other
VBox Version: OSE other
Guest OSses: Debian, Ubuntu

Re: Can't install any guest

Post by lleto »

Hi,
thanks. See below for my showvminfo. Looks good to me: HD is there, proc is there, DVD is mounted, network present...

What do you mean by start it via SSH? I tried running it as VBoxManage starvm ERP --vrdp, but the result is the same. Process gets killed, no error message visual.

lleto

Name:            ERP
Guest OS:        Other/Unknown
UUID:            3b960605-624a-443f-ba28-6bd0670372fe
Config file:     /root/.VirtualBox/Machines/ERP/ERP.xml
Hardware UUID:   3b960605-624a-443f-ba28-6bd0670372fe
Memory size:     512MB
Page Fusion:     off
VRAM size:       8MB
HPET:            off
Number of CPUs:  1
Synthetic Cpu:   off
CPUID overrides: None
Boot menu mode:  message and menu
Boot Device (1): DVD
Boot Device (2): DVD
Boot Device (3): HardDisk
Boot Device (4): Not Assigned
ACPI:            on
IOAPIC:          off
PAE:             off
Time offset:     0 ms
RTC:             local time
Hardw. virt.ext: on
Hardw. virt.ext exclusive: on
Nested Paging:   on
Large Pages:     off
VT-x VPID:       on
State:           powered off (since 2010-11-06T15:08:24.000000000)
Monitor count:   1
3D Acceleration: off
2D Video Acceleration: off
Teleporter Enabled: off
Teleporter Port: 0
Teleporter Address:
Teleporter Password:
Storage Controller Name (0):            IDE Controller
Storage Controller Type (0):            PIIX4
Storage Controller Instance Number (0): 0
Storage Controller Max Port Count (0):  2
Storage Controller Port Count (0):      2
IDE Controller (0, 0): /root/.VirtualBox/HardDisks/ERP.vdi (UUID: 0b064787-878f-4a6d-9dd5-f3cd8c7                      f5dbc)
IDE Controller (1, 0): /usr/src/debian-506-i386-netinst.iso (UUID: 6e035fc3-e01a-4136-8101-18a75c                      e7565a)
NIC 1:           MAC: 080027D290E3, Attachment: NAT, Cable connected: on, Trace: off (file: none)                      , Type: Am79C973, Reported speed: 0 Mbps, Boot priority: 0
NIC 1 Settings:  MTU: 0, Socket( send: 64, receive: 64), TCP Window( send:64, receive: 64)
NIC 2:           disabled
NIC 3:           disabled
NIC 4:           disabled
NIC 5:           disabled
NIC 6:           disabled
NIC 7:           disabled
NIC 8:           disabled
Pointing Device: PS/2 Mouse
Keyboard Device: PS/2 Keyboard
UART 1:          disabled
UART 2:          disabled
Audio:           disabled
Clipboard Mode:  Bidirectional
VRDP:            disabled
USB:             disabled
USB Device Filters:
<none>
Shared folders:  <none>
Guest:
Configured memory balloon size:      0 MB
Post Reply