LinuxQuestions.org
Latest LQ Deal: Complete CCNA, CCNP & Red Hat Certification Training Bundle
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 09-09-2013, 04:10 AM   #1
slacker_
Member
 
Registered: Aug 2013
Distribution: Arch, Debian, Slackware
Posts: 333

Rep: Reputation: 3
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?

Last edited by slacker_; 09-09-2013 at 04:12 AM. Reason: formatting bonked.
 
Old 09-09-2013, 04:43 AM   #2
Razaliel
LQ Newbie
 
Registered: Jul 2013
Distribution: Debian testing
Posts: 21

Rep: Reputation: 5
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
 
Old 09-09-2013, 05:23 AM   #3
zhjim
Senior Member
 
Registered: Oct 2004
Distribution: Debian Squeeze x86_64
Posts: 1,748
Blog Entries: 11

Rep: Reputation: 233Reputation: 233Reputation: 233
"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.
 
1 members found this post helpful.
Old 09-09-2013, 02:00 PM   #4
slacker_
Member
 
Registered: Aug 2013
Distribution: Arch, Debian, Slackware
Posts: 333

Original Poster
Rep: Reputation: 3
Quote:
Originally Posted by zhjim View Post
"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??

Last edited by slacker_; 09-09-2013 at 04:36 PM.
 
Old 09-09-2013, 02:18 PM   #5
slacker_
Member
 
Registered: Aug 2013
Distribution: Arch, Debian, Slackware
Posts: 333

Original Poster
Rep: Reputation: 3
Quote:
Originally Posted by Razaliel View Post
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?
 
Old 09-09-2013, 10:15 PM   #6
slacker_
Member
 
Registered: Aug 2013
Distribution: Arch, Debian, Slackware
Posts: 333

Original Poster
Rep: Reputation: 3
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?
 
Old 09-10-2013, 04:55 AM   #7
zhjim
Senior Member
 
Registered: Oct 2004
Distribution: Debian Squeeze x86_64
Posts: 1,748
Blog Entries: 11

Rep: Reputation: 233Reputation: 233Reputation: 233
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.
 
  


Reply

Tags
grub 2, grub config, kernel


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
"volume control GStreamer plugins and/or device not found"-how do I get volume contro fishurmn Linux - Newbie 6 07-19-2010 11:55 PM
recovering from a controller upgrade - "no volume groups found" djjoshuad Linux - Enterprise 1 11-21-2008 06:58 PM
installed fedora 8 and get error message: No volume groups found. magplumber Linux - Newbie 16 06-16-2008 12:12 AM
How to undo an fdisk? "No volume groups found" stickyc Linux - Newbie 2 12-03-2006 02:02 PM
mkinitrd failed with message "no module raid0 found for kernel 2.6.9" ythevenot Red Hat 3 12-07-2004 10:15 PM


All times are GMT -5. The time now is 06:29 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration