Gentoo Archives: gentoo-user

From: Dale <rdalek1967@×××××.com>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] Re: fsck date problem during boot
Date: Thu, 05 Nov 2009 00:20:31
Message-Id: 4AF21A49.5080409@gmail.com
In Reply to: [gentoo-user] Re: fsck date problem during boot by Harry Putnam
1 Harry Putnam wrote:
2 > Stroller <stroller@××××××××××××××××××.uk> writes:
3 >
4 >
5 >> On 4 Nov 2009, at 15:45, Harry Putnam wrote:
6 >>
7 >>> ...
8 >>> Somehow the date of last fsck on /boot is seen as `in the future' so
9 >>> fsck fails on /dev/had1 (/boot).
10 >>>
11 >> The first thing I would want to check is the motherboard battery. Is
12 >> the time correct if you reboot and immediately enter BIOS?
13 >>
14 >
15 > That was a pretty good help but apparently not all the story.
16 >
17 > When I checked bios, the clock was exactly 1 hr fast (didn't pick up
18 > the end of daylight saving time I guess).
19 >
20 > Reset the clock and tested with 2 more reboots, each time mounting
21 > /boot and fiddling around with files.
22 >
23 > Each time the same failure occurs. I check bios time again. Its
24 > right.
25 >
26 > Here is the (edited) output form fsck
27 >
28 > Superblock last mount time (Wed Nov 4 18:05:13 2009,
29 > now = Wed Nov 4 12:11:49 2009) is in the future.
30 > Fix<y>? yes
31 >
32 > [...]
33 > ------- --------- ---=--- --------- --------
34 > Superblock last mount time (Wed Nov 4 18:14:54 2009,
35 > now = Wed Nov 4 12:18:01 2009) is in the future.
36 > Fix<y>? yes
37 >
38 > [...]
39 >
40 > so still somehow, those last mount dates are way wrong.
41 >
42 > I hope I'm checking the right thing in bios. Its under cmos and shows
43 > the time ticking away. You can adjust all columns. with +/-.
44 >
45 >
46
47 I can't recall exactly how I did this but there is a command to tell the
48 OS to set the clock on the mobo to the system time when shutting down.
49 That way everything should sync up when you reboot, except for that tiny
50 little bit if you shutdown completely for a few days or something. The
51 command is hwclock. I can't recall where I put the thing because I am
52 logged into KDE 4 and I can't find nothing in here yet. It's pretty but
53 it is different so I'm lost.
54
55 I *think* I put it in the rc file or something. I remember the file is
56 run during shutdown tho. That may help if you know which file that is.
57
58 Hope that helps.
59
60 Dale
61
62 :-) :-)

Replies

Subject Author
Re: [gentoo-user] Re: fsck date problem during boot Chris Reffett <mellitussum@×××××××.net>
Re: [gentoo-user] Re: fsck date problem during boot Daniel Solano Gomez <gentoo@×××××××.com>