Web lists-archives.com

Re: [Diagnostic Summary] Re: Strange message during boot





On Thu, 11 Jan 2018, Richard Owlett wrote:

> I multi-boot several varieties of Debian.
> When booting one specific install, it displays many repetitions of:
> > > Begin: Running /scripts/local-block ... done.
> 
> It then proceeds to bring up an apparently normal system.
> Would this be logged somewhere?
> Where?
> 
> Specifics:
> sda1 - Always has the latest version of Debian, currently 9.1 .
>        For housekeeping reasons it has the only copy of Grub
>        on my machine.
> sda8 - The problem install is Debian 8. It had been my primary work
>        install until I trashed some data files. It has been kept to
>        reconstruct those files as I have time.
> sda9 - Current work install of Debian 9.1
> 
> Suggested diagnostics yielded:
> 
> > root@stretch-2nd:~# ls -l /sbin/init
> > lrwxrwxrwx 1 root root 20 Jun  4  2017 /sbin/init -> /lib/systemd/systemd
> > root@stretch-2nd:~#
> 
> /etc/apt/sources.list indicates the install had been done with:
> deb cdrom:[Debian GNU/Linux stretch-DI-rc3 _Stretch_ - Official Snapshot i386
> NETINST Binary-1 20170409-00:50]/ stretch main
> 
> > 
> > root@stretch-2nd:~# dlocate /sbin/init
> > bash: dlocate: command not found
> > root@stretch-2nd:~#
> > 
> > journalctl -xb > jan11test
> The string of interest not present.
> 
> /usr/share/initramfs-tools/ does not exist
> /etc/initramfs-tools/scripts has 10 empty folders
> 

Doesn't sound right.

ls -l /usr/share/initramfs-tools/
total 52
drwxr-xr-x 2 root root  4096 Apr 25  2017 conf.d
drwxr-xr-x 2 root root  4096 Jun 19  2017 conf-hooks.d
-rw-r--r-- 1 root root 19249 Mar  6  2017 hook-functions
drwxr-xr-x 2 root root  4096 Nov 10 07:57 hooks
-rwxr-xr-x 1 root root  5960 Apr 23  2017 init
-rw-r--r-- 1 root root   357 Mar  1  2015 modules
drwxr-xr-x 2 root root  4096 Apr 25  2017 modules.d
drwxr-xr-x 8 root root  4096 Nov 10 07:57 scripts

ls -l /usr/share/initramfs-tools/scripts/
total 48
-rw-r--r-- 1 root root 9394 Mar  6  2017 functions
drwxr-xr-x 2 root root 4096 Nov 10 07:57 init-bottom
drwxr-xr-x 2 root root 4096 Nov 10 07:57 init-premount
drwxr-xr-x 2 root root 4096 Nov  9 05:04 init-top
-rw-r--r-- 1 root root 5607 Apr  8  2017 local
drwxr-xr-x 2 root root 4096 Jun 19  2017 local-bottom
drwxr-xr-x 2 root root 4096 Jun 19  2017 local-premount
-rw-r--r-- 1 root root 3050 Feb 20  2016 nfs
drwxr-xr-x 2 root root 4096 Nov 10 07:57 panic


apt policy initramfs-tools
initramfs-tools:
  Installed: 0.130
  Candidate: 0.130
  Version table:
 *** 0.130 500
        500 http://http.us.debian.org/debian stretch/main amd64 Packages
        100 /var/lib/dpkg/status