[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: fsck Fails On Reboot After Partially Completed Testing Upgrade



On Fri, 06 Jan 2006, Kent West wrote:
> >I get these boot messages on a cold start or reboot
> >after doing an
> ># aptitude upgrade -t testing that is still not
> >completely finished.
> >
> >Checking root file system
> >fsck 1.39-WIP(current date)
> >/dev/hda1: Superblock last write time in future
> > 
> >
> I believe there was a thread last week dealing with this error, but I 
> didn't pay attention to it. You might want to see if you can find that 
> thread.
> 
> >I've followed these instructions several times and
> >still get the error on bootup.  When I run fsck from
> >root after mounting /,rw, I get a warning about
> >running fsck on a mounted fs and select "no" to
> >continue.
> >
> I would boot off a LiveCD to run fsck on your root partition.

That may not fix it.  Try setting your clock to UTC (and set UTC=yes in
/etc/default/rcS).  If you can live with that, your Debian system will be
that much happier and stable, hardware clocks were meant to be always in
UTC, it's just old DOS and Microsoft Windows that don't know it ;-)

If you cannot, well, we are fixing the bug but it will take some time.  The
workaround that MAY work for you is to add TZ=ABC+XX:00 at the top of
/etc/init.d/hwclockfirst.sh, where ABC is just three or four letters with
the name of your timezone, and +XX is the offset to WEST of UTC of your
timezone. I.e. it is +03 if you are at UTC-03:00, or -05 if you are at
UTC+05... (don't ask why the stupid sign convention).

-- 
  "One disk to rule them all, One disk to find them. One disk to bring
  them all and in the darkness grind them. In the Land of Redmond
  where the shadows lie." -- The Silicon Valley Tarot
  Henrique Holschuh



Reply to: