LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Ubuntu won't start :( (https://www.linuxquestions.org/questions/linux-newbie-8/ubuntu-wont-start-778071/)

elishac 12-25-2009 01:26 PM

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.

elishac 12-25-2009 01:53 PM

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.

elishac 12-25-2009 02:52 PM

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

dj32 12-25-2009 04:36 PM

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.

MadAtUbuntu 12-25-2009 05:12 PM

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.

elsheepo 12-25-2009 07:00 PM

What filesystem did you select when installing? ext2? Have you tried just letting it run its check... It could take some time you know.

gregorian 12-25-2009 09:14 PM

Try typing fsck / at that prompt.

elishac 12-26-2009 03:47 AM

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?

EricTRA 12-26-2009 04:55 AM

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

elishac 12-26-2009 06:53 AM

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?

EricTRA 12-26-2009 06:56 AM

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

elishac 12-26-2009 07:13 AM

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?

EricTRA 12-26-2009 07:16 AM

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

elishac 12-26-2009 08:13 AM

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 ?

EricTRA 12-26-2009 08:28 AM

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


All times are GMT -5. The time now is 01:00 AM.