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 07-24-2016, 07:32 AM   #1
dorsio
Member
 
Registered: Apr 2014
Distribution: Debian
Posts: 92

Rep: Reputation: 1
Ubuntu 12.04 LTS, unable login as administrator after reinstallation


Ubuntu 12.04 LTS: after reinstalling system unable login as administrator, only allows enter as a guest. Reinstall was done to '/' Ubuntu partition, no formatting, with the same name & pass as in original installation. I used this Guide to reinstall Ubuntu.

Last edited by dorsio; 07-31-2016 at 06:25 AM.
 
Old 07-24-2016, 07:45 AM   #2
Keruskerfuerst
Senior Member
 
Registered: Oct 2005
Location: Horgau, Germany
Distribution: Manjaro KDE, Win 10
Posts: 2,199

Rep: Reputation: 164Reputation: 164
You should format all partitions except /home.
 
Old 07-24-2016, 08:39 AM   #3
dorsio
Member
 
Registered: Apr 2014
Distribution: Debian
Posts: 92

Original Poster
Rep: Reputation: 1
Quote:
Originally Posted by Keruskerfuerst View Post
You should format all partitions except /home.
But reinstallation solved the issue I had before, now all is worked. I need solve this problem with login.
 
Old 07-24-2016, 09:44 AM   #4
TB0ne
LQ Guru
 
Registered: Jul 2003
Location: Birmingham, Alabama
Distribution: SuSE, RedHat, Slack,CentOS
Posts: 26,623

Rep: Reputation: 7964Reputation: 7964Reputation: 7964Reputation: 7964Reputation: 7964Reputation: 7964Reputation: 7964Reputation: 7964Reputation: 7964Reputation: 7964Reputation: 7964
Quote:
Originally Posted by dorsio View Post
But reinstallation solved the issue I had before, now all is worked. I need solve this problem with login.
You only had a 'problem', because you corrupted your filesystem, and didn't let the fsck run until completion. A re-install formatted your drive..it didn't 'solve' the issue, anymore than buying a new car will 'fix' another broken car you have.

Also, you're installing 12.04?? Why? The latest is 16.04..you're FOUR major versions behind on a new installation. The best thing you can do is to boot to single-user mode, make a copy of all your data on /home, and wipe/reload to the LATEST version of things. Installing an old OS is pointless..you're just asking for headaches.
 
Old 07-24-2016, 10:03 AM   #5
dorsio
Member
 
Registered: Apr 2014
Distribution: Debian
Posts: 92

Original Poster
Rep: Reputation: 1
Quote:
Originally Posted by TB0ne View Post
You only had a 'problem', because you corrupted your filesystem, and didn't let the fsck run until completion. A re-install formatted your drive..it didn't 'solve' the issue, anymore than buying a new car will 'fix' another broken car you have.

Also, you're installing 12.04?? Why? The latest is 16.04..you're FOUR major versions behind on a new installation. The best thing you can do is to boot to single-user mode, make a copy of all your data on /home, and wipe/reload to the LATEST version of things. Installing an old OS is pointless..you're just asking for headaches.
I sticked to 12.04 LTS just because Dell support site specified 12.04 LTS as supported Linux version. No other Linux vers. was specified. On which step the filesystem was corrupted, as you mention? I just followed Ubuntu installation wizard steps. I had issue with missing audio before reinstallation, after reinstall Ubuntu, uadio was restored, and video playback also works, without installing additional drivers. In original installation, video playback by default not worked, so it was necessary to install additional Adobe Flash plugin.

Last edited by dorsio; 07-24-2016 at 10:08 AM.
 
Old 07-24-2016, 10:33 AM   #6
TB0ne
LQ Guru
 
Registered: Jul 2003
Location: Birmingham, Alabama
Distribution: SuSE, RedHat, Slack,CentOS
Posts: 26,623

Rep: Reputation: 7964Reputation: 7964Reputation: 7964Reputation: 7964Reputation: 7964Reputation: 7964Reputation: 7964Reputation: 7964Reputation: 7964Reputation: 7964Reputation: 7964
Quote:
Originally Posted by dorsio View Post
I sticked to 12.04 LTS just because Dell support site specified 12.04 LTS as supported Linux version. No other Linux vers. was specified.
..and that matters how, exactly??? Are you going to call Dell for Linux support? Because if so, you need to then call Dell for an OFFICIAL installation disc, and let THEM do the installation to be under official support. Otherwise, there is NO POINT in loading an old system. Also, you can use pretty much ANY Linux distro on ANY laptop, just as easily.
Quote:
On which step the filesystem was corrupted, as you mention?
In your OTHER thread where you tried to run fdisk to fix it (?), then just decided to reload.
Quote:
I just followed Ubuntu installation wizard steps. I had issue with missing audio before reinstallation, after reinstall Ubuntu, uadio was restored, and video playback also works, without installing additional drivers. In original installation, video playback by default not worked, so it was necessary to install additional Adobe Flash plugin.
All this is immaterial. You're not actually solving your problems by reloading an OS, anymore than you're fixing your leaking roof by buying a new house. If you want to reset your administrator password, did you try putting "forgot root password ubutun 12.04" into Google, and reading the VERY FIRST HIT, which is from the official Ubuntu documentation[/B]? And if you're under 'support' with Dell, have you asked THEM??
 
Old 07-24-2016, 10:50 AM   #7
offgridguy
Senior Member
 
Registered: Nov 2015
Location: Alberta Canada
Distribution: Windows10, Debian
Posts: 1,109

Rep: Reputation: 147Reputation: 147
Quote:
Also, you're installing 12.04?? Why? The latest is 16.04..you're FOUR major versions behind on a new installation. The best thing you can do is to boot to single-user mode, make a copy of all your data on /home, and wipe/reload to the LATEST version of things. Installing an old OS is pointless..you're just asking for headaches.
This is good advice.
 
Old 07-24-2016, 11:30 AM   #8
dorsio
Member
 
Registered: Apr 2014
Distribution: Debian
Posts: 92

Original Poster
Rep: Reputation: 1
Quote:
Originally Posted by TB0ne View Post
In your OTHER thread where you tried to run fdisk to fix it (?), then just decided to reload.
No, this is not the problem I've encountered. I asked because I wanted to know how to check file integrity, just to be on safe side.
Quote:
Originally Posted by TB0ne View Post
If you want to reset your administrator password, did you try putting "forgot root password ubuntu 12.04" into Google, and reading the VERY FIRST HIT, which is from the official Ubuntu documentation[/B]?
But I don't said that I forgot my root password, I don't forgot it, Ubuntu don't allow login as admin, once I login it keeps me back in to login screen.(the screen flashes to console, then I'm thrown back to the login splash). If even I mistype pass, error is always visible.
Surely I expected that most likely I will the range of issues with Ubuntu that come preinstalled with laptop, but not so many, and not from the outset. And it will take ages to find the faulty configuration file.

Last edited by dorsio; 07-24-2016 at 11:56 AM.
 
Old 07-24-2016, 12:04 PM   #9
TB0ne
LQ Guru
 
Registered: Jul 2003
Location: Birmingham, Alabama
Distribution: SuSE, RedHat, Slack,CentOS
Posts: 26,623

Rep: Reputation: 7964Reputation: 7964Reputation: 7964Reputation: 7964Reputation: 7964Reputation: 7964Reputation: 7964Reputation: 7964Reputation: 7964Reputation: 7964Reputation: 7964
Quote:
Originally Posted by dorsio View Post
No, this is not the problem I've encountered. I asked because I wanted to know how to check file integrity, just to be on safe side.
This: http://www.linuxquestions.org/questi...ty-4175585031/

...is that thread, where you force-stopped the upgrade. In that very thread you say that you used recovery to factory-state, right??? What do you think that does? You corrupted your system by doing something bad, had to reset to 'factory' (i.e. initial state). Fsck will report any bad spots on the screen...there is no saved report. Read the man page. But from THAT thread (your PREVIOUS thread), we're here to your NEW thread, which is titled

Quote:
Originally Posted by TITLE OF THIS THREAD
Ubuntu 12.04 LTS, unable login as administrator after reinstallation
Re-installation...but you didn't 'reload'??? You do realize they mean the same things, right???
Quote:
But I don't said that I forgot my root password, I don't forgot it, Ubuntu don't allow login as admin, once I login it keeps me back in to login screen.(the screen flashes to console, then I'm thrown back to the login splash). I If I mistype pass, error istalways visible.
First, DO NOT LOG IN AS ROOT/ADMINISTRATOR, PERIOD. That's been covered on here as a VERY bad thing thousands of times, and there isn't ANY site that will tell you this is good. Log in as your regular user, and assume root ONLY when needed to. Why do you think that administrator/root login is disabled BY DEFAULT???

Secondly, again...did you try just putting "enable root login ubuntu 12.04" into Google? Read the "Question Guidelines" link in my posting signature. The FIRST TWO HITS are:
https://help.ubuntu.com/community/RootSudo
http://askubuntu.com/questions/44418...ble-root-login

...which are LOADED with warnings about NOT doing this, for very good reasons.
Quote:
Surely I expected that most likely I will the range of issues with Ubuntu that come preinstalled with laptop, but not so many, and not from the outset.
You're having issues, because you are doing things badly. This isn't because of Linux...it's you. You're manually stopping things that SHOULD NOT be stopped, running as root, etc. Also, you've now been using Linux for two years...why are these things 'new' to you?

AGAIN...if you have a Dell laptop that's under support with Dell, using Dell supplied OS, WHY are you not CONTACTING DELL FOR HELP??? If you're NOT under support, stop trying to force things to work in ways they're not supposed to, stop where you are, and load the latest versions of things, and move forward. You're having problems because you CAUSED them with the botched upgrade. If you HAD admin/root login enabled before, and you reinstalled, why are you amazed that it's not there now? You reset the system, which obviously puts that back, right????
 
Old 07-24-2016, 01:38 PM   #10
dorsio
Member
 
Registered: Apr 2014
Distribution: Debian
Posts: 92

Original Poster
Rep: Reputation: 1
Quote:
Originally Posted by TB0ne View Post
Also, you've now been using Linux for two years...why are these things 'new' to you?
I have not been using Linux for a very long time now, so I forgot many details, include important things about root account. Can I upgrade to Ubuntu 14.04.4 from guest account? If so, should this solve all login problems?

I can also probably install another Linux distrbutive, something stable, for example last Debian pack, but I would preffer distributive with preinstalled graphical desktop and minimal set of handy applications like Ubuntu have (LibreOffice, etc)

I'm not sure how should I format disk or set new partitions to install new pack, or I can install new distributive to /sda3 in place of Ubuntu, without touching other partitions?


Code:
/dev/sda1 2048 718847 358400 de Dell Utility
/dev/sda2 718848 7010303 3145728 c W95 FAT32 (LBA)
/dev/sda3 * 7010304 960389119 476689408 83 Linux
/dev/sda4 960391166 976771071 8189953 5 Extended
Partition 4 does not start on physical sector boundary.
/dev/sda5 960391168 976771071 8189952 82 Linux swap / Solaris

Last edited by dorsio; 07-24-2016 at 01:44 PM.
 
Old 07-24-2016, 02:45 PM   #11
TB0ne
LQ Guru
 
Registered: Jul 2003
Location: Birmingham, Alabama
Distribution: SuSE, RedHat, Slack,CentOS
Posts: 26,623

Rep: Reputation: 7964Reputation: 7964Reputation: 7964Reputation: 7964Reputation: 7964Reputation: 7964Reputation: 7964Reputation: 7964Reputation: 7964Reputation: 7964Reputation: 7964
Quote:
Originally Posted by dorsio View Post
I have not been using Linux for a very long time now, so I forgot many details, include important things about root account. Can I upgrade to Ubuntu 14.04.4 from guest account? If so, should this solve all login problems?
Since you cancelled an earlier upgrade that did exactly that, is it not OBVIOUS THAT YOU CAN??? And AGAIN, since you keep mentioning 'support' from Dell, have you CALLED THEM???
Quote:
I can also probably install another Linux distrbutive, something stable, for example last Debian pack, but I would preffer distributive with preinstalled graphical desktop and minimal set of handy applications like Ubuntu have (LibreOffice, etc)
AGAIN, you can load ANY version of Linux. For you, I think Mint would be best. ANY of them, have graphical desktops, and would probably install in about 30 minutes.
Quote:
I'm not sure how should I format disk or set new partitions to install new pack, or I can install new distributive to /sda3 in place of Ubuntu, without touching other partitions?

