Hosts not imaging - HELP
-
@Junkhacker Also, one last thing: there never seems to be any real exchange between client and server. It whips by and then reboots - if it doesn’t give an error message.
-
if it still has a size on server, you’re probably still good.
but if the images have been replaced with bad ones, the only way to get them back is recovering from a backup.
with fog 1.2.0 i think it was possible for fog to think that it had succeeded when it hadn’t and replace a good image with a bad one, detecting problems and dealing with them better has been greatly improved in trunk -
@Junkhacker Perhaps I should be installing Trunk then. I take it this is the link you gave me earlier to try? Especially if it’s easier to troubleshhoot.
This is getting difficult - the room is across campus and has actual bugs in it. -
since you now have a backup of the server you can recover from, i can’t see any reason not to try the dev build (commonly referred to on the forums as “trunk”)
-
@Junkhacker Great- I’ll give it a shot. Will I need accompaniment or is it fairly straightforward (bearing in mind that my chops are not the greatest)?
-
We have solid documentation and videos in this article: https://wiki.fogproject.org/wiki/index.php?title=Upgrade_to_trunk
-
@Wayne-Workman
Awesome. I will give it a try tomorrow. I have a switch to configure…(in a bugless room).Many thanks to all for your support.
-
@prestop said in Hosts not imaging - HELP:
It whips by and then reboots - if it doesn’t give an error message
In FOG 1.2.0 this usually happens when there is some kind of “faulty” partition layout on the disk. The tool used to enumerate disks and partitions was/is not very tolerant and freaks out easily - not giving any partition information. As FOG relies on that information to loop through the given partitions it just “whips by” if it cannot find any. Try booting the client into debug mode (FOG 1.2.0 -> Host -> Basic tasks -> debug) and run
fogpartinfo --list-parts /dev/sda
-
@Sebastian-Roth
Thanks, I’ll try that…but I did format the drive into one big part as requested, etc. and I still got the same response.
My issue is that I"m out of time and I wanted to try the later version to get working. -
@prestop So, please install fog trunk and see? This thread has gone on for so long, when fog trunk could potentially solve these issues.
-
@Wayne-Workman
UB says mk command not found
This is a make directory command, right? -
@Sebastian-Roth
I tried this and it says:
Error: Can’t have a partition outside the disk!This is the machine that was formatted into one big part with ntfs, it’s a 250GB disk. The image is much smaller than that. And I set the image to single/resizable.
-
@prestop Simply setting the image to resizable will not FIX anything. If it was uploaded as non-resizable, the partition table is still setup for the original source drive. If you need to make it resizable, the simplest solution is to set the image as resizable then re-upload from the master system.
-
@Tom-Elliott
Don’t have the master system anymore. That’s part of my issue. -
@prestop Well I suspect a way to fix, find the largest harddrive (probably a 1TB drive?) and put it into the system.
Do a download task. Before letting it boot, immediately schedule that device for upload (using the image setup as resizable).
That should fix the resizable issue for you.
-
@Wayne-Workman
fog@heavyfog:~$ mkdir trunk
fog@heavyfog:~$ cd ~/svn/trunk/;svn checkout -r5428 https://svn.code.sf.net/p/freeghost/code/trunk ;cd bin; sudo ./installfog.sh
bash: cd: /home/fog/svn/trunk/: No such file or directory
The program ‘svn’ is currently not installed. You can install it by typing:
sudo apt-get install subversion
bash: cd: bin: No such file or directory
[sudo] password for fog:
sudo: ./installfog.sh: command not found
fog@heavyfog:~$I believe I got it to make the directory but then I got all this.
-
@prestop
sudo apt-get install subversion
Then rerun that command below.
Actually - I made some changes to it. here:
cd ~;mkdir svn;cd svn;svn checkout -r5428 https://svn.code.sf.net/p/freeghost/code/trunk ;cd trunk/bin;sudo ./installfog.sh
-
@Wayne-Workman
OK! It appears to be rolling now…updating packages, etc.
What do I do when it finishes? -
@prestop at one point, it will ask you to update the db.
Go to the web interface and click the update button. It’ll be center page.
Then come back to the installer and continue.
After it’s done… just try it out.
-
@Wayne-Workman
Oh God…i walked away from the process and the computer locked. Now it doesn’t recognize my password. ?