LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Ubuntu
User Name
Password
Ubuntu This forum is for the discussion of Ubuntu Linux.

Notices


Reply
  Search this Thread
Old 05-21-2014, 06:10 AM   #1
satimis
Senior Member
 
Registered: Apr 2003
Posts: 3,695

Rep: Reputation: 56
Fail to login after upgrade 14.04 desktop


Hi all,


Host Ubuntu 12.04 desktop 64bit
Gusest Ubuntu 12.04 desktop 64bit
Oracle VirtualBox

I tried upgrade Guest from 12.04 to 14.04. On terminl running;

$ sudo apt-get update && sudo apt-get upgrade

Then
$ sudo update-manager -d

On reboot I couldn't login with warning:
Code:
Failed to load session "ubuntu"
		Log Out
I found following link:
Failed to load session ''ubuntu'' after Upgrade
http://askubuntu.com/questions/36298...-after-upgrade

Please advise how to start Guest on tty 1?

Thanks

Rgds
satimis
 
Old 05-21-2014, 06:58 AM   #2
rtmistler
Moderator
 
Registered: Mar 2011
Location: USA
Distribution: MINT Debian, Angstrom, SUSE, Ubuntu, Debian
Posts: 9,882
Blog Entries: 13

Rep: Reputation: 4930Reputation: 4930Reputation: 4930Reputation: 4930Reputation: 4930Reputation: 4930Reputation: 4930Reputation: 4930Reputation: 4930Reputation: 4930Reputation: 4930
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:
  1. 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.
  2. Program that ISO to any of the appropriate media where it fits and also will work on your computer, CD, DVD, USB Thumbstick.
  3. Boot off of that image, without installing, choose the "try" option.
  4. 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.
  5. 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.
  6. 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.
 
Old 05-21-2014, 07:11 AM   #3
satimis
Senior Member
 
Registered: Apr 2003
Posts: 3,695

Original Poster
Rep: Reputation: 56
Quote:
Originally Posted by rtmistler View Post
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

Rgds
satimis
 
Old 05-21-2014, 07:21 AM   #4
rtmistler
Moderator
 
Registered: Mar 2011
Location: USA
Distribution: MINT Debian, Angstrom, SUSE, Ubuntu, Debian
Posts: 9,882
Blog Entries: 13

Rep: Reputation: 4930Reputation: 4930Reputation: 4930Reputation: 4930Reputation: 4930Reputation: 4930Reputation: 4930Reputation: 4930Reputation: 4930Reputation: 4930Reputation: 4930
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.
 
Old 05-21-2014, 09:58 AM   #5
satimis
Senior Member
 
Registered: Apr 2003
Posts: 3,695

Original Poster
Rep: Reputation: 56
Quote:
Originally Posted by rtmistler View Post
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

Any suggestion?

Rgds
satimis

Last edited by satimis; 05-21-2014 at 11:44 AM.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Since Upgrade to 10.04 my Opt Drives fail to play or show Audio cds on the Desktop Johnh395 Linux - Newbie 3 08-07-2010 05:37 AM
NICs fail on 7.10-8.04 upgrade rocktman2 Linux - Newbie 3 10-11-2008 09:33 PM
Graphical login fail, text login works livewire98801 Linux - General 2 10-11-2004 06:09 PM
Fail to login GNOME satimis Debian 2 02-08-2004 06:02 AM
vsftp fail login tmartins Linux - Networking 2 11-03-2003 05:14 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Ubuntu

All times are GMT -5. The time now is 09:08 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration