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

Re: Debian checks filesystems at every boot



Anyway, when I run halt or shutdown I see all the messages relating to the processes
being stopped. I even see the message I put in right before my "sync" addition. And
still it seems to go wrong :-(.  Might there be a problem with timing. Since my second partition
is rather big (15GB) perhaps the sync doesn't get enough time and the machine powers down
before the sync can end.  But on the other hand, the sync is not run in the background
so he should wait anyway.  The strange thing is that I didn't have this on my previous
pc altough it was running the same version of Debian.

Nico



On Tue, Dec 12, 2000 at 06:25:51PM -0800, Eric G . Miller wrote:
> On Tue, Dec 12, 2000 at 02:29:23PM -0800, kmself@ix.netcom.com wrote:
> > on Tue, Dec 12, 2000 at 08:35:28PM +0100, Nico De Ranter (nico@sonycom.com) wrote:
> > > Howdy,
> > > 
> > > I just got a new computer and installed Debian on it (ofcourse :-).
> > > The installation uses 2 partitions, 1 of 5GB and 1 of 15GB (hey I have
> > > to do something with all that diskspace don't I :-).  I did the same
> > > install as I always did starting from the Debian 2.2 cd's. However
> > > with the new PC every time I boot Linux will complain the filesystems
> > > weren't properly unmounted and will do a full check of the
> > > filesystems.  I do ofcourse always make sure to turn off the machine
> > > by typing "halt".  
> > 
> > This is your problem.  Try:
> > 
> >   $ shutdown -h now
> 
> I don't think so -- man halt:
> 
> NOTES
>        Under  older  sysvinit  releases  , reboot and halt should
>        never be called directly. From release 2.74  on  halt  and
>        reboot invoke shutdown(8) if the system is not in runlevel
>        0 or 6. This means that if halt or reboot cannot find  out
>        the  current  runlevel  (for  example,  when /var/run/utmp
>        hasn't  been  initialized  correctly)  shutdown  will   be
>        called, which might not be what you want.  Use the -f flag
>        if you want to do a hard halt or reboot.
> 
> At least it works as advertised here; same for "reboot".  I think this
> has been the case for some time under linux.
> 
> -- 
> Eric G. Miller <egm2@jps.net>
> 
> 
> -- 
> To UNSUBSCRIBE, email to debian-user-request@lists.debian.org 
> with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
---------------------------------------------------------
 "It has been said that there are only two businesses that
  refer to customers as users: illegal drug trade and
               the computer industry." 
---------------------------------------------------------
Nico De Ranter
Sony Service Center (SDCE/NEE-B)
Sint Stevens Woluwestraat 55 (Rue de Woluwe-Saint-Etienne)
1130 Brussel (Bruxelles), Belgium, Europe, Earth
Telephone: +32 2 724 86 41 Telefax: +32 2 726 26 86
e-mail: nico.deranter@sonycom.com



Reply to: