Hello all,
I know this is not a TDE problem, but as some here know much more than I do:
I am trying to clone a 256GB SSD to a 512Gb one. I did clone the disk, but O can't bott directly (I get a grub prompt).
So I boot to my system fom a USB install thumbdrive, and try to reintsall grub. This is (I think) a grub-efi system (it has a win11 partition that I unfortunately have to keep and is GPT formatted).
The error message I get is: grub-install error: cannot copy '/usr/share/locale/fr.gmo' to '/boot/grub/locale/fr.mo': Is a directory
And all my searches return nothing about this error message.
When I have time (this summer), I can do a complete reinstall but maybe someone here understands more about it and can give a clue?
Thierry
Thierry de Coulon via tde-users composed on 2025-05-02 17:02 (UTC+0200):
I know this is not a TDE problem, but as some here know much more than I do:
I am trying to clone a 256GB SSD to a 512Gb one. I did clone the disk, but O can't bott directly (I get a grub prompt).
So I boot to my system fom a USB install thumbdrive, and try to reintsall grub. This is (I think) a grub-efi system (it has a win11 partition that I unfortunately have to keep and is GPT formatted).
The error message I get is: grub-install error: cannot copy '/usr/share/locale/fr.gmo' to '/boot/grub/locale/fr.mo': Is a directory
And all my searches return nothing about this error message.
When I have time (this summer), I can do a complete reinstall but maybe someone here understands more about it and can give a clue?
Your error message is not a familiar one, but cloning I am quite familiar with, though less so with GPT, and none at all with Windows as part of a UEFI system (which should not matter).
A UEFI BIOS follow-up is normally required after a disk switch resulting from cloning, though conceivably it could work OK if after the cloning, both source and target were never in the system at the same time again. Kernels are not designed to handle duplicated UUIDs or LABELs.
Linux has tool efibootmgr for managing boot entries in UEFI. Obsolete ones need to be removed, and new ones created for best results. Grub's job is significantly different in UEFI. Re-installing it doesn't apply. Attempting to re-install it can make trouble worse. Reconfiguring it may, and probably should, apply, to enable both source and target in same system in same boot after cloning has been completed; *along with* re-uniquing UUIDs and volume LABELs everywhere used, e.g. UEFI BIOS, fstab, grub.cfg, /etc/default/grub/ and if applicable /etc/grub.d/.
At least once after a clone/disk replacement here, booting didn't succeed until I added one or two additional parameters to the linu line(s) in grub:
rd.hostonly=0 rd.auto=1
Their discovery as possible solution is recorded in: https://bugzilla.opensuse.org/show_bug.cgi?id=1205261 Reading this bug could be helpful in general for this situation.
Anno domini 2025 Fri, 2 May 17:02:09 +0200 Thierry de Coulon via tde-users scripsit:
Hello all,
I know this is not a TDE problem, but as some here know much more than I do:
I am trying to clone a 256GB SSD to a 512Gb one. I did clone the disk, but O can't bott directly (I get a grub prompt).
So I boot to my system fom a USB install thumbdrive, and try to reintsall grub. This is (I think) a grub-efi system (it has a win11 partition that I unfortunately have to keep and is GPT formatted).
The error message I get is: grub-install error: cannot copy '/usr/share/locale/fr.gmo' to '/boot/grub/locale/fr.mo': Is a directory
And all my searches return nothing about this error message.
When I have time (this summer), I can do a complete reinstall but maybe someone here understands more about it and can give a clue?
After clonin the disk you should resize the partitions using gparted - this should recreate the GPT block at the end of the partition. Without this you'll most likly have problems booting. Also make sure your old drive is not attached to the computer when booting.
Nik
Thierry ____________________________________________________ tde-users mailing list -- users@trinitydesktop.org To unsubscribe send an email to users-leave@trinitydesktop.org Web mail archive available at https://mail.trinitydesktop.org/mailman3/hyperkitty/list/users@trinitydeskto...
After clonin the disk you should resize the partitions using gparted - this should recreate the GPT block at the end of the partition. Without this you'll most likly have problems booting. Also make sure your old drive is not attached to the computer when booting.
Nik
This has all been done. I can boot from the MX Linux install stick, but I can't install/reinstall Grub.
I know I can install MX directly, but that would mean reinstalling a lot of stuff, so I'll probably stay with the original 256GB SSD for now.
I've reinstalled Grub on several occasions, but it was mostly grub mbr. I don't know if this is a problem with grub-efi or if my install is somehow corrupted. This error message makes no sense, as there is no such file available and the grub install was done by the system...
Thierry
On Friday 02 May 2025 02:20:04 pm Thierry de Coulon via tde-users wrote:
I know I can install MX directly, but that would mean reinstalling a lot of stuff, so I'll probably stay with the original 256GB SSD for now.
it has a win11 partition that I unfortunately have to keep and is GPT formatted).
Hi Thierry,
First, this whole question is more suited for the MX forum, as they do this kind of stuff a lot.
Second it’s easy enough to ‘solve’ both of the above, although it will take 4 to 8 man hours (calendar hours would depend on how much ‘stuff’ you have to tarball). Here’s references:
How to install new MX and not trash your existing TDE user. https://forum.mxlinux.org/viewtopic.php?p=815153#p815153
Win11 can be run in a Oracle VM. https://blogs.oracle.com/virtualization/post/install-microsoft-windows-11-on...
Window’s partitions can be moved to VMs. (Google search)
Or, if you want a new Win11 key it’s ~$10. https://www.gamers-outlet.net/en/buy-windows-11-pro-cd-key-oem-microsoft-glo...
Probably won’t solve all your problems, but should be pointers in the right direction.
Best, Michael
On Sunday 04 May 2025 00:47:01 Michael wrote:
First, this whole question is more suited for the MX forum, as they do this kind of stuff a lot.
Second it’s easy enough to ‘solve’ both of the above, although it will take 4 to 8 man hours (calendar hours would depend on how much ‘stuff’ you have to tarball). Here’s references:
How to install new MX and not trash your existing TDE user. https://forum.mxlinux.org/viewtopic.php?p=815153#p815153
Thank you Michael,
Must have been something wrong in the grub install. In the end, I solved it by upgrading MX 21 to MX 23, which reinstalled grub. After that, grub-install and update-grub worked as expected. I lost Plymouth on the way and now have a standard Debian boot, which is good.
Thierry