Hej all,
I wanted to start/stop my vbox onn Debian Etch like a linux daemon, so I
wrote this little script and placed it into /etc/init.d and made an
appropriate symlink /etc/rc2.d/S20/vbox_WindowsXP_1 using rcconf (lazy
as I am). The vbox starts but crashes soon with this log entries:
00:00:04.618 Guest Log: BIOS: CDROM boot failure code : 0004
00:00:04.618 Guest Log: BIOS: Boot from CD-ROM failed
00:00:04.618 Guest Log: BIOS: CDROM boot failure code : 0004
00:00:04.618 Guest Log: BIOS: Boot from CD-ROM failed
00:00:04.619 Guest Log: BIOS: Booting from Hard Disk...
00:00:04.984 Display::handleDisplayResize(): uScreenId = 0,
pvVRAM=b2d30000 w=640 h=480 bpp=0 cbLine=0x140
00:00:05.007 Guest Log: BIOS: int13_harddisk: function 15, unmapped
device for ELDL=81
00:00:07.169 Display::handleDisplayResize(): uScreenId = 0,
pvVRAM=00000000 w=720 h=400 bpp=0 cbLine=0x0
00:00:07.173 PIT: mode=2 count=0x2ead (11949) - 99.85 Hz (ch=0)
00:00:07.274 Display::handleDisplayResize(): uScreenId = 0,
pvVRAM=b2d30000 w=640 h=480 bpp=0 cbLine=0x140
00:00:08.678 PIIX3 ATA: LUN#0: IDLE IMMEDIATE, CmdIf=0xef (-1 usec ago)
00:00:08.678 PIIX3 ATA: LUN#0: aborting current command
00:00:12.856 Guest Additions information report: additionsVersion =
0x00010004
osType = 0x00033000
00:00:13.173 Guest reported fixed hypervisor window at 0xfb400000 (size
= 0x800000, rc = VINF_SUCCESS)
00:00:13.175 Guest requests mouse pointer integration
00:00:13.191 Guest adapter information contains unsupported type 5. The
block has been skipped.
00:00:13.198 PCNet#0: Init: ss32=1 GCRDRA=0x010e4420[64]
GCTDRA=0x010e4020[64]
00:00:13.356 PCNet#0: Init: ss32=1 GCRDRA=0x010e4420[64]
GCTDRA=0x010e4020[64]
00:00:15.104 Display::handleDisplayResize(): uScreenId = 0,
pvVRAM=b2d30000 w=800 h=600 bpp=8 cbLine=0x320
00:00:17.995 PCNet#0: Init: ss32=1 GCRDRA=0x010e4420[64]
GCTDRA=0x010e4020[64]
00:00:17.996 PCNet#0: Init: ss32=1 GCRDRA=0x010e4420[64]
GCTDRA=0x010e4020[64]
00:00:19.588 Guest Additions capability report: (0x1)
VMMDEV_GUEST_SUPPORTS_SEAMLESS: yes
VMMDEV_GUEST_SUPPORTS_GUEST_HOST_WINDOW_MAPPING: no
00:00:30.192 PCNet#0: Init: ss32=1 GCRDRA=0x010e4420[64]
GCTDRA=0x010e4020[64]
Here is that script:
#!/bin/bash
#
### BEGIN INIT INFO
# Provides: vbox_win2003server
# Required-Start:
# Should-Start: $ALL
# Default-Start: 2 3 5
# Default-Stop: 0 1 6
# Short-Description: Start Windows 2003 Server in a VirtualBox
# Description: Start Windows 2003 Server in a VirtualBox
### END INIT INFO
#
case "$1" in
start)
VBoxVRDP -startvm "WindowsXP_1" &
;;
stop)
VBoxManage controlvm "WindowsXP_1" acpipowerbutton &
;;
restart)
$0 stop
sleep 1
$0 start
;;
status)
VBoxManage showvminfo "WindowsXP_1" &
;;
*)
echo "Usage: $0 { start | stop | restart | status }"
exit 1
;;
esac
Any ideas???
Regards,
Boris
_______________________________________________
vbox-users mailing list
[email protected]
http://vbox.innotek.de/mailman/listinfo/vbox-users