Host drive migration

MrnMrk

Member
Feb 21, 2023
60
9
8
Hello everyone. I'm in need of help, i am running a proxmox server completely headless and i don't have a chance to connect a monitor in any ways. Recently i got a 1tb ssd for server applications and i want to migrate my old hdd where proxmox is installed to the ssd. So i plugged them both on my windows machine and I ran dd in the windows subsystem for Linux. Task is done after almost 2 hours of copy, i plug the ssd in the exact same sata of the hdd but the machine doesn't boot, ideas?
 
Hi,

It's possible that the SSD is not being recognized as a bootable drive by the BIOS, did you check the BIOS from the boot disk?
 
Hi,

It's possible that the SSD is not being recognized as a bootable drive by the BIOS, did you check the BIOS from the boot disk?
Hello, thanks for the reply. No i did not check the bios because i don't have a monitor to plug in the server. But let me explain some background. The first time i have made a dd of the hdd, the system i was using to make a copy was crashing at 322 of 500gb. With 322gb copied in the ssd, i plugged it in the server and it was actually working, proxmox was online, of course some stuff was definitely missing, I was getting LVM errors etc, but it booted. After a lot of troubleshooting i have performed a deep sector check of the HDD and it resulted into one single sector damaged roughly to the point it was crashing dd. So i repaired, hopefully it was empty (the disk is much below 50% used) and this fixed the crash problem. Then i performed a dd again and the ssd doesn't boot
Could i try to use an os cloning tool on windows instead of dd?
 
Last edited:
UPDATE: i have solved the problem, basically i forgot i had my ventoy bootable usb plugged in the back, i have realized this because i did plug the ssd into a netbook and without changing anything in the bios, it booted into proxmox correctly. Sorry for the waste of time, thanks anyway :)
Almost forgot, the starting hdd was 500gb, the ending ssd is 1tb, how can i extend the LVM partition to the whole disk?
 
Last edited:

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!