LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Upgraded kernel, trying to update grub but getting message "No volume groups found" (https://www.linuxquestions.org/questions/linux-newbie-8/upgraded-kernel-trying-to-update-grub-but-getting-message-no-volume-groups-found-4175476449/)

slacker_ 09-09-2013 03:10 AM

Upgraded kernel, trying to update grub but getting message "No volume groups found"
 
Running update-grub, it runs the following:
Code:

# update-grup
Generating grub.cfg ...
Found linux image: /boot/vmlinuz-huge-smp-3.2.29-smp
Found linux image: /boot/vmlinuz-huge-3.2.29
Found linux image: /boot/vmlinuz-generic-smp-3.2.29-smp
Found linux image: /boot/vmlinuz-generic-3.2.29
Found linux image: /boot/vmlinuz-custom-3.10.9   
No volume groups found
done

I've googled, and read through guides/tutorials/wikis and can't figure out a solution. Can any of you help me out?

Razaliel 09-09-2013 03:43 AM

Hi,

Have you just installed a new kernel? It seems that grub found some kernels, so you can reboot and see if you can boot on your new kernel. If you can also give the output of

Code:

ls -l /boot

zhjim 09-09-2013 04:23 AM

"No volume groups found" points to lvm (logival volume manager). If you don't have lvm in use you can ignore the output. If you are using lvm thats strange and needs further attention.

slacker_ 09-09-2013 01:00 PM

Quote:

Originally Posted by zhjim (Post 5024519)
"No volume groups found" points to lvm (logival volume manager). If you don't have lvm in use you can ignore the output. If you are using lvm thats strange and needs further attention.

Ah, how would I find out if I have lvm in use then??

slacker_ 09-09-2013 01:18 PM

Quote:

Originally Posted by Razaliel (Post 5024501)
Hi,

Have you just installed a new kernel? It seems that grub found some kernels, so you can reboot and see if you can boot on your new kernel. If you can also give the output of

Code:

ls -l /boot

I did. But I have to manually install the kernel, and manually update grub and everything else, to which I am very new. Hence my confusion about the "No volume groups" message.

Code:

ls -a /boot
System.map-custom-3.10.9
System.map-generic-3.2.29
System.map-generic-smp-3.2.29-smp
System.map-huge-3.2.29
System.map-huge-smp-3.2.29-smp
config -> config-huge-3.2.29
config-custom-3.10.9
config-generic-smp-3.2.29-smp
config-huge-3.2.29
config-huge-smp-3.2.29-smp
grub/
vmlinuz -> vmlinuz-huge-3.2.29
vmliuz-custom-3.10.9
vmlinuz-generic-3.2.29
vmlinuz-generic-smp-3.2.29-smp
vmlinuz-huge-3.2.29
vmlinuz-huge-smp-3.2.29-smp

Just noticed something, should I point vmlinuz at the custom config and vmlinuz?

slacker_ 09-09-2013 09:15 PM

Minor update:

Rebooted my computer to test the kernel I compiled and it hung up during shutdown and boot. Is there anyway that LVM message could be an issue?

zhjim 09-10-2013 03:55 AM

The vmlinuz and config symlinks are for confinience and also introduce an abstraction layer. If you have lilo installed and would point your "new" kernel and its config to vmlinuz and config you would only need to run lilo and not edit the configuration file. Regarding grub this should not matter much cause grub normaly finds all kernels and creates a boot entry. Actually you only have to care about vmlinuz symlink when it comes to boot. The configuration is not needed for the boot process.

If LVM is an issue for the new kernel to boot is hard to tell. It depends on if you actually use LVM and what error the non booting kernel gave.

Not sure but as your name implies you are using slackware? So to find out if your having LVM installed/setup there had been a directory in /var/log which would tell you which packages you had installed. Dunno the name but it was quite obvious when encountered. Else you could just try to run pvdisplay or lvdisplay command in the shell. Also /etc/fstab should give clues if in use. Or maybe check /etc for a lvm.conf file or similar.


All times are GMT -5. The time now is 12:02 PM.