Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.debian.user > #157782

Re: Fsck errors at boot, but boots anyway

From Sam Smith <debian@net153.net>
Newsgroups linux.debian.user
Subject Re: Fsck errors at boot, but boots anyway
Date 2015-09-12 04:10 +0200
Message-ID <q7Iql-3iR-5@gated-at.bofh.it> (permalink)
References <q69uF-5eA-9@gated-at.bofh.it> <q6S8q-2pT-17@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


On 09/09/2015 01:11 PM, David Wright wrote:
> Quoting Sam Smith (debian@net153.net):
>
>> Another issue is when a fsck actually does run, systemd doesn't
>> display the output, the screen just hangs for 20 minutes or so which
>> to the unknown user, they may reboot the machine and screw stuff up.
>> Is that just the nature of systemd or is there a fix?
>
> My systems typically have three partitions mounted, and there's no
> problem seeing fsck in progress on the non-root ones. Getting the
> root partition to fsck at all (on demand) was more of a challenge
> because it has to be done from the initramfs stage.
>
> Looking at scripts/functions there, the kernel parameter needed to
> force a full check is forcefsck (not fsck.mode=force), but the
> parameter to give you a progress spinner seems to be disabled:
>
>          # spinner="-C" -- only if on an interactive terminal
>          spinner=""
>
> I presume I see progress for non-root partitions because
> /etc/init.d/checkroot.sh (or whatever systemd derives from it) gets
> this right:
>
>                  spinner="-C"
>                  case "$TERM" in
>                    dumb|network|unknown|"")
>                          spinner="" ;;
>                  esac
>
> Cheers,
> David.
>

I was thinking that checkroot.sh was obsolete with systemd?
At least /var/log/fsck/checkroot has a last mod time of Jun 1, 2014..

Thanks,
Sam

Back to linux.debian.user | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread


Thread

Fsck errors at boot, but boots anyway Sam Smith <debian@net153.net> - 2015-09-07 20:40 +0200
  Re: Fsck errors at boot, but boots anyway Linux 4 Bene <linux4bene@telenet.be> - 2015-09-09 15:20 +0200
    Re: Fsck errors at boot, but boots anyway Sam Smith <debian@net153.net> - 2015-09-12 04:00 +0200
  Re: Fsck errors at boot, but boots anyway David Wright <deblis@lionunicorn.co.uk> - 2015-09-09 20:20 +0200
    Re: Fsck errors at boot, but boots anyway Sam Smith <debian@net153.net> - 2015-09-12 04:10 +0200
  Re: Fsck errors at boot, but boots anyway Sam Smith <debian@net153.net> - 2015-09-12 21:00 +0200

csiph-web