How To: Make progress bars appear for multiple-partition tasks
-
[quote=“smshahan, post: 13196, member: 2574”]Did you figure this out or do you still need assistance?[/quote]
Do you have this working?
-
[quote=“The Dealman, post: 13235, member: 53”]Do you have this working?[/quote]
Haven’t fully tested my changes out but I’ll get back to you possibly Wednesday if I get this working. I’ve been busy with another fog server.
-
[quote=“The Dealman, post: 13235, member: 53”]Do you have this working?[/quote]
Okay. Its working now.
This is what I did. Logged in via putty and did the following.
[LIST]
[]cd /tftpboot/fog/images
[]gunzip init.gz
[]mkdir initmountdir
[]mount -o loop init initmountdir
[/LIST]
Connected via WinSCP and navigated to /tftpboot/fog/images/initmountdir/binWhat I did was simply copy the new fog file ( that was shared) over to the location of my old one( /tftpboot/fog/images/initmountdir/bin) and overwrote that file. I also made a copy of my old fog file just in case it didn’t work.
After that I went back to putty and did the following.
[LIST]
[]cd /tftpboot/fog/images
[]umount initmountdir/
[]rmdir initmountdir
[]gzip init
[/LIST]
For some reason if I tried copying just the code from the new to the old it would either reboot continuously or give me a big blank nothing. There is a missing step I’m sure in that list or maybe a semicolon out of place. -
You used these files? [url]http://fogproject.org/forum/attachments/fog-zip.321/[/url]
-
[quote=“The Dealman, post: 14130, member: 53”]You used these files? [url]http://fogproject.org/forum/attachments/fog-zip.321/[/url][/quote]
Yes.
-
[quote=“smshahan, post: 14131, member: 2574”]Yes.[/quote]
ok i will that shot & report back the results
-
I tried both manually editing the file and copying the file over from the forum and in both cases, fog starts looping when trying to deploy an image. I am running .32
-
[quote=“jbrabhamMSD, post: 24125, member: 22901”]I tried both manually editing the file and copying the file over from the forum and in both cases, fog starts looping when trying to deploy an image. I am running .32[/quote]
Did you reboot the server after you replaced the fog file and gziped the init file ?
-
I just tried that. Didn’t help.
-
[quote=“jbrabhamMSD, post: 24130, member: 22901”]I just tried that. Didn’t help.[/quote]
I could not get this to work either. I made the changes to the fog file but still do not have a progress bar with a multiple partition image. Did you ever get it figured out? I am using ver 0.32
-
Is this multiple partition, single disk, and is it upload or download task that is not showing, or both?
-
[quote=“chad-bisd, post: 33910, member: 18”]Is this multiple partition, single disk, and is it upload or download task that is not showing, or both?[/quote]
It is a windows 7 multiple partition deploy task that does not show i dont think i looked at an upload task.
Thanks -
Multipartition imaging in 0.32 never showed progress bars natively.
-
[quote=“Tom Elliott, post: 33912, member: 7271”]Multipartition imaging in 0.32 never showed progress bars natively.[/quote]
I was under the impression that the code (fog file) in this thread fixed that.
-
I don’t know if it did or didn’t. Did you edit the files yourself or use the files provided in the link?
-
[quote=“Tom Elliott, post: 33914, member: 7271”]I don’t know if it did or didn’t. Did you edit the files yourself or use the files provided in the link?[/quote]
I used the file in the link because when i tried editing myself it went into a reboot loop; something about the S99fog not being able to find /bin/fog
-
I updated the file manually and it works for me. I have progress bars on multiple partition, single disk deploy tasks. You probably had a small syntax error, like putting in or leaving out a / or a something.
-
[quote=“chad-bisd, post: 33916, member: 18”]I updated the file manually and it works for me. I have progress bars on multiple partition, single disk deploy tasks. You probably had a small syntax error, like putting in or leaving out a / or a something.[/quote]
Any chance you can pm me the file you used?
-
Here it is. It’s around line 450, and there are comments. Mine may have some other changes in it, but they are unrelated and do not affect this functionality.
[url=“/_imported_xf_attachments/1/1194_fog.progressbar.txt?:”]fog.progressbar.txt[/url]
-
make sure if you copy it over, that you check file ownership and permissions before you gzip. You may need to chown and chmod to make it match the other scripts.