My friend boots Linux from an external hard disk (500 GB). My question is he installs the operating system for one particular motherboard processor; the system may have additional stuff like a graphics card, etc, etc. What if he plugs this disk to another completely different machine and tries to boot. Will the OS load/boot?


It depends.

It might boot but run the hardware in some sort of standard mode - for example running the graphics card at a low resolution with no accelerated 3D graphics.

Or it might not boot at all.

For Windows XP it will probably detect the graphics card and other peripherals as new hardware and try to load new drivers, but might not boot for a new motherboard. It will mean that when you plug the hard drive back into your original machine it will try to load new drivers again.

For Linux I'm not so sure, but it might work more often than not.

  • 4
    As long as it is semi similar hardware there should be no problem. I switch harddrives between my different laptops quite often. main difference is the graphics and network interfaces on mine.. but since most linux distros come with VESA drivers, it will fall back to that and give you a decent, but not excellent UI
    – madmaze
    Dec 11 '10 at 23:02
  • Windows Vista and Windows 7 are fairly hardware invariant. Dec 11 '10 at 23:28

Linux installations are specific to a processor type. An amd64¹ installation will only work on an amd64 processor. An ix86 installation will only work on an i386 processor (but all amd64 processors are ix86-compatible). A powerpc installation will only work on a powerpc processor. And so on.

Beyond that, unless the installation has been tweaked in a way that's irrelevant to ~99% of Linux users, there's only one setting that might depend on the hardware: many systems need a specific video driver to take advantage of their graphics card. If the system on the drive is configured to use a driver for the wrong graphics card, or not to use a driver that the graphics card requires, the driver may be ignored, and the GUI may not appear (you'll just get a text mode login prompt).

¹ amd64 means “64-bit PC”. Intel makes such processors as well as AMD.

  • 1
    you don't use linux do you?
    – RolandiXor
    Dec 12 '10 at 2:27
  • @Roland I'm not much of a hardware person; what's wrong with this? Dec 14 '10 at 22:00
  • 1
    if the graphics driver has problems on most modern linux systems, it doesn't just go to text mode. It presents you with recovery options.
    – RolandiXor
    Dec 16 '10 at 1:43

It depends on the OS, and how it is setup.

For my portable Arch Linux installation I made sure to, in the boot loader, address the disk by UUID (instead of /dev/sdX) so it would always find the correct disk when trying to boot in a different machine with different numbers/arrangements of disks.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.