FC5 to FC6 and hard drive upgrade at the same time - problem getting old data
Linux - HardwareThis forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
FC5 to FC6 and hard drive upgrade at the same time - problem getting old data
I run a linux box to host the my documents files for a couple of windows computers at home. I was running FC5 with kernel 2.6.20-1.2316.fc5 and a Maxtor 60GB hard drive. It was pretty much filled to the gills so I got a Seagate 250GB to replace it and I thought I would upgrade to FC6 while I was at it. I installed FC6 on the Seagate(new) drive and put the Maxtor(old) in a USB enclosure and thought it would be easy to just mount the USB drive and copy stuff off of it. It didn't quite work that way. So put the Maxtor back in the computer and still can't get it to mount the partition with all of the data on it. it will mount the boot partition just fine, but can't determine the filesystem of the hdb2 partition. Anyway, what do I do to get my data off of the old drive? Thanks in advance! Oh yeah - I'm still kindof a newbie when it comes to linux.
That's what I tried initially. I should have known something was wrong because I thought it would be that easy. I get this error: "wrong fs type, bad option, bad superblock on /dev/sdb2, missing codepage or other error."
when I do fdisk -l, under system it says "Linux LVM".
it shows up in the LVM manager as uninitialized, but when I make that maxtor drive the primary drive, it boots off of it and all of my stuff is there.
I would strong suggest getting rid of LVM before you go to far. It is great until something goes wrong, then you are going to be in for a ride. If the first drive had been formated ext3 (standard non lvm) you could have mounted it in the usb enclosure. I know it is a PITA but I would reinstall FC6 without LVM and then copy your stuff over. If you do not, when you get a couple of years down the line, you will be stuck in the same situation again.
I am in an identical situation - upgraded from fc3 to fc6. Simon, you mention that the logical volume will need to be mounted. How should I understand that:
- there is some tool that will let me do that from the new filesystem - btw, Logical Volume Management only offered to delete all data on the other disk, nty
- I need to boot from the old drive and transfer all I need to a partition that is not under a LVM
I have created a thread displaying my ignorance in the hope of collecting a more definitive method for handling these migrations: http://www.linuxquestions.org/questi...29#post2826029
... I think there may be a reoccurring issue in the making here. I wonder that there are not some higher-level tools for dealing with this.
BTW: did you have any trouble with your VG's having the same name?
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.