MBT -> GPT to reuse existing installation

  • emcPT
  • emcPT's Avatar Topic Author
  • Offline
  • Platinum Member
  • Platinum Member
More
10 Mar 2025 10:13 #323596 by emcPT
Good morning.
I had a working system using a old linuxcnc version (+- 5 years old). It was running fine, but the motherboard needs to be replaced.
I was unable to boot the same SSD on the new motherboard, so I suppose that from what I have read that the issue is more likely because the current installation was done on the old MBR.
The new candidate motherboard only has UEFI so for what I have read, I must convert the current disk to use GPT.

I have read some online information, and there are many steps involved on the conversion. Should I try to start from a new installation or still the conversion would be less trouble. What is your opinion?

Please Log in or Create an account to join the conversation.

  • tommylight
  • tommylight's Avatar
  • Away
  • Moderator
  • Moderator
More
10 Mar 2025 10:48 #323599 by tommylight
Replied by tommylight on topic MBT -> GPT to reuse existing installation
Disable "secure boot" in BIOS.
Also enable "legacy" or CSM or both.
-
Changing from MBT (should be MBR or Master Boot Record) to GPT will destroy any info on the drive, so to do that would require cloning the partition (not the drive) to another drive, switching partitioning and then cloning back that partition. Either way you look at it, very dangerous and not much chances of working properly.
And more importantly, that is not the reason for failing to boot.

Please Log in or Create an account to join the conversation.

  • emcPT
  • emcPT's Avatar Topic Author
  • Offline
  • Platinum Member
  • Platinum Member
More
10 Mar 2025 10:59 #323600 by emcPT
Replied by emcPT on topic MBT -> GPT to reuse existing installation
Thank you for the reply.
I did what you suggested, before my post, and the motherboard does not recognize the SSD. Strangely it displays a very fast message that I was able to see:

There is no vBIOS support detected in this card.
'BIOS CSM/UEFI Mode' settings in BIOS will be changed to 'UEFI'

and automatically it moves to the BIOS screen, and the previous changed settings are converted to UEFI again.
Note that I do not have a separated graphics card.

Please Log in or Create an account to join the conversation.

  • tommylight
  • tommylight's Avatar
  • Away
  • Moderator
  • Moderator
More
10 Mar 2025 11:46 - 10 Mar 2025 11:47 #323602 by tommylight
Replied by tommylight on topic MBT -> GPT to reuse existing installation
Press F11 or F12 or on some PC's F8 after power on, see if you can select that SSD to boot from and also notice if there is more than one entry for it, usually the name of the SSD as one entry and another with UEFI SDD, try both.
-
Edit:
Is it an ACER?
those require setting a BIOS password to be able to disable secure boot.
Last edit: 10 Mar 2025 11:47 by tommylight. Reason: more info

Please Log in or Create an account to join the conversation.

  • emcPT
  • emcPT's Avatar Topic Author
  • Offline
  • Platinum Member
  • Platinum Member
More
10 Mar 2025 14:10 #323606 by emcPT
Replied by emcPT on topic MBT -> GPT to reuse existing installation
The issue is that the disk is not listed there.
Motherboard is MSI. I will try something else later today, but does not look promising.

Please Log in or Create an account to join the conversation.

More
10 Mar 2025 19:40 #323625 by rodw
Use a new SSD.
Bookworm is pretty good with UEFI but I think I would try installing Trixie to get any later enhancements now there is a beta ISO release
You should be able to install Linuxcnc with:
sudo apt install linuxcnc-uspace linuxcnc-uspace-dev mesaflash
The dev package installs halcompile etc
 

Please Log in or Create an account to join the conversation.

  • emcPT
  • emcPT's Avatar Topic Author
  • Offline
  • Platinum Member
  • Platinum Member
More
11 Mar 2025 09:17 #323664 by emcPT
Replied by emcPT on topic MBT -> GPT to reuse existing installation
Probably I will start with a new installation. Downloading Trixie now.
I think I will need help in "moving" the old configuration to the new one. I will post when help is required. Thank you

Please Log in or Create an account to join the conversation.

  • emcPT
  • emcPT's Avatar Topic Author
  • Offline
  • Platinum Member
  • Platinum Member
More
11 Mar 2025 12:26 #323673 by emcPT
Replied by emcPT on topic MBT -> GPT to reuse existing installation
I did some research about the uspace and the general information is: uspace is not intended to control real machines, but used for simulation.

This is still true? Because if it is, I cannot use it as the intention is to really control the machine that was previously working.
Thank you

Please Log in or Create an account to join the conversation.

More
11 Mar 2025 16:53 #323690 by PCW
"uspace" in this context means using a Preempt-RT kernel.
(rather than RTAI or some other real time kernel)

Please Log in or Create an account to join the conversation.

More
11 Mar 2025 20:30 #323704 by rodw

I did some research about the uspace and the general information is: uspace is not intended to control real machines, but used for simulation.

This is still true? Because if it is, I cannot use it as the intention is to really control the machine that was previously working.
Thank you

The Debian linuxcnc-uspace package includes the PREEMPT_RT kernel as a dependency so there should be no need to install anything else.
These new distros can be  a bit problematic. my notes here should solve any latency issues.
docs.google.com/document/d/1jeV_4VKzVmOI...diY/edit?usp=sharing

Please Log in or Create an account to join the conversation.

Time to create page: 0.082 seconds
Powered by Kunena Forum