linux-lvm.redhat.com archive mirror
 help / color / mirror / Atom feed
From: "Greg Freemyer" <greg.freemyer@gmail.com>
To: LVM general discussion and development <linux-lvm@redhat.com>
Subject: Re: [linux-lvm] "cloning" from ide to sata drive, can't find root
Date: Mon, 30 Oct 2006 17:45:05 -0500	[thread overview]
Message-ID: <87f94c370610301445i68084a91pe201dbaa6f24275d@mail.gmail.com> (raw)
In-Reply-To: <1162247811.45467e83cae80@webmail.highstream.net>

On 10/30/06, brianmas@highstream.net <brianmas@highstream.net> wrote:
> I did a straight up mirroring of a drive doing dd if=/dev/hda of=/dev/sda where
> the src is an ide drive and target a sata drive and not unexpectedly it can't
> find the root device on boot.
>
> Typing out the error message ...
>
> [snip]
> Reading all physical volumes this may take a while ...
> No volume groups found
> Unable to find Volume Group "VolGroup00"
> [snip]
>
> I used a rescue disc distro and used dd to extract info subtible for
> vgcfgrestore,
> after which I did some other finagaling with vgchange and I can mount the volume
> and view the data on it, so it's there, vgscan/pvscan and lvscan all show it ...
> but as mentioned boot it's just not picked up on boot so it can be mounted as
> '/'. I thought I fixed it with the vgcfgrestore (changing /dev/hda2 to
> /dev/sda2) but obviously not ... any guidance is appreciated.
>
> thank you,
> brian

Ignoring LVM issues, I believe I've done this in the past with
traditional partitions.  IIRC, all I did was add a root=/dev/sdaX
parameter on my grub boot command line, and then use that to boot
single-user mode and edit my /etc/fstab to reference the correct
device.

Not sure how LVM would change that.

FYI: I personally don't use LVM on my boot and root partitions.

Greg
-- 
Greg Freemyer
The Norcross Group
Forensics for the 21st Century

      reply	other threads:[~2006-10-30 22:45 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-10-30 22:36 [linux-lvm] "cloning" from ide to sata drive, can't find root brianmas
2006-10-30 22:45 ` Greg Freemyer [this message]

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=87f94c370610301445i68084a91pe201dbaa6f24275d@mail.gmail.com \
    --to=greg.freemyer@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).