+ Post New Thread
Page 2 of 2 FirstFirst 12
Results 16 to 20 of 20
*nix Thread, virtual windows server on gentoo with no gui in Technical; Ok, with messing with the settings in the terminal services client in ubuntu, I have managed to get ctrl-alt-del working ...
  1. #16

    RabbieBurns's Avatar
    Join Date
    Apr 2008
    Location
    Sydney
    Posts
    4,747
    Blog Entries
    6
    Thank Post
    1,015
    Thanked 427 Times in 272 Posts
    Rep Power
    141
    Ok, with messing with the settings in the terminal services client in ubuntu, I have managed to get ctrl-alt-del working by specifically choosing then en-uk keyboard, rather than the option to detect it

  2. IDG Tech News

  3. #17

    RabbieBurns's Avatar
    Join Date
    Apr 2008
    Location
    Sydney
    Posts
    4,747
    Blog Entries
    6
    Thank Post
    1,015
    Thanked 427 Times in 272 Posts
    Rep Power
    141
    Sorry for another question.... but how would i get the new VM to have an IP address on the same network as the host, and be viewable from all other hosts on the network - rather than being NAT'd from the gentoo host IP?

    Would that involve what I took a note of earlier?
    For advanced networking setups you should emerge:
    * net-misc/bridge-utils and sys-apps/usermode-utilities

  4. #18

    RabbieBurns's Avatar
    Join Date
    Apr 2008
    Location
    Sydney
    Posts
    4,747
    Blog Entries
    6
    Thank Post
    1,015
    Thanked 427 Times in 272 Posts
    Rep Power
    141
    Just knocked this up to simplify things for me.. Doesnt do any sanity checking for input or anything, but its a start...

    Code:
    #!/bin/bash
    echo Create New VirtualBox Machine Helper
    echo ------------------------------------
    echo
    echo -n "Enter a name for your machine: "
    read MACHINENAME
    echo -n "How much RAM should it have? (eg 512): "
    read RAM
    echo -n "How big HD to create? (eg 10000 = 10gb): "
    read HDSIZE
    echo -n "Do you need to register a new .iso? (Y/N): "
    read REGISO
            if [ "$REGISO" = "Y" ] || [ "$REGISO" = "y" ]; then
                    echo -n "Enter .iso file to register, including full path: "
                    read NEWISO
                    echo Registering new .iso ...
                    VBoxManage registerimage dvd $NEWISO
            fi
    echo -n "Enter .iso file to use for boot, including full path: "
    read ISO
    read -p "Press any key to start creating the Virtual Machine "
    echo Creating machine...
    VBoxManage createvm -name "$MACHINENAME" -register
    echo Setting specs...
    VBoxManage modifyvm "$MACHINENAME" -memory "$RAMMB" -acpi on -boot1 dvd -nic1 nat
    echo Creating HD...
    VBoxManage createvdi -filename "$MACHINENAME.vdi" -size $HDSIZE -register
    echo Registering HD...
    VBoxManage modifyvm "$MACHINENAME" -hda "$MACHINENAME.vdi"
    echo Setting Boot CD...
    VBoxManage modifyvm $MACHINENAME -dvd $ISO
    echo All Done...
    echo
    also made this as well for new cd images:

    Code:
    #!/bin/bash
    echo Virtualbox register new .iso image
    echo ----------------------------------
    echo -n "Enter image filename (including path): "
    read iso
    VBoxManage registerimage dvd $iso
    Not sure if anyones as lazy as me, but posted these here anyway...

  5. #19

    RabbieBurns's Avatar
    Join Date
    Apr 2008
    Location
    Sydney
    Posts
    4,747
    Blog Entries
    6
    Thank Post
    1,015
    Thanked 427 Times in 272 Posts
    Rep Power
    141
    To install the Guest Additions, you need to register the .iso which is included...

    Code:
    VBoxManage registerimage dvd /opt/VirtualBox-2.0.2/additions/VBoxGuestAdditions.iso
    and then assign it to the VM

    Code:
    VBoxManage controlvm "2003Server" dvdattach /opt/VirtualBox-2.0.2/additions/VBoxGuestAdditions.iso

  6. #20

    RabbieBurns's Avatar
    Join Date
    Apr 2008
    Location
    Sydney
    Posts
    4,747
    Blog Entries
    6
    Thank Post
    1,015
    Thanked 427 Times in 272 Posts
    Rep Power
    141
    Last edited by RabbieBurns; 4th July 2009 at 03:20 PM.

SHARE:
+ Post New Thread
Page 2 of 2 FirstFirst 12

Similar Threads

  1. Replies: 0
    Last Post: 5th May 2009, 02:45 PM
  2. Replies: 5
    Last Post: 11th December 2008, 04:34 PM
  3. GUI interface for Server Core
    By cookie_monster in forum Windows Server 2008
    Replies: 9
    Last Post: 8th April 2008, 09:23 AM
  4. Virtual Server 2005 R2 kills server network connection
    By ajbritton in forum Thin Client and Virtual Machines
    Replies: 0
    Last Post: 31st August 2006, 06:19 AM
  5. Gentoo issues
    By _Bob_ in forum *nix
    Replies: 1
    Last Post: 31st October 2005, 03:29 PM

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •