linux-lvm.redhat.com archive mirror
 help / color / mirror / Atom feed
From: Les Mikesell <lesmikesell@gmail.com>
To: LVM general discussion and development <linux-lvm@redhat.com>
Subject: Re: [linux-lvm] lvm on centos with raid1 and grub
Date: Fri, 08 Sep 2006 07:44:53 -0500	[thread overview]
Message-ID: <1157719492.27155.3.camel@les-home.futuresource.com> (raw)
In-Reply-To: <45012C0E.9080509@ambra.ro>

On Fri, 2006-09-08 at 03:38, Sterpu Victor wrote:
> After a reboot I couldn't boot from none of my hdd's.
> I receive just a grub console. Now I must reinstall grub, but in order 
> to do this I need to know the name of the root partion in the LVM.
> To find out this I moved one of the hdd's in another computer and I 
> tried to mount the LVM partition.
> 
> I do "modprobe dm-mod" and when I do "vgchange -ay" I get the message:
>   File descriptor 3 left open
>   File descriptor 5 left open
>   File descriptor 7 left open
>   No volume groups found
> I have no LVM devices in /dev.
> The alternative is to reinstall the OS, but....
> 

The first thing to try is booting the Centos install
CD with 'linux rescue' at the boot prompt.  If it
detects the existing installation it will mount it and
suggest that you 'chroot /mnt/sysinstall' after which
you will be able to see your old /etc/grub.conf and
have all the usual tools to reinstall grub.

-- 
  Les Mikesell
   lesmikesell@gmail.com

  parent reply	other threads:[~2006-09-08 12:45 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-09-08  8:38 [linux-lvm] lvm on centos with raid1 and grub Sterpu Victor
2006-09-08 10:42 ` Sterpu Victor
2006-09-08 10:50   ` Fabien Jakimowicz
2006-09-08 12:59   ` Luca Berra
2006-09-08 13:08   ` Fabien Jakimowicz
2006-09-08 12:44 ` Les Mikesell [this message]
2006-09-08 15:34 ` [linux-lvm] lvm on CentOS " Lamont R. Peterson
2006-09-08 16:52   ` Thomas Schwinge

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1157719492.27155.3.camel@les-home.futuresource.com \
    --to=lesmikesell@gmail.com \
    --cc=linux-lvm@redhat.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).