LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 02-03-2010, 12:21 AM   #16
EricTRA
LQ Guru
 
Registered: May 2009
Location: Gibraltar, Gibraltar
Distribution: Fedora 20 with Awesome WM
Posts: 6,805
Blog Entries: 1

Rep: Reputation: 1297Reputation: 1297Reputation: 1297Reputation: 1297Reputation: 1297Reputation: 1297Reputation: 1297Reputation: 1297Reputation: 1297

Hello elishac,

Just like repo said, your best option (and utility to have around) is a LiveCD of the version you're running. Do you have the option to download and burn an ISO of the same Ubuntu you have?

It's quite normal that you can change the root password if you have console access (physical access to the machine). There are always ways to bypass what's installed. Even in Windows (what you're referring to in my opinion) you don't really need the 'old' password to be able to reset a password (for example if you've forgotten it). All you need is physical access to the machine.

Kind regards,

Eric
 
1 members found this post helpful.
Old 02-03-2010, 01:57 AM   #17
elishac
Member
 
Registered: Nov 2009
Posts: 522

Original Poster
Rep: Reputation: 33
Hello Eric,

thanks again for helping me.
Does that mean I'll have to reset all the configurations I made ?
I'd rather not do that, I've had enough problems already, I don't need to go through them twice :/.

I managed to log in so I can do whatever is needed now. Maybe I can undo what I did without actually using a liveCD ? (that really sounds like the worse option to me)
 
Old 02-03-2010, 02:30 AM   #18
EricTRA
LQ Guru
 
Registered: May 2009
Location: Gibraltar, Gibraltar
Distribution: Fedora 20 with Awesome WM
Posts: 6,805
Blog Entries: 1

Rep: Reputation: 1297Reputation: 1297Reputation: 1297Reputation: 1297Reputation: 1297Reputation: 1297Reputation: 1297Reputation: 1297Reputation: 1297
Hi,

I don't know what has been changed by the installation you performed so I'm unsure how to uninstall/remove it. If now you have full access to the system you should be able though to perform the necessary actions. Before trying out things I suggest you take a backup of your configuration files and important documents (to USB stick or other drive/partition).

With a LiveCD you could boot your computer in that environment and thus not touching your harddisk. Next you could make a copy of all your configurations to a USB stick before attempting to uninstall the previous installation.

Kind regards,

Eric
 
Old 02-05-2010, 06:12 AM   #19
elishac
Member
 
Registered: Nov 2009
Posts: 522

Original Poster
Rep: Reputation: 33
Well, now I have yet another problem.
I rebooted my computer, but the file system check started, and now it says :
init:mountall main process 1139 terminated with status 3.
mount of filesystem failed
a maintenance shell will now be started.
ctrl+d will terminate this shell and retry
give root password for maintenance
(or type ctrl d to continue):

(if i type ctrl d, the computer restarts and i get the same thing all over again...)
 
Old 02-05-2010, 07:30 AM   #20
EricTRA
LQ Guru
 
Registered: May 2009
Location: Gibraltar, Gibraltar
Distribution: Fedora 20 with Awesome WM
Posts: 6,805
Blog Entries: 1

Rep: Reputation: 1297Reputation: 1297Reputation: 1297Reputation: 1297Reputation: 1297Reputation: 1297Reputation: 1297Reputation: 1297Reputation: 1297
Hello,

Enter the maintenance console by typing in your root password when asked for it. Next type in the following to force a system check:
Code:
e2fsck -C0 -p -f -v /dev/sda5
(I thought I saw in one of your posts that that's the root partition)
Let the check fix errors if any. If that process is finished then try to mount your system with:
Code:
mount -a
If you can mount successful then check your fstab and mtab with:
Code:
cat /etc/fstab
cat /etc/mtab
and post the contents here so we can see if there is any strange stuff in it.

Also check, if you're able to mount the system, the log files for errors (syslog and kern.log) in /var/log and post any errors here.

Kind regards,

Eric
 
Old 02-05-2010, 08:09 AM   #21
elishac
Member
 
Registered: Nov 2009
Posts: 522

Original Poster
Rep: Reputation: 33
Hello Eric,

I did what you asked. It took over a minute to execute the first command.
Then the result was :
unattached inode 1431542.

/dev/sda5: unexpected inconsistency. run fsk manually (ie without -a or -p options)

What should I do now ? mount -a or e2fsck -C0 -f -v /dev/sda5 or something else ?
 
Old 02-05-2010, 10:06 AM   #22
EricTRA
LQ Guru
 
Registered: May 2009
Location: Gibraltar, Gibraltar
Distribution: Fedora 20 with Awesome WM
Posts: 6,805
Blog Entries: 1

Rep: Reputation: 1297Reputation: 1297Reputation: 1297Reputation: 1297Reputation: 1297Reputation: 1297Reputation: 1297Reputation: 1297Reputation: 1297
Hi,

Sorry for the late reply, just got home. Try in the maintenance console:
Code:
fsck -r /dev/sda5
and see where that leads. Post the output please.

Kind regards,

Eric
 
Old 02-05-2010, 10:36 AM   #23
elishac
Member
 
Registered: Nov 2009
Posts: 522

Original Poster
Rep: Reputation: 33
The output was :
/dev/sda5 contains a file system with errors, check forced.
pass1:...
...
pass4:...unattached inode 1431542
connect to /lost+found<y>?

(i suppose it's "yes" but I'll just wait for you to tell me to be sure)
 
Old 02-05-2010, 10:39 AM   #24
EricTRA
LQ Guru
 
Registered: May 2009
Location: Gibraltar, Gibraltar
Distribution: Fedora 20 with Awesome WM
Posts: 6,805
Blog Entries: 1

Rep: Reputation: 1297Reputation: 1297Reputation: 1297Reputation: 1297Reputation: 1297Reputation: 1297Reputation: 1297Reputation: 1297Reputation: 1297
Hi,

Just accept by typing y

Kind regards,

Eric
 
Old 02-05-2010, 11:55 AM   #25
elishac
Member
 
Registered: Nov 2009
Posts: 522

Original Poster
Rep: Reputation: 33
Sorry I didn't see you had answered.
I pressed yes but another question appeared.
inode 1431542 ref count is 2, should be 1. fix<y>?
 
Old 02-05-2010, 11:56 AM   #26
EricTRA
LQ Guru
 
Registered: May 2009
Location: Gibraltar, Gibraltar
Distribution: Fedora 20 with Awesome WM
Posts: 6,805
Blog Entries: 1

Rep: Reputation: 1297Reputation: 1297Reputation: 1297Reputation: 1297Reputation: 1297Reputation: 1297Reputation: 1297Reputation: 1297Reputation: 1297
Hi,

Answer yes (y) again.

Kind regards,

Eric
 
Old 02-05-2010, 12:15 PM   #27
elishac
Member
 
Registered: Nov 2009
Posts: 522

Original Poster
Rep: Reputation: 33
another yes/no question... should i answer yes to all of them?
this time the question is :
pass5: checking group summary information
block bitmap differences: +1488039 + 1488045 + 1488051 + 1488053
fix<y> ?
 
Old 02-05-2010, 12:17 PM   #28
EricTRA
LQ Guru
 
Registered: May 2009
Location: Gibraltar, Gibraltar
Distribution: Fedora 20 with Awesome WM
Posts: 6,805
Blog Entries: 1

Rep: Reputation: 1297Reputation: 1297Reputation: 1297Reputation: 1297Reputation: 1297Reputation: 1297Reputation: 1297Reputation: 1297Reputation: 1297
Hi,

If the errors seem similar and the choice is presented then answer yes to all of them.

Kind regards,

Eric
 
Old 02-05-2010, 12:23 PM   #29
elishac
Member
 
Registered: Nov 2009
Posts: 522

Original Poster
Rep: Reputation: 33
ok, i answered yes to all of them. the questions were :
free blocks count for group #xx (yy, count = zz). fix?
free blocks count (xx, count = yy). fix?
inode bitmap differences: +xx. fix?

and then :
/dev/sda5 : file system modified. Reboot linux.
root:^#
 
Old 02-05-2010, 12:39 PM   #30
EricTRA
LQ Guru
 
Registered: May 2009
Location: Gibraltar, Gibraltar
Distribution: Fedora 20 with Awesome WM
Posts: 6,805
Blog Entries: 1

Rep: Reputation: 1297Reputation: 1297Reputation: 1297Reputation: 1297Reputation: 1297Reputation: 1297Reputation: 1297Reputation: 1297Reputation: 1297
Hello,

Ok, let's see where the reboot takes you and if everything is indeed fixed so that you can access your system again and 'undo' what you've done in the first place.

Kind regards,

Eric
 
  


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
LXer: The dark side of Ubuntu Launchpad bugs: mail till you die LXer Syndicated Linux News 0 01-14-2010 10:30 AM
LXer: Why I’ve stopped reporting bugs to Ubuntu LXer Syndicated Linux News 0 01-19-2008 04:30 AM
is it bugs?????? please help me take a look. hackintosh SUSE / openSUSE 0 10-03-2007 03:42 AM
LXer: Ubuntu Feisty Fawn release candidate delayed due to validation bugs LXer Syndicated Linux News 0 04-13-2007 09:46 AM
LXer: Ubuntu release fixes bugs LXer Syndicated Linux News 0 08-11-2006 01:24 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

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