[CentOS] Re: How to upgrade hard drive in a single drive (with LVM2) computer

Tue Jan 3 22:05:11 UTC 2006
Bryan J. Smith <thebs413 at earthlink.net>

"Barry L. Kline" <blkline at attglobal.net> wrote:
> Hi Bryan.
> I gave that a shot, but I get the error:
> /dev/mapper/vg1-sysroot does not have any corresponding
> BIOS drive.

Okay, now we're getting somewhere.

First off, you did chroot, correct?

Secondly, how was /dev/mapper/vg0-sysroot setup on the old
system?

Is the rescue mode creating a /dev/mapper/(whatever)?

In a nutshell, GRUB must understand how to load the root at
boot.  It would really help if you'd post your old _and_ new
/boot/grub/grub.conf and /boot/grub/device.map files as well
as _detail_ your _exact_ disk arrangements.

> Let me ask this:  If you were going to upgrade drives from
> one to another, would you do what I did or is there another
> procedure that you would use?

You used the correct procedure AFAICT, but you're having some
boot-time issues in mapping the BIOS fixed disk to the Linux
device.



-- 
Bryan J. Smith     Professional, Technical Annoyance                      b.j.smith at ieee.org      http://thebs413.blogspot.com
----------------------------------------------------
*** Speed doesn't kill, difference in speed does ***