![]() |
|
|
|||
|
"No volume groups found" after reboot
I setup a Gentoo system on a ADM64X2 with software raid and lvm. The setup
process of the base system went fine. After the first reboot my volume groups are not recognized, most likely I made a mistake when building the kernel. Now I tried to reboot from the installation CD and wanted to mount the volumes again to correct the kernel. However, all tools I know of dont work: vgscan --mknodes pvscan -v tell me: No matching physical volumes found What is the correct way to recover, beside reinstallation? Chris |
|
|||
|
Re: "No volume groups found" after reboot
Chris Imker wrote:
> I setup a Gentoo system on a ADM64X2 with software raid and lvm. The setup > process of the base system went fine. After the first reboot my volume > groups are not recognized, most likely I made a mistake when building the > kernel. Now I tried to reboot from the installation CD and wanted to mount > the volumes again to correct the kernel. However, all tools I know of dont > work: > vgscan --mknodes > pvscan -v > tell me: No matching physical volumes found > What is the correct way to recover, beside reinstallation? > Chris You should use... vgchange -ay .... instead. Normally this should be done at boot time and most distributions will do this automatically, even if you don't have any logical volumes. However, I don't know Gentoo well enough yet to know whether this will be done automatically at boot by the Gentoo /init/ scripts - I'm still in the /chroot/ phase myself, considering that I don't always have the time to work on that machine and that my intended set-up is pretty much complex. ;-) The installation CD - I presume you're using the Live CD? - contains the LVM tools, but that doesn't mean that they are installed on your system yet. You may need to emerge them first. -- Aragorn (registered GNU/Linux user #223157) |
![]() |
|
| Thread Tools | Search this Thread |
| Display Modes | |
|
|