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.
|
 |
|
12-26-2009, 10:07 AM
|
#16
|
Member
Registered: Nov 2009
Posts: 522
Original Poster
Rep:
|
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.
|
|
|
12-26-2009, 10:27 AM
|
#17
|
LQ Guru
Registered: May 2009
Location: Gibraltar, Gibraltar
Distribution: Fedora 20 with Awesome WM
Posts: 6,805
|
Hi,
Sorry for the delay, was having lunch. Reboot the system and see if any errors appear now.
Kind regards,
Eric
|
|
|
12-28-2009, 11:37 AM
|
#18
|
Member
Registered: Nov 2009
Posts: 522
Original Poster
Rep:
|
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.
|
|
|
12-28-2009, 11:49 AM
|
#19
|
Member
Registered: Oct 2004
Location: Atlanta
Distribution: CentOS, RHEL, HP-UX, OS X
Posts: 567
Rep:
|
Quote:
dev/sda5/ unexpected inconstency; run fsck manually.
(ie without -a or -p options).
|
Try running "e2fsck -dfpy"
|
|
|
12-28-2009, 11:51 AM
|
#20
|
Member
Registered: Oct 2004
Location: Atlanta
Distribution: CentOS, RHEL, HP-UX, OS X
Posts: 567
Rep:
|
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.
|
|
|
12-28-2009, 12:08 PM
|
#21
|
Member
Registered: Nov 2009
Posts: 522
Original Poster
Rep:
|
it says :
e2fsck: Only one of the options -p/-a, -n or -y may be specified.
|
|
|
12-28-2009, 02:04 PM
|
#22
|
Member
Registered: Nov 2009
Posts: 522
Original Poster
Rep:
|
What should I write then ? The command you mentioned doesn't seem to work.
|
|
|
12-28-2009, 03:15 PM
|
#23
|
LQ Guru
Registered: May 2009
Location: Gibraltar, Gibraltar
Distribution: Fedora 20 with Awesome WM
Posts: 6,805
|
sorry, double post due to internet problems
Last edited by EricTRA; 12-28-2009 at 03:17 PM.
|
|
|
12-28-2009, 03:16 PM
|
#24
|
LQ Guru
Registered: May 2009
Location: Gibraltar, Gibraltar
Distribution: Fedora 20 with Awesome WM
Posts: 6,805
|
Hi elishac,
In my opinion on Ubuntu the sda5 refers to your swap space. Can you open a terminal and type
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
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
|
|
|
12-28-2009, 05:28 PM
|
#25
|
Member
Registered: Nov 2009
Posts: 522
Original Poster
Rep:
|
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:~$
|
|
|
12-28-2009, 08:05 PM
|
#26
|
Member
Registered: Nov 2009
Posts: 522
Original Poster
Rep:
|
what should i do now?
|
|
|
12-29-2009, 02:02 AM
|
#27
|
LQ Guru
Registered: May 2009
Location: Gibraltar, Gibraltar
Distribution: Fedora 20 with Awesome WM
Posts: 6,805
|
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:
and post the output here?
Kind regards,
Eric
|
|
|
12-29-2009, 09:10 AM
|
#28
|
Member
Registered: Nov 2009
Posts: 522
Original Poster
Rep:
|
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.
|
|
|
12-29-2009, 09:17 AM
|
#29
|
LQ Guru
Registered: May 2009
Location: Gibraltar, Gibraltar
Distribution: Fedora 20 with Awesome WM
Posts: 6,805
|
If you're logged in as a user, then it should be:
Sorry for that. I like to play God on my machines so always forget the sudo part.
Kind regards,
Eric
|
|
|
12-29-2009, 08:41 PM
|
#30
|
Member
Registered: Nov 2009
Posts: 522
Original Poster
Rep:
|
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:~$
|
|
|
All times are GMT -5. The time now is 08:41 AM.
|
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
|
|