LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Ubuntu (https://www.linuxquestions.org/questions/ubuntu-63/)
-   -   installing ubuntu on vmware 8 (https://www.linuxquestions.org/questions/ubuntu-63/installing-ubuntu-on-vmware-8-a-914505/)

baharehmk 11-20-2011 06:36 AM

installing ubuntu on vmware 8
 
hi dear friends
I am new in Ubuntu .
I want to install Ubuntu on VMWare but it automatically install Ubuntu in text mode.
I am unable to install it's Gnu.
when I type sudo apt-get install xinit this error will be appeared
"could not find package"
please help me

camorri 11-20-2011 06:47 AM

Quote:

it automatically install Ubuntu in text mode.
This is because the installer couldn't see enough system resources to install in gui mode.
That does not mean you did not install the packages to run a gui desktop.

Try opening a console, and type 'startx' ( without the quotes ). That will start ( or try to ) start the desktop.

As far as I know 'init' is not a package. What are you trying to install?

taylorkh 11-20-2011 04:30 PM

What image did you install Ubuntu from? The "Live CD" image contains the gui. The "server" image does not. The "alternate" image will do either as I recall but the installer is text based.

That said... what hardware are you running VMWare on? And what OS is VMWare running on? I have run Ubuntu on VMWare Workstation 6.something and player 2.something on a Pentium 4 running Windows XP and had no problem with the Ubuntu gui running so the hardware requirements are not too great.

Ken

baharehmk 11-20-2011 11:13 PM

hi
my system resources are enough and I want to install ubuntu 11.04 desktop edition.
I typed startx .
this message be appeared "the program 'startx' is currently not installed you can install it by typing sudo apt-get install xinit"
please help me

baharehmk 11-20-2011 11:15 PM

and when i type sudo apt-get install xinit this error message was appeared
E:unable to locate package xinit

camorri 11-21-2011 06:31 AM

xinit is a valid package name on 10.04. Have you set up the repos? If not, you will need the install media in the system to install any packages.

How did you install this system? From CD or DVD? If yes, you will need to install any missing packages from that media, until you can get a gui and set up the online repos.

baharehmk 11-21-2011 06:53 AM

would you please guide me more
thanks

camorri 11-21-2011 08:19 AM

Quote:

would you please guide me more
I would be happy to, you have to help by answering the questions we ask, at least to the best of your ability.

Quote:

Have you set up the repos?
I suspect no is the answer, this is most easily done in a gui, you don't have one. However, it is just a text file and it can be manually edited. I have to go find out the name of the file. It is not something I usually do.

Quote:

How did you install this system? From CD or DVD?
This you should be able to tell me.

Understand, for apt-get to work, it has to know about the online repos. If they are not configured, you can not use them. The other choice is to install from a local media, CD, or DVD.

In a virtual machine install, the CD or DVD is owned by the host system. I don't use Vmware, I do use VirtualBox. There may well be differences I don't know about. In V-box, once the OS is installed, you have to install guest additions so you can allow the guest OS to use the CD/DVD drive. This part you will have to figure out, or someone else that uses vmware may let us know how to make the drive available to a guest OS.

Then you need the media in the drive, and you should be able to use apt-get to install what ever you are missing.

You said above, you have enough resources. In a virtual machine, you have to allocate some of those resources to the guest system.

How much memory did you allocate for the install? If you did not allocate enough, this may explain why you got the text install.

taylorkh 11-22-2011 08:14 AM

I think the best thing would be to start over and rebuild the virtual machine. First, download the correct iso file. For Ubuntu 11.10 it will be one of these
Quote:

ubuntu-11.10-desktop-i386.iso
ubuntu-11.10-desktop-amd64.iso
depending on what system architecture you have on your PC. If you are not sure, use the i386 file.

In VMware Workstation create a new VM and point to the iso file. VMWare should detect it as Ubuntu. From there I generally accept all defaults except that I customize the hardware and change the network to "bridged." That allows the VM to get an IP address from my router. Allow VMWare to do its thing.

I have noticed that Ubuntu 11.10 will stall after automatically installing VMWare Tools. It stops at a command prompt. Simply login with the name and password you used during the build. Then issue the command
Quote:

sudo shutdown -r now
and again provide your password when prompted. It should boot up to a gui interface. If not, please describe what happened.

Ken


All times are GMT -5. The time now is 07:55 AM.