Cannot image - Mount point cannot be found
-
This post is deleted! -
@zclift15 Well I missed that its not a directory because we’ve been tracking a similar error at that just point in the deploy script: https://github.com/FOGProject/fos/blob/master/Buildroot/board/FOG/FOS/rootfs_overlay/bin/fog.download#L76
Back to your point, that needs to be a directory with files in it. That is why the error is being thrown there. The script is checking to ensure the imagepath directory exists, which of course is no, because its a file.
I think you need to go back to your old server and find the files. If you old server is still operational I can give you the commands to connect and copy the files.
-
@george1421 Actually its a new image so I can just recapture it
-
@zclift15 Did you capture it first time on this fog server, or did you copy it over? I’ve never seen fog do that so I’m curious…
Before you recapture it, remove the files from the images directory or the capture will fail at the very end.
-
@george1421 Yes I did, and thanks for the tip!`
-
@george1421 I just finished recapturing but the file is still not a directory
-
@zclift15 That is not possible.
How fog works is that the capture creates a directory in /images/dev/<mac_address> that <mac_address> matches the mac address of the target computer. The files are uploaded into that directory. After the capture is done and just before it reports updating the database, the target computer will connect to the FOG server over ftp, and issue a FTP move command to move the directory from /images/dev/<mac_address> to /images/<image_name>. At no time a file should be created with the same name as <image_name>
When you capture the image, is that mac_address directory created, or is that directory still in existence? If everything is working correctly, there should be no directories in /images/dev that have a mac address name unless an upload is currently underway.
-
@zclift15 Make sure to change ownership of every file und sub dir…
chown -R fogproject:fogproject /images
-
@Sebastian-Roth Okay That seems to have solved that problem but now, (no matter how safely I shut down windows) fog is spitting the windows dirty bit error at me
-
@zclift15 This is one way to shut it down cleanly
shutdown -s -t 0
That should close all files, and clear the dirty bit flag. -
@zclift15 As well read through this: https://wiki.fogproject.org/wiki/index.php?title=Windows_Dirty_Bit