Debian Plymouth Manager - Help needed

Questions about applications and software
Forum rules
Before you post read how to get help. Topics in this forum are automatically closed 6 months after creation.
zerozero

Re: Debian Plymouth Manager - Help needed

Post by zerozero »

Dan
without going now to the causes why you have mismatches in the grub pkgs, try

Code: Select all

sudo update-grub
dcihon

Re: Debian Plymouth Manager - Help needed

Post by dcihon »

Ah I had the command backwards.
Hmm

Code: Select all

dcihon@dcihon-linux-mint-debian:/etc/default$ sudo update-grub
Generating grub.cfg ...
Found background image: /usr/share/images/desktop-base/desktop-grub.png
Found linux image: /boot/vmlinuz-3.6.0-11.dmz.1-liquorix-amd64
Found initrd image: /boot/initrd.img-3.6.0-11.dmz.1-liquorix-amd64
Found linux image: /boot/vmlinuz-3.6.0-4.dmz.1-liquorix-amd64
Found initrd image: /boot/initrd.img-3.6.0-4.dmz.1-liquorix-amd64
Found linux image: /boot/vmlinuz-3.4.0-16.dmz.1-liquorix-amd64
Found initrd image: /boot/initrd.img-3.4.0-16.dmz.1-liquorix-amd64
Found linux image: /boot/vmlinuz-3.2.0-3-amd64
Found initrd image: /boot/initrd.img-3.2.0-3-amd64
Found linux image: /boot/vmlinuz-3.2.0-2-amd64
Found initrd image: /boot/initrd.img-3.2.0-2-amd64
Found linux image: /boot/vmlinuz-3.0.0-1-amd64
Found initrd image: /boot/initrd.img-3.0.0-1-amd64
Found linux image: /boot/vmlinuz-2.6.39-2-amd64
Found initrd image: /boot/initrd.img-2.6.39-2-amd64
Found Windows 7 (loader) on /dev/sda1
done
dcihon@dcihon-linux-mint-debian:/etc/default$ dpm -d
INFO      Write debug information to file: /home/dcihon/dpm.log
INFO      Machine info: Linux version 3.6.0-4.dmz.1-liquorix-amd64 (Debian 3.6.0-3) (damentz@liquorix.net) (gcc version 4.7.2 (Debian 4.7.2-4) ) #1 ZEN SMP PREEMPT Tue Oct 30 20:39:54 CDT 2012
INFO      DDM version: 0.5.1
Gkr-Message: secret service operation failed: The name org.freedesktop.secrets was not provided by any .service files
Gkr-Message: secret service operation failed: The name org.freedesktop.secrets was not provided by any .service files
Gkr-Message: secret service operation failed: The name org.freedesktop.secrets was not provided by any .service files
ERROR     Neither grub nor burg found in /etc/default
ERROR     Neither grub nor burg found in /etc/default
Traceback (most recent call last):
  File "/usr/lib/dpm/dpm.py", line 539, in <module>
    app.main(args)
  File "/usr/lib/dpm/dpm.py", line 510, in main
    self.currentTheme = self.plymouth.getCurrentTheme()
  File "/usr/lib/dpm/plymouth.py", line 49, in getCurrentTheme
    f = open(boot, 'r')
TypeError: coercing to Unicode: need string or buffer, NoneType found
dcihon@dcihon-linux-mint-debian:/etc/default$ ls
acpid         bluetooth      cron        devpts         halt     intel-microcode      nss       pulseaudio    samba              useradd
alsa          bsdmainutils   cryptdisks  dirmngr        hddtemp  kdm.d                ntfs-3g   rcS           saned              winbind
alsa-base     cacerts        cups        exim4          hdparm   keyboard             numlockx  rcS.dpkg-old  speech-dispatcher
anacron       console-setup  dbus        google-chrome  htdig    locale               openvpn   rsync         tmpfs
avahi-daemon  crda           debsums     gpsd           hwclock  logitechmediaserver  portmap   rsyslog       ufw
Schoelje

Re: Debian Plymouth Manager - Help needed

Post by Schoelje »

dcihon wrote:Looks like I may have things not installed correctly:
I've included everything I did:...
Sorry, typo...should be:

Code: Select all

sudo update-grub
Installed with grub2-common.
dcihon

Re: Debian Plymouth Manager - Help needed

Post by dcihon »

Schoelje,
You missed my last post.
I have a different error this time.
Still no grub in default.
Do I have to reboot after using update-grub?
Thanks
Dan
Schoelje

Re: Debian Plymouth Manager - Help needed

Post by Schoelje »

dcihon wrote:Schoelje,
You missed my last post.
I have a different error this time.
Still no grub in default.
Do I have to reboot after using update-grub?
Thanks
Dan
There's more than one thing happening here.
I see this message:
Gkr-Message: secret service operation failed: The name org.freedesktop.secrets was not provided by any .service files
And a link that might solve it: https://bugzilla.redhat.com/show_bug.cgi?id=572137
I'm afraid this is not a DPM problem (which would be easy to solve).

Have you tried DPM on LMDE in Virtualbox?
If that works you could try making your changes and see when or if DPM breaks.
dcihon

Re: Debian Plymouth Manager - Help needed

Post by dcihon »

Got rid of the one problem by installing gnome-keyring.
I didn't want anything gnome in my system but it got rid of the error.

Here is what is left when I run dpm -d

dcihon@dcihon-linux-mint-debian:/usr/share/dbus-1/services$ dpm -d
INFO Write debug information to file: /home/dcihon/dpm.log
INFO Machine info: Linux version 3.6.0-11.dmz.1-liquorix-amd64 (Debian 3.6.0-11) (damentz@liquorix.net) (gcc version 4.7.2 (Debian 4.7.2-4) ) #1 ZEN SMP PREEMPT Fri Dec 21 01:23:17 UTC 2012
INFO DDM version: 0.5.1
kdesudo(10301) KDESu::KDESuPrivate::KCookie::getXCookie: No X authentication info set for display ":0"

ERROR Neither grub nor burg found in /etc/default
ERROR Neither grub nor burg found in /etc/default
Traceback (most recent call last):
File "/usr/lib/dpm/dpm.py", line 539, in <module>
app.main(args)
File "/usr/lib/dpm/dpm.py", line 510, in main
self.currentTheme = self.plymouth.getCurrentTheme()
File "/usr/lib/dpm/plymouth.py", line 49, in getCurrentTheme
f = open(boot, 'r')
TypeError: coercing to Unicode: need string or buffer, NoneType found
Schoelje

Re: Debian Plymouth Manager - Help needed

Post by Schoelje »

dcihon wrote:Got rid of the one problem by installing gnome-keyring.
I didn't want anything gnome in my system but it got rid of the error.

Here is what is left when I run dpm -d

dcihon@dcihon-linux-mint-debian:/usr/share/dbus-1/services$ dpm -d
INFO Write debug information to file: /home/dcihon/dpm.log
INFO Machine info: Linux version 3.6.0-11.dmz.1-liquorix-amd64 (Debian 3.6.0-11) (damentz@liquorix.net) (gcc version 4.7.2 (Debian 4.7.2-4) ) #1 ZEN SMP PREEMPT Fri Dec 21 01:23:17 UTC 2012
INFO DDM version: 0.5.1
kdesudo(10301) KDESu::KDESuPrivate::KCookie::getXCookie: No X authentication info set for display ":0"

ERROR Neither grub nor burg found in /etc/default
ERROR Neither grub nor burg found in /etc/default
Traceback (most recent call last):
File "/usr/lib/dpm/dpm.py", line 539, in <module>
app.main(args)
File "/usr/lib/dpm/dpm.py", line 510, in main
self.currentTheme = self.plymouth.getCurrentTheme()
File "/usr/lib/dpm/plymouth.py", line 49, in getCurrentTheme
f = open(boot, 'r')
TypeError: coercing to Unicode: need string or buffer, NoneType found
f = open(boot, 'r')
Tries to open /etc/default/grub, but you still don't have it, and I can't explain why not.
dcihon

Re: Debian Plymouth Manager - Help needed

Post by dcihon »

I know I have grub.
Not sure why I don't have what it is looking for.
Can I reinstall grub without making my system non bootable?
Schoelje

Re: Debian Plymouth Manager - Help needed

Post by Schoelje »

dcihon wrote:I know I have grub.
Not sure why I don't have what it is looking for.
Can I reinstall grub without making my system non bootable?
I really don't know.
Here's my default grub file.
Maybe, if you save that in /etc/default/grub and run update-grub, you're able to get it working, but I don't have a clue.

Code: Select all

# If you change this file, run 'update-grub' afterwards to update
# /boot/grub/grub.cfg.
# For full documentation of the options in this file, see:
#   info -f grub -n 'Simple configuration'

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

# Uncomment to enable BadRAM filtering, modify to suit your needs
# This works with Linux (no patch required) and with any kernel that obtains
# the memory map information from GRUB (GNU Mach, kernel of FreeBSD ...)
#GRUB_BADRAM="0x01234567,0xfefefefe,0x89abcdef,0xefefefef"

# Uncomment to disable graphical terminal (grub-pc only)
#GRUB_TERMINAL=console

# The resolution used on graphical terminal
# note that you can use only modes which your graphic card supports via VBE
# you can see them in real GRUB with the command `vbeinfo'
#GRUB_GFXMODE=640x480

# Uncomment if you don't want GRUB to pass "root=UUID=xxx" parameter to Linux
#GRUB_DISABLE_LINUX_UUID=true

# Uncomment to disable generation of recovery mode menu entries
#GRUB_DISABLE_RECOVERY="true"

# Uncomment to get a beep at grub start
#GRUB_INIT_TUNE="480 440 1"
dcihon

Re: Debian Plymouth Manager - Help needed

Post by dcihon »

Created a grub text file and put your code in there.
It worked.
Thanks for sticking with me on this.
Now on to bigger and better things.
Schoelje

Re: Debian Plymouth Manager - Help needed

Post by Schoelje »

dcihon wrote:Created a grub text file and put your code in there.
It worked.
Thanks for sticking with me on this.
Now on to bigger and better things.
...I was getting worried there for a bit...I'm happy it worked.
User avatar
clem
Level 12
Level 12
Posts: 4304
Joined: Wed Nov 15, 2006 8:34 am
Contact:

Re: Debian Plymouth Manager - Help needed

Post by clem »

Hi everyone,

I'd like to thank Schoelje for the great work he's done on DPM. This project is no longer a Mint Community one, it's going upstream.

To continue to help and follow up on DPM, please visit https://github.com/Schoelje/debian-plymouth-manager
Image
Locked

Return to “Software & Applications”