Please Help - Can't Start Antlets - Can't Restore to Factory Settings - failed to setup loop device: No such file or directory

3 replies
colin
15 posts

I managed to get my antstle into a  state where it wouldn't boot up beause I had upgraded emerge, so I made the call to restore the box to factory settings.

Unfortunately, I ran into a number of problems running the factory settings script.

Right now, the script is failing on this line:

mount -o loop,rw,offset=130M -t ext4 $antsleOS_img_path $antsleOS_mount || eend$

The error is:

 failed to setup loop device: No such file or directory

Can someone please, please help? All my sites are down because of this.

colin
15 posts

OK - well I found this one. The file did not exist. I had tried to comment out a section to stop the scripts downloading the images every time, but I guess I missed something and the directory was empty.

It's a pain that the factory reset script downloads the large image every time. If there is a problem further down, it takes over an hour to run again.

Right now it's doing that.

colin
15 posts

OK - so I managed to complete the install
However, when the system restarted and I logged in as root, the filesystem is mounted readonly and there appears to be no internet connection.

Any ideas, anyone?

lancem
210 posts

I'd suggest contacting support so they can do their "AntAid" thing and access your Antsle directly.

Log in to reply. New here? It takes a minute.