Thank you for the information. Actually, the hard drive was too far gone, I tried RAW and no luck with that it crashed quite quickly. I have copied using another utility for now.
Best posts made by kerridge0
Latest posts made by kerridge0
Cannot upload - too many bad sectors
Hi, one of the ways I use FOG is to use it to upload an image of a PC with bad sectors, so that I can swap a failing hard drive out.
I know in general it’s not a good idea to upload an image from a bad hard drive but the previous version was actually quite forgiving and I never really ran into any problems with it when I did use it. When I get round to it, I tend to use a disk to disk cloning ISO, for this situation, but I thought I would use the issue as an excuse to try the latest Fog and and also make a copy of this XP image, which has an Office 2010 license on it.
So after installing latest Fog and scheduling the upload task, it turns out that Partclone doesn’t run if there are too many bad sectors.
I thought I’d try a debug upload and fiddle with the script but that just launches a script off the server by the looks of things.
Nothing seems to be in Fog Settings either.
My next step would be to look through the scripts and see where I can change the options on the partclone call - can anyone give me a pointer to where this might be?
RE: Wake on lan/force shutdown
I tried it but it wasn’t very reliable with my windows XP boxen. I just found that the snap-in did not respond quickly enough, or at all in some cases. I am soon going to be installing zentyal with samba4 at which point I will probably open the firewall and look at running psexec or something like that and see if I can’t find a workaround somehow.
Thanks for the tip.
Wake on lan/force shutdown
I support various training centres who like to
- Switch all the computers on in the morning and
- Switch them off again at the end of the day.
The group of computers would be all the non-admin computers so it would be ok for them to be forced shutdown.
I think I could do this without fog by the following:-
maintain a list of mac addresses and IPs for the groups of PCs
php web page calls scripts:-
[*](switch on) To send a wol packet to each mac address
* To send a net rpc SHUTDOWN message to each IP
However, it seems that most of this is already built into Fog… I can immediately see that I’d need to use a different authentication schema at first, because these tutors don’t need any functionality related to imaging. So I would just have a basic authentication restriction via htaccess, and then write a page that will allow:
Firstly the user to select the group name
Two buttons one to switch on and the other to force switch off all computers in that group.
If possible this would be restricted to groups that begin with a prefix of some sort so that I could restrict which groups are shown in the list and therefore that are permitted to be switched on and shut down in that way.
Would this be useful to anyone else?
Can anyone tell me some tips on how to achieve this?
What are the key components I’d have to understand? I have a good general knowledge of programming and Linux
What would be the hardest part of this do you think?
[*]Would it actually be practical to create a new type of user, and add sections to the Fog gui for their use?