1 |
On Mon, Nov 19, 2018 at 10:51 PM Andrew Lowe <agl@×××××××.au> wrote: |
2 |
> |
3 |
> Dear all, |
4 |
> In the past I had a non UEFI motherboard setup for my Gentoo |
5 |
machine. |
6 |
> The motherboard started failing so I took the opportunity to replace the |
7 |
> motherboard & CPU and also to buy a new SSD thingy to become the home of |
8 |
> my Gentoo install. |
9 |
> |
10 |
> I'm currently running, on a day to day basis, the older hard |
11 |
disk, on |
12 |
> the new motherboard, but want to speed up the process of getting the new |
13 |
> SSD set up so I can swap over. Rather than booting into the SSD, |
14 |
> starting an emerge, and walking away, in other words, making my machine |
15 |
> useless for any number of hours, am I correct that there is no problem, |
16 |
> vis a vis, old hard disk built on non UEFI machine Vs new SSD built on |
17 |
> UEFI machine, of chrooting[1] from the old environment into new |
18 |
> environment and doing the building whilst I"m doing something productive |
19 |
> within the old environment? |
20 |
> |
21 |
> I just have this little niggling doubt, probably baseless, in the |
22 |
back |
23 |
> of my mind that there maybe something that may cause a problem for the |
24 |
> newly built stuff due to it not being natively booted in UEFI or |
25 |
> something like that when it was built. |
26 |
> |
27 |
> Anyone built their new machines like this who can allay my, |
28 |
probably |
29 |
> baseless, fears? |
30 |
|
31 |
I've done this exact same scenario two or three times by now. However, I |
32 |
don't recompile anything, I just rsync the old drive into the new one, and |
33 |
then I chroot (or, more often, I systemd-nspawn) into it and update the old |
34 |
configuration where necesary. Unless you change from Intel to AMD it should |
35 |
be fine (and even then it could be fine, depending on your CFLAGS). |
36 |
|
37 |
Also, have a live USB around to boot into it for emergencies. |
38 |
|
39 |
Regards. |
40 |
-- |
41 |
Dr. Canek Peláez Valdés |
42 |
Profesor de Carrera Asociado C |
43 |
Departamento de Matemáticas |
44 |
Facultad de Ciencias |
45 |
Universidad Nacional Autónoma de México |