Hi,
I am in the process of creating a custom FreeBSD installer using bsdinstall() and the /etc/installerconfig file. All was fine until I ran out of space within the file system of the installer.
Initially to get round this, I created a new 2G image file using
I then tried following the same procedure but instead of creating a new file system, I
At this point, if I manually type ufs:/dev/ada1 at the "multiroot" prompt, the installation continues as normal.
I am guessing the issue is the relationship between ufs:/dev/ufs/FreeBSD_Install and ufs:/dev/ada1 but I've been unable to figure it out. There is no difference between the original img file and the new one other than it is bigger.
Any ideas on what I am missing would be gratefully received.
Cheers
Andy
I am in the process of creating a custom FreeBSD installer using bsdinstall() and the /etc/installerconfig file. All was fine until I ran out of space within the file system of the installer.
Initially to get round this, I created a new 2G image file using
dd
, attached the image as a memory disk, wrote a disk label to the disk, formatted it as UFS and recursively copied the files from the original img file to the new, larger one. The new image boots but then halts with the infamous Mounting from ufs:/dev/ufs/FreeBSD_Install failed with error 19..I then tried following the same procedure but instead of creating a new file system, I
dd
ed the original one onto the new larger one and then expanded the filesystem using growfs
. Again it boots but halts with the same issue.At this point, if I manually type ufs:/dev/ada1 at the "multiroot" prompt, the installation continues as normal.
I am guessing the issue is the relationship between ufs:/dev/ufs/FreeBSD_Install and ufs:/dev/ada1 but I've been unable to figure it out. There is no difference between the original img file and the new one other than it is bigger.
Any ideas on what I am missing would be gratefully received.
Cheers
Andy