- Joined
- Oct 6, 2021
- Messages
- 5
- Reaction score
- 2
I figured out how to boot the 3CX Debian ISO from a cheap VPS that provides a generic Debian ISO, but doesn't let me upload custom ISOs.
First off, I configured the VPS with "Operating System: None - ISO - Self-Installation", because "Debian 10" inserts DHCP options that mess with the 3CX preseeding scripts. This quirk may be specific to my VPS provider. Note that generic Debian prompts you to create a non-root user account, whereas 3CX Debian does not, so that's a good way to check which installer you're running.
Here is the procedure; I'm assuming that you know how to work with Linux and partitions in general:
First off, I configured the VPS with "Operating System: None - ISO - Self-Installation", because "Debian 10" inserts DHCP options that mess with the 3CX preseeding scripts. This quirk may be specific to my VPS provider. Note that generic Debian prompts you to create a non-root user account, whereas 3CX Debian does not, so that's a good way to check which installer you're running.
Here is the procedure; I'm assuming that you know how to work with Linux and partitions in general:
- Boot from a generic Debian ISO installer.
- When you reach the partitioning step, switch to manual mode and create a 512 MB logical partition at the end of the disk, with no filesystem. The partition size should be a bit larger than the 3CX ISO.
- Go back and let Debian run guided partitioning on the rest of the disk, then proceed with the installation.
- Log into generic Debian, download the 3CX iso, and clone it onto your special partition. For example:
Code:$ lsblk # Verify that you're overwriting the correct partition; mine was vda5. $ dd if=debian-amd64-netinst-3cx.iso of=/dev/vda5 bs=1M - Reboot, press 'c' to drop to a grub2 command line, and launch the 3CX ISO from your special partition:
Code:> set root=(hd0,5) > configfile /boot/grub/grub.cfg - Ignore the grub errors related to "font" and "splash". The 3CX installer should begin.
- "Load CD-ROM drivers from removable media?" <No>
- "Manually select a CD-ROM module and device?" <Yes>, none, /dev/vda5
- When you reach the partitioning step, delete all partitions except the one with the ISO.
- Go back and let 3CX Debian run guided partitioning on the rest of the disk, then proceed with the installation.