How to Clone IDE to SATA
Hi All
I am trying to make mirror copy of hard drive, The RedHat 4.0 is installed on IDE hard drive. the partitions are /dev/hda1 mounted as boot, /dev/hda2 mounted as /, /dev/hda3 mounted ad swap lsmod command was not showing ata_piix loaded, so I compiled the kernel for SATA support then I ran the lsmod command and found that lsmod is showing ata_piix loaded the output of lsmod ata_piix 17609 6 libata 96857 ata_piix also I added alias in modprobe.conf file alias scsi_hostadapter ata_piix For mirroring I took SATA drive and created exact partition as IDE, and then copy the / data except /boot, /proc directories through rsync rsync -av / --exclude=/boot --exclude=/proc --exclude=/mnt /mnt/sata then I transferd the Image of boot partition on /dev/sda1 through dd command. and followed the following steps 1) changed the FSTAB file, removed /dev/hda1 and replaced /dev/sda1 2) edited grub.conf and changed root=/dev/sda3 3) reinstalled grub on /dev/sda and tried to boot the machine from SATA hard drive, I get error when RedHat is Loading mount error 6 and mount error 22 kernel is not syncing Could some one please help how to I transfer Image from IDE to SATA Regards Sanjay How do I move a linux installed from a IDE hard drive to a SATA one I have tried it with ghost and it fails big time. Is there any way to prepare linux to move IDE to a sata drive I got error kernel not syncing mount error 22 and 06 The df -h shows /dev/hda1 mounted ad Regards Nilesh -- redhat-list mailing list unsubscribe mailto:redhat-list-request@redhat.com?subject=unsubscribe https://www.redhat.com/mailman/listinfo/redhat-list |
How to Clone IDE to SATA
Hi All
I am trying to make mirror copy of hard drive, The RedHat 4.0 is installed on IDE hard drive. the partitions are /dev/hda1 mounted as boot, /dev/hda2 mounted as /, /dev/hda3 mounted ad swap lsmod command was not showing ata_piix loaded, so I compiled the kernel for SATA support then I ran the lsmod command and found that lsmod is showing ata_piix loaded the output of lsmod ata_piix 17609 6 libata 96857 ata_piix also I added alias in modprobe.conf file alias scsi_hostadapter ata_piix For mirroring I took SATA drive and created exact partition as IDE, and then copy the / data except /boot, /proc directories through rsync rsync -av / --exclude=/boot --exclude=/proc --exclude=/mnt /mnt/sata then I transferd the Image of boot partition on /dev/sda1 through dd command. and followed the following steps 1) changed the FSTAB file, removed /dev/hda1 and replaced /dev/sda1 2) edited grub.conf and changed root=/dev/sda3 3) reinstalled grub on /dev/sda and tried to boot the machine from SATA hard drive, I get error when RedHat is Loading mount error 6 and mount error 22 kernel is not syncing Could some one please help how to I transfer Image from IDE to SATA Regards Sanjay -- redhat-list mailing list unsubscribe mailto:redhat-list-request@redhat.com?subject=unsubscribe https://www.redhat.com/mailman/listinfo/redhat-list |
How to Clone IDE to SATA
maybe you can try ghost
2009/1/19 sanjay dass <sanjays.dass117@gmail.com> > Hi All > > > I am trying to make mirror copy of hard drive, The RedHat 4.0 is > installed on IDE hard drive. > the partitions are /dev/hda1 mounted as boot, > /dev/hda2 mounted as /, /dev/hda3 mounted ad swap > > > lsmod command was not showing ata_piix loaded, so I compiled the > kernel for SATA support then I ran the lsmod command and found that > lsmod is showing ata_piix loaded > > the output of lsmod > > ata_piix 17609 6 > > libata 96857 ata_piix > > also I added alias in modprobe.conf file > alias scsi_hostadapter ata_piix > > For mirroring I took SATA drive and created exact partition as IDE, > and then copy the / data except /boot, /proc directories through rsync > > rsync -av / --exclude=/boot --exclude=/proc --exclude=/mnt /mnt/sata > > then I transferd the Image of boot partition on /dev/sda1 through dd > command. > > and followed the following steps > 1) changed the FSTAB file, removed /dev/hda1 and replaced /dev/sda1 > > 2) edited grub.conf and changed root=/dev/sda3 > 3) reinstalled grub on /dev/sda > > and tried to boot the machine from SATA hard drive, I get error when > RedHat is Loading > > mount error 6 and mount error 22 > > kernel is not syncing > > Could some one please help how to I transfer Image from IDE to SATA > > Regards > Sanjay > -- > redhat-list mailing list > unsubscribe mailto:redhat-list-request@redhat.com?subject=unsubscribe > https://www.redhat.com/mailman/listinfo/redhat-list > -- redhat-list mailing list unsubscribe mailto:redhat-list-request@redhat.com?subject=unsubscribe https://www.redhat.com/mailman/listinfo/redhat-list |
How to Clone IDE to SATA
Yes I have tried Clonezilla, it also fails with same error
On Mon, Jan 19, 2009 at 2:08 PM, bedo <bedo.wang@gmail.com> wrote: > maybe you can try ghost > > 2009/1/19 sanjay dass <sanjays.dass117@gmail.com> > > > Hi All > > > > > > I am trying to make mirror copy of hard drive, The RedHat 4.0 is > > installed on IDE hard drive. > > the partitions are /dev/hda1 mounted as boot, > > /dev/hda2 mounted as /, /dev/hda3 mounted ad swap > > > > > > lsmod command was not showing ata_piix loaded, so I compiled the > > kernel for SATA support then I ran the lsmod command and found that > > lsmod is showing ata_piix loaded > > > > the output of lsmod > > > > ata_piix 17609 6 > > > > libata 96857 ata_piix > > > > also I added alias in modprobe.conf file > > alias scsi_hostadapter ata_piix > > > > For mirroring I took SATA drive and created exact partition as IDE, > > and then copy the / data except /boot, /proc directories through rsync > > > > rsync -av / --exclude=/boot --exclude=/proc --exclude=/mnt /mnt/sata > > > > then I transferd the Image of boot partition on /dev/sda1 through dd > > command. > > > > and followed the following steps > > 1) changed the FSTAB file, removed /dev/hda1 and replaced /dev/sda1 > > > > 2) edited grub.conf and changed root=/dev/sda3 > > 3) reinstalled grub on /dev/sda > > > > and tried to boot the machine from SATA hard drive, I get error when > > RedHat is Loading > > > > mount error 6 and mount error 22 > > > > kernel is not syncing > > > > Could some one please help how to I transfer Image from IDE to SATA > > > > Regards > > Sanjay > > -- > > redhat-list mailing list > > unsubscribe mailto:redhat-list-request@redhat.com?subject=unsubscribe > > https://www.redhat.com/mailman/listinfo/redhat-list > > > -- > redhat-list mailing list > unsubscribe mailto:redhat-list-request@redhat.com?subject=unsubscribe > https://www.redhat.com/mailman/listinfo/redhat-list > -- redhat-list mailing list unsubscribe mailto:redhat-list-request@redhat.com?subject=unsubscribe https://www.redhat.com/mailman/listinfo/redhat-list |
How to Clone IDE to SATA
On Mon, 19 Jan 2009, sanjay dass wrote:
Hi All I am trying to make mirror copy of hard drive, The RedHat 4.0 is installed on IDE hard drive. 1. Boot from any LiveCD that has SATA support. 2. mkdir /old /new 3. Mount old drive in /old .. creating /old/boot /old/usr etc where needed and mount the "old" filesystems into these directories 4. Partition the new drive however you like. Create whatever filesystems you like. Mount them as above, but in /new .. so mount your new root filesystem in /new .. your new /boot in /new/boot ... etc. 5. cd into /old and type (without quotes) "tar cf - * | ( cd /new; tar xfp -)" 6. ls -la /old .. if there are any files that begin with a "." .. copy them to /new with cp. 7. chroot /new 8. modify your /etc/modprobe.conf to accomodate your new module for your SATA drive. 9. Make a new initrd (keep a copy the old one) if you needed to add anything related to your new module. 10. Update your grub config (including device map) to use the new initrd and to accomodate for any drive changes (i.e. /dev/hda becomes /dev/sda, etc). 11. Install grub on the new device. 12. Make any necessary changes to other files .. /etc/fstab etc. 13. Exit the chroot, umount /old /new 14. Reboot, removing LiveCD. Hope this helps. Barry -- redhat-list mailing list unsubscribe mailto:redhat-list-request@redhat.com?subject=unsubscribe https://www.redhat.com/mailman/listinfo/redhat-list |
| All times are GMT. The time now is 02:53 PM. |
VBulletin, Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.