How To Run Ubuntu In VMWare

Page 1 of 2 12 LastLast

  1. Arc
    Posts : 35,373
    Microsoft Windows 10 Pro Insider Preview 64-bit
       #1

    How To Run Ubuntu In VMWare


    HI FRIENDS !
    I dont know much more about Ubuntu, but having interest in it. So I installed Ubuntu 9.04 in VMWare Workstation 7 using easy install. When finished, it asked for username and password. After giving those appropriately, it shows the screen as below.

    I want to know what to do next to have the ubuntu gui. Pleae help me. The host is Windows 7 Home premium.
    Attached Thumbnails Attached Thumbnails How To Run Ubuntu In VMWare-untitled.jpg  
      My Computer


  2. Posts : 5,941
    Linux CENTOS 7 / various Windows OS'es and servers
       #2

    Hi there
    I haven't used Ubuntu -- but I'd imagine when you installed the OS didn't it request you for a password for ROOT at install time.

    So just login as ROOT and add or change a username and password.

    Unless you are installing a "Pre generated" version of Linux then you are usually prompted for a default user and also a password for Root when installing the OS.

    You could also try this Forum for more Linux info -- I'm sure the admins won't mind a referral to this Forum since you are essentially asking a Linux based question.

    This is actually an EXCELLENT Linux Forum too.

    LinuxQuestions.org

    Cheers
    jimbo
    Last edited by jimbo45; 04 Feb 2010 at 08:39.
      My Computer


  3. Posts : 1,210
    Windows 7 Ultimate x64 (XP, 98SE, 95, 3.11, DOS 7.10 on VM) + Ubuntu 10.04 LTS Lucid Lynx
       #3

    did you select the text mode during install, because by default Ubuntu installs with the graphical display manager by default.

    i think the default boot is set to text mode. To load the graphical interface when you log in, just type
    Code:
    startx
    To set the default start up mode as graphical, after the GUI loads up
    open up a terminal window (Applications Menu -> Accessories -> Terminal)
    and type
    Code:
    sudo gedit /boot/grub/menu.lst
    check for something like this (it will be at the end)
    title Ubuntu 9.04, kernel 2.6.24-19-generic
    root (hd0,0)
    kernel /boot/vmlinuz-2.6.24-19-generic root=UUID=21c38426-84f0-4946-bee7-318074de0787 ro quiet splash text
    initrd /boot/initrd.img-2.6.24-19-generic
    quiet

    change the kernel line to
    kernel /boot/vmlinuz-2.6.24-19-generic root=UUID=21c38426-84f0-4946-bee7-318074de0787 ro quiet splash
    (remove the 'text' at the end)

    Save the file and restart the virtual machine

    for more info and help about Ubuntu, you can check out the official forum for Ubuntu
    Ubuntu Forums

    btw, you are using Ubuntu 9.04 Jaunty Jackalope
    Last edited by gladson1976; 18 Feb 2010 at 00:39.
      My Computer


  4. Arc
    Posts : 35,373
    Microsoft Windows 10 Pro Insider Preview 64-bit
    Thread Starter
       #4

    gladson1976 said:
    did you select the text mode during install, because by default Ubuntu installs with the graphical display manager by default.

    i think the default boot is set to text mode. To load the graphical interface when you log in, just type
    Code:
    startx
    To set the default start up mode as graphical, after the GUI loads up
    open up a terminal window (Applications Menu -> Accessories -> Terminal)
    and type
    Code:
    sudo gedit /boot/grub/menu.lst
    check for something like this (it will be at the end)
    title Ubuntu 9.04, kernel 2.6.24-19-generic
    root (hd0,0)
    kernel /boot/vmlinuz-2.6.24-19-generic root=UUID=21c38426-84f0-4946-bee7-318074de0787 ro quiet splash text
    initrd /boot/initrd.img-2.6.24-19-generic
    quiet

    change the kernel line to
    kernel /boot/vmlinuz-2.6.24-19-generic root=UUID=21c38426-84f0-4946-bee7-318074de0787 ro quiet splash
    (remove the 'text' at the end)

    Save the file and restart the virtual machine

    for more info and help about Ubuntu, you can check out the official forum for Ubuntu
    Ubuntu Forums

    btw, you are using Ubuntu 9.04 Jaunty Jackalope
    Yes , it is ubuntu 9.04.
    during installation, I just selected easy install option of vmware and then it installed automatically including vmware tools and then it happened.

    In the mean time, I deleted that vm, so at present I have no way to follow your instructions, but as I am trying to have linux in grip, I will do in again, and then I hope this guideline will help me.
      My Computer


  5. Posts : 2,736
    ...
       #5

    Ubuntu does not create or ask for a "root" user password. I am sure the objective is to be more user friendly. Instead, to have "root" permissions for administrative tasks, the user is asked for the "User" password created during the install. In a terminal (for command prompt) the user types: "sudo" before the command and must supply the "User" password again. It is possible to change the default settings, give "root" a password and login as "root", but it is discouraged.

    Evidently the VMWare install was not like the default install as by default Ubuntu boots to a GUI login screen. It is very possible that the "startx" command would have opened the GUI, as suggested.

    Ubuntu also supports WUBI: "Wubi allows you to install and uninstall Ubuntu as any other Windows application, in a simple and safe way." Use Ubuntu from within Windows.

    Cheers!
    Robert
      My Computer


  6. Posts : 1,210
    Windows 7 Ultimate x64 (XP, 98SE, 95, 3.11, DOS 7.10 on VM) + Ubuntu 10.04 LTS Lucid Lynx
       #6

    as iseeuu said, you can use WUBI to install Ubuntu from within Windows and its very very easy.
    Only downside is that, its not a virtual machine but a real installation within a single file in Windows. That means you cannot have both Windows and Ubuntu running at the same time.
    Last edited by gladson1976; 18 Feb 2010 at 00:38.
      My Computer


  7. brj
    Posts : 25
    Win7 Home Premium 32
       #7

    hi,

    i recently installed ubuntu 9.10 in VirtualBox. Ubuntu asks fo a user (not root) and adds it to the sudoers. so whenever you need root privileges you can use sudo:

    sudo mkdir /opt

    i did not manipulate any grub files or the like. Ubuntu just worked in the vm of VirtualBox.

    have fun

    jakob
      My Computer


  8. Arc
    Posts : 35,373
    Microsoft Windows 10 Pro Insider Preview 64-bit
    Thread Starter
       #8

    iseeuu said:
    Ubuntu does not create or ask for a "root" user password. I am sure the objective is to be more user friendly. Instead, to have "root" permissions for administrative tasks, the user is asked for the "User" password created during the install. In a terminal (for command prompt) the user types: "sudo" before the command and must supply the "User" password again. It is possible to change the default settings, give "root" a password and login as "root", but it is discouraged.

    Evidently the VMWare install was not like the default install as by default Ubuntu boots to a GUI login screen. It is very possible that the "startx" command would have opened the GUI, as suggested.

    Ubuntu also supports WUBI: "Wubi allows you to install and uninstall Ubuntu as any other Windows application, in a simple and safe way." Use Ubuntu from within Windows.

    Cheers!
    Robert
    gladson1976 said:
    as iseeuu said, you can use WUBI to install Ubuntu from within Windows and its very very easy.
    Only downside is that, its not a virtual machine but a real installation within a single file in Windows. That means you cannot have both Windows and Ubuntu running at the same time.
    As you are suggesting, I am taking a try. Downoading it.

    May I install compiz in this Ubuntu ?
      My Computer


  9. Posts : 7,878
    Windows 7 Ultimate x64
       #9

    Arc...any reason that you have to use Ubuntu 9.04? Can you use 9.10?

    I've got VMWare Player 3.0...which is very similar to the Workstation 7 product. I can run it through a test for you and tell you exactly what I do and experience.

    To me, it loaded fine for you...but for whatever reason you aren't getting the GUI interface..but rather the command line.

    You didn't by any chance install Ubuntu 9.04 server, did you???
      My Computer


  10. Arc
    Posts : 35,373
    Microsoft Windows 10 Pro Insider Preview 64-bit
    Thread Starter
       #10

    pparks1 said:
    Arc...any reason that you have to use Ubuntu 9.04? Can you use 9.10?

    I've got VMWare Player 3.0...which is very similar to the Workstation 7 product. I can run it through a test for you and tell you exactly what I do and experience.

    To me, it loaded fine for you...but for whatever reason you aren't getting the GUI interface..but rather the command line.

    You didn't by any chance install Ubuntu 9.04 server, did you???
    I am using ubuntu 9.04 coz I am lazy, I dont have downloaded the recent 9.10.
    Obviously I have installed Ubuntu9.04; not the server edition. Last hour I got it reinstalled in the same manner as previous, and I got the same thing. However, startx command worked for me this time, and now I am posting from Ubuntu :)
    Perhaps my choice "easy install" creates this ! I Am choosing it coz I dont know how to install vmware tools in linux. Actually I am trying linux for the first time
      My Computer


 
Page 1 of 2 12 LastLast

  Related Discussions
Our Sites
Site Links
About Us
Windows 7 Forums is an independent web site and has not been authorized, sponsored, or otherwise approved by Microsoft Corporation. "Windows 7" and related materials are trademarks of Microsoft Corp.

© Designer Media Ltd
All times are GMT -5. The time now is 03:17.
Find Us