LinuxQuestions.org
Visit Jeremy's Blog.
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-26-2009, 10:07 AM   #16
elishac
Member
 
Registered: Nov 2009
Posts: 522

Original Poster
Rep: Reputation: 33

result is :
fsck from util-linux-ng 2.16
dev/sda5 us liybted (edit:is mounted)
warning !! running e2fsck on a mounted filesystem may cause SEVERE filesystem damage.
Do you really want to continue ?
i answered yes
result was :
dev/sad5:superblock last write time is in the future (by less than a day, probably due to a bad system clock last boot).
FIXED.
dev/sda5 was not cleanly unmounted, check forced.
dev/sda5: entry %gconf.xml in home/elsihac/.gconf/system/networking/connections4/connection (1403566) has deleter/unused 1403531. CLEARED.
/dev/sda5: unatacched inode 1403530
dev/sda5/ unexpected inconstency; run fsck manually.
(ie without -a or -p options).
elishac@elishacc:~$

Last edited by elishac; 12-28-2009 at 11:39 AM.
 
Old 12-26-2009, 10:27 AM   #17
EricTRA
LQ Guru
 
Registered: May 2009
Location: Gibraltar, Gibraltar
Distribution: Fedora 20 with Awesome WM
Posts: 6,805
Blog Entries: 1

Rep: Reputation: 1295Reputation: 1295Reputation: 1295Reputation: 1295Reputation: 1295Reputation: 1295Reputation: 1295Reputation: 1295Reputation: 1295
Hi,

Sorry for the delay, was having lunch. Reboot the system and see if any errors appear now.

Kind regards,

Eric
 
Old 12-28-2009, 11:37 AM   #18
elishac
Member
 
Registered: Nov 2009
Posts: 522

Original Poster
Rep: Reputation: 33
Yes there is still the same error, it says sda5 is not mounted.
When I press esc, I get a log in screen and I can use ubuntu normally, but I still get this error at every reboot.
 
Old 12-28-2009, 11:49 AM   #19
worm5252
Member
 
Registered: Oct 2004
Location: Atlanta
Distribution: CentOS, RHEL, HP-UX, OS X
Posts: 567

Rep: Reputation: 57
Quote:
dev/sda5/ unexpected inconstency; run fsck manually.
(ie without -a or -p options).
Try running "e2fsck -dfpy"
 
Old 12-28-2009, 11:51 AM   #20
worm5252
Member
 
Registered: Oct 2004
Location: Atlanta
Distribution: CentOS, RHEL, HP-UX, OS X
Posts: 567

Rep: Reputation: 57
Just in case you are wondering

e2fsck is the fsck utility for ext2 ext3 and ext4 file systems (ubuntu uses ext 2 or ext 3).

-d option turns on debugging. This is useful if there are errors
-f Forces it to check file systems marked as clean
-p automatically repairs errors
-y assume yes to all questions.
 
Old 12-28-2009, 12:08 PM   #21
elishac
Member
 
Registered: Nov 2009
Posts: 522

Original Poster
Rep: Reputation: 33
it says :
e2fsck: Only one of the options -p/-a, -n or -y may be specified.
 
Old 12-28-2009, 02:04 PM   #22
elishac
Member
 
Registered: Nov 2009
Posts: 522

Original Poster
Rep: Reputation: 33
What should I write then ? The command you mentioned doesn't seem to work.
 
Old 12-28-2009, 03:15 PM   #23
EricTRA
LQ Guru
 
Registered: May 2009
Location: Gibraltar, Gibraltar
Distribution: Fedora 20 with Awesome WM
Posts: 6,805
Blog Entries: 1

Rep: Reputation: 1295Reputation: 1295Reputation: 1295Reputation: 1295Reputation: 1295Reputation: 1295Reputation: 1295Reputation: 1295Reputation: 1295
sorry, double post due to internet problems

Last edited by EricTRA; 12-28-2009 at 03:17 PM.
 
Old 12-28-2009, 03:16 PM   #24
EricTRA
LQ Guru
 
Registered: May 2009
Location: Gibraltar, Gibraltar
Distribution: Fedora 20 with Awesome WM
Posts: 6,805
Blog Entries: 1

Rep: Reputation: 1295Reputation: 1295Reputation: 1295Reputation: 1295Reputation: 1295Reputation: 1295Reputation: 1295Reputation: 1295Reputation: 1295
Hi elishac,

