kcm-grub2 - No valid GRUB2/BURG installation...[Solved]

If you are new to Linux or new to Sabayon Linux and just not sure where to post, here ya go. Post without fear of being told to RTFM :-)

Moderator: Moderators

kcm-grub2 - No valid GRUB2/BURG installation...[Solved]

Postby cristi92b » Thu Jun 14, 2012 17:24

I have KDE Control Module for configuring GRUB2 ( kcm-grub2 ) installed by default and when I open it I get:
No valid GRUB2/BURG installation could be detected!

I tried to run the program from terminal logged in as root, but
Code: Select all
sabayon-home cristi # kcm-grub2
bash: kcm-grub2: command not found
sabayon-home cristi # kcm-config-grub2
bash: kcm-config-grub2: command not found


Can you please tell me why Grub2 cannot be detected?

I'm using Sabayon 9 x86_64 with KDE.

Code: Select all
sabayon-home cristi # ls -l -a /boot                                                                                 
total 21659
drwxr-xr-x  4 root root     1024 Jun 13 22:24 .
drwxr-xr-x 24 root root     4096 Jun 13 22:32 ..
lrwxrwxrwx  1 root root        1 Jun 13 22:24 boot -> .
drwxr-xr-x  3 root root     5120 Jun 13 22:29 grub
-rw-r--r--  1 root root 14191650 May 30 12:47 initramfs-genkernel-x86_64-3.4.0-sabayon
-rw-r--r--  1 root root        0 May 30 12:48 .keep
-rw-r--r--  1 root root  4984896 May 24 17:31 kernel-genkernel-x86_64-3.4.0-sabayon
drwx------  2 root root    12288 Jun 13 22:22 lost+found
-rw-r--r--  1 root root  2886931 May 24 17:31 System.map-genkernel-x86_64-3.4.0-sabayon

Code: Select all
sabayon-home cristi # ls -l -a /etc/grub.d
total 68
drwxr-xr-x   2 root root  4096 Jun 13 22:24 .
drwxr-xr-x 145 root root 12288 Jun 14 13:54 ..
-rwxr-xr-x   1 root root   462 Jan 14 01:19 00_fonts
-rwxr-xr-x   1 root root  6811 Jan 14 01:19 00_header
-rwxr-xr-x   1 root root  1180 Jan 14 01:19 05_distro_theme
-rwxr-xr-x   1 root root  5974 Jan 14 01:19 10_linux
-rwxr-xr-x   1 root root  5821 Jan 14 01:19 20_linux_xen
-rwxr-xr-x   1 root root  5963 Jan 14 01:19 30_os-prober
-rwxr-xr-x   1 root root   214 Jan 14 01:19 40_custom
-rwxr-xr-x   1 root root    95 Jan 14 01:19 41_custom
-rw-r--r--   1 root root   483 Jan 14 01:19 README

Code: Select all
sabayon-home cristi # ls -l -a /boot/grub
total 4757
drwxr-xr-x 3 root root    5120 Jun 13 22:29 .
drwxr-xr-x 4 root root    1024 Jun 13 22:24 ..
-rw-r--r-- 1 root root   11644 Jun 13 22:28 acpi.mod
-rw-r--r-- 1 root root    5876 Jun 13 22:28 affs.mod
-rw-r--r-- 1 root root    6336 Jun 13 22:28 afs_be.mod
-rw-r--r-- 1 root root    6128 Jun 13 22:28 afs.mod
-rw-r--r-- 1 root root    1352 Jun 13 22:28 aout.mod
-rw-r--r-- 1 root root   10320 Jun 13 22:28 ata.mod
-rw-r--r-- 1 root root    2780 Jun 13 22:28 ata_pthru.mod
-rw-r--r-- 1 root root    5104 Jun 13 22:28 at_keyboard.mod
-rw-r--r-- 1 root root    6228 Jun 13 22:28 befs_be.mod
-rw-r--r-- 1 root root    6008 Jun 13 22:28 befs.mod
-rw-r--r-- 1 root root    5852 Jun 13 22:28 biosdisk.mod
-rw-r--r-- 1 root root    3308 Jun 13 22:28 bitmap.mod
-rw-r--r-- 1 root root    3432 Jun 13 22:28 bitmap_scale.mod
-rw-r--r-- 1 root root    2792 Jun 13 22:28 blocklist.mod
-rw-r--r-- 1 root root     512 Jun 13 22:28 boot.img
-rw-r--r-- 1 root root    3364 Jun 13 22:28 boot.mod
-rw-r--r-- 1 root root   31824 Jun 13 22:28 bsd.mod
-rw-r--r-- 1 root root   15976 Jun 13 22:28 btrfs.mod
-rw-r--r-- 1 root root    2384 Jun 13 22:28 bufio.mod
-rw-r--r-- 1 root root    2892 Jun 13 22:28 cat.mod
-rw-r--r-- 1 root root     512 Jun 13 22:28 cdboot.img
-rw-r--r-- 1 root root    3128 Jun 13 22:28 chain.mod
-rw-r--r-- 1 root root    2212 Jun 13 22:28 cmostest.mod
-rw-r--r-- 1 root root    2592 Jun 13 22:28 cmp.mod
-rw-r--r-- 1 root root    2758 Jun 13 22:28 command.lst
-rw-r--r-- 1 root root    2780 Jun 13 22:28 configfile.mod
-rw-r--r-- 1 root root   29457 Jun 13 22:28 core.img
-rw-r--r-- 1 root root    3640 Jun 13 22:28 cpio.mod
-rw-r--r-- 1 root root    2044 Jun 13 22:28 cpuid.mod
-rw-r--r-- 1 root root     825 Jun 13 22:28 crypto.lst
-rw-r--r-- 1 root root    5780 Jun 13 22:28 crypto.mod
-rw-r--r-- 1 root root    5552 Jun 13 22:28 cs5536.mod
-rw-r--r-- 1 root root    2320 Jun 13 22:28 datehook.mod
-rw-r--r-- 1 root root    2736 Jun 13 22:28 date.mod
-rw-r--r-- 1 root root    1588 Jun 13 22:28 datetime.mod
-rw-r--r-- 1 root root     197 Mar 25  2009 default
-rw-r--r-- 1 root root  150720 May 28 18:34 default-splash.png
-rw-r--r-- 1 root root     147 Jun 13 22:28 device.map
-rw-r--r-- 1 root root     512 Jun 13 22:28 diskboot.img
-rw-r--r-- 1 root root    2384 Jun 13 22:28 dm_nv.mod
-rw-r--r-- 1 root root    6624 Jun 13 22:28 drivemap.mod
-rw-r--r-- 1 root root    8760 Jun 10  2009 e2fs_stage1_5
-rw-r--r-- 1 root root    2484 Jun 13 22:28 echo.mod
-rw-r--r-- 1 root root   29536 Jun 13 22:28 efiemu.mod
-rw-r--r-- 1 root root    5876 Jun 13 22:28 elf.mod
-rw-r--r-- 1 root root    2100 Jun 13 22:28 example_functional_test.mod
-rw-r--r-- 1 root root    7336 Jun 13 22:28 ext2.mod
-rw-r--r-- 1 root root    5700 Jun 13 22:28 extcmd.mod
-rw-r--r-- 1 root root    7268 Jun 13 22:28 fat.mod
-rw-r--r-- 1 root root    7836 Jun 10  2009 fat_stage1_5
-rw-r--r-- 1 root root    7112 Jun 10  2009 ffs_stage1_5
-rw-r--r-- 1 root root   14160 Jun 13 22:28 font.mod
-rw-r--r-- 1 root root    3488 Jun 13 22:28 fshelp.mod
-rw-r--r-- 1 root root     141 Jun 13 22:28 fs.lst
-rw-r--r-- 1 root root    3220 Jun 13 22:28 functional_test.mod
-rw-r--r-- 1 root root    2220 Jun 13 22:28 gcry_arcfour.mod
-rw-r--r-- 1 root root    8804 Jun 13 22:28 gcry_blowfish.mod
-rw-r--r-- 1 root root   35680 Jun 13 22:28 gcry_camellia.mod
-rw-r--r-- 1 root root   17912 Jun 13 22:28 gcry_cast5.mod
-rw-r--r-- 1 root root    3760 Jun 13 22:28 gcry_crc.mod
-rw-r--r-- 1 root root   20236 Jun 13 22:28 gcry_des.mod
-rw-r--r-- 1 root root    3832 Jun 13 22:28 gcry_md4.mod
-rw-r--r-- 1 root root    4516 Jun 13 22:28 gcry_md5.mod
-rw-r--r-- 1 root root    3076 Jun 13 22:28 gcry_rfc2268.mod
-rw-r--r-- 1 root root   19680 Jun 13 22:28 gcry_rijndael.mod
-rw-r--r-- 1 root root    9332 Jun 13 22:28 gcry_rmd160.mod
-rw-r--r-- 1 root root   17184 Jun 13 22:28 gcry_seed.mod
-rw-r--r-- 1 root root   18800 Jun 13 22:28 gcry_serpent.mod
-rw-r--r-- 1 root root    9384 Jun 13 22:28 gcry_sha1.mod
-rw-r--r-- 1 root root    4232 Jun 13 22:28 gcry_sha256.mod
-rw-r--r-- 1 root root    6440 Jun 13 22:28 gcry_sha512.mod
-rw-r--r-- 1 root root   12768 Jun 13 22:28 gcry_tiger.mod
-rw-r--r-- 1 root root   40136 Jun 13 22:28 gcry_twofish.mod
-rw-r--r-- 1 root root   25296 Jun 13 22:28 gcry_whirlpool.mod
-rw-r--r-- 1 root root    4972 Jun 13 22:28 gettext.mod
-rw-r--r-- 1 root root   47512 Jun 13 22:28 gfxmenu.mod
-rw-r--r-- 1 root root   13432 Jun 13 22:28 gfxterm.mod
-rw-r--r-- 1 root root    4392 Jun 13 22:28 gptsync.mod
-r-------- 1 root root    3970 Jun 13 22:29 grub.cfg
-rw-r--r-- 1 root root      21 Jun  1  2010 grub.conf.add
-rw-r--r-- 1 root root     208 Mar 25  2009 grub.conf.old.add
-rw-r--r-- 1 root root     220 Feb 23  2009 grub.conf.old.remove
-rw-r--r-- 1 root root     402 May 30  2010 grub.conf.remove
-rw-r--r-- 1 root root    1024 Jun 13 22:28 grubenv
-rw-r--r-- 1 root root    9488 Jun 13 22:28 gzio.mod
-rw-r--r-- 1 root root    4924 Jun 13 22:28 halt.mod
-rw-r--r-- 1 root root    5928 Jun 13 22:28 hashsum.mod
-rw-r--r-- 1 root root    8752 Jun 13 22:28 hdparm.mod
-rw-r--r-- 1 root root    1644 Jun 13 22:28 hello.mod
-rw-r--r-- 1 root root    2996 Jun 13 22:28 help.mod
-rw-r--r-- 1 root root    3832 Jun 13 22:28 hexdump.mod
-rw-r--r-- 1 root root    7712 Jun 13 22:28 hfs.mod
-rw-r--r-- 1 root root    7648 Jun 13 22:28 hfsplus.mod
-rw-r--r-- 1 root root    3448 Jun 13 22:28 iorw.mod
-rw-r--r-- 1 root root    7868 Jun 13 22:28 iso9660.mod
-rw-r--r-- 1 root root    7104 Jun 10  2009 iso9660_stage1_5
-rw-r--r-- 1 root root    7584 Jun 13 22:28 jfs.mod
-rw-r--r-- 1 root root    8692 Jun 10  2009 jfs_stage1_5
-rw-r--r-- 1 root root    6800 Jun 13 22:28 jpeg.mod
-rw-r--r-- 1 root root   38720 Jun 13 22:28 kernel.img
-rw-r--r-- 1 root root    5100 Jun 13 22:28 keylayouts.mod
-rw-r--r-- 1 root root    2516 Jun 13 22:28 keystatus.mod
-rw-r--r-- 1 root root   29296 Jun 13 22:28 legacycfg.mod
-rw-r--r-- 1 root root    6552 Jun 13 22:28 linux16.mod
-rw-r--r-- 1 root root   11428 Jun 13 22:28 linux.mod
-rw-r--r-- 1 root root    1024 Jun 13 22:28 lnxboot.img
-rw-r--r-- 1 root root    7028 Jun 13 22:28 loadenv.mod
drwxr-xr-x 2 root root    1024 Jun 13 22:28 locale
-rw-r--r-- 1 root root    3608 Jun 13 22:28 loopback.mod
-rw-r--r-- 1 root root    4608 Jun 13 22:28 lsacpi.mod
-rw-r--r-- 1 root root    2752 Jun 13 22:28 lsapm.mod
-rw-r--r-- 1 root root    2256 Jun 13 22:28 lsmmap.mod
-rw-r--r-- 1 root root    5148 Jun 13 22:28 ls.mod
-rw-r--r-- 1 root root    5512 Jun 13 22:28 lspci.mod
-rw-r--r-- 1 root root    8340 Jun 13 22:28 lvm.mod
-rw-r--r-- 1 root root    2388 Jun 13 22:28 mdraid09.mod
-rw-r--r-- 1 root root    2812 Jun 13 22:28 mdraid1x.mod
-rw-r--r-- 1 root root    2744 Jun 13 22:28 memdisk.mod
-rw-r--r-- 1 root root    3468 Jun 13 22:28 memrw.mod
-rw-r--r-- 1 root root    4368 Jun 13 22:28 minicmd.mod
-rw-r--r-- 1 root root    4980 Jun 13 22:28 minix2.mod
-rw-r--r-- 1 root root    4976 Jun 13 22:28 minix.mod
-rw-r--r-- 1 root root    7328 Jun 10  2009 minix_stage1_5
-rw-r--r-- 1 root root   11424 Jun 13 22:28 mmap.mod
-rw-r--r-- 1 root root    3207 Jun 13 22:28 moddep.lst
-rw-r--r-- 1 root root    3080 Jun 13 22:28 msdospart.mod
-rw-r--r-- 1 root root   14812 Jun 13 22:28 multiboot2.mod
-rw-r--r-- 1 root root   14252 Jun 13 22:28 multiboot.mod
-rw-r--r-- 1 root root    8788 Jun 13 22:28 nilfs2.mod
-rw-r--r-- 1 root root  121688 Jun 13 22:28 normal.mod
-rw-r--r-- 1 root root    4204 Jun 13 22:28 ntfscomp.mod
-rw-r--r-- 1 root root   11824 Jun 13 22:28 ntfs.mod
-rw-r--r-- 1 root root    3156 Jun 13 22:28 ntldr.mod
-rw-r--r-- 1 root root   12420 Jun 13 22:28 ohci.mod
-rw-r--r-- 1 root root    2160 Jun 13 22:28 part_acorn.mod
-rw-r--r-- 1 root root    2260 Jun 13 22:28 part_amiga.mod
-rw-r--r-- 1 root root    2668 Jun 13 22:28 part_apple.mod
-rw-r--r-- 1 root root    3612 Jun 13 22:28 part_bsd.mod
-rw-r--r-- 1 root root    2928 Jun 13 22:28 part_gpt.mod
-rw-r--r-- 1 root root      82 Jun 13 22:28 partmap.lst
-rw-r--r-- 1 root root    2824 Jun 13 22:28 part_msdos.mod
-rw-r--r-- 1 root root    2028 Jun 13 22:28 part_sun.mod
-rw-r--r-- 1 root root    2164 Jun 13 22:28 part_sunpc.mod
-rw-r--r-- 1 root root      17 Jun 13 22:28 parttool.lst
-rw-r--r-- 1 root root    5264 Jun 13 22:28 parttool.mod
-rw-r--r-- 1 root root    2528 Jun 13 22:28 password.mod
-rw-r--r-- 1 root root    3468 Jun 13 22:28 password_pbkdf2.mod
-rw-r--r-- 1 root root    1636 Jun 13 22:28 pbkdf2.mod
-rw-r--r-- 1 root root    1680 Jun 13 22:28 pci.mod
-rw-r--r-- 1 root root    3116 Jun 13 22:28 play.mod
-rw-r--r-- 1 root root    7624 Jun 13 22:28 png.mod
-rw-r--r-- 1 root root    3224 Jun 13 22:28 probe.mod
-rw-r--r-- 1 root root    1024 Jun 13 22:28 pxeboot.img
-rw-r--r-- 1 root root    1768 Jun 13 22:28 pxecmd.mod
-rw-r--r-- 1 root root    7596 Jun 13 22:28 pxe.mod
-rw-r--r-- 1 root root    1832 Jun 13 22:28 raid5rec.mod
-rw-r--r-- 1 root root    3420 Jun 13 22:28 raid6rec.mod
-rw-r--r-- 1 root root    7676 Jun 13 22:28 raid.mod
-rw-r--r-- 1 root root    2012 Jun 13 22:28 read.mod
-rw-r--r-- 1 root root    1540 Jun 13 22:28 reboot.mod
-rw-r--r-- 1 root root   49568 Jun 13 22:28 regexp.mod
-rw-r--r-- 1 root root   11516 Jun 13 22:28 reiserfs.mod
-rw-r--r-- 1 root root    9732 Jun 10  2009 reiserfs_stage1_5
-rw-r--r-- 1 root root   16824 Jun 13 22:28 relocator.mod
-rw-r--r-- 1 root root    5220 Jun 13 22:28 scsi.mod
-rw-r--r-- 1 root root    3660 Jun 13 22:28 search_fs_file.mod
-rw-r--r-- 1 root root    3692 Jun 13 22:28 search_fs_uuid.mod
-rw-r--r-- 1 root root    3592 Jun 13 22:28 search_label.mod
-rw-r--r-- 1 root root    3068 Jun 13 22:28 search.mod
-rw-r--r-- 1 root root    7696 Jun 13 22:28 sendkey.mod
-rw-r--r-- 1 root root    8396 Jun 13 22:28 serial.mod
-rw-r--r-- 1 root root     706 Jun 13 22:28 setjmp.mod
-rw-r--r-- 1 root root    6064 Jun 13 22:28 setpci.mod
-rw-r--r-- 1 root root    5084 Jun 13 22:28 sfs.mod
-rw-r--r-- 1 root root    2648 Jun 13 22:28 sleep.mod
-rw-r--r-- 1 root root     512 Jun 10  2009 stage1
-rw-r--r-- 1 root root  118512 Jun 10  2009 stage2
-rw-r--r-- 1 root root  118512 Jun 10  2009 stage2_eltorito
-rw-r--r-- 1 root root  118512 Apr  4  2009 stage2.old
-rw-r--r-- 1 root root    3656 Jun 13 22:28 tar.mod
-rw-r--r-- 1 root root     132 Jun 13 22:28 terminal.lst
-rw-r--r-- 1 root root    4412 Jun 13 22:28 terminal.mod
-rw-r--r-- 1 root root   11984 Jun 13 22:28 terminfo.mod
-rw-r--r-- 1 root root    1884 Jun 13 22:28 test_blockarg.mod
-rw-r--r-- 1 root root    3364 Jun 13 22:28 testload.mod
-rw-r--r-- 1 root root    5728 Jun 13 22:28 test.mod
-rw-r--r-- 1 root root    3336 Jun 13 22:28 tga.mod
-rw-r--r-- 1 root root    1763 Jun 13 22:28 trig.mod
-rw-r--r-- 1 root root    1760 Jun 13 22:28 true.mod
-rw-r--r-- 1 root root    8020 Jun 13 22:28 udf.mod
-rw-r--r-- 1 root root    6000 Jun 13 22:28 ufs1.mod
-rw-r--r-- 1 root root    6360 Jun 13 22:28 ufs2.mod
-rw-r--r-- 1 root root    7368 Jun 10  2009 ufs2_stage1_5
-rw-r--r-- 1 root root    7372 Jun 13 22:28 uhci.mod
-rw-r--r-- 1 root root 2560080 Jun 13 22:28 unifont.pf2
-rw-r--r-- 1 root root    5140 Jun 13 22:28 usb_keyboard.mod
-rw-r--r-- 1 root root   12172 Jun 13 22:28 usb.mod
-rw-r--r-- 1 root root    6924 Jun 13 22:28 usbms.mod
-rw-r--r-- 1 root root    2392 Jun 13 22:28 usbserial_common.mod
-rw-r--r-- 1 root root    3104 Jun 13 22:28 usbserial_ftdi.mod
-rw-r--r-- 1 root root    3652 Jun 13 22:28 usbserial_pl2303.mod
-rw-r--r-- 1 root root    4412 Jun 13 22:28 usbtest.mod
-rw-r--r-- 1 root root    9540 Jun 13 22:28 vbe.mod
-rw-r--r-- 1 root root    5636 Jun 13 22:28 vga.mod
-rw-r--r-- 1 root root    3040 Jun 13 22:28 vga_text.mod
-rw-r--r-- 1 root root    6288 Jun 13 22:28 video_bochs.mod
-rw-r--r-- 1 root root    6608 Jun 13 22:28 video_cirrus.mod
-rw-r--r-- 1 root root   23376 Jun 13 22:28 video_fb.mod
-rw-r--r-- 1 root root    3920 Jun 13 22:28 videoinfo.mod
-rw-r--r-- 1 root root      33 Jun 13 22:28 video.lst
-rw-r--r-- 1 root root    7192 Jun 13 22:28 video.mod
-rw-r--r-- 1 root root    4960 Jun 13 22:28 videotest.mod
-rw-r--r-- 1 root root    6712 Jun 10  2009 vstafs_stage1_5
-rw-r--r-- 1 root root    7516 Jun 13 22:28 xfs.mod
-rw-r--r-- 1 root root    9532 Jun 10  2009 xfs_stage1_5
-rw-r--r-- 1 root root   37196 Jun 13 22:28 xnu.mod
-rw-r--r-- 1 root root    2472 Jun 13 22:28 xnu_uuid.mod
-rw-r--r-- 1 root root   16372 Jun 13 22:28 xzio.mod
-rw-r--r-- 1 root root    7396 Jun 13 22:28 zfsinfo.mod
-rw-r--r-- 1 root root   29520 Jun 13 22:28 zfs.mod
Last edited by cristi92b on Thu Jun 14, 2012 22:09, edited 1 time in total.
cristi92b
Baby Hen
 
