Re: VMware on Debian

From: Jeremy Brooks (jeremyb_at_whirljack.net)
Date: 03/30/05

  • Next message: Tom Vier: "Re: md0 AND md2 RAID not detected anymore"
    Date: Wed, 30 Mar 2005 12:28:27 -0800 (PST)
    To: debian-user@lists.debian.org
    
    

    > Is VMware able to handle kernels that have version names like 2.6.10-v1 ?
    > It
    > appears as though it can only handle names like 2.6.10.
    >
    > Every time I reboot, I need to reconfigure vmware, has anyone else had
    > this
    > problem in Debian? I would ask VMware support about this, but Debian is
    > not
    > a supported distribution for VMware.
    >
    > thanks

    I run vmware on my Debian machine, with a kernel name of 2.6.10.20050126n,
    seems to work just fine.
     IIRC, you have to reconfigure it every time you reboot because the vmware
    devices are not recreated by udev.

    I use two scripts to handle this for me. One actually creates the device
    nodes (has to be run as root, I use sudo), the other is a wrapper to
    launch vmware and call the fix script if needed.

    Here they are, hope this helps:

    ------------------------------------------------------------------------
    #!/bin/bash

    # fix vmware devices that udev does not know about

    rm -f /etc/vmware/not_configured

    for a in `seq 0 9`; do
    mknod /dev/vmnet$a c 119 $a > /dev/null 2>&1
    done
    mknod /dev/vmmon c 10 165 > /dev/null 2>&1

    /etc/init.d/vmware restart
    ------------------------------------------------------------------------

    ------------------------------------------------------------------------
    #!/bin/bash

    # script to launch vmware
    #
    # handles the case where device nodes have
    # not been created because udev doesn't know
    # about them.
    #
    # requires fix_vmware script to be run as root
    # via sudo.
    # requires zentiy for eye candy.

    FIX_VMWARE=/home/jeremyb/bin/fix_vmware
    VMWARE=/usr/local/bin/vmware

    # do the device nodes exist?
    if [ ! -d /dev/vmnet0 ]; then
      zenity --question --text="Device nodes do not exist. Attempt to create
    them?"
      response=$?
      if [ "$response" = "0" ] ; then
        sudo $FIX_VMWARE | zenity --progress --text="Creating device nodes and
    starting vmware..." --auto-close --pulsate
      else
        echo "exiting"
        exit 1
      fi
    fi

    # launch
    $VMWARE &

    exit 0
    ------------------------------------------------------------------------

    -- 
    To UNSUBSCRIBE, email to debian-user-REQUEST@lists.debian.org 
    with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
    

  • Next message: Tom Vier: "Re: md0 AND md2 RAID not detected anymore"

    Relevant Pages

    • Re: How do I display only the last output string in vbscript
      ... The logoff button in the start menu and Ctrl+Alt+Del menu has been ... The script checks for the VMware ... Please turn off the VMs before continuing. ...
      (microsoft.public.scripting.vbscript)
    • Re: BASH mystery (no, really!)
      ... In the middle of much trouble trying to set up VMWare Server on Ubuntu ... and it seems to translate into a wrapper shell script ... If I run the command directly from the console, ... pathname, without spaces in it. ...
      (comp.os.linux.misc)
    • VMWare Guest Operations on FreeBSD? Anyone got this to work?
      ... I'm trying to script ... I've been told by some VMWare techs that guest ... operations are not supported on FreeBSD at this time. ...
      (freebsd-questions)
    • RE: Firewall & IP Forwarding problems
      ... > I'm trying to connect my pocket pc by wíreless to my VMWare Windows ... > $INSMOD ip_conntrack ... > #Load the FTP tracking mechanism for full FTP tracking ... > After applying this script, I'm able to ping the pocketpc from the ...
      (Debian-User)
    • Re: [opensuse] halt / reboot waiting time
      ... The VMware processes are started and stopped via its rc script ... If the problem is that it doesn't wait for vmware to stop, ... But what if I issue a 'halt' command on the command line, it calls /sbin/halt - and I'm not sure if it uses inittab.. ...
      (SuSE)