Can I install Linux onto a server SSD using another computer?
Asked by
quilt block 9
I'm converting an old PC into a home server and want to install Linux on its SSD. Can I remove the SSD, connect it to my current computer with SATA, and install the operating system onto it there before putting it back in the old machine? I'd prefer not to buy a USB flash drive just for the installer if there's a practical alternative.
Answers
A virtual machine can also do this: attach the installer ISO, pass the physical SSD through to the VM, and install directly to it. That avoids buying a USB drive, but it requires more care because choosing the wrong physical disk could destroy data. Network boot is another option, though itโs considerably more complicated than using inexpensive installation media.
Reply to this answer
Yes, this can work. Boot an installer on your current computer and select the separately connected SSD as the installation target. Just be extremely careful to identify the correct drive, since the installer could erase your current system disk. Youโll still need some installation media, such as a USB drive, another disk, or a virtual machine with the ISO attached.
Reply to this answer
If the target machine boots in UEFI mode, the EFI boot entry may be created in the computer you used for installation rather than on the target machine. If it doesnโt boot after moving the drive, use the firmwareโs โBoot from fileโ or boot-entry option, or reinstall the bootloader to the SSDโs EFI System Partition. Installing in legacy BIOS mode is generally less dependent on firmware entries.
Reply to this answer
A USB flash drive is usually the simplest and safest solution. You need something to hold the installer regardless, and a small drive can be kept inside the server case afterward so it doesnโt get lost. It also lets you install directly on the old machine and avoids hardware, bootloader, and network-configuration surprises.
Reply to this answer
The installed system may not be completely portable between computers. Most Linux installations handle different hardware fairly well, but network configuration, boot settings, or a system such as Proxmox may be tied to the computer used during setup. Itโs safest to copy or install the files on the other PC, then complete the configuration after moving the SSD into the server.
Reply to this answer
Add your answer
Answers are reviewed before publication.
Related Discussions