Booting Proxmox from alternate disks
- Install proxmox with debug mode enabled
- After the install finishes, you’ll be dropped to a shell prompt.
- This is where we begin our journey.
proxmox-boot-tool format /dev/sdd2
proxmox-boot-tool init /dev/sdd2
Now… if you HADN’T added the
rootdelay statement to the kernel
cmdline above, proxmox won’t boot like you’d expect.
Previously I thought we needed to do this:
zpool export rpool
But it seems like that… wasn’t my best idea, as on the subsequent boot I had to manually:
zpool import rpool to get things rolling for that boot…
However…. upon the next system boot this was still a problem. I found this: proxmox forum post which helped me realize we need to tell the kernel that it needs to wait for the block devices to be presented somehow.
we need to:
- Append “
A problem we ran into while playing was that the kernel tries to boot before zfs has made things available. the addition of the
/etc/kernel/cmdlinementioned here was what fixed this for us.. You may need to increase that timeout, depending on your environment.
[Mark Schouten] wrote a quick howto posted to the pve users mailing list: