Solved

Linux Ubuntu 6 Login Workaround needed.

Posted on 2011-09-07
6
235 Views
Last Modified: 2012-08-13
Discovered past IT Admin setup Ubuntu 6 on VMWare virtual box. It was setup to boot to command line login but they left no record of usename/password. I'd rather just reformat/reinstall a newer version, but, there is a working website and database that we cannot lose or backup. I need advice on how to get into this "guest" vm box and ubuntu os. Any help and guidance would be appreciated.
0
Comment
Question by:primeradmin
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 4
  • 2
6 Comments
 
LVL 21

Accepted Solution

by:
Papertrip earned 250 total points
ID: 36500638
Easily fixed.

1.  Get on the console and reboot the VM.
2.  When the GRUB boot menu pops up, hit 'e' for edit, goto the kernel line, and add the word 'single' to the end then hit enter (or esc I can't recall).  Go back to the main GRUB menu and hit 'b' on the edited line to boot with those parameters.
3.  Once it boots, login as root then type 'passwd' to reset root's password.
0
 
LVL 21

Expert Comment

by:Papertrip
ID: 36500641
I recall that VM's might scroll that boot menu too quickly for you to type anything -- there is a setting someplace in the options for each VM to delay some part of the boot process, and I *think* it's listed in milliseconds but it's been a few years...

Either way there is some setting someplace that will allow you to extend that window so you can actually type :)
0
 
LVL 21

Expert Comment

by:Papertrip
ID: 36500645
Oh missed a part... what to do after your change your pass.

Since the box is already "down" at this point, I suggest just another reboot to make sure everything is nice and clean.
0
Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

 
LVL 21

Expert Comment

by:Papertrip
ID: 36514879
@primeradmin did this solution work for you?
0
 

Assisted Solution

by:primeradmin
primeradmin earned 0 total points
ID: 36516961
Papertrip, while your advice didn't directly solve my issue since some detailed steps were missing that I had to investigate elsewhere, such as pressing 'esc' at the grub screen then selecting the correct 'kernel' line before even being able to use your step of using 'e' to edit, your advice did start me looking in the right direction. Ultimately, I had to use a different scipt line in the kernel command changing 'ro' to 'rw init=/bin/bash' at the end of the line. That said I will award partial points for helping me look for the right direction.

I will be posting a question concerning the fact that although I can now login, I cannot locate the right commands that install or activate a GUI instead of this pain-in-the-butt command line stuff. Everything I've tried, as recommended on several different forums and even the ubuntu site have not worked, a second part fails to start to install gnome or some other GUI. It gets half way then asks if I want to continue then fails to load a series of ip-based services. I've run checks that prove I have working network/internet access but the addresses don't seem to work for the gnome command. I may have to ultimately reinstall or upgrade anyway.

Thanks.
0
 

Author Closing Comment

by:primeradmin
ID: 36541410
Answer provided a direction to go in but not the solution.
0

Featured Post

Free Tool: ZipGrep

ZipGrep is a utility that can list and search zip (.war, .ear, .jar, etc) archives for text patterns, without the need to extract the archive's contents.

One of a set of tools we're offering as a way to say thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

This article will show you how to create an ISO CD-ROM/DVD-ROM image (*.iso), and MD5 checksum signature, for use with VMware vSphere Hypervisor 6.5 (ESXi 6.5). It's a good idea to compare checksums, because many installations fail because of a corr…
Google Drive is extremely cheap offsite storage, and it's even possible to get extra storage for free for two years.  You can use the free account 15GB, and if you have an Android device..when you install Google Drive for the first time it will give…
Teach the user how to install and configure the vCenter Orchestrator virtual appliance Open vSphere Web Client: Deploy vCenter Orchestrator virtual appliance OVA file: Verify vCenter Orchestrator virtual appliance boots successfully: Connect to the …
This tutorial will walk an individual through the steps necessary to enable the VMware\Hyper-V licensed feature of Backup Exec 2012. In addition, how to add a VMware server and configure a backup job. The first step is to acquire the necessary licen…

733 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question