Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.debian.user > #245251 > unrolled thread

Plop in Debian install HDD into entirely new system

Started byThomas Anderson <thomas.anderson@little-beak.com>
First post2022-02-11 21:50 +0100
Last post2022-02-12 01:40 +0100
Articles 6 — 5 participants

Back to article view | Back to linux.debian.user


Contents

  Plop in Debian install HDD into entirely new system Thomas Anderson <thomas.anderson@little-beak.com> - 2022-02-11 21:50 +0100
    Re: Plop in Debian install HDD into entirely new system Christian Britz <cbritz@t-online.de> - 2022-02-11 22:00 +0100
    Re: Plop in Debian install HDD into entirely new system Dan Ritter <dsr@randomstring.org> - 2022-02-11 22:10 +0100
      Re: Plop in Debian install HDD into entirely new system Felix Miata <mrmazda@earthlink.net> - 2022-02-11 23:30 +0100
    Re: Plop in Debian install HDD into entirely new system David Christensen <dpchrist@holgerdanske.com> - 2022-02-12 01:30 +0100
      Re: Plop in Debian install HDD into entirely new system David Christensen <dpchrist@holgerdanske.com> - 2022-02-12 01:40 +0100

#245251 — Plop in Debian install HDD into entirely new system

FromThomas Anderson <thomas.anderson@little-beak.com>
Date2022-02-11 21:50 +0100
SubjectPlop in Debian install HDD into entirely new system
Message-ID<DPL1D-19sM-3@gated-at.bofh.it>
Hello friends,

I was curious what would happen if I threw my server HDD, into an 
entirely new system:

different motherboard, different CPU (Intel instead of AMD), Ram, video 
card, everything.

I would like to upgrade my system, and ideal case, this would simply 
work. I think I have done

it in the past, but with less variables. I have never done it with 
EVERYTHING outside of the hard drive

being different.


Thanks.

[toc] | [next] | [standalone]


#245252

FromChristian Britz <cbritz@t-online.de>
Date2022-02-11 22:00 +0100
Message-ID<DPLbj-19vY-3@gated-at.bofh.it>
In reply to#245251

On 2022-02-11 21:34 UTC+0100, Thomas Anderson wrote:
> I was curious what would happen if I threw my server HDD, into an 
> entirely new system:
I would guess it would work, with some minor adjustmenst being
necessary. Typically, all needed kernel modules for hardware support are
available and Debian is much less hard-wired to the hardware which it
runs on than, for example, MS Windows.

-- 
http://www.cb-fraggle.de

[toc] | [prev] | [next] | [standalone]


#245254

FromDan Ritter <dsr@randomstring.org>
Date2022-02-11 22:10 +0100
Message-ID<DPLkZ-19Pl-13@gated-at.bofh.it>
In reply to#245251
Thomas Anderson wrote: 
> I was curious what would happen if I threw my server HDD, into an entirely
> new system:
> 
> different motherboard, different CPU (Intel instead of AMD), Ram, video
> card, everything.
> 
> I would like to upgrade my system, and ideal case, this would simply work. I
> think I have done
> 
> it in the past, but with less variables. I have never done it with
> EVERYTHING outside of the hard drive
> 
> being different.

This will usually mostly work. Things to think about:

- you'll need to install different microcode
- you'll need to install different video drivers
- you may need to adjust settings on virtual machines that you
  are running, if you have any and you set them to copy the host
  cpu
- disk names may change
- network interface names may change, and you may need different
  firmware for the NICs

All of these things can be fixed; in the cases of the drivers
and firmware, you can pre-install them before doing the
transfer.

-dsr-

[toc] | [prev] | [next] | [standalone]


#245259

FromFelix Miata <mrmazda@earthlink.net>
Date2022-02-11 23:30 +0100
Message-ID<DPMAp-1auA-3@gated-at.bofh.it>
In reply to#245254
Dan Ritter composed on 2022-02-11 15:52 (UTC-0500):

> Thomas Anderson wrote: 

>> I was curious what would happen if I threw my server HDD, into an entirely
>> new system:
>>... intel ...

> This will usually mostly work. Things to think about:
... > - you'll need to install different video drivers
...
Unless you've installed proprietary drivers, this is highly unlikely. The kernel
selects the only appropriate hardware module (driver), which is provided with each
individual kernel, automatically. The X systems are highly competent at selecting
an appropriate display driver for Intel IGPs. There are only two that matter, one
of which (intel) hasn't had an official release in going on a decade and is
unofficially deprecated, the other, which is the default, being of younger
technology and applicable to AMD, Intel and NVidia GPUs, as well as others.

> - disk names may change

But not UUIDs, so it shouldn't matter, but could.

Plopping a disk from one PC into another is pretty routine here, not a big deal in
most cases, but could be if you've set MODULES=dep instead of MODULES=most in
/etc/initramfs-tools/initramfs.conf. Traditionally it's been necessary to restore
most and rebuild initrd before the switch when going between AMD and Intel. I
haven't tested in a while whether that's still true. IMO, NIC poses the biggest
potential nuisance, if your new hardware is too new. If network works, other
things are usually easily fixed, if they even broke.

A quite new potential obstacle is newer Intel motherboard chipsets do not enable
the UEFI BIOS to provide a CSM boot option. The B560 chipset in my Rocket Lake
LGA1200 does not. According to Asus, all 500 series Intel chipsets are this way.
If you put your disk with an MBR configuration in and it isn't recognized as
bootable, this could be the reason, and a pain to correct.
-- 
Evolution as taught in public schools is, like religion,
	based on faith, not based on science.

 Team OS/2 ** Reg. Linux User #211409 ** a11y rocks!

Felix Miata

[toc] | [prev] | [next] | [standalone]


#245264

FromDavid Christensen <dpchrist@holgerdanske.com>
Date2022-02-12 01:30 +0100
Message-ID<DPOsx-1bDT-17@gated-at.bofh.it>
In reply to#245251
On 2/11/22 12:34, Thomas Anderson wrote:
> Hello friends,
> 
> I was curious what would happen if I threw my server HDD, into an 
> entirely new system:
> 
> different motherboard, different CPU (Intel instead of AMD), Ram, video 
> card, everything.
> 
> I would like to upgrade my system, and ideal case, this would simply 
> work. I think I have done
> 
> it in the past, but with less variables. I have never done it with 
> EVERYTHING outside of the hard drive
> 
> being different.
> 
> 
> Thanks.


If both machines are the same architecture (e.g. x64_64/amd64), both use 
the same style firmware (e.g. BIOS or UEFI), and both are configured to 
boot from the same partitioning scheme (e.g. MBR or GPT), the system 
instance should boot and you should be able to log in from the console. 
  As other readers have noted, you may need to install/ configure/ 
reconfigure networking, graphics, sound, and/or other drivers; and 
hypervisor optimizations may be different (if you are running virtual 
machines).


David

[toc] | [prev] | [next] | [standalone]


#245266

FromDavid Christensen <dpchrist@holgerdanske.com>
Date2022-02-12 01:40 +0100
Message-ID<DPOCd-1bGY-5@gated-at.bofh.it>
In reply to#245264
On 2/11/22 16:28, David Christensen wrote:
> On 2/11/22 12:34, Thomas Anderson wrote:
>> Hello friends,
>>
>> I was curious what would happen if I threw my server HDD, into an 
>> entirely new system:
>>
>> different motherboard, different CPU (Intel instead of AMD), Ram, 
>> video card, everything.
>>
>> I would like to upgrade my system, and ideal case, this would simply 
>> work. I think I have done
>>
>> it in the past, but with less variables. I have never done it with 
>> EVERYTHING outside of the hard drive
>>
>> being different.
>>
>>
>> Thanks.
> 
> 
> If both machines are the same architecture (e.g. x64_64/amd64), 


Correction x86_64/amd64.


> both use 
> the same style firmware (e.g. BIOS or UEFI), and both are configured to 
> boot from the same partitioning scheme (e.g. MBR or GPT), the system 
> instance should boot and you should be able to log in from the console. 
>   As other readers have noted, you may need to install/ configure/ 
> reconfigure networking, graphics, sound, and/or other drivers; and 
> hypervisor optimizations may be different (if you are running virtual 
> machines).
> 
> 
> David
> 
> 

[toc] | [prev] | [standalone]


Back to top | Article view | linux.debian.user


csiph-web