Can I install Linux onto a server SSD using another computer?
Asked by
MellowCedar42
I'm repurposing an older PC as a home server and need to install Linux on its SSD. Can I connect that SSD to my current computer with a SATA cable, boot an installer there, and install Linux directly onto the drive before moving it back to the old PC? I'd prefer not to buy a USB flash drive for a one-time use if there's a reliable alternative.
Answers
You still need something containing the installer itself. That could be a USB drive, another disk, a DVD, or even a virtual machine with the installer image passed through to the physical SSD. A small USB drive is usually the simplest and cheapest option, and you can keep it inside the server case afterward so it doesnโt get misplaced.
Reply to this answer
The installed system may not be perfectly portable between machines. Make sure both computers use the same boot mode, preferably UEFI, and be aware that network configuration can change when the drive is moved. Server-focused systems that configure networking during installation may retain the old computerโs interface name or settings, so you might need to fix the network configuration on the target machine.
Reply to this answer
Yes, this can work. Connect the target SSD to your working computer, boot the Linux installer from some installation media, and select the SSD as the install destination. This is especially useful when the server has no graphics output or you canโt easily connect a monitor. Just be extremely careful to choose the correct drive, since the installer can erase it completely.
Reply to this answer
If the SSD doesnโt boot after being moved, check the firmware boot settings and confirm that the system is using the same BIOS or UEFI mode used during installation. With UEFI, the boot entry may not be registered on the old computer. You may need to select the EFI boot file manually or reinstall the bootloader onto the SSDโs EFI system partition.
Reply to this answer
Add your answer
Answers are reviewed before publication.
Related Discussions