UbuntuThis forum is for the discussion of Ubuntu Linux.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
You type CTRL-ALT-F1 and it gets you to a command prompt. If that works, then you try to login as one of the users you have on that system. And then follow the steps they've shown in that answer.
If CTRL-ALT-F1 does not get you to a command prompt, then I recommend you do the following:
You need to get to a point where you can back up existing data; therefore get a full ISO to run or install Ubuntu, or some other distribution if this is your choice, but Ubuntu is probably best since that's what you have on there.
Program that ISO to any of the appropriate media where it fits and also will work on your computer, CD, DVD, USB Thumbstick.
Boot off of that image, without installing, choose the "try" option.
From there mount your existing hard drive where you have the broken installation and back up all your data; preferably if you have a larger sized backup disk around, just back up your entire existing hard drive; in fact if you have larger sized backup disk and there's nothing yet on that backup, or nothing you need to keep, you don't even need to mount; you can use the dd command to perform a full copy of your existing hard drive, to that backup.
Once you've made enough of a backup; i.e. all or enough to satisfy you, shut down and reboot again using that ISO media, however this time perform a full install of Ubuntu.
Replace your data and re-install added programs which you used to have on your former version; using your saved backup data to assist you with this.
You type CTRL-ALT-F1 and it gets you to a command prompt. If that works, then you try to login as one of the users you have on that system. And then follow the steps they've shown in that answer.....
Hi,
Thanks for your advice.
I have tried CTRL-ALT-F1 which worked starting a black screen requesting for login. But I wonder whether it is Host tty 1?
I have a workable ubuntu-14.04-desktop-amd64.iso which can work as Live CD as well as installer. I tried it before installing a new Ubuntu 14.04 desktop Guest
If you look it up under Ubuntu searches or forums CTRL-ATL-<key> where <key> is anything from F1 to F7 are their shortcuts to get you to these terminals.
F1 through F6 will get you to the tty numbered matching that F-key. They use getty or mingetty during startup to create these tty terminals; and they name them tty1, tty2, tty3, tty4, tty5, and tty6 Why they do so many is unknown to me; however their convention has been the same and so I hope they maintain their uniformity.
CTRL-ATL-F7 will bring you back to the window manager, your GUI.
It "should" cite the release of Ubuntu as well as state the tty numbered terminal you are in, have a newline or two, and then show the login prompt. I just did it here and I see that, however parts of the text were sized off the screen; sort of the situation where I would have to enter my screen's settings and adjust the horizontal and vertical sizes as well as offsets. Maybe it's as simple as that, meaning the command prompt terminal once you login, if you perform ls of a large directory, you'll see characters disappearing off the screen merely because the screen size needs to be adjusted to make the visual screen fit or align to your viewing area.
The bottom line is you appear to have a command prompt and can try their offered steps. I would actually recommend a clean install if that would work for you.
If you look it up under Ubuntu searches or forums CTRL-ATL-<key> where <key> is anything from F1 to F7 are their shortcuts to get you to these terminals.
F1 through F6 will get you to the tty numbered matching that F-key. They use getty or mingetty during startup to create these tty terminals; and they name them tty1, tty2, tty3, tty4, tty5, and tty6 Why they do so many is unknown to me; however their convention has been the same and so I hope they maintain their uniformity......
Advice noted. Thanks.
Just tested it.
CTRL-ALT-F1
Code:
Ubuntu 12.04 LTD tty1
......
.....
My problem here is both Host and Guest running same version of Ubuntu, same username and same password.
On running;
$ ls
It shows files on /home of Host
Quote:
I would actually recommend a clean install if that would work for you.
Agreed. Up to present all VMs running here are for testing ONLY, not for production.
I only have following packages installed on this VM:-
xournal
soundconverter (I can use those online software)
adding mp3 format
gstreamer0.10-plugins-ugly
VLC Media player
I already have a VM running Ubuntu 14.04 desktop which is a clean installation copy, installed about 4 hours ago. I can clone many VMs rather than upgrade those old Ubuntu 12.04 VMs.
Thanks
Edit
====
What shall I do on Host?
Installing a clean copy of Ubuntu 14.04 on Host would take me several days of work because I have >30 VMs running on this box.
I must perform:-
-export all VMs
-store them on another HD (which is available)
-wide out the whole HD
-install a new copy of Ubuntu 14.04 as Host
-install other packages for running Oracle VirtualBox
-import all VMs
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.