Re: Running fsck automatically on boot

2009-12-07 Thread Michael Pobega
On Sun, Dec 06, 2009 at 12:37:08PM -0800, Sergio Padrino wrote: > > Hi! > > I have Debian Unstable and sometimes there are some (typical) errors in my > partitions: > > /dev/sda7: Superblock last mount time is in the future > /dev/sda7: UNEXPECTED INCONSISTENCY; RUN fsck MANUALLY > > and I was

Re: Running fsck automatically on boot

2009-12-07 Thread Sergio Padrino
I finally did it! Fix "Superblox last write time is in the future" error" Open "/etc/default/rcS" and make sure the following options are set: # Set UTC=yes if your system clock is set to UTC (GMT), and UTC=no if not. UTC=yes # Set FSCKFIX to "yes" if you want to add "-y" to the fsck at startup

Re: Running fsck automatically on boot

2009-12-07 Thread Sergio Padrino
It just happened! It wasn't random this time as there were electrical problems in my house and my computer shut down :-\ Here you have a picture: https://dl.dropbox.com/u/1040020/SNC00056.jpg -- View this message in context: http://old.nabble.com/Running-fsck-automatically-on-boot-tp26668778p2

Re: Running fsck automatically on boot

2009-12-07 Thread Sergio Padrino
First, thank you for all your answers :D My PC is dual-boot and I sometimes use Windows XP, but my sister's PC only has Debian Unstable installed. Both PCs suffer this problem, so it seems that it's not Windows related :-\ Klistvud wrote: > > Dne, 06. 12. 2009 23:02:46 je Sergio Padrino napisa

Re: Running fsck automatically on boot

2009-12-06 Thread Tom H
>> Anyway, the reason of me looking for a way to run it automatically is that >> other distributions (like ArchLinux) can do it, so I suppose that it's not >> impossible :P > They do what, exactly? Automatically run fsck on a running system? > Run it at boot if errors are found? Perhaps ask in the

Re: Running fsck automatically on boot

2009-12-06 Thread David Claughton
Sergio Padrino wrote: > About my system's time... it's always fine :-\ But it's weird because, for > example, if I boot my PC on 7 Dec 2009 at 16:31:55, the error I get is that > the superblock has this date: 7 Dec 2009 17:31:27 > I don't suppose this machine dual-boots Windows does it? I had a

Re: Running fsck automatically on boot

2009-12-06 Thread Klistvud
Dne, 06. 12. 2009 23:02:46 je Sergio Padrino napisal(a): > > It's just an example, but the thing is that the superblock always > contains a > time that is 1 hour after the current time. It may be something > related to > update some packages? I'd suggest checking your clock applet in your Gnome

Re: Running fsck automatically on boot

2009-12-06 Thread Celejar
On Sun, 6 Dec 2009 14:02:46 -0800 (PST) Sergio Padrino wrote: ... > About my system's time... it's always fine :-\ But it's weird because, for > example, if I boot my PC on 7 Dec 2009 at 16:31:55, the error I get is that > the superblock has this date: 7 Dec 2009 17:31:27 > > It's just an examp

Re: Running fsck automatically on boot

2009-12-06 Thread Nick Douma
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 6-12-2009 22:48, Celejar wrote: > On Sun, 6 Dec 2009 13:46:13 -0800 (PST) > Sergio Padrino wrote: > > ... > >> celejar wrote: >>> >>> On Sun, 6 Dec 2009 12:37:08 -0800 (PST) >>> Sergio Padrino wrote: >>> >>> I don't know very much about this sor

Re: Running fsck automatically on boot

2009-12-06 Thread Sergio Padrino
celejar wrote: > > Do you keep an eye on your system's time? You might try doing periodic > checks to see if it's right. I'm sorry, I didn't mention it specifically, but I tried those periodic checks and didn't work :S About my system's time... it's always fine :-\ But it's weird because, for

Re: Running fsck automatically on boot

2009-12-06 Thread Celejar
On Sun, 6 Dec 2009 13:46:13 -0800 (PST) Sergio Padrino wrote: ... > celejar wrote: > > > > On Sun, 6 Dec 2009 12:37:08 -0800 (PST) > > Sergio Padrino wrote: > > > > I don't know very much about this sort of thing, but I imagine that it > > would be difficult to arrange, since fsck needs to be

Re: Running fsck automatically on boot

2009-12-06 Thread Sergio Padrino
Nick Douma wrote: > > You can use the sixth field in /etc/fstab. Give the partition a non-zero > value, and it will be (periodically) checked during boot. See `man > fstab` for more information. > I knew that field, but it increases the number of "unnecessary" checks and it doesn't avoid to m

Re: Running fsck automatically on boot

2009-12-06 Thread Nick Douma
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 6-12-2009 21:37, Sergio Padrino wrote: > > Hi! > > I have Debian Unstable and sometimes there are some (typical) errors in my > partitions: > > /dev/sda7: Superblock last mount time is in the future > /dev/sda7: UNEXPECTED INCONSISTENCY; RUN fsck

Re: Running fsck automatically on boot

2009-12-06 Thread Celejar
On Sun, 6 Dec 2009 12:37:08 -0800 (PST) Sergio Padrino wrote: > > Hi! > > I have Debian Unstable and sometimes there are some (typical) errors in my > partitions: > > /dev/sda7: Superblock last mount time is in the future > /dev/sda7: UNEXPECTED INCONSISTENCY; RUN fsck MANUALLY > > and I was