Posts: 4
Joined: Thu Jun 14, 2012 17:15

Re: kcm-grub2 - No valid GRUB2/BURG installation could be de

Postby Fitzcarraldo » Thu Jun 14, 2012 19:27

I have just seen your earlier post on LinuxQuestions.org ( http://www.linuxquestions.org/questions ... 175411410/ ). It is better to ask the question first in the distribution's forums, as the reply you were given on LinuxQuestions.org is wrong. SL does use GRUB 2 (and has done for quite some time). SL does use the directory /boot/grub/ for the GRUB 2 files, not /boot/grub2/. Also, unlike its parent Gentoo, SL uses the command grub-mkconfig -o /boot/grub/grub.cfg rather than grub2-mkconfig -o /boot/grub/grub.cfg.

Anyway, to use kcm-grub2 in KDE System Settings it seems you need to be root user (but retaining your own profile). Simply open a Konsole and use the kdesu command to launch System Settings as root user:

Code: Select all
$ kdesu systemsettings

I have not used kcm-grub2 myself so do not know if it works properly. I believe some configuration is required in order to use it. The kcm-grub2 developer's blog gives the details (see, in particular, the first link he gives at the end of his blog post, to another of his blog posts which has some important configuration information).
User avatar
Fitzcarraldo
Sagely Hen
 
Posts: 7998
Joined: Sat Mar 10, 2007 5:40
Location: United Kingdom

Re: kcm-grub2 - No valid GRUB2/BURG installation could be de

Postby cristi92b » Thu Jun 14, 2012 20:25

Code: Select all
sabayon-home cristi #kdesu systemsettings
kdesu(9276)/kdeui (kdelibs): Session bus not found
To circumvent this problem try the following command (with Linux and bash)
export $(dbus-launch)
KCrash: Application 'kdesu' crashing...
KCrash: Attempting to start /usr/lib64/kde4/libexec/drkonqi from kdeinit
sock_file=/root/.kde4/socket-sabayon-home/kdeinit4__0
Warning: connect() failed: : No such file or directory
KCrash: Attempting to start /usr/lib64/kde4/libexec/drkonqi directly
drkonqi(9277)/kdeui (kdelibs): Session bus not found
To circumvent this problem try the following command (with Linux and bash)
export $(dbus-launch)

sabayon-home cristi # export $(dbus-launch)

sabayon-home cristi # kdesu systemsettings
QDBusConnection: session D-Bus connection created before QCoreApplication. Application may misbehave.
QDBusConnection: session D-Bus connection created before QCoreApplication. Application may misbehave.
Connecting to deprecated signal QDBusConnectionInterface::serviceOwnerChanged(QString,QString,QString)
QDBusConnection: session D-Bus connection created before QCoreApplication. Application may misbehave.
QDBusConnection: session D-Bus connection created before QCoreApplication. Application may misbehave.
kbuildsycoca4 running...
kbuildsycoca4(9296) KBuildSycoca::recreate: Recreating ksycoca file ("/var/tmp/kdecache-root/ksycoca4", version 205)
kbuildsycoca4(9296) VFolderMenu::mergeFile: VFolderMenu::mergeFile: "/etc/xdg/menus/applications-merged/sabayon-sabayon.menu"
kbuildsycoca4(9296) VFolderMenu::mergeFile: VFolderMenu::mergeFile: "/etc/xdg/menus/applications-merged/ggz.merge.menu"
kbuildsycoca4(9296) VFolderMenu::mergeFile: VFolderMenu::mergeFile: "/etc/xdg/menus/ggz.menu"
kbuildsycoca4(9296) foldNode: "Directory" and "ggz.directory" requires combining!
kbuildsycoca4(9296) VFolderMenu::pushDocInfo: Menu "applications-kmenuedit.menu" not found.
kbuildsycoca4(9296) VFolderMenu::processMenu: Processing KDE Legacy dirs for <KDE>
kbuildsycoca4(9296) VFolderMenu::processKDELegacyDirs:
kbuildsycoca4(9296) VFolderMenu::loadApplications: Looking up applications under "/usr/share/applications/"
kbuildsycoca4(9296) VFolderMenu::loadApplications: Looking up applications under "/usr/share/applications/kde4"
kbuildsycoca4(9296) KConfigGroup::readXdgListEntry: List entry Categories in "/usr/share/applications/rigo.desktop" is not compliant with XDG standard (missing trailing semicolon).
kbuildsycoca4(9296) KConfigGroup::readXdgListEntry: List entry MimeType in "/usr/share/applications/rigo.desktop" is not compliant with XDG standard (missing trailing semicolon).
kbuildsycoca4(9296) VFolderMenu::loadApplications: Looking up applications under "/usr/local/share/applications/"
kbuildsycoca4(9296) KBuildServiceFactory::populateServiceTypes: "ServiceMenus/installfont.desktop" specifies undefined mimetype/servicetype "fonts/package"
kbuildsycoca4(9296) KBuildServiceFactory::populateServiceTypes: "ark_part.desktop" specifies undefined mimetype/servicetype "application/lha"
kbuildsycoca4(9296) KBuildServiceFactory::populateServiceTypes: "ark_part.desktop" specifies undefined mimetype/servicetype "application/maclha"
kbuildsycoca4(9296) KBuildServiceFactory::populateServiceTypes: "/usr/share/applications/kde4/Kontact.desktop" specifies undefined mimetype/servicetype "DBUS/Mailer"
kbuildsycoca4(9296) KBuildServiceFactory::populateServiceTypes: "ServiceMenus/ark_servicemenu.desktop" specifies undefined mimetype/servicetype "application/lha"
kbuildsycoca4(9296) KBuildServiceFactory::populateServiceTypes: "ServiceMenus/ark_servicemenu.desktop" specifies undefined mimetype/servicetype "application/maclha"
kbuildsycoca4(9296) KBuildServiceFactory::populateServiceTypes: "kerfuffle_clilha.desktop" specifies undefined mimetype/servicetype "application/lha"
kbuildsycoca4(9296) KBuildServiceFactory::populateServiceTypes: "kerfuffle_clilha.desktop" specifies undefined mimetype/servicetype "application/maclha"
kbuildsycoca4(9296) KBuildServiceFactory::populateServiceTypes: "phononbackends/gstreamer.desktop" specifies undefined mimetype/servicetype "video/x-quicktime"
kbuildsycoca4(9296) KBuildServiceFactory::populateServiceTypes: "phononbackends/gstreamer.desktop" specifies undefined mimetype/servicetype "video/mkv"
kbuildsycoca4(9296) KBuildServiceFactory::populateServiceTypes: "phononbackends/gstreamer.desktop" specifies undefined mimetype/servicetype "audio/aiff"
kbuildsycoca4(9296) KBuildServiceFactory::populateServiceTypes: "phononbackends/gstreamer.desktop" specifies undefined mimetype/servicetype "audio/x-pn-aiff"
kbuildsycoca4(9296) KBuildServiceFactory::populateServiceTypes: "phononbackends/gstreamer.desktop" specifies undefined mimetype/servicetype "audio/x-realaudio"
kbuildsycoca4(9296) KBuildServiceFactory::populateServiceTypes: "phononbackends/gstreamer.desktop" specifies undefined mimetype/servicetype "audio/x-basic"
kbuildsycoca4(9296) KBuildServiceFactory::populateServiceTypes: "phononbackends/gstreamer.desktop" specifies undefined mimetype/servicetype "audio/x-pn-au"
kbuildsycoca4(9296) KBuildServiceFactory::populateServiceTypes: "phononbackends/gstreamer.desktop" specifies undefined mimetype/servicetype "audio/x-8svx"
kbuildsycoca4(9296) KBuildServiceFactory::populateServiceTypes: "phononbackends/gstreamer.desktop" specifies undefined mimetype/servicetype "audio/8svx"
kbuildsycoca4(9296) KBuildServiceFactory::populateServiceTypes: "phononbackends/gstreamer.desktop" specifies undefined mimetype/servicetype "audio/x-16sv"
kbuildsycoca4(9296) KBuildServiceFactory::populateServiceTypes: "phononbackends/gstreamer.desktop" specifies undefined mimetype/servicetype "audio/168sv"
kbuildsycoca4(9296) KBuildServiceFactory::populateServiceTypes: "phononbackends/gstreamer.desktop" specifies undefined mimetype/servicetype "image/ilbm"
kbuildsycoca4(9296) KBuildServiceFactory::populateServiceTypes: "phononbackends/gstreamer.desktop" specifies undefined mimetype/servicetype "video/anim"
kbuildsycoca4(9296) KBuildServiceFactory::populateServiceTypes: "phononbackends/gstreamer.desktop" specifies undefined mimetype/servicetype "image/x-png"
kbuildsycoca4(9296) KBuildServiceFactory::populateServiceTypes: "phononbackends/gstreamer.desktop" specifies undefined mimetype/servicetype "video/mng"
kbuildsycoca4(9296) KBuildServiceFactory::populateServiceTypes: "phononbackends/gstreamer.desktop" specifies undefined mimetype/servicetype "audio/x-real-audio"
kbuildsycoca4(9296) KBuildServiceFactory::populateServiceTypes: "phononbackends/gstreamer.desktop" specifies undefined mimetype/servicetype "audio/x-pn-wav"
kbuildsycoca4(9296) KBuildServiceFactory::populateServiceTypes: "phononbackends/gstreamer.desktop" specifies undefined mimetype/servicetype "audio/x-pn-windows-acm"
kbuildsycoca4(9296) KBuildServiceFactory::populateServiceTypes: "phononbackends/gstreamer.desktop" specifies undefined mimetype/servicetype "audio/mpeg2"
kbuildsycoca4(9296) KBuildServiceFactory::populateServiceTypes: "phononbackends/gstreamer.desktop" specifies undefined mimetype/servicetype "audio/x-mpeg2"
kbuildsycoca4(9296) KBuildServiceFactory::populateServiceTypes: "phononbackends/gstreamer.desktop" specifies undefined mimetype/servicetype "audio/mpeg3"
kbuildsycoca4(9296) KBuildServiceFactory::populateServiceTypes: "phononbackends/gstreamer.desktop" specifies undefined mimetype/servicetype "audio/x-mpeg3"
kbuildsycoca4(9296) KBuildServiceFactory::populateServiceTypes: "phononbackends/gstreamer.desktop" specifies undefined mimetype/servicetype "x-mpegurl"
kbuildsycoca4(9296) KBuildServiceFactory::populateServiceTypes: "/usr/share/applications/kde4/k3b.desktop" specifies undefined mimetype/servicetype "application/x-iso"
kbuildsycoca4(9296) KBuildServiceFactory::populateServiceTypes: "windowsexethumbnail.desktop" specifies undefined mimetype/servicetype "application/x-msdownload"
kbuildsycoca4(9296) KBuildServiceFactory::populateServiceTypes: "ServiceMenus/k3b_create_audio_cd.desktop" specifies undefined mimetype/servicetype "audio/*"
kbuildsycoca4(9296) KBuildServiceFactory::populateServiceTypes: "/usr/share/applications/vlc.desktop" specifies undefined mimetype/servicetype "video/x-flc"
kbuildsycoca4(9296) KBuildServiceFactory::populateServiceTypes: "/usr/share/applications/vlc.desktop" specifies undefined mimetype/servicetype "audio/x-ms-asf"
kbuildsycoca4(9296) KBuildServiceFactory::populateServiceTypes: "/usr/share/applications/vlc.desktop" specifies undefined mimetype/servicetype "audio/x-ms-wax"
kbuildsycoca4(9296) KBuildServiceFactory::populateServiceTypes: "/usr/share/applications/vlc.desktop" specifies undefined mimetype/servicetype "audio/x-real-audio"
kbuildsycoca4(9296) KBuildServiceFactory::populateServiceTypes: "/usr/share/applications/vlc.desktop" specifies undefined mimetype/servicetype "application/x-flac"
kbuildsycoca4(9296) KBuildServiceFactory::populateServiceTypes: "/usr/share/applications/vlc.desktop" specifies undefined mimetype/servicetype "misc/ultravox"
kbuildsycoca4(9296) KBuildServiceFactory::populateServiceTypes: "/usr/share/applications/vlc.desktop" specifies undefined mimetype/servicetype "audio/x-pn-aiff"
kbuildsycoca4(9296) KBuildServiceFactory::populateServiceTypes: "/usr/share/applications/vlc.desktop" specifies undefined mimetype/servicetype "audio/x-pn-au"
kbuildsycoca4(9296) KBuildServiceFactory::populateServiceTypes: "/usr/share/applications/vlc.desktop" specifies undefined mimetype/servicetype "audio/x-pn-wav"
kbuildsycoca4(9296) KBuildServiceFactory::populateServiceTypes: "/usr/share/applications/vlc.desktop" specifies undefined mimetype/servicetype "audio/x-pn-windows-acm"
kbuildsycoca4(9296) KBuildServiceFactory::populateServiceTypes: "/usr/share/applications/vlc.desktop" specifies undefined mimetype/servicetype "application/x-extension-mp4"
kbuildsycoca4(9296) KBuildServiceFactory::populateServiceTypes: "/usr/share/applications/clementine.desktop" specifies undefined mimetype/servicetype "application/x-ogm-audio"
kbuildsycoca4(9296) KBuildServiceFactory::populateServiceTypes: "ServiceMenus/k3b_write_iso_image.desktop" specifies undefined mimetype/servicetype "application/x-iso"
kbuildsycoca4(9296) KBuildServiceFactory::populateServiceTypes: "ServiceMenus/k3b_write_iso_image.desktop" specifies undefined mimetype/servicetype "inode/ISO-image"
kbuildsycoca4(9296) KBuildServiceFactory::populateServiceTypes: "videopreview.desktop" specifies undefined mimetype/servicetype "video/*"
kbuildsycoca4(9296) KBuildServiceFactory::populateServiceTypes: "/usr/lib64/libreoffice/share/xdg/writer.desktop" specifies undefined mimetype/servicetype "application/x-doc"
kbuildsycoca4(9296) KBuildServiceFactory::populateServiceTypes: "/usr/lib64/libreoffice/share/xdg/writer.desktop" specifies undefined mimetype/servicetype "application/vnd.lotus-wordpro"
kbuildsycoca4(9296) KBuildServiceFactory::populateServiceTypes: "ffmpegthumbs.desktop" specifies undefined mimetype/servicetype "video/*"
kbuildsycoca4(9296) KBuildServiceFactory::populateServiceTypes: "ark_dndextract.desktop" specifies undefined mimetype/servicetype "application/lha"
kbuildsycoca4(9296) KBuildServiceFactory::populateServiceTypes: "ark_dndextract.desktop" specifies undefined mimetype/servicetype "application/maclha"
kbuildsycoca4(9296) KBuildServiceFactory::populateServiceTypes: "fontthumbnail.desktop" specifies undefined mimetype/servicetype "fonts/package"
kbuildsycoca4(9296) KBuildServiceFactory::populateServiceTypes: "ServiceMenus/k3b_create_data_project.desktop" specifies undefined mimetype/servicetype "all/all"
kbuildsycoca4(9296) KBuildServiceFactory::populateServiceTypes: "ServiceMenus/dragonplayer_play_dvd.desktop" specifies undefined mimetype/servicetype "media/dvdvideo"
kbuildsycoca4(9296) KBuildServiceFactory::populateServiceTypes: "/usr/share/applications/kde4/ark.desktop" specifies undefined mimetype/servicetype "application/lha"
kbuildsycoca4(9296) KBuildServiceFactory::populateServiceTypes: "/usr/share/applications/kde4/ark.desktop" specifies undefined mimetype/servicetype "application/maclha"
kbuildsycoca4(9296) KBuildServiceFactory::populateServiceTypes: "/usr/share/applications/kde4/marble.desktop" specifies undefined mimetype/servicetype "application/gpx+xml"
kbuildsycoca4(9296) KBuildServiceFactory::populateServiceTypes: "plasma-kpart.desktop" specifies undefined mimetype/servicetype "KParts/Part"
kbuildsycoca4(9296) KBuildServiceFactory::populateServiceTypes: "kfontviewpart.desktop" specifies undefined mimetype/servicetype "fonts/package"
kbuildsycoca4(9296) KBuildServiceFactory::populateServiceTypes: "/usr/share/applications/opera-browser.desktop" specifies undefined mimetype/servicetype "text/wml"
kbuildsycoca4(9296) KBuildServiceFactory::populateServiceTypes: "/usr/share/applications/opera-browser.desktop" specifies undefined mimetype/servicetype "application/mime"
kbuildsycoca4(9296) KBuildServiceFactory::populateServiceTypes: "/usr/share/applications/opera-browser.desktop" specifies undefined mimetype/servicetype "image/webp"
kbuildsycoca4(9296) KBuildServiceFactory::populateServiceTypes: "ServiceMenus/ark_addtoservicemenu.desktop" specifies undefined mimetype/servicetype "all/all"
kbuildsycoca4(9296) KBuildSycoca::save: Saving
kbuildsycoca4(9296) kdemain: Emitting notifyDatabaseChanged ("servicetypes", "xdgdata-mime", "services", "apps")
"KConfigIni: In file /tmp/kde-root/kconf_updateqI9297.tmp, line 1: " Invalid entry (missing '=')

sabayon-home cristi # kdesu systemsettings
QDBusConnection: session D-Bus connection created before QCoreApplication. Application may misbehave.
QDBusConnection: session D-Bus connection created before QCoreApplication. Application may misbehave.

sabayon-home cristi #


Code: Select all
sabayon-home cristi # grub-mkconfig -o /boot/grub/grub.cfg
Generating grub.cfg ...
Found background image: default-splash.png
Found linux image: /boot/kernel-genkernel-x86_64-3.4.0-sabayon
Found initrd image: /boot/initramfs-genkernel-x86_64-3.4.0-sabayon
  No volume groups found
Found Windows 7 (loader) on /dev/sda1
done


grub-mkconfig -o /boot/grub/grub.cfg works but when I open system settings using kdesu systemsettings command as root, and go to Startup and Shutdown->GRUB2 Bootloader i get the same message " No valid GRUB2/BURG installation could be detected!". I just want to change the order of the entries in grub2 menu.

Thank you!

EDIT:
Finally I did it manually after reading the tutorial: http://www.dedoimedo.com/computers/grub-2.html.
Last edited by cristi92b on Thu Jun 14, 2012 22:00, edited 1 time in total.
cristi92b
Baby Hen
 
Posts: 4
Joined: Thu Jun 14, 2012 17:15

Re: kcm-grub2 - No valid GRUB2/BURG installation could be de

Postby Fitzcarraldo » Thu Jun 14, 2012 22:00

Hmm... I'm not on a machine running SL at the moment, so can't investigate. But if you are sure you set everything up according to the instructions in the kcm-grub2 developer's blog then you might want to file a bug report (click on the link 'Bugs' at the top of this page) to bring it to the attention of the SL developers.

Anyway, if you just want to change the order of the menu entries then you can do it the usual way. See, for example, the blog post Changing GRUB2 Boot Order the Right Way. N.B. As that post is for Ubuntu, where he writes "sudo update-grub" use the standard GRUB 2 command "grub-mkconfig -o /boot/grub/grub.cfg" instead (prefixed with "sudo" if you're not issuing the command as root user).

Basically you change the order of the scripts in /etc/grub.d/ and, if you want, assign a value to GRUB_DEFAULT (see http://wiki.gentoo.org/wiki/GRUB2 for permissible values for GRUB_DEFAULT).

(Actually, it is also possible to change the menu order by editing /boot/grub/grub.cfg directly, even though people tell you your toes will curl up and drop off if you do. All that happens is that, if you ever run grub-mkconfig in future, the file grub.cfg will be overwritten thus losing your edits.)
User avatar
Fitzcarraldo
Sagely Hen
 
Posts: 7998
Joined: Sat Mar 10, 2007 5:40
Location: United Kingdom

Re: kcm-grub2 - No valid GRUB2/BURG installation could be de

Postby cristi92b » Thu Jun 14, 2012 22:03

Anyway, if you just want to change the order of the menu entries then you can do it the usual way. See, for example, the blog post Changing GRUB2 Boot Order the Right Way. N.B. As that post is for Ubuntu, where he writes "sudo update-grub" use the standard GRUB 2 command "grub-mkconfig -o /boot/grub/grub.cfg" instead (prefixed with "sudo" if you're not issuing the command as root user).

Basically you change the order of the scripts in /etc/grub.d/ and, if you want, assign a value to GRUB_DEFAULT (see http://wiki.gentoo.org/wiki/GRUB2 for permissible values for GRUB_DEFAULT).


That is what I just did, thank you! :D

How do I mark the thread as solved?
Last edited by cristi92b on Thu Jun 14, 2012 22:04, edited 1 time in total.
cristi92b
Baby Hen
 
Posts: 4
Joined: Thu Jun 14, 2012 17:15

Re: kcm-grub2 - No valid GRUB2/BURG installation could be de

Postby Fitzcarraldo » Thu Jun 14, 2012 22:04

I have just seen your edit, added at the same time as I posted. Glad to see you found the manual way, but I still recommend you file a bug report if you can't get the kcm-grub2 way to work.

EDIT: It's a bug in kcm-grub2 (see http://ksmanis.wordpress.com/projects/grub2-editor/ ) and probably in GRUB 2 as well (see http://forums.gentoo.org/viewtopic-t-927100.html , although bear in mind that Gentoo's ebuild for GRUB 2 version 1.99-r2 is different to SL's ebuild for GRUB 2 version 1.99-r2, as SL uses /boot/grub/ whereas Gentoo uses /boot/grub2/ for GRUB 2).

Stick to using the command line, it's more likely to work!


EDIT (Oct. 17, 2012): The bug in kcm-grub2 was fixed for Gentoo, but if SL does not use the same GRUB 2 directories as Gentoo then it still won't work in SL, so my advice is still to stick with the command line.

Gentoo GRUB 2:
Main directory used: /boot/grub2/
Directory in which GRUB 2 core.img file is stored: /boot/grub2/i386-pc/core.img
Command to install GRUB 2 in the MBR of HDD sda: grub2-install /dev/sda
Command to create grub.cfg file: grub2-mkconfig -o /boot/grub2/grub.cfg

Sabayon GRUB 2 before GRUB 2 Version 2.00:
Main directory used /boot/grub/
Directory in which GRUB 2 core.img file is stored: /boot/grub/core.img
Command to install GRUB 2 in the MBR of HDD sda: grub2-install /dev/sda
Command to create grub.cfg file: grub-mkconfig -o /boot/grub/grub.cfg

Sabayon GRUB 2 now:
Main directory used: /boot/grub/
Directory in which GRUB 2 core.img file is stored: /boot/grub/i386-pc/core.img
Command to install GRUB 2 in the MBR of HDD sda: grub2-install /dev/sda
Command to create grub.cfg file: either 'grub-mkconfig -o /boot/grub/grub.cfg' or 'grub2-mkconfig -o /boot/grub/grub.cfg' (grub-mkconfig is a symlink to grub2-mkconfig)
User avatar
Fitzcarraldo
Sagely Hen
 
Posts: 7998
Joined: Sat Mar 10, 2007 5:40
Location: United Kingdom


Return to Beginners|Newbies Area

Who is online

Users browsing this forum: No registered users and 1 guest