In my opinion on Ubuntu the sda5 refers to your swap space. Can you open a terminal and type
Code:
cat /etc/fstab
there should be a line in there defining the swap. Verify if I'm not mistaking and the /dev/sda5 is swap or not. Eventually post the line containing swap here.

Also run the command
Code:
free
and post the output here. If your swap is mounted is should show up.

If /dev/sda5 is swap then fsck has no use since you cannot use it on a swap. Awaiting your reply.

Kind regards,

Eric
 
Old 12-28-2009, 05:28 PM   #25
elishac
Member
 
Registered: Nov 2009
Posts: 522

Original Poster
Rep: Reputation: 33
elishac@ee:~$ cat /etc/fstab
# /etc/fstab: static file system information.
#
# Use 'vol_id --uuid' to print the universally unique identifier for a
# device; this may be used with UUID= as a more robust way to name devices
# that works even if disks are added and removed. See fstab(5).
#
# <file system> <mount point> <type> <options> <dump> <pass>
proc /proc proc defaults 0 0
# / was on /dev/sda5 during installation
UUID=b5... / ext2 relatime,errors=remount-ro 0 1
# swap was on /dev/sda6 during installation
UUID=c9... none swap sw 0 0
/dev/scd0 /media/cdrom0 udf,iso9660 user,noauto,exec,utf8 0 0
/dev/sda2 /media/DONNEES ntfs-3g rw,auto 0 0
elishac@ee:~$ free
total used free shared buffers cached
Mem: 1989536 1291076 698460 0 91584 785412
-/+ buffers/cache: 414080 1575456
Swap: 0 0 0
elishac@ee:~$
 
Old 12-28-2009, 08:05 PM   #26
elishac
Member
 
Registered: Nov 2009
Posts: 522

Original Poster
Rep: Reputation: 33
what should i do now?
 
Old 12-29-2009, 02:02 AM   #27
EricTRA
LQ Guru
 
Registered: May 2009
Location: Gibraltar, Gibraltar
Distribution: Fedora 20 with Awesome WM
Posts: 6,805
Blog Entries: 1

Rep: Reputation: 1295Reputation: 1295Reputation: 1295Reputation: 1295Reputation: 1295Reputation: 1295Reputation: 1295Reputation: 1295Reputation: 1295
Hi,

Apparently something has gone wrong with the swap space.
Code:
elishac@ee:~$ free
total used free shared buffers cached
Mem: 1989536 1291076 698460 0 91584 785412
-/+ buffers/cache: 414080 1575456
Swap: 0 0 0
Can you type in a terminal:
Code:
fdisk -l
and post the output here?

Kind regards,

Eric
 
Old 12-29-2009, 09:10 AM   #28
elishac
Member
 
Registered: Nov 2009
Posts: 522

Original Poster
Rep: Reputation: 33
I don't know if this has anything to do with my problem, but remember that I am (as far as I know), in a recovery shell, since I pressed esc when the error message appeared, before the login window.
fdisk -l doesn't produce any output.
 
Old 12-29-2009, 09:17 AM   #29
EricTRA
LQ Guru
 
Registered: May 2009
Location: Gibraltar, Gibraltar
Distribution: Fedora 20 with Awesome WM
Posts: 6,805
Blog Entries: 1

Rep: Reputation: 1295Reputation: 1295Reputation: 1295Reputation: 1295Reputation: 1295Reputation: 1295Reputation: 1295Reputation: 1295Reputation: 1295
If you're logged in as a user, then it should be:
Code:
sudo fdisk -l
Sorry for that. I like to play God on my machines so always forget the sudo part.

Kind regards,

Eric
 
Old 12-29-2009, 08:41 PM   #30
elishac
Member
 
Registered: Nov 2009
Posts: 522

Original Poster
Rep: Reputation: 33
elishac@ee:~$ sudo fdisk -l
[sudo] password for elishac:

Disk /dev/sda: 160.0 GB, 160041885696 bytes
255 heads, 63 sectors/track, 19457 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Disk identifier: 0xe718f4b9

Device Boot Start End Blocks Id System
/dev/sda1 * 1 6375 51201024 7 HPFS/NTFS
/dev/sda2 6375 16386 80410624 7 HPFS/NTFS
/dev/sda3 16386 19458 24677376 f W95 Ext'd (LBA)
/dev/sda5 16386 18935 20480000 83 Linux
/dev/sda6 18935 19458 4195160 82 Linux swap / Solaris
elishac@ee:~$
 
  


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


All times are GMT -5. The time now is 12:05 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration