Linux - NewbieThis 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.
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.
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:~$
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.
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.
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.
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:~$
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.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.