Moving EFI and BIOS partitions to new Disk

kylelt

New Member
Jun 22, 2020
1
0
1
29
Hi All,

I have a need to move the boot disk to new media,

My actual VMStore is on separate disks and will be left alone accordingly,

So far in my test environment i have:

Added new disk, added new disk to pve lvm vgroup,
vgreduce (original boot disk)
pvremove (original boot disk)
mount new and old efi partition copy old -> new
grub install efi target to new efi partition on new disk ( partition settings except size match old boot disk )
grub install bios target to new bios partition (partition settings except offset ( 40 instead of 34 ) match old boot disk )
update-grub

Power Off
Remove disk

Reboot:
I get a kind of working EFI (shows some size mismatch errors but still loads) boot after the original media is moved
I cannot boot from the bios partition,

What I need to do is understand is
1. how to make the bios partition detectable by hardware ( currently using virtualbox for my test environment )
2. How to configure EFI boot to point at pve 'root' partition (

Would it be easier to dd from the original disk to the new disk?
 

About

The Proxmox community has been around for many years and offers help and support for Proxmox VE, Proxmox Backup Server, and Proxmox Mail Gateway.
We think our community is one of the best thanks to people like you!

Get your subscription!

The Proxmox team works very hard to make sure you are running the best software and getting stable updates and security enhancements, as well as quick enterprise support. Tens of thousands of happy customers have a Proxmox subscription. Get yours easily in our online shop.

Buy now!