LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
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 12-25-2009, 01:26 PM   #1
elishac
Member
 
Registered: Nov 2009
Posts: 522

Rep: Reputation: 33
Ubuntu won't start :(


Hello,

I'm not sure but I think I switched my computer off in a wrong way.
Anyway, since then, when I try to start my computer, it says
init: mountall main process (1024) terminated with status 3.

Please help me, I'm just a beginner.
 
Old 12-25-2009, 01:53 PM   #2
elishac
Member
 
Registered: Nov 2009
Posts: 522

Original Poster
Rep: Reputation: 33
What should I do, should I just force the computer to shut down by pressing the starting button for 5 seconds, and then restart my computer?
I'm waiting for your instructions, I'm completely blocked and I can't work, please help me as soon as possible. Thanks a lot.
 
Old 12-25-2009, 02:52 PM   #3
elishac
Member
 
Registered: Nov 2009
Posts: 522

Original Poster
Rep: Reputation: 33
so i just forced to reboot, and then I got this :
filesystem checks are in progress
press esc to cancel checks

and then I get again
init: mountall main process (1024) terminated with status 3.
and
mount of filesystem failed.
a maintenance shell will now be started.
CONTROL-D will terminate this shell and re-try.
root@elishac:^#
what should I do?

Any help would be greatly appreciated.
Thanks
 
Old 12-25-2009, 04:36 PM   #4
dj32
LQ Newbie
 
Registered: Dec 2009
Posts: 16

Rep: Reputation: 0
I made this mistake to shutdown my computer the wrong way too,and i could not boot it,till i formatted disk and reinstalled the operating system.I don't tell you to do that,there maybe be an other solution too.
 
Old 12-25-2009, 05:12 PM   #5
MadAtUbuntu
LQ Newbie
 
Registered: Dec 2009
Location: Northern California USA
Distribution: Ubuntu Server 8.04.3 Hardy
Posts: 14

Rep: Reputation: 0
Well the good news is that you can still boot to command line, so I presume all is not lost.

But I do not have the answer as I a a noob too.
 
Old 12-25-2009, 07:00 PM   #6
elsheepo
Member
 
Registered: Feb 2008
Location: Texas
Distribution: Slackware
Posts: 90

Rep: Reputation: 20
What filesystem did you select when installing? ext2? Have you tried just letting it run its check... It could take some time you know.
 
Old 12-25-2009, 09:14 PM   #7
gregorian
Member
 
Registered: Apr 2006
Posts: 509

Rep: Reputation: 34
Try typing fsck / at that prompt.
 
Old 12-26-2009, 03:47 AM   #8
elishac
Member
 
Registered: Nov 2009
Posts: 522

Original Poster
Rep: Reputation: 33
I did not select anything, I told you everything that appeared on the screeen.
I wrote fsck and the answer was :
fscl from util-linux-ng 2.16
e2fsck 1.41.9 (22 aug 09)
dev/sda5 contains a file system with errors, check forced.
pass1:checking inodes,blocks, and sizes.
pass2:checking directory structure
pass3:checking directory connectviity
pass4:checking reference counts
untattached inode 1436210
connect to /lost+found<y>?



What should I do now?

Last edited by elishac; 12-26-2009 at 03:53 AM.
 
Old 12-26-2009, 04:55 AM   #9
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,

When in the maintenance shell try running:
Code:
fsck -a /dev/sda5
Using this command the system will try to fix any errors automatically.

Post any results here.

Kind regards,

Eric
 
Old 12-26-2009, 06:53 AM   #10
elishac
Member
 
Registered: Nov 2009
Posts: 522

Original Poster
Rep: Reputation: 33
Hello Eric,

thanks a lot for trying to help me once again.
I wrote y when the prompt was
connect to /lost+found<y>?.
The result was
pass 5: checking group summary information
bloack bitmap differences: (+14444876--1444877) +144881 +1444886
Fix <y>
i wrote y
freeblocks count wrong for group #44 (4647, counted=4643).
fix y
i wrote y
inode bitmap differences +1436227
fix y?
i wrote y
free inodes count wrong for group #44 (26544, counted=26543)
free inodes count wrong (4855835, counted=4855834)
fix y
y
dev/sda5 ** file system was modified **
dev/sda5 ** reboot linux **
dev/sd5 26846/5124480 files (1.6% non contiguous, 1856621/5120000 blocks
root@elishac

What should I do now?
 
Old 12-26-2009, 06:56 AM   #11
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,

Have you rebooted after the complete check yet? As it says in the messages, reboot linux. Try to reboot and see if you can access your system.

Kind regards,

Eric
 
Old 12-26-2009, 07:13 AM   #12
elishac
Member
 
Registered: Nov 2009
Posts: 522

Original Poster
Rep: Reputation: 33
I wrote reboot and rebooted.
I chose ubuntu at grub.
then a screen appears that says :
one or more of the mounts listed in /etc/fstab cannot yet be mounted:
swap: waiting for UUID=c91... (a list of random chacaters)
press esc to enter recovery shell
shall i press esc?
 
Old 12-26-2009, 07:16 AM   #13
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
Yes, enter the recovery shell and type the following command:
Code:
fsck -Aa
The 'A' option will try to check all your partitions as listed in the fstab file and the 'a' option will try to repair.

Kind regards,

Eric
 
Old 12-26-2009, 08:13 AM   #14
elishac
Member
 
Registered: Nov 2009
Posts: 522

Original Poster
Rep: Reputation: 33
Well actually I press esc but it didn't send me to a command line window. Instead, I get the normal graphical log in window.
I can now log in normally.
does that mean my problem is solved, even though i got the "one or more of the mounts listed in /etc/fstab cannot yet be mounted" message ?
 
Old 12-26-2009, 08:28 AM   #15
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,

It means your system is fixed mostly but since you got the error concerning the swapspace I suggest you open a terminal and type as user:
Code:
sudo fsck -Aa
or as root
Code:
fsck -Aa
as stated earlier. It will fix whatever errors it encounters and can be fixed.

Kind regards,

Eric
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
ubuntu doesn't start d_dark_lordd Linux - General 13 12-12-2009 12:00 PM
How to start application when linux(ubuntu/debian) start ersek Linux - General 4 05-28-2009 12:19 PM
Ubuntu IE 6 won't start steve423 Linux - Desktop 6 10-03-2008 03:06 PM
Start using C under Ubuntu kzdev Linux - Newbie 3 08-03-2008 04:22 PM

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

All times are GMT -5. The time now is 09:19 AM.

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