So I am installing various OS on my new iMac with the help of Fusion VMware. i sucessfully install Ubuntu using Fusion VMware and a mounted disk image of Ubuntu.

The installation seems to have executed correctly since i can boot the virtual machine. However, since i am totally new to Ubuntu i have no idea what to enter in the username and password it prompts me for at startup. It never prompted me for these values during the installation.

Sorry for the stupid questions but cant seem to find the basic stuff anywhere.

momogogo

Dani AI

Generated

As describes, the VM boots from the Ubuntu disk image but no user/password was created during setup. Two common causes explain that behaviour: the virtual machine is still running the live CD/session (no OS was written to the VM disk), or a prebuilt appliance/image with preset credentials was used (as noted). ’s comment about purpose is valid but isn’t needed to fix the immediate login issue.

Signs that the VM is still the live session: an “Install Ubuntu” icon on the desktop and automatic login to a desktop environment. Live sessions typically auto-log in as the ubuntu user (no password). If that is the case, run the installer from the desktop and create the account during installation.

If Ubuntu was installed to the virtual disk but credentials are unknown, recovery-mode password reset is simplest. From the VM’s boot sequence, show the GRUB menu (hold Shift while the VM boots), choose a “recovery mode” entry and select the root shell. Then remount root read/write, list user folders to find the account name, set a new password and reboot:

mount -o remount,rw /
ls /home
passwd <username>
reboot

If GRUB isn’t accessible, boot the ISO as a live disk, mount the installed root partition and chroot into it to run passwd (replace /dev/sda1 with the correct partition):

sudo fdisk -l
sudo mount /dev/sda1 /mnt
sudo chroot /mnt
passwd <username>
exit
sudo reboot

If the above feels unclear, re-running the installer inside Fusion to perform a fresh, guided install will recreate a user account and eliminate the confusion. After a proper install, add VMware Tools for better VM integration.

Recommended Answers

All 4 Replies

OK - to ask an obvious question. You already run one unconfigurable OS (OS X), but now you are trying to run an equally unconfigurable OS (the don't call Ubuntu the "poor man's OS X" for nothing) over the top.... can I ask WHY??

Member Avatar for Member #46692

That is an nonconstructive answer.

There could be a host of reasons why the OP wants to run ubuntu. He might be testing software explicitly that is designed to run in ubuntu. Or just be using it as an expedient to learn another OS in a vmware protective layer... etc

If you download the vm images of the vmware website. It should tell you what the default username and password is under the tech specs.

For example, the one for the link below would be "tuxdistro."

That is an nonconstructive answer.

There could be a host of reasons why the OP wants to run ubuntu.

True, but had to ask. The concern I have with the link provided is that it is for Ubuntu 8, where Ubuntu is already moved to latest release cycle v9. Is this likely to cause any incompatibilities, if designing for Ubuntu, or Linux in general?

Thanks for the replies.

Yes, actually I am interested in learning new OS's under the protective layer of Vmware. I use the virtual machines to explore, discover, and learn.

I don't understand iamthwee...I dont have a vmware image. I have vmware install on my imac and downloaded an image of Ubuntu so that i could install it when creating a virtual machine with vmware.

Thanks again for your inputs.

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.