Linux - SoftwareThis forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.
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.
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.
Going to continue to be as well. Because IDE drives are /dev/hdxx (/dev/hda1, 2, etc.), and SATA is /dev/sdxx (/dev/sda1, etc.). When the system attempts to boot, everything is referencing device(s) that no longer exist.
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.
No, you should NOT. Again, as said, you should do a FRESH INSTALL. Making the initial image isn't going to change...the image that you make is going to have a gazillion references to a hard drive/partition, that DOES NOT EXIST any longer. It probably won't work, and it won't be easy to MAKE it work even *IF* it's possible.
Again:
Do a fresh install to your SATA drive
Copy data from backup/old-drive to your new installation
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?
No, you are not. While I can appreciate your inexperience with things, what you're doing is only going to cause you MANY more problems in the future. You say the "FTP Server software no longer available". What software is this? For what version/distro of Linux?? Face the facts: at some point in the future, you WILL NOT be able to buy a new IDE drive, your old hardware *WILL* die, and if your current FTP software is already dead/unsupported, why are you still using it? You are going to be FORCED to upgrade at some point, so all the work you're putting in to keeping old junk alive is doing nothing to help you, your company, or your situation in the long run.
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.
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.
Since you STILL haven't said what the name of this system is, what kind of Linux it's running, on what kind of hardware, with what kind of interface (in short, ZERO details), how do you think we'll be able to suggest anything??? And the FTP server isn't 'transmitting' them to the users...but putting the files into the users directories, so the users can pull them down. FTP isn't a push client.
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.
Last edited by dave@burn-it.co.uk; 01-29-2018 at 09:57 AM.
All appeared to work well but the SATA drive won't boot properly. It looks like it gets halfway but then stops.
Explain - in detail. With messages and/or screenshots/photos.
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).
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.