You are not logged in.

#1 2020-09-14 19:45:52

Roken
Member
From: UK
Registered: 2012-01-16
Posts: 1,087

I know not Arch per se, but converting Windows boot

Don't hate me for this, but I can't find an answer.

Arch is my primary desktop, 7 days per week. Some time ago, I accidentally wiped a 1GB HD in my system, and so though I'd chuck Windows 10 on it, as a just in case thing. At the time, Arch was BIOS boot, and so that's how I installed Windows.

After an unfortunate incident with Arch, I re-installed to EFI boot. Arch is fine, and booting from an NvME drive.

I can still boot Windows by selecting the boot drive in BIOS, but can't add it to GRUB.

I know that Windows can be converted to EFI, but my concern is that it will overwrite EFI on the NvME drive, which I want to avoid (I don't want to have to fix up GRUB again).

Now, since Windows is on a dedicated drive, can I safeley boot Windows, convert to EFI, then reboot (without any boot modification) back to Arch and grub-update to add it to the GRUB menu, or will it kill my NvME EFI installation leaving me with a fix on my hands.

If I can't do it, meh! but if I can, bonus.


[img]https://www.speedtest.net/result/10030141098.png[/img]

Ryzen 1800x 8 core/16 thread - GTX 1070 8Gb, Asus ROG STRIX B350-F, 16Gb Corsair DDR4, Cooler Master N300 chassis, 6 HD (1 NvME PCI, 2SSD, 3Spinners) + 1 x optical.
Linux user #545703

Offline

#2 2020-09-16 12:48:44

Lone_Wolf
Member
From: Netherlands, Europe
Registered: 2005-10-04
Posts: 8,383

Re: I know not Arch per se, but converting Windows boot

Looks like MS created "Microsoft MBR2GPT command line tool" for just such purpose .

Official doc : https://docs.microsoft.com/en-us/window … mbr-to-gpt
3rd party guide https://www.windowscentral.com/how-conv … windows-10


Multi-init booting with apg Openrc and systemd coexisting
Automounting : not needed, i prefer pmount
Aur helpers : makepkg + my own local repo === rarely need them

Offline

#3 2020-09-16 12:55:52

V1del
Forum Moderator
Registered: 2012-10-16
Posts: 10,508

Re: I know not Arch per se, but converting Windows boot

Most remotely sane implementations that touch the ESP will only touch the files they need (as does Windows by default) if you're afraid that whatever conversion utility you use here (... afaik just dumping Windows EFI boot binaries with bcfg or however it's called does really just adjust the files, but I've only hands oned that once a few years ago) will overwrite any contents, back up whatever you have on the ESP so you can dump it back on in doubt. The worst that can happen is that the NVRAM entries are wiped which can easily be reinstated with a grub-install from a chroot.

Offline

Board footer

Powered by FluxBB