Jump to content











Photo
- - - - -

Latest version of virtualBox script?


  • Please log in to reply
55 replies to this topic

#51 pecd.net

pecd.net

    Silver Member

  • .script developer
  • 947 posts
  •  
    Germany

Posted 28 February 2010 - 04:15 PM

I still have problems here:

A: I can not get network support to work with this script (maybe it never worked for me before, i did not test)...

with the following commands it works fine (just a test in a cmd file)...

set vmname=CC-7PE 2010_Box

set vboxmanager="C:\Program Files\Sun\VirtualBox\VBoxManage.exe"

set iso=c:\CCRescue 2010\ISO\cc7pe.iso



%vboxmanager% createvm --name "%vmname%" --ostype "Windows7" --register --basefolder "c:\ddd"

%vboxmanager% storagectl "%vmname%" --name "IDE Controller" --add ide

%vboxmanager% storageattach "%vmname%" --storagectl "IDE Controller" --port 0 --device 0 --type dvddrive --medium "%iso%"

%vboxmanager% modifyvm "%vmname%" --vram 32 --usb on --usbehci on --memory 1024 --nic1 nat --boot1 dvd --boot2 none --boot3 none --boot4 none

pause

%vboxmanager% startvm "%vmname%"

pause

exit

as you can see i set nic 1 to nat...this works fine for me...

Edit: i was a bit irritated by the script interface: why is there an option to select between three networking optione (None,NAT,Bridge) and obove this an option "Use NIC bridge mode..." ? Does not make sense to me...can someone explain ? Thanks!

B: Another Problem is that my vbox manager now shows several virtual boxes that were removed by the script..they still stay in the list...

C: please add the option to set up to 2GB of ram (for some situations this is helpfull...)

D: Adding harddisks (using the script interface) seems to do nothing..i can not see any discs in PE...
Edit: I manually added a HD to the created VM and it shows up fine in PE..so there must be some problem with the script not adding the disks right...


Attached a logfile of running an existatnt iso in VB

Attached Files



#52 Lancelot

Lancelot

    Frequent Member

  • .script developer
  • 5013 posts
  • Location:Turkiye/Izmir
  • Interests:*Mechanical stuff and Physics,
    *LiveXP, BartPE, SherpyaXPE,
    *Basketball and Looong Walking,
    *Buying outwear for my girlf (Reason: Girls are stupid about buying bad stuff to make themselves uglier :))
    *Girls (Lyric: Girl,...., You will be a womann, Soon)
    *Answering questions for "Meaning of life",
    *Helping people,

    Kung with LiveXP, Fu with Peter :)
  •  
    Turkey

Posted 02 March 2010 - 01:43 AM

A: !! yep not working here too....
edit: partially answer, check interface pNumberBox2 (I did not touch that since it was the design)
B: I noticed it after your post (and made me smile), Fixed
C: done
D: yep, for a reason it is not added to xml !!

it seems fixes create new things, I guess A: D: left for a very good script..

Well since you know vbox much better than me (and I truely am not a fan of the script, but only participate to only change it from "not working" state to "working"), I would like you to make further fixes/changes/enhancements on script and I will update by following you.

here it is:
http://livexp.boot-l...rtualBox.script

:dubbio:

edit:
D: works on nonespaced/nonespecialcha folder.... maybe A also related ?!?!.... This is all about design and vbox management. I leave it you guys.

#53 pecd.net

pecd.net

    Silver Member

  • .script developer
  • 947 posts
  •  
    Germany

Posted 02 March 2010 - 04:11 AM

i fixed the network issue...will merge with your fixes and will post as i can find the time...

#54 pscEx

pscEx

    Platinum Member

  • Team Reboot
  • 12707 posts
  • Location:Korschenbroich, Germany
  • Interests:What somebody else cannot do.
  •  
    European Union

Posted 08 March 2010 - 05:05 PM

New version online which hopefully fixed all troubles.

See here

Peter

#55 pecd.net

pecd.net

    Silver Member

  • .script developer
  • 947 posts
  •  
    Germany

Posted 08 March 2010 - 05:25 PM

works great...thanks !!

#56 niche99

niche99

    Frequent Member

  • Advanced user
  • 235 posts
  • Location:Aberdeen, Scotland
  •  
    Scotland

Posted 17 April 2010 - 06:40 PM

Latest version VirtualBox.script 0.38 fails to launch VirtualBox 3.1.6.<br /><br />I would attach a log but can't seem to find the upload button any more!<br /><br />Regards,<br />niche99




1 user(s) are reading this topic

0 members, 1 guests, 0 anonymous users