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 |
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.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
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.
|
 |
|
02-03-2010, 12:21 AM
|
#16
|
LQ Guru
Registered: May 2009
Location: Gibraltar, Gibraltar
Distribution: Fedora 20 with Awesome WM
Posts: 6,805
|
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.
|
02-03-2010, 01:57 AM
|
#17
|
Member
Registered: Nov 2009
Posts: 522
Original Poster
Rep:
|
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)
|
|
|
02-03-2010, 02:30 AM
|
#18
|
LQ Guru
Registered: May 2009
Location: Gibraltar, Gibraltar
Distribution: Fedora 20 with Awesome WM
Posts: 6,805
|
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
|
|
|
02-05-2010, 06:12 AM
|
#19
|
Member
Registered: Nov 2009
Posts: 522
Original Poster
Rep:
|
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...)
|
|
|
02-05-2010, 07:30 AM
|
#20
|
LQ Guru
Registered: May 2009
Location: Gibraltar, Gibraltar
Distribution: Fedora 20 with Awesome WM
Posts: 6,805
|
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:
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
|
|
|
02-05-2010, 08:09 AM
|
#21
|
Member
Registered: Nov 2009
Posts: 522
Original Poster
Rep:
|
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 ?
|
|
|
02-05-2010, 10:06 AM
|
#22
|
LQ Guru
Registered: May 2009
Location: Gibraltar, Gibraltar
Distribution: Fedora 20 with Awesome WM
Posts: 6,805
|
Hi,
Sorry for the late reply, just got home. Try in the maintenance console:
and see where that leads. Post the output please.
Kind regards,
Eric
|
|
|
02-05-2010, 10:36 AM
|
#23
|
Member
Registered: Nov 2009
Posts: 522
Original Poster
Rep:
|
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)
|
|
|
02-05-2010, 10:39 AM
|
#24
|
LQ Guru
Registered: May 2009
Location: Gibraltar, Gibraltar
Distribution: Fedora 20 with Awesome WM
Posts: 6,805
|
Hi,
Just accept by typing y
Kind regards,
Eric
|
|
|
02-05-2010, 11:55 AM
|
#25
|
Member
Registered: Nov 2009
Posts: 522
Original Poster
Rep:
|
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>?
|
|
|
02-05-2010, 11:56 AM
|
#26
|
LQ Guru
Registered: May 2009
Location: Gibraltar, Gibraltar
Distribution: Fedora 20 with Awesome WM
Posts: 6,805
|
Hi,
Answer yes (y) again.
Kind regards,
Eric
|
|
|
02-05-2010, 12:15 PM
|
#27
|
Member
Registered: Nov 2009
Posts: 522
Original Poster
Rep:
|
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> ?
|
|
|
02-05-2010, 12:17 PM
|
#28
|
LQ Guru
Registered: May 2009
Location: Gibraltar, Gibraltar
Distribution: Fedora 20 with Awesome WM
Posts: 6,805
|
Hi,
If the errors seem similar and the choice is presented then answer yes to all of them.
Kind regards,
Eric
|
|
|
02-05-2010, 12:23 PM
|
#29
|
Member
Registered: Nov 2009
Posts: 522
Original Poster
Rep:
|
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:^#
|
|
|
02-05-2010, 12:39 PM
|
#30
|
LQ Guru
Registered: May 2009
Location: Gibraltar, Gibraltar
Distribution: Fedora 20 with Awesome WM
Posts: 6,805
|
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
|
|
|
All times are GMT -5. The time now is 03:08 PM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|