I have been trying to install VyOS 1.2.0 on Compact Flash, so that I can run it on an ALIX Single Board Computer.
However the 'install image' command is failing after the partition step:
$ cat /tmp/install-1552.log turning off swaps... Removing partition 1 on /dev/sdb Creating a new disklabel on sdb Creating root partition on /dev/sdb Creating filesystem on /dev/sdb1... Error: couldn't create the root filesystem. /sbin/mke2fs -j /dev/sdb1 mke2fs 1.42.12 (29-Aug-2014) The file /dev/sdb1 does not exist and no size was specified.
/dev/sdb is a 4GB Compact Flash card in a USB card reader, connected to VirtualBox running the VyOS Live CD.
I have tried partitioning manually and then selecting 'Skip' when asked if I want to partition and then the install completes successfully.
It am not certain, but the problem might just be a timing issue - the Linux kernel takes a couple of seconds to update the new partition table. If I run /sbin/mke2fs -j /dev/sdb1 manually, then it does successfully format the partition.
Doing the same thing with VyOS 1.1.8 worked fine.