You are not logged in.

#1 2013-10-30 14:44:05

axper
Member
Registered: 2013-01-25
Posts: 115

[SOLVED] Boot fails after setting bios time to future

I set my pc clock to wrong year(future) in bios, it worked first time but after a reboot I am getting this error message:

        Starting File System Check on /dev/disk/by-uuid/xxxxxxxxxxxxxxxxxxx...
systemd-fsck[299]: storage: Superblock last mount time (Sat Oct 30 17:11:14 2038,
systemd-fsck[299]: now = Wed Oct 30 18:12:01 2013) is in the future.
systemd-fsck[299]: storage: UNEXPECTED INCONSISTENCY; RUN fsck MANUALLY.
systemd-fsck[299]: (i.e., without -a or -p options)
Welcome to emergency mode! After logging in, type "journalctl -xb" to view system logs, "systemctl reboot" to reboot, "systemctl default" to try again to boot into default mode.
Give root password for maintenance
(or press Control-D to continue): _

In emergency shell, running "systemctl default" and same error shows up again. Running "fsck /dev/sda1" says "/dev/sda1 is mounted\ne2fsck: Cannot continue, aborting.". Umount'ing /dev/sda1 and fsck still says it's mounted. Google doesn't help much with this error.

Last edited by axper (2013-10-30 17:06:56)

Offline

#2 2013-10-30 14:58:09

kokoko3k
Member
Registered: 2008-11-14
Posts: 2,484

Re: [SOLVED] Boot fails after setting bios time to future

Can't say if there is an alternative and better method, but why don't you just boot from a live cd and mount that filesystem?
That way the "Superblock last mount time ... is in the future." message will be gone.


Help me to improve ssh-rdp !
Retroarch User? Try my koko-aio shader !

Offline

#3 2013-10-30 15:11:42

axper
Member
Registered: 2013-01-25
Posts: 115

Re: [SOLVED] Boot fails after setting bios time to future

Still nope. Mounted /dev/sda1 to temp dir using live cd, rebooted - same error.

Offline

#4 2013-10-30 15:34:16

falconindy
Developer
From: New York, USA
Registered: 2009-10-22
Posts: 4,111
Website

Re: [SOLVED] Boot fails after setting bios time to future

You need to run fsck manually, as the error suggests...

Offline

#5 2013-10-30 15:38:47

axper
Member
Registered: 2013-01-25
Posts: 115

Re: [SOLVED] Boot fails after setting bios time to future

That's what I tried:

(emergency shell)
# fsck /dev/sda1
  fsck from util-linux 2.24
  e2fsck 1.42.8 (20-Jun-2013)
  /dev/sda1 is mounted.
  e2fsck: Cannot continue, aborting.
# umount /dev/sda1
# fsck /dev/sda1
  fsck from util-linux 2.24
  e2fsck 1.42.8 (20-Jun-2013)
  /dev/sda1 is mounted.
  e2fsck: Cannot continue, aborting.

Also ran "fsck /dev/sda1" from live cd, rebooted - still the same.

Offline

#6 2013-10-30 16:23:23

falconindy
Developer
From: New York, USA
Registered: 2009-10-22
Posts: 4,111
Website

Re: [SOLVED] Boot fails after setting bios time to future

Please read your own output. The device is mounted. Unmounting by device name isn't reasonable (what if the device is mounted in multiple places?). You need to do this from early userspace or a live CD.

Last edited by falconindy (2013-10-30 16:23:43)

Offline

#7 2013-10-30 16:32:28

axper
Member
Registered: 2013-01-25
Posts: 115

Re: [SOLVED] Boot fails after setting bios time to future

Booted over network (pxe). sda1 is my root partition.
Entered this code at live cd terminal prompt:

root@archiso ~ # fsck /dev/sda1
fsck from util-linux 2.23.1
e2fsck 1.42.8 (20-Jun-2013)
root: clean, xx/xx files, xx/xx blocks

Rebooted - still the same message.

Offline

#8 2013-10-30 16:55:23

falconindy
Developer
From: New York, USA
Registered: 2009-10-22
Posts: 4,111
Website

Re: [SOLVED] Boot fails after setting bios time to future

Then I propose that /dev/sda1 and the disk identified by the UUID you blank out aren't the same device.

This is getting tedious...

Last edited by falconindy (2013-10-30 16:55:56)

Offline

#9 2013-10-30 17:06:44

axper
Member
Registered: 2013-01-25
Posts: 115

Re: [SOLVED] Boot fails after setting bios time to future

Oooh you are right. I fsck'd all the partitions from live cd and it worked. Thanks!

Offline

Board footer

Powered by FluxBB