Only boots up with Sysvinit

Questions specific to the KDE DE go here
Fargo
Posts: 896
Joined: 17 Sep 2013 14:40

Only boots up with Sysvinit

Postby Fargo » 13 Feb 2017 16:35

Hey guys, I recently had a power supply failure. Now I can no longer boot into SolydK as normal. I can only get my system running if I go into the Advanced options at Grub and select Sysvinit. Then things to work OK but I don't have a shutdown option. So I can't shutdown my machine as normal either. Any ideas.

User avatar
Zill
Posts: 1850
Joined: 13 Aug 2013 14:28
Location: Lincolnshire, UK

Re: Only boots up with Sysvinit

Postby Zill » 13 Feb 2017 16:59

I suggest you first check for broken packages. Open a terminal and enter the following three commands:

Code: Select all

sudo apt-get update
sudo dpkg --configure -a
sudo apt-get -f install
Then reboot and post the full output of the following four commands:

Code: Select all

inxi -Frxz
apt policy systemd
apt update
apt upgrade

Fargo
Posts: 896
Joined: 17 Sep 2013 14:40

Re: Only boots up with Sysvinit

Postby Fargo » 13 Feb 2017 17:56

Thank you Zill for helping. Here are the outputs from the commands you provided:

Code: Select all

$ inxi -Frxz
System:    Host: appraisal Kernel: 3.16.0-4-amd64 x86_64 (64 bit gcc: 4.8.4) Desktop: KDE 4.14.2 (Qt 4.8.6) 
           Distro: SolydXK 8 solydxk 
Machine:   Mobo: MSI model: A68HM GRENADE (MS-7891) v: 1.0 Bios: American Megatrends v: V1.1 date: 04/15/2015
CPU:       Quad core AMD A8-7600 Radeon R7 10 Compute Cores 4C+6G (-MCP-) cache: 8192 KB
           flags: (lm nx sse sse2 sse3 sse4_1 sse4_2 sse4a ssse3 svm) bmips: 24755 
           Clock Speeds: 1: 1400 MHz 2: 1400 MHz 3: 1400 MHz 4: 1400 MHz
Graphics:  Card: Advanced Micro Devices [AMD/ATI] Kaveri [Radeon R7 Graphics] bus-ID: 00:01.0
           Display Server: X.Org 1.16.4 drivers: ati,radeon (unloaded: fbdev,vesa) Resolution: 1920x1080@60.00hz
           GLX Renderer: Gallium 0.4 on AMD KAVERI GLX Version: 3.0 Mesa 10.3.2 Direct Rendering: Yes
Audio:     Card-1 Advanced Micro Devices [AMD] FCH Azalia Controller driver: snd_hda_intel bus-ID: 00:14.2 
           Card-2 Advanced Micro Devices [AMD/ATI] Kaveri HDMI/DP Audio Controller 
           driver: snd_hda_intel bus-ID: 00:01.1 
           Sound: Advanced Linux Sound Architecture v: k3.16.0-4-amd64
Network:   Card: Realtek RTL8111/8168/8411 PCI Express Gigabit Ethernet Controller
           driver: r8169 v: 2.3LK-NAPI port: e000 bus-ID: 01:00.0
           IF: eth1 state: up speed: 1000 Mbps duplex: full mac: <filter>
Drives:    HDD Total Size: 250.1GB (76.4% used) ID-1: /dev/sda model: Samsung_SSD_850 size: 250.1GB
Partition: ID-1: / size: 24G used: 8.2G (36%) fs: ext4 dev: /dev/sda1 
           ID-2: /home size: 168G used: 155G (98%) fs: ext4 dev: /dev/sda3 
           ID-3: swap-1 size: 16.78GB used: 0.00GB (0%) fs: swap dev: /dev/sda2 
Sensors:   System Temperatures: cpu: 7.5C mobo: N/A gpu: 7.0 
           Fan Speeds (in rpm): cpu: N/A 
Repos:     Active apt sources in file: /etc/apt/sources.list
           deb http://repository.solydxk.com/ solydxk main upstream import
           deb http://ftp.debian.org/debian/ jessie main contrib non-free
           deb http://security.debian.org/ jessie/updates main contrib non-free
           deb http://ftp.debian.org/debian/ jessie-backports main contrib non-free
           Active apt sources in file: /etc/apt/sources.list.d/google-chrome.list
           deb [arch=amd64] http://dl.google.com/linux/chrome/deb/ stable main
           Active apt sources in file: /etc/apt/sources.list.d/vertex-theme.list
           deb http://download.opensuse.org/repositories/home:/Horst3180/Debian_8.0/ /
           Active apt sources in file: /etc/apt/sources.list.d/weewx.list
           deb [arch=all] http://weewx.com/apt/ squeeze main
Info:      Processes: 231 Uptime: 1 min Memory: 806.1/14970.5MB Init: SysVinit runlevel: 2 Gcc sys: 4.9.2 
           Client: Shell (bash 4.3.301) inxi: 2.1.28 

Code: Select all

$ apt policy systemd
systemd:
  Installed: 215-17+deb8u6
  Candidate: 215-17+deb8u6
  Version table:
     230-7~bpo8+2 0
        100 http://ftp.debian.org/debian/ jessie-backports/main amd64 Packages
 *** 215-17+deb8u6 0
        500 http://ftp.debian.org/debian/ jessie/main amd64 Packages
        100 /var/lib/dpkg/status