Code:
/dev/sda1 2048 718847 358400 de Dell Utility
/dev/sda2 718848 7010303 3145728 c W95 FAT32 (LBA)
/dev/sda3 * 7010304 960389119 476689408 83 Linux
/dev/sda4 960391166 976771071 8189953 5 Extended
Partition 4 does not start on physical sector boundary.
/dev/sda5 960391168 976771071 8189952 82 Linux swap / Solaris
AGAIN you should back up your data on /home (or wherever you keep your personal files), and FORMAT EVERYTHING. When you go to install a new distro, let it partition your disk for you. That's it.

Not sure how many times we have to say the same things.....
 
Old 07-24-2016, 06:41 PM   #12
dorsio
Member
 
Registered: Apr 2014
Distribution: Debian
Posts: 92

Original Poster
Rep: Reputation: 1
I can login as Administrator use TTY4, but not from GUI. I upgraded to Ubuntu 14.04 from TTY console. But I'm still can no login from GUI as admin. I have not set root priveleges, that configuration was set by default, from Dell. Also, when I reinstalled 12.04 I only repeated same steps that was required during very first configuration. Dell phone support is not available in my area, btw.
How to reset access to Administrator account via GUI?
If there is some file corrupted, the only way to solve the issue is completely reinstall system?
Windows have many system diagnostic and repair utilites that can solve various issues, but Linux lack this functionality.

Last edited by dorsio; 07-24-2016 at 06:52 PM.
 
Old 07-24-2016, 09:21 PM   #13
Dave Lerner
Member
 
Registered: May 2005
Location: Florida, USA
Distribution: Pop_OS, Xubuntu
Posts: 152

Rep: Reputation: 44
Linux has many system diagnostic and repair utilites too, but they require relevant knowledge. Unlike Windows, Linux is not designed to be idiot-proof.

What's the output from this command?

Code:
sudo apt-get -f install
(It doesn't make any changes, it just informs you about potential issues with packages.)

Last edited by Dave Lerner; 07-24-2016 at 09:26 PM.
 
Old 07-25-2016, 06:10 AM   #14
dorsio
Member
 
Registered: Apr 2014
Distribution: Debian
Posts: 92

Original Poster
Rep: Reputation: 1
Quote:
Originally Posted by Dave Lerner View Post
Linux has many system diagnostic and repair utilites too, but they require relevant knowledge. Unlike Windows, Linux is not designed to be idiot-proof.

What's the output from this command?

Code:
sudo apt-get -f install
(It doesn't make any changes, it just informs you about potential issues with packages.)
In terms of usability, for most of general users, Windows is still far ahead of Linux, unfortunately.

sudo apt-get -f install

if run from Guest account, it returns

Code:
sudo: unable to change to root gid: Operation not permitted
from tty4:

Code:
Reading package lists.. Done
Building dependency tree
Reading state information.. Done
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded
 
Old 07-25-2016, 06:16 AM   #15
Dave Lerner
Member
 
Registered: May 2005
Location: Florida, USA
Distribution: Pop_OS, Xubuntu
Posts: 152

Rep: Reputation: 44
Quote:
Originally Posted by dorsio View Post
In terms of usability, for most of general users, Windows is still far ahead of Linux, unfortunately. ...
In that case, maybe you should use Windows instead of Ubuntu.
 
  


Reply

Tags
12.04 lts, admin, log-in, login, reinstall



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
Can't Login Ubuntu 12.04 LTS login loop? Sha-bangs Linux - Newbie 2 09-28-2014 12:22 AM
Unable to connect internet in Ubuntu 14.04 LTS vhthakor Linux - Networking 1 06-28-2014 06:32 AM
Ubuntu 12.04 LTS - Can't login stefzeer90 Ubuntu 1 03-25-2014 03:44 PM
Ubuntu LTS Server login question MarkoSan Linux - Software 3 09-23-2010 02:16 PM
Changing login themes on ubuntu 10.04 lts damani Ubuntu 1 06-05-2010 03:03 PM

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

All times are GMT -5. The time now is 11:30 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