?
Solved

Linux Ubuntu 6 Login Workaround needed.

Posted on 2011-09-07
6
Medium Priority
?
238 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 1000 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
Does Your Cloud Backup Use Blockchain Technology?

Blockchain technology has already revolutionized finance thanks to Bitcoin. Now it's disrupting other areas, including the realm of data protection. Learn how blockchain is now being used to authenticate backup files and keep them safe from hackers.

 
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

Quick Start: DOCKER

Sometimes you just need a Quick Start on a topic in order to begin using it.. this is just what you need to know to get up and running with Docker!

Question has a verified solution.

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

HOW TO: Upload an ISO image to a VMware datastore for use with VMware vSphere Hypervisor 6.5 (ESXi 6.5) using the vSphere Host Client, and checking its MD5 checksum signature is correct.  It's a good idea to compare checksums, because many installat…
In this article we will learn how to backup a VMware farm using Nakivo Backup & Replication. In this tutorial we will install the software on a Windows 2012 R2 Server.
Teach the user how to use create log bundles for vCenter Server or ESXi hosts Open vSphere Web Client: Generate vCenter Server and ESXi host log bundle:  Open vCenter Server Appliance Web Management interface and generate log bundle: Open vCenter Se…
This video shows you how to use a vSphere client to connect to your ESX host as the root user. Demonstrates the basic connection of bypassing certification set up. Demonstrates how to access the traditional view to begin managing your virtual mac…
Suggested Courses

800 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