Code: Select all

$ apt update
[sudo] password for nathan: 
Hit http://weewx.com squeeze InRelease
Ign http://dl.google.com stable InRelease                                                                                
Hit http://dl.google.com stable Release.gpg                                                                              
Hit http://weewx.com squeeze/main all Packages                                                                           
Hit http://security.debian.org jessie/updates InRelease                                                                  
Hit http://dl.google.com stable Release                                                                                  
Ign http://ftp.debian.org jessie InRelease                                                                               
Hit http://security.debian.org jessie/updates/main amd64 Packages                           
Hit http://dl.google.com stable/main amd64 Packages                                                        
Hit http://security.debian.org jessie/updates/contrib amd64 Packages                                            
Hit http://ftp.debian.org jessie-backports InRelease                                                       
Hit http://security.debian.org jessie/updates/non-free amd64 Packages                         
Ign http://download.opensuse.org  InRelease                                                                              
Hit http://security.debian.org jessie/updates/main i386 Packages                            
Hit http://ftp.debian.org jessie Release.gpg                                                               
Hit http://security.debian.org jessie/updates/contrib i386 Packages                                        
Hit http://security.debian.org jessie/updates/non-free i386 Packages                                       
Get:1 http://ftp.debian.org jessie-backports/main amd64 Packages/DiffIndex [27.8 kB]        
Hit http://download.opensuse.org  Release.gpg                                  
Hit http://download.opensuse.org  Release                                      
Get:2 http://ftp.debian.org jessie-backports/contrib amd64 Packages/DiffIndex [22.8 kB]
Get:3 http://ftp.debian.org jessie-backports/non-free amd64 Packages/DiffIndex [17.9 kB]
Hit http://download.opensuse.org  Packages                                       
Get:4 http://ftp.debian.org jessie-backports/main i386 Packages/DiffIndex [27.8 kB]
Get:5 http://ftp.debian.org jessie-backports/contrib i386 Packages/DiffIndex [23.3 kB]
Get:6 http://ftp.debian.org jessie-backports/non-free i386 Packages/DiffIndex [17.3 kB]
Hit http://ftp.debian.org jessie Release                  
Hit http://ftp.debian.org jessie/main amd64 Packages
Hit http://ftp.debian.org jessie/contrib amd64 Packages
Hit http://ftp.debian.org jessie/non-free amd64 Packages
Hit http://ftp.debian.org jessie/main i386 Packages
Hit http://ftp.debian.org jessie/contrib i386 Packages
Hit http://ftp.debian.org jessie/non-free i386 Packages
Hit http://repository.solydxk.com solydxk InRelease
Hit http://repository.solydxk.com solydxk/main amd64 Packages
Hit http://repository.solydxk.com solydxk/upstream amd64 Packages
Hit http://repository.solydxk.com solydxk/import amd64 Packages
Hit http://repository.solydxk.com solydxk/main i386 Packages
Hit http://repository.solydxk.com solydxk/upstream i386 Packages
Hit http://repository.solydxk.com solydxk/import i386 Packages
Fetched 137 kB in 4s (28.6 kB/s)
Reading package lists... Done

Code: Select all

$ apt upgrade
Reading package lists... Done
Building dependency tree       
Reading state information... Done
Calculating upgrade... The following packages were automatically installed and are no longer required:
  libbsd0:i386 libdrm-intel1:i386 libdrm-nouveau2:i386 libdrm-radeon1:i386 libdrm2:i386 libedit2:i386 libelf1:i386
  libexpat1:i386 libffi6:i386 libgl1-mesa-dri:i386 libgl1-mesa-glx:i386 libglapi-mesa:i386 libllvm3.5:i386
  libpciaccess0:i386 libsrtp0 libtxc-dxtn-s2tc0:i386 libudev1:i386 libx11-xcb1:i386 libxcb-dri2-0:i386
  libxcb-dri3-0:i386 libxcb-glx0:i386 libxcb-present0:i386 libxcb-sync1:i386 libxdamage1:i386 libxfixes3:i386
  libxshmfence1:i386 libxxf86vm1:i386
Use 'apt-get autoremove' to remove them.
Done
The following packages will be upgraded:
  libjasper1
1 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
Need to get 134 kB of archives.
After this operation, 31.7 kB of additional disk space will be used.
Do you want to continue? [Y/n] y
Get:1 http://security.debian.org/ jessie/updates/main libjasper1 amd64 1.900.1-debian1-2.4+deb8u2 [134 kB]
Fetched 134 kB in 0s (258 kB/s)    
(Reading database ... 342966 files and directories currently installed.)
Preparing to unpack .../libjasper1_1.900.1-debian1-2.4+deb8u2_amd64.deb ...
Unpacking libjasper1:amd64 (1.900.1-debian1-2.4+deb8u2) over (1.900.1-debian1-2.4+deb8u1) ...
Setting up libjasper1:amd64 (1.900.1-debian1-2.4+deb8u2) ...
Processing triggers for libc-bin (2.19-18+deb8u7) ...
Lots of stuff to read there. Thanks for helping

User avatar
Zill
Posts: 1850
Joined: 13 Aug 2013 14:28
Location: Lincolnshire, UK

Re: Only boots up with Sysvinit

Postby Zill » 13 Feb 2017 20:25

Package "systemd-sysv" provides the manual pages and links needed for systemd to replace sysvinit. Installing systemd-sysv will overwrite /sbin/init with a link to systemd. As this package may have become corrupted, I suggest you open a terminal and reinstall this package with the following two commands:

Code: Select all

sudo apt-get update
sudo apt-get install --reinstall systemd systemd-sysv
Then reboot and post the full output of the following four commands:

Code: Select all

inxi -Frxz
apt policy systemd systemd-sysv
apt update
apt upgrade

Fargo
Posts: 896
Joined: 17 Sep 2013 14:40

Re: Only boots up with Sysvinit

Postby Fargo » 13 Feb 2017 20:46

Uh OH. It had issues configuring systemd-sysv. Last line says

E: Couldn't configure systemd-sysv:amd64, probably a dependency cycle.

Code: Select all

$ sudo apt-get install --reinstall systemd systemd-sysv
Reading package lists... Done
Building dependency tree       
Reading state information... Done
The following packages were automatically installed and are no longer required:
  libbsd0:i386 libdrm-intel1:i386 libdrm-nouveau2:i386 libdrm-radeon1:i386 libdrm2:i386 libedit2:i386 libelf1:i386
  libexpat1:i386 libffi6:i386 libgl1-mesa-dri:i386 libgl1-mesa-glx:i386 libglapi-mesa:i386 libllvm3.5:i386
  libpciaccess0:i386 libsrtp0 libtxc-dxtn-s2tc0:i386 libudev1:i386 libx11-xcb1:i386 libxcb-dri2-0:i386
  libxcb-dri3-0:i386 libxcb-glx0:i386 libxcb-present0:i386 libxcb-sync1:i386 libxdamage1:i386 libxfixes3:i386
  libxshmfence1:i386 libxxf86vm1:i386
Use 'apt-get autoremove' to remove them.
0 upgraded, 0 newly installed, 2 reinstalled, 0 to remove and 0 not upgraded.
Need to get 2,581 kB of archives.
After this operation, 0 B of additional disk space will be used.
Get:1 http://ftp.debian.org/debian/ jessie/main systemd amd64 215-17+deb8u6 [2,545 kB]
Get:2 http://ftp.debian.org/debian/ jessie/main systemd-sysv amd64 215-17+deb8u6 [36.3 kB]
Fetched 2,581 kB in 4s (598 kB/s)      
E: Couldn't configure systemd-sysv:amd64, probably a dependency cycle.

User avatar
Zill
Posts: 1850
Joined: 13 Aug 2013 14:28
Location: Lincolnshire, UK

Re: Only boots up with Sysvinit

Postby Zill » 13 Feb 2017 20:56

Let's try to split-up the reinstall...

Code: Select all

sudo apt-get remove systemd-sysv
sudo apt-get install systemd-sysv

Fargo
Posts: 896
Joined: 17 Sep 2013 14:40

Re: Only boots up with Sysvinit

Postby Fargo » 13 Feb 2017 21:04

That created some interesting feedback. I didn't expect to see packages installed when I removed the package. I'll reboot and let you know what I have

Code: Select all

sudo apt-get remove systemd-sysv
[sudo] password for nathan: 
Reading package lists... Done
Building dependency tree       
Reading state information... Done
The following packages were automatically installed and are no longer required:
  libbsd0:i386 libdrm-intel1:i386 libdrm-nouveau2:i386 libdrm-radeon1:i386 libdrm2:i386 libedit2:i386 libelf1:i386
  libexpat1:i386 libffi6:i386 libgl1-mesa-dri:i386 libgl1-mesa-glx:i386 libglapi-mesa:i386 libllvm3.5:i386
  libpciaccess0:i386 libsrtp0 libtxc-dxtn-s2tc0:i386 libudev1:i386 libx11-xcb1:i386 libxcb-dri2-0:i386
  libxcb-dri3-0:i386 libxcb-glx0:i386 libxcb-present0:i386 libxcb-sync1:i386 libxdamage1:i386 libxfixes3:i386
  libxshmfence1:i386 libxxf86vm1:i386
Use 'apt-get autoremove' to remove them.
The following extra packages will be installed:
  cgmanager libcgmanager0 libnih-dbus1 libnih1 systemd-shim sysvinit-core
The following packages will be REMOVED:
  systemd-sysv
The following NEW packages will be installed:
  cgmanager libcgmanager0 libnih-dbus1 libnih1 systemd-shim sysvinit-core
0 upgraded, 6 newly installed, 1 to remove and 0 not upgraded.
Need to get 494 kB of archives.
After this operation, 1,029 kB of additional disk space will be used.
Do you want to continue? [Y/n] y
Get:1 http://ftp.debian.org/debian/ jessie/main libcgmanager0 amd64 0.33-2+deb8u2 [40.7 kB]
Get:2 http://ftp.debian.org/debian/ jessie/main libnih1 amd64 1.0.3-4.3 [127 kB]
Get:3 http://ftp.debian.org/debian/ jessie/main libnih-dbus1 amd64 1.0.3-4.3 [97.1 kB]
Get:4 http://ftp.debian.org/debian/ jessie/main cgmanager amd64 0.33-2+deb8u2 [78.5 kB]
Get:5 http://ftp.debian.org/debian/ jessie/main systemd-shim amd64 9-1 [18.1 kB]
Get:6 http://ftp.debian.org/debian/ jessie/main sysvinit-core amd64 2.88dsf-59 [132 kB]
Fetched 494 kB in 2s (224 kB/s)        
Preconfiguring packages ...
Selecting previously unselected package libcgmanager0:amd64.
(Reading database ... 342966 files and directories currently installed.)
Preparing to unpack .../libcgmanager0_0.33-2+deb8u2_amd64.deb ...
Unpacking libcgmanager0:amd64 (0.33-2+deb8u2) ...
Selecting previously unselected package libnih1.
Preparing to unpack .../libnih1_1.0.3-4.3_amd64.deb ...
Unpacking libnih1 (1.0.3-4.3) ...
Selecting previously unselected package libnih-dbus1.
Preparing to unpack .../libnih-dbus1_1.0.3-4.3_amd64.deb ...
Unpacking libnih-dbus1 (1.0.3-4.3) ...
Selecting previously unselected package cgmanager.
Preparing to unpack .../cgmanager_0.33-2+deb8u2_amd64.deb ...
Unpacking cgmanager (0.33-2+deb8u2) ...
Selecting previously unselected package systemd-shim.
Preparing to unpack .../systemd-shim_9-1_amd64.deb ...
Adding 'diversion of /usr/share/dbus-1/system-services/org.freedesktop.systemd1.service to /usr/share/dbus-1/system-services/org.freedesktop.systemd1.service.systemd by systemd-shim'
Unpacking systemd-shim (9-1) ...
Processing triggers for systemd (215-17+deb8u6) ...
Processing triggers for man-db (2.7.0.2-5) ...
Processing triggers for dbus (1.8.22-0+deb8u1) ...
dpkg: systemd-sysv: dependency problems, but removing anyway as you requested:
 init depends on systemd-sysv | sysvinit-core | upstart; however:
  Package systemd-sysv is to be removed.
  Package sysvinit-core is not installed.
  Package upstart is not installed.
 libpam-systemd:amd64 depends on systemd-shim (>= 8-2) | systemd-sysv; however:
  Package systemd-shim is not configured yet.
  Package systemd-sysv is to be removed.

(Reading database ... 343009 files and directories currently installed.)
Removing systemd-sysv (215-17+deb8u6) ...
Processing triggers for man-db (2.7.0.2-5) ...
Selecting previously unselected package sysvinit-core.
(Reading database ... 342995 files and directories currently installed.)
Preparing to unpack .../sysvinit-core_2.88dsf-59_amd64.deb ...
Unpacking sysvinit-core (2.88dsf-59) ...
Processing triggers for man-db (2.7.0.2-5) ...
Setting up sysvinit-core (2.88dsf-59) ...
sysvinit: restarting... done.
Setting up libcgmanager0:amd64 (0.33-2+deb8u2) ...
Setting up libnih1 (1.0.3-4.3) ...
Setting up libnih-dbus1 (1.0.3-4.3) ...
Setting up cgmanager (0.33-2+deb8u2) ...
[ ok ] Starting cgroup management daemon: cgmanager[....] Starting cgroup management proxy daemon: cgproxy.
Setting up systemd-shim (9-1) ...
Processing triggers for libc-bin (2.19-18+deb8u7) ...
Processing triggers for systemd (215-17+deb8u6) ...

nathan@appraisal ~ $ sudo apt-get install systemd-sysv
Reading package lists... Done
Building dependency tree       
Reading state information... Done
The following packages were automatically installed and are no longer required:
  libbsd0:i386 libdrm-intel1:i386 libdrm-nouveau2:i386 libdrm-radeon1:i386 libdrm2:i386 libedit2:i386 libelf1:i386
  libexpat1:i386 libffi6:i386 libgl1-mesa-dri:i386 libgl1-mesa-glx:i386 libglapi-mesa:i386 libllvm3.5:i386
  libpciaccess0:i386 libsrtp0 libtxc-dxtn-s2tc0:i386 libudev1:i386 libx11-xcb1:i386 libxcb-dri2-0:i386
  libxcb-dri3-0:i386 libxcb-glx0:i386 libxcb-present0:i386 libxcb-sync1:i386 libxdamage1:i386 libxfixes3:i386
  libxshmfence1:i386 libxxf86vm1:i386
Use 'apt-get autoremove' to remove them.
The following packages will be REMOVED:
  sysvinit-core
The following NEW packages will be installed:
  systemd-sysv
0 upgraded, 1 newly installed, 1 to remove and 0 not upgraded.
Need to get 36.3 kB of archives.
After this operation, 118 kB disk space will be freed.
Do you want to continue? [Y/n] y
Get:1 http://ftp.debian.org/debian/ jessie/main systemd-sysv amd64 215-17+deb8u6 [36.3 kB]
Fetched 36.3 kB in 0s (78.1 kB/s)     
dpkg: sysvinit-core: dependency problems, but removing anyway as you requested:
 init depends on systemd-sysv | sysvinit-core | upstart; however:
  Package systemd-sysv is not installed.
  Package sysvinit-core is to be removed.
  Package upstart is not installed.

(Reading database ... 343017 files and directories currently installed.)
Removing sysvinit-core (2.88dsf-59) ...
Processing triggers for man-db (2.7.0.2-5) ...
Selecting previously unselected package systemd-sysv.
(Reading database ... 342995 files and directories currently installed.)
Preparing to unpack .../systemd-sysv_215-17+deb8u6_amd64.deb ...
Unpacking systemd-sysv (215-17+deb8u6) ...
Processing triggers for man-db (2.7.0.2-5) ...
Setting up systemd-sysv (215-17+deb8u6) ...

Fargo
Posts: 896
Joined: 17 Sep 2013 14:40

Re: Only boots up with Sysvinit

Postby Fargo » 13 Feb 2017 21:17

Still having the same issues. Here is the code you requested before.

Code: Select all

$ inxi -Frxz
System:    Host: appraisal Kernel: 3.16.0-4-amd64 x86_64 (64 bit gcc: 4.8.4) Desktop: KDE 4.14.2 (Qt 4.8.6) 
           Distro: SolydXK 8 solydxk 
Machine:   Mobo: MSI model: A68HM GRENADE (MS-7891) v: 1.0 Bios: American Megatrends v: V1.1 date: 04/15/2015
CPU:       Quad core AMD A8-7600 Radeon R7 10 Compute Cores 4C+6G (-MCP-) cache: 8192 KB
           flags: (lm nx sse sse2 sse3 sse4_1 sse4_2 sse4a ssse3 svm) bmips: 24751 
           Clock Speeds: 1: 1400 MHz 2: 1400 MHz 3: 1400 MHz 4: 1400 MHz
Graphics:  Card: Advanced Micro Devices [AMD/ATI] Kaveri [Radeon R7 Graphics] bus-ID: 00:01.0
           Display Server: X.Org 1.16.4 drivers: ati,radeon (unloaded: fbdev,vesa) Resolution: 1920x1080@60.00hz
           GLX Renderer: Gallium 0.4 on AMD KAVERI GLX Version: 3.0 Mesa 10.3.2 Direct Rendering: Yes
Audio:     Card-1 Advanced Micro Devices [AMD] FCH Azalia Controller driver: snd_hda_intel bus-ID: 00:14.2 
           Card-2 Advanced Micro Devices [AMD/ATI] Kaveri HDMI/DP Audio Controller 
           driver: snd_hda_intel bus-ID: 00:01.1 
           Sound: Advanced Linux Sound Architecture v: k3.16.0-4-amd64
Network:   Card: Realtek RTL8111/8168/8411 PCI Express Gigabit Ethernet Controller
           driver: r8169 v: 2.3LK-NAPI port: e000 bus-ID: 01:00.0
           IF: eth1 state: up speed: 1000 Mbps duplex: full mac: <filter>
Drives:    HDD Total Size: 2250.4GB (8.5% used) ID-1: /dev/sda model: Samsung_SSD_850 size: 250.1GB
           ID-2: USB /dev/sdf model: My_Passport_0741 size: 2000.4GB
Partition: ID-1: / size: 24G used: 8.2G (36%) fs: ext4 dev: /dev/sda1 
           ID-2: /home size: 168G used: 155G (98%) fs: ext4 dev: /dev/sda3 
           ID-3: swap-1 size: 16.78GB used: 0.00GB (0%) fs: swap dev: /dev/sda2 
Sensors:   System Temperatures: cpu: 6.8C mobo: N/A gpu: 7.0 
           Fan Speeds (in rpm): cpu: N/A 
Repos:     Active apt sources in file: /etc/apt/sources.list
           deb http://repository.solydxk.com/ solydxk main upstream import
           deb http://ftp.debian.org/debian/ jessie main contrib non-free
           deb http://security.debian.org/ jessie/updates main contrib non-free
           deb http://ftp.debian.org/debian/ jessie-backports main contrib non-free
           Active apt sources in file: /etc/apt/sources.list.d/google-chrome.list
           deb [arch=amd64] http://dl.google.com/linux/chrome/deb/ stable main
           Active apt sources in file: /etc/apt/sources.list.d/vertex-theme.list
           deb http://download.opensuse.org/repositories/home:/Horst3180/Debian_8.0/ /
           Active apt sources in file: /etc/apt/sources.list.d/weewx.list
           deb [arch=all] http://weewx.com/apt/ squeeze main
Info:      Processes: 235 Uptime: 1 min Memory: 769.7/14970.5MB Init: SysVinit runlevel: 2 Gcc sys: 4.9.2 
           Client: Shell (bash 4.3.301) inxi: 2.1.28 


nathan@appraisal ~ $ apt policy systemd systemd-sysv
systemd:
  Installed: 215-17+deb8u6
  Candidate: 215-17+deb8u6
  Version table:
     230-7~bpo8+2 0
        100 http://ftp.debian.org/debian/ jessie-backports/main amd64 Packages
 *** 215-17+deb8u6 0
        500 http://ftp.debian.org/debian/ jessie/main amd64 Packages
        100 /var/lib/dpkg/status
systemd-sysv:
  Installed: 215-17+deb8u6
  Candidate: 215-17+deb8u6
  Version table:
     230-7~bpo8+2 0
        100 http://ftp.debian.org/debian/ jessie-backports/main amd64 Packages
 *** 215-17+deb8u6 0
        500 http://ftp.debian.org/debian/ jessie/main amd64 Packages
        100 /var/lib/dpkg/status


nathan@appraisal ~ $ apt update
[sudo] password for nathan: 
Ign http://dl.google.com stable InRelease
Hit http://weewx.com squeeze InRelease                                                                                   
Hit http://dl.google.com stable Release.gpg                                                                              
Hit http://security.debian.org jessie/updates InRelease                                                                  
Hit http://dl.google.com stable Release                                                                                  
Hit http://weewx.com squeeze/main all Packages                                                                           
Hit http://security.debian.org jessie/updates/main amd64 Packages                                                        
Ign http://ftp.debian.org jessie InRelease                                                                        
Ign http://download.opensuse.org  InRelease                                                                       
Hit http://security.debian.org jessie/updates/contrib amd64 Packages                                              
Hit http://dl.google.com stable/main amd64 Packages                                                                      
Get:1 http://ftp.debian.org jessie-backports InRelease [166 kB]                                                   
Hit http://security.debian.org jessie/updates/non-free amd64 Packages                                
Hit http://download.opensuse.org  Release.gpg                                                                       
Hit http://security.debian.org jessie/updates/main i386 Packages                                     
Hit http://security.debian.org jessie/updates/contrib i386 Packages                                                 
Hit http://download.opensuse.org  Release                                                                            
Hit http://security.debian.org jessie/updates/non-free i386 Packages                                  
Hit http://download.opensuse.org  Packages                                                     
Hit http://ftp.debian.org jessie Release.gpg                                    
Get:2 http://ftp.debian.org jessie-backports/main amd64 Packages/DiffIndex [27.8 kB]
Get:3 http://ftp.debian.org jessie-backports/contrib amd64 Packages/DiffIndex [22.8 kB]
Get:4 http://ftp.debian.org jessie-backports/non-free amd64 Packages/DiffIndex [17.9 kB]
Get:5 http://ftp.debian.org jessie-backports/main i386 Packages/DiffIndex [27.8 kB]
Get:6 http://ftp.debian.org jessie-backports/contrib i386 Packages/DiffIndex [23.3 kB]
Get:7 http://ftp.debian.org jessie-backports/non-free i386 Packages/DiffIndex [17.3 kB]
Hit http://ftp.debian.org jessie Release                  
Get:8 http://ftp.debian.org jessie-backports/main amd64 2017-02-13-2025.04.pdiff [2,490 B]
Get:9 http://ftp.debian.org jessie-backports/main amd64 2017-02-13-2025.04.pdiff [2,490 B]
Get:10 http://ftp.debian.org jessie-backports/main i386 2017-02-13-2025.04.pdiff [2,965 B]
Get:11 http://ftp.debian.org jessie-backports/main i386 2017-02-13-2025.04.pdiff [2,965 B]
Hit http://ftp.debian.org jessie/main amd64 Packages                   
Hit http://ftp.debian.org jessie/contrib amd64 Packages                                    
Hit http://ftp.debian.org jessie/non-free amd64 Packages           
Hit http://ftp.debian.org jessie/main i386 Packages                
Hit http://ftp.debian.org jessie/contrib i386 Packages             
Hit http://ftp.debian.org jessie/non-free i386 Packages            
Hit http://repository.solydxk.com solydxk InRelease
Hit http://repository.solydxk.com solydxk/main amd64 Packages
Hit http://repository.solydxk.com solydxk/upstream amd64 Packages
Hit http://repository.solydxk.com solydxk/import amd64 Packages
Hit http://repository.solydxk.com solydxk/main i386 Packages
Hit http://repository.solydxk.com solydxk/upstream i386 Packages
Hit http://repository.solydxk.com solydxk/import i386 Packages
Fetched 308 kB in 4s (68.9 kB/s)
Reading package lists... Done


nathan@appraisal ~ $ apt upgrade
Reading package lists... Done
Building dependency tree       
Reading state information... Done
Calculating upgrade... The following packages were automatically installed and are no longer required:
  libbsd0:i386 libdrm-intel1:i386 libdrm-nouveau2:i386 libdrm-radeon1:i386 libdrm2:i386 libedit2:i386 libelf1:i386
  libexpat1:i386 libffi6:i386 libgl1-mesa-dri:i386 libgl1-mesa-glx:i386 libglapi-mesa:i386 libllvm3.5:i386
  libpciaccess0:i386 libsrtp0 libtxc-dxtn-s2tc0:i386 libudev1:i386 libx11-xcb1:i386 libxcb-dri2-0:i386
  libxcb-dri3-0:i386 libxcb-glx0:i386 libxcb-present0:i386 libxcb-sync1:i386 libxdamage1:i386 libxfixes3:i386
  libxshmfence1:i386 libxxf86vm1:i386
Use 'apt-get autoremove' to remove them.
Done
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
nathan@appraisal ~ $ 

Thanks again for the help. I think you are on the right track here.

User avatar
Zill
Posts: 1850
Joined: 13 Aug 2013 14:28
Location: Lincolnshire, UK

Re: Only boots up with Sysvinit

Postby Zill » 13 Feb 2017 23:03

Very strange. Both "systemd" and "systemd-sysv" now seem to be correctly installed but inxi still shows "Init: SysVinit". :?

Please post the output of the following command:

Code: Select all

ls -l /sbin/init
If this shows the correct symlink then maybe the problem is elsewhere, such as with grub2. However, I am off to bed now so can't look at this again until tomorrow. In the meantime, if anyone else has any ideas then please jump in...

srq2625
Posts: 29
Joined: 24 Feb 2016 13:39

Re: Only boots up with Sysvinit

Postby srq2625 » 13 Feb 2017 23:38

I probably know less than I think I do, but I see references to openSuse in the apt-get update return. Would love to see output from

Code: Select all

inxi -r
Just Scott

Remember that life is not measured by the number of breaths we take,
but by the moments that take our breath away!
-- Vicki Corona (Tahitian Choreographies, 1989)

Fargo
Posts: 896
Joined: 17 Sep 2013 14:40

Re: Only boots up with Sysvinit

Postby Fargo » 14 Feb 2017 03:01

Zill wrote:Very strange. Both "systemd" and "systemd-sysv" now seem to be correctly installed but inxi still shows "Init: SysVinit". :?

Please post the output of the following command:

Code: Select all

ls -l /sbin/init
If this shows the correct symlink then maybe the problem is elsewhere, such as with grub2. However, I am off to bed now so can't look at this again until tomorrow. In the meantime, if anyone else has any ideas then please jump in...
I have no idea what inxi is, but I'm going to guess that it shows SysVinit because that is the option I had to choose in Grub to get my system to boot. When I boot with the normal SolydK entry, I end up in some emergency prompt in the command line.

The command you requested gives this output

Code: Select all

 ls -l /sbin/init
lrwxrwxrwx 1 root root 20 Jan  4 17:42 /sbin/init -> /lib/systemd/systemd

Fargo
Posts: 896
Joined: 17 Sep 2013 14:40

Re: Only boots up with Sysvinit

Postby Fargo » 14 Feb 2017 03:19

srq2625 wrote:I probably know less than I think I do, but I see references to openSuse in the apt-get update return. Would love to see output from

Code: Select all

inxi -r
haha. I wondered if anyone would catch that. Don't worry. I'm not installing packages made for open suse. I think I installed either a color theme or icon theme that was being hosted at opensuse. The full path to the repo you saw is this.

Code: Select all

http://download.opensuse.org/repositories/home:/Horst3180/Debian_8.0/
You can see it holds packages for Debian 8. Although I did just disable it after I saw it was still enabled.

Code: Select all

$ inxi -r
Repos:     Active apt sources in file: /etc/apt/sources.list
           deb http://repository.solydxk.com/ solydxk main upstream import
           deb http://ftp.debian.org/debian/ jessie main contrib non-free
           deb http://security.debian.org/ jessie/updates main contrib non-free
           deb http://ftp.debian.org/debian/ jessie-backports main contrib non-free
           Active apt sources in file: /etc/apt/sources.list.d/google-chrome.list
           deb [arch=amd64] http://dl.google.com/linux/chrome/deb/ stable main
           Active apt sources in file: /etc/apt/sources.list.d/vertex-theme.list
           deb http://download.opensuse.org/repositories/home:/Horst3180/Debian_8.0/ /
Looking at this repos in this code I see it was the vertex color theme I installed from that opensuse/debian 8 repo. This was done long before I had any issues with my system.

My current issues came about this weekend when my power supply failed. Not sure if there is any connection or not, but I was trying out a friends 4k monitor at the time. I wonder if the 4k put enough load on the graphics processor to reveal the issue with the power supply. I also lost a back up hard drive at the same time. The drive with all my system info is an SSD. Not sure if that makes any difference or not in reguards to getting a corrupt file.

I'll be away from my machine until late tomorrow, so I won't be able to respond back right away, but I appreciate any input you all have and I'll check everything out as soon as I can tomorrow. Thank you all.

kurotsugi
Posts: 2234
Joined: 09 Jan 2014 00:17

Re: Only boots up with Sysvinit

Postby kurotsugi » 14 Feb 2017 07:12

personally I'd give up. debugging systemd is really pain in the a**. the complexity is too big for me. I'm assuming that you're running the stable version. if that true, I'd suggest to use sysvinit until new solydxk got released so that you can reinstall your system. meanwhile, you can use this on boot parameter to use sysvinit as you init

Code: Select all

init=/lib/sysvinit/init
if you're lucky, you can update your system (after new solydxk got released) and your systemd might work again. else, "if it ain't broke, don't fix it". your system functionality should remain same. it doesn't really matter what init did you use as long as it's working.

User avatar
Zill
Posts: 1850
Joined: 13 Aug 2013 14:28
Location: Lincolnshire, UK

Re: Only boots up with Sysvinit

Postby Zill » 14 Feb 2017 12:42

Fargo wrote:... I have no idea what inxi is, but I'm going to guess that it shows SysVinit because that is the option I had to choose in Grub to get my system to boot. When I boot with the normal SolydK entry, I end up in some emergency prompt in the command line.
Your symlink "sbin/init" looks correct to me. As far as "inxi" is concerned, this is simply an information script that shows the current system configuration. I must admit that I thought you had run it after the system had correctly booted with systemd. However, you are correct in that it will show SysVinit if you had chosen this in grub.

It might be helpful if you can give more information about exactly what error messages are shown when you try a normal boot into SolydK.

Looking at my "/etc/default/grub" file, I have the following active lines:

Code: Select all

GRUB_DEFAULT=0
GRUB_TIMEOUT=5
GRUB_DISTRIBUTOR=`lsb_release -d -s 2>/dev/null || echo SolydXK`
GRUB_CMDLINE_LINUX_DEFAULT=""
GRUB_CMDLINE_LINUX=""
All other lines in the file are commented out with a "#" so are ignored.

Would you please take a look at your file and see if you have exactly the same lines:

Code: Select all

cat /etc/default/grub
If so, then please update grub with the following command:

Code: Select all

sudo update-grub
Then reboot and see if you can boot into SolydK as normal (using systemd).

If your "/etc/default/grub" is different then please advise. You could also try backing-up your existing file and then editing the current file so that it shows the same active lines I posted above. Then update grub as described, reboot and check SolydK again.

Code: Select all

sudo cp /etc/default/grub /etc/default/grub_bak
sudo nano /etc/default/grub

Fargo
Posts: 896
Joined: 17 Sep 2013 14:40

Re: Only boots up with Sysvinit

Postby Fargo » 15 Feb 2017 03:10

My grub is a little different. I find it interesting that the advanced options don't show up here. Do you see the advanced options in your grub menu when you boot your computer.

Code: Select all

GRUB_DEFAULT=0
#GRUB_HIDDEN_TIMEOUT=0
GRUB_HIDDEN_TIMEOUT_QUIET=true
GRUB_TIMEOUT=5
GRUB_DISTRIBUTOR=`lsb_release -d -s 2>/dev/null || echo SolydXK`
GRUB_CMDLINE_LINUX_DEFAULT="quiet nosplash"
GRUB_CMDLINE_LINUX=""

Fargo
Posts: 896
Joined: 17 Sep 2013 14:40

Re: Only boots up with Sysvinit

Postby Fargo » 15 Feb 2017 03:43

Well I made a backup and changed everything to look exactly like yours. But nothing changed. I will type below what I get when I do a normal boot.

Code: Select all

Welcome to emergency mode!  After logging in , type "journalctl -xb" to view system logs, "systemctl reboot: to reboot, "systemctl default" to try again to boot into default mode.
Give root password for maintenance
(or type Control-D to continue):
So typed journalctl -xb to see some logs. I had a whole long page of stuff to read. A few items were in red. I figure thats not good. But the one that caught my eye the most was

Code: Select all

Feb 14 21:16:47 computername kernel: AMD-VI: Event logged [ IO_PAGE_FAULT device=3:00.0 domain=0x001x address=0x0000000100010e40 flags-0x0030]
I had a whole page full of that error. The last number did change a bit on each error though. Not sure what thats about but it looks like a kernel issue with my processor.

I think I may need to take the advice of kurotsugi and just boot into sysvinit until the new release and then update the system and see what happens. I'm ok to do that if you think my issue is still just a systemd issue and not something more serious.

Thanks again.

User avatar
Zill
Posts: 1850
Joined: 13 Aug 2013 14:28
Location: Lincolnshire, UK

Re: Only boots up with Sysvinit

Postby Zill » 15 Feb 2017 11:09

Fargo wrote:... I think I may need to take the advice of kurotsugi and just boot into sysvinit until the new release and then update the system and see what happens. I'm ok to do that if you think my issue is still just a systemd issue and not something more serious.
Unless you really enjoy delving into the innards of systemd, I agree with kurotsugi that the most pragmatic solution is to stick with sysvinit for the time being. As long as the system will boot properly with sysvinit then which init system is used is really irrelevant. FYI, the Mint Debian Edition (LMDE2) is also based on Debian jessie but still uses sysvinit as default.

Regarding updating the system after stretch becomes the new stable, you may find it easier and more reliable to do a full reinstallation, rather than upgrading the existing system. While it is often possible to upgrade, in your particular case I understand the system was originally installed as the SolydK Business Edition, which was based on Debian Wheezy (and used sysvinit). A "clean" reinstall would ensure that any "sticky toffees" from the old systems get swept away by the new installation. Obviously, make sure you have (multiple!) good backups of your old data safely saved elsewhere so that you can restore your data to the new system.

Fargo
Posts: 896
Joined: 17 Sep 2013 14:40

Re: Only boots up with Sysvinit

Postby Fargo » 15 Feb 2017 14:27

Thank you Zill for all your help. I don't think I have the skills to dig into systemd on my own any more than we have in this thread. I'd be happy to keep following your advice and trying things, but you probably have a life outside of trying to fix my computer issues. :D So I don't want to waste any more of your time. But I really appreciate you trying to help me out.

I'll give the script that kurotsugi gave above a try and just use sysvinit. It seems to be working fine. (Now I have concerns about what would have happened if sysvinit wasn't there as a backup. I'm not liking systemd too much right now).

This was a fresh install a year ago and not an update of the Business Edition. I just need to change my signature on the forum. But I will likely do a fresh install once SolydK 9 is finished.

User avatar
Zill
Posts: 1850
Joined: 13 Aug 2013 14:28
Location: Lincolnshire, UK

Re: Only boots up with Sysvinit

Postby Zill » 15 Feb 2017 14:44

Fargo: Much as I would like to help track down this problem, I really don't have a clue where systemd is concerned - and probably not with much else either! ;-) I tend to use the "infinite number of monkeys and typewriters" approach and hope that, eventually, I will hit the right solution!

Anyway, as long as sysvinit works, don't fix it. :-)

Fargo
Posts: 896
Joined: 17 Sep 2013 14:40

Re: Only boots up with Sysvinit

Postby Fargo » 15 Feb 2017 16:41

How do I use that code that kurotsugi provided

Code: Select all

init=/lib/sysvinit/init
It seems all I really need to do is change my grub menu to made the sysvinit the default. Is that what this does? I tried to run it but I didn't sudo so it didn't do anything.


Return to “KDE specific (SolydK)”

Who is online

Users browsing this forum: No registered users and 2 guests