Re: Moving LVM partition from /dev/hda2 to /dev/sda2



-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On 20 Feb 2006 at 23:33, Paul Howarth wrote:

From: Paul Howarth <paul@xxxxxxxxxxxx>
To: For users of Fedora Core releases <fedora-list@xxxxxxxxxx>
Date sent: Mon, 20 Feb 2006 23:33:02 +0000
Subject: Re: Moving LVM partition from /dev/hda2 to /dev/sda2
Send reply to: For users of Fedora Core releases <fedora-list@xxxxxxxxxx>
<mailto:fedora-list-request@xxxxxxxxxx?subject=unsubscribe>
<mailto:fedora-list-request@xxxxxxxxxx?subject=subscribe>

On Sun, 2006-02-19 at 17:40 +1000, Michael D. Setzer II wrote:
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

I copied an IDE drive that is reporting bad blocks to a SATA drive.
When booting from the SATA drive, it doesn't see the LVM, but If I boot from
the FC 4 DVD, and run linux rescue, I can assess the drive, with no errors.
I'm thinking that something in the boot process is pointing to /dev/hda2,
instead of the /dev/sda2. I've looked at the lvm commands, but haven't found
the command that might be able to change this.

I could just rebuild this on the SATA drive, but also work on the G4L project
(Ghost for Linux), and could see others trying to upgrade systems to SATA
drives, and if it is possible, would like to add the instructions.

Does your SATA drive need some driver module to be loaded?
This might come from the ramdisk in rescue mode (and hence work), whilst
not being present in the ramdisk created at kernel install time for the
regular IDE drive (and hence not work). A possibility perhaps.


I can mount the other partitions from old drive. So, I don't think it needs any
special driver. I can mount /dev/sda1 to /boot2, which is the boot partition,
and I formated the extra space on the drive as /dev/sda3 as /data.

When I remove the old drive, and boot from the SATA drive it gets to the
grub menu, and seems to load the kernel, but then doesn't find the LVM
partition.

When I run lvm command after booting from the old drive, one of the
commands will list the duplicate volumes found, and also that the one is
using /dev/sda2 instead of /dev/hda2.

One comment I got said it might be using something other than hd0 for the
SATA drive, but it also might be that the LVM volumn has something in it
that links it to /dev/hda2.

Thanks for the info.


Paul.

--
fedora-list mailing list
fedora-list@xxxxxxxxxx
To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list



+----------------------------------------------------------+
Michael D. Setzer II - Computer Science Instructor
Guam Community College Computer Center
mailto:mikes@xxxxxxxxxxxxxxxx
mailto:msetzerii@xxxxxxxxx
http://www.guam.net/home/mikes
Guam - Where America's Day Begins
+----------------------------------------------------------+

http://setiathome.berkeley.edu
Number of Seti Units Returned: 19,471
Processing time: 32 years, 290 days, 12 hours, 58 minutes
(Total Hours: 287,489)


BOINC Seti@Home Total Credits 450570.865971


-----BEGIN PGP SIGNATURE-----
Version: PGP 6.5.8 -- QDPGP 2.61c
Comment: http://community.wow.net/grt/qdpgp.html

iQA/AwUBQ/n+eSzGQcr/2AKZEQLlYwCbBsZOMvREZ4mjCODsh4U9pddbxYMAnj0o
0vfskIgJtZgClnfknVAOGHdx
=T+La
-----END PGP SIGNATURE-----

--
fedora-list mailing list
fedora-list@xxxxxxxxxx
To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list



Relevant Pages

  • Re: Thanks aho! (Bad boot partition)
    ... my original install from a longer time ago. ... could not mount the lvm ... I had to label /dev/hda1 as boot in order to make this work. ... big exception is my laptop which has two hard drives, ...
    (alt.os.linux)
  • Re: USB memory keys -- the plot thickens
    ... it is NOT LVM aware, so can't work with LVM systems. ... I use USB thumb drives routinely between Windows XP and OS/2 and never have any problems using either FAT16 or FAT32 file systems. ... Once the drive has a good partition table (one written either by DFSee or LVM) and has been blessed by LVM, there's no problem formatting and using it on a W$ machine, as you have noted. ...
    (comp.os.os2.bugs)
  • Re: USB memory keys -- the plot thickens
    ... it is NOT LVM aware, so can't work with LVM systems. ... I use USB thumb drives routinely between Windows XP and OS/2 and never have any problems using either FAT16 or FAT32 file systems. ... Once the drive has a good partition table (one written either by DFSee or LVM) and has been blessed by LVM, there's no problem formatting and using it on a W$ machine, as you have noted. ...
    (comp.os.os2.bugs)
  • Re: Access Old Home Directory - USB enclosure - LVM
    ... From an earlier posting someone suggested to run the following commands to activate and later deactivate LVM volumes in rescue mode. ... Booted machine in rescue mode, using my install DVD, with the external USB drive containing my other FC4 system plugged in. ... It is looking more and more like I'll need to take out my 400 Gb drive and substitute my 60 Gb drive/120 Gb drive, and boot into that system, all to recover a little more data. ... After the kernel starts to search for drives, no drives are found because of the chicken or egg syndrome. ...
    (Fedora)
  • Re: Access Old Home Directory - USB enclosure - LVM
    ... From an earlier posting someone suggested to run the following commands to activate and later deactivate LVM volumes in rescue mode. ... I used these commands on an external USB drive to get at data from a previous installation and it worked. ... Booted machine in rescue mode, using my install DVD, with the external USB drive containing my other FC4 system plugged in. ... I thought I had one system installed on each of two different drives. ...
    (Fedora)