Migrating from IDE to SATA - drive fails to boot
I've recently cloned the contents of an old IDE drive onto a new SATA drive.
All appeared to work well but the SATA drive won't boot properly. It looks like it gets halfway but then stops. Is there something I should've done during the clone to rectify this? THANKS |
Can you tell us HOW, exactly, you cloned your IDE drive to your SATA?
|
sudo dd if=/dev/sdb of=/dev/sdc bs=1M conv=noerror
|
Check your /etc/fstab to see if it was using a UUID on the old disk.
|
I managed to clone the IDE drive to another IDE drive and that worked ok. It's just the IDE to SATA where there's a problem.
|
Quote:
Make it easy on yourself. Since you've got two hard drives now, do a fresh install to the SATA drive, get a cheap USB enclosure for your first IDE drive, and copy your data off after your system is built. |
So instead should I use..
sudo dd if=/dev/hdxx of=/dev/sdxx bs=1M conv=noerror (I'm not very familiar with all this, sorry) |
Quote:
Again:
|
I can't do any fresh installs. The IDE drive is running FTP server software no longer available. Hence why I'm cloning the drive in the first place.
So am I better off keeping the IDE drives and giving up on the SATA idea? |
Quote:
Provide details about what your actual goal(s) are; hardware, software, etc. What does this server DO? There are many FTP server programs for Linux, so if you're just concerned with FTP services, you have ample room to migrate. |
The software is run by a company that has discontinued support for their hardware FTP server device. The system allows us to send files to multiple recipients at the same time. Both internally and externally.
EG; We want to send a collection of photos to 20 recipients. We drag and drop the photos onto a 'group' of recipients. The FTP server then transmits those photos to all the recipients in one go without having to drag and drop 20 times. This can be achieved externally too. The cost to replace this costs thousands of pounds. Money we don't have. I've researched a replacement system many times but have always drawn a blank. If you know of a similar system, please let me know. |
Quote:
FTP is horribly insecure, and has largely been replaced with SFTP/SCP. And you say "drag and drop"...from what kind of client, using what software? And if the VENDOR has stopped support, you are in the same boat as before; you are now just WAITING for your hardware to die. You don't have "thousands of pounds" now...but I'm sure you'll come up with those same funds in the future when the thing finally dies, right? Because you will then HAVE TO. Change your software and hardware to something current. A standard desktop PC with Linux will have MORE than enough horsepower to run an FTP server. If you approach a problem with the "it's always been this way and always HAS TO BE this way", you are setting yourself up for failure. CrossFTP will give you commercial support for $50 per server. |
There is a parameter/bootlib override that you need to supply when booting to SATA if the SATA drive was not used originally to build the system. It is all to do with the switch to the optimised drivers part way through the boot process and where to find said drivers.
It was a common problem when SATA drives first came out. |
Quote:
I originally thought this should be do-able, but the more I thought about it the more problems I see (never having tried it). I had expected this to work with maybe some tweaks to grub parameters and fstab. But then there is the initrd support for SCSI - almost sure to be missing. That would have to be rectified prior to taking the clone. Very distro dependent. And I guess it's grub classic. Dave, do you have any more detail on that parameter ? (curiosity only). |
It was an awful long time ago when XP was around and mostly applied to Windows, but It was about changing the BIOS to AHCI mode and selecting the correct drive to boot from. There were several ways to do it with Windows and I suspect you need to check whether any other executables have seperate drivers for IDE and SATA (doubtful nowadays).
|
All times are GMT -5. The time now is 02:11 PM. |