• Recent
    • Unsolved
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    • Register
    • Login
    1. Home
    2. The Dealman
    3. Posts
    T
    • Profile
    • Following 0
    • Followers 0
    • Topics 19
    • Posts 160
    • Best 2
    • Controversial 0
    • Groups 0

    Posts made by The Dealman

    • RE: Extend your disk partition to max

      [quote=“golpemortal, post: 9246, member: 2653”]I am having hard time implementing this tutor on Windows 7 ent…
      I trying to make it part of the image and follow steps from astrouga and no success

      added this to the script

      REG ADD %KEY%\005 /VE /D “Extending disk partition size to max” /f
      REG ADD %KEY%\005 /V 1 /D “%systemroot%\Setup\Scripts\extend_max.vbs” /f

      added exactly the same but got error on the command prompt[/quote]

      What error did you get?

      posted in Tutorials
      T
      The Dealman
    • RE: Extend your disk partition to max

      [quote=“astrouga, post: 8537, member: 907”]Since I use “one image to rule them all”, I have to remember to shrink my partition down below the smallest disk in inventory before I sysprep it. Otherwise the image will fail on some systems. I have some disks that are 80GB and some that are 500GB. So I usually manually shrink my disk down below 80GB before I sysprep it. Then after imaging a system with larger disks, I have to extend the partition to the max size. I got tired of doing this manually, so I wrote a vbscript to do this for me. I’m sharing it in hopes that it helps others, but also to see if anyone has a better way.

      I actually use this snippet of code in a larger vbscript that does other things (local account creation, firewall exceptions, registry changes, printer installs, etc), but I’ve pulled out necessary the code below. Should be complete. Note it is actually two files. One is the vbscript that just runs diskpart, the other is a text file that contains the options to pass to diskpart.

      [B][U]extend_max.vbs[/U][/B]:
      [CODE]’ ########## Extend Disk Partition (MAX) ##########
      LogFilename = “C:\Windows\Setup\InstallLog.txt”
      LogFile.writeline “-------------------------------”
      LogFile.writeline “Extending partition to max size:”
      LogFile.writeline “-------------------------------” & VbCrlf

      diskpartScript = “C:\Windows\Setup\Scripts\extend_max.txt”

      Set oShell = CreateObject(“Wscript.Shell”)
      Set oShellExec = oShell.Exec("cmd /c diskpart -s " & diskpartScript)
      set oStdOutputText = oShellExec.StdOut

      Do While Not oStdOutputText.AtEndOfStream
      diskpartOutput = oStdOutputText.ReadLine
      LogFile.writeline diskpartOutput
      Loop[/CODE]

      [B][U]extend_max.txt[/U][/B]:
      [CODE]select disk 0
      detail disk
      list disk
      select volume c
      extend disk 0
      list disk
      exit[/CODE]

      I call this script by adding a line to my SetupComplete.vbs script. Something like:

      REG ADD %KEY%\005 /VE /D “Extending disk partition size to max” /f
      REG ADD %KEY%\005 /V 1 /D “%systemroot%\Setup\Scripts\extend_max.vbs” /f

      astrouga[/quote]

      I modified my image to include this and it seems work on those pesky advance format drives

      posted in Tutorials
      T
      The Dealman
    • RE: Bugs in FOG 0.33

      [quote=“BryceZ, post: 9205, member: 2”]Always looking for more testers :)[/quote]

      Cool count me in. I just setup a xenserver environment so i can do testing all sorts of things outside of my vmware environment. I have a question while i’m downloading the latest tarball why do we need to test non-sysprep images?

      posted in Bug Reports
      T
      The Dealman
    • RE: Extend your disk partition to max

      [quote=“David Atkinson, post: 9134, member: 2696”]FWIW, I have a much shorter diskpart.txt file:
      [CODE]select disk 0
      select partition 2
      extend[/CODE]

      I just call it from the SetupComplete.cmd script:

      [CODE]@echo off
      diskpart /s C:\Windows\Setup\Scripts\diskpart.txt

      del /Q /F C:\Windows\System32\Sysprep\unattend.xml
      del /Q /F C:\Windows\Panther\unattend.xml
      del /Q /F C:\Windows\Setup\Scripts\diskpart.txt

      sc config “Sophos AutoUpdate Service” start= auto
      sc config “Sophos Agent” start= auto
      sc config “Sophos Message Router” start= auto[/CODE]

      But, of course, I’m blessed with very consistent, almost homogeneous hardware.[/quote]

      Whoa this is all interesting what image types are you using for the master image and your deployment image?

      posted in Tutorials
      T
      The Dealman
    • RE: Dell OptiPlex 780 will not upload image

      [quote=“Eric, post: 8970, member: 83”]I’m not sure what the three files are. I didn’t have to set any parameters that I can remember. However, I didn’t set much of the Fog back end up so I could be missing something. When I created my image over the summer I did the following:

      (I’m using Fog .32)

      • Went to image managment and created a default x86 Windows 7 Master Image
      • Image type was set to Multiple Partition Image - Single Disk (Not Re sizable)

      In Windows:

      • I put the PC in audit mode after a clean install
      • Made my changes the PC
      • Used Windows CMD PNPUtil to add all the drivers for every Optiplex I have directly into the image
      • Sysprep’ed the PC using the following CMD : Sysprep.exe /generalize /oobe /shutdown /Unattend:unattend-X86.xml

      Must create an unattend file using MS tools and then navigate to C:\Windows\system32\sysprep

      After Sysprep I loaded Gparted: [url]http://gparted.sourceforge.net/[/url]

      • After the PC shuts down I reboot it and load Gparted immediately.
      • I shrink the partition to its smallest possible size to so that the image fits on all available hard drive sizes
      • Once the partition is shrunk I reboot and let scandisk complete. After scandisk completes the PC reboots
      • Once PXE loads I register the PC and have it upload its Image to Fog

      When the PC reboots I have a script that runs that loads any drivers that PNPutil.exe could not handle and use diskpart.exe extendvol to expand the hard drive back to its full size. Ive also found in my experince that have the script delay the Fog service helps with it automatically joining the domain.

      When I created the kernel I just followed the instructions from here: [url]http://fogproject.org/wiki/index.php?title=Building_a_Custom_Kernel[/url]

      Once I was able to edit the kernel I simply added all the NICs and Video drivers available. I also know that there is a custom parameter that you can set to remove the snow screen issue in Fog but I cannot find the command or the forum post that mentioned it at this time.[/quote]

      Have you ever seen the can’t have partition outside the disk error when deploy windows 7 ? i get that error when deploying windows 7 on advance format drives

      posted in Windows Problems
      T
      The Dealman
    • RE: FOG 0.33 - What's coming?

      [quote=“moparpogue, post: 8921, member: 2602”]This is CRAAAAAAAP. FOG is open source. You have a community. Testing shouldn’t be on you, you do enough. You have a hit list you want tested?

      I work for a forensics company and we have a server farm and tons of client machines. Considering the alternative, FOG has saved us a lot of money. (And hassle.) I’ve been using Fog for about a year with no issues, but I understand my usage is not the same as everyone else.

      There’s so many times I’ve looked at Open projects and the devs are getting burnt out because people act like the seagulls from Finding Nemo. (I’m not saying you are burning out.)

      This project is great and at this point you should be swamped with logically and concisely written report from beta testers.

      Lean on us if you need it.[/quote]

      I agree i’m in…i have a few test machines

      posted in General
      T
      The Dealman
    • RE: Dell Optiplex 7010

      [quote=“gsmhelper, post: 4952, member: 1588”]My 0.32 fog server seems to have issue with this new Dell 7010. I would like to know if anyone here can help me how to get this resolve? Thanks.[/quote]

      Yes please do provide more info…i just ordered 20 of those because from what i can tell they are based off of the Dell 990 which i havent had any issues with

      posted in Hardware Compatibility
      T
      The Dealman
    • RE: FOG 0.33 - What's coming?

      [quote=“Blackout, post: 5261, member: 1”]

      The current version of FOG works with Windows 7 & advanced format drives as intended.

      [/quote]

      It’s hasn’t worked for me i get the error that says “can’t have partition outside the disk”. I created a thread [url]http://fogproject.org/forum/threads/cant-have-partition-outside-the-disk.96/[/url] some time ago on that and that was the reason i put off my windows 7 deployment. If you have some procedure that i haven’t tried please pass it on cause nothing is working for me

      posted in General
      T
      The Dealman
    • RE: FOG 0.33 - What's coming?

      [quote=“Blackout, post: 4686, member: 1”]Any in particular?

      Most of the core basic functions work (imaging etc) for all O/Ses with the exception of NTFS Re-sizable partitions.

      With the latest updates (about a week ago, all in init.gz) these options work as intended, but there are still some bugs to work out with advanced format drives.

      [/quote]

      This for me is the biggest need right now. I have a lot! of workstations that have those drives in them that run windows xp but i need to get them updated to windows 7 before the end of this year. Granted this should have be done quite sometime ago but now it’s on me to get it done with FOG being my tool of choice it’s been pain point when someone need to re-image and whoops advanced format drive

      posted in General
      T
      The Dealman
    • RE: Kernel Update and different Hardware

      [quote=“Eric, post: 2657, member: 83”]I recently made my own Kernel as a proof of concept. Its based of the Linux 3.3 Kernel and it resolved a lot of problems for me. Its attached in my post here. Be sure to backup any of your existing Kernels in /tftpboot/fog/kernel/

      Let me know if it works for you.

      [url]http://scatteredspace.com/Fog/bzImage.zip[/url][/quote]

      What hardware models does this kernel support?

      posted in FOG Problems
      T
      The Dealman
    • RE: Can't have partition outside the disk

      After doing some more testing i found that i get this error on Seagate Barracuda ST3250312AS drives which have the 4k advance format (Note: there is something also called Western Digital Advanced Format and Dell Advanced Format) From my testing it seems Windows Vista or Windows 7, disk alignment is correctly forced by the OS and for windows xp you will need to create an image on for this drive type Align the disk with an alignment tool (For example the Paragon Alignment Tool, a third party product, has been used by many) then Sysprep the image. The release of 0.33 fog should resolve this when ever released. Microsoft has also developed a patch for this [URL=‘http://support.microsoft.com/kb/982018’]here http://support.microsoft.com/kb/982018 [/URL]

      posted in Windows Problems
      T
      The Dealman
    • RE: FOG 0.33 - What's coming?

      [quote=“Blackout, post: 49, member: 1”]We are aiming for a FOG 0.33 RC1 release at the end of January 2012

      [B]What’s coming?[/B]
      [LIST]
      []Rewritten PHP code base to be fully Objected Oriented - easier to develop & maintain
      [
      ]Developer Tools - create your own FOG Page’s to suit your needs
      []Hook System - manipulate data & structure easily
      [
      ]Web UI update - tabs, style updates, lots of code updates & bug fixes
      []Mobile UI update - revamped structure & styles
      [
      ]Partclone - EXT4 & Extended Partition support
      [*]Advanced Format Drive support - 4k sector support
      [/LIST]
      [COLOR=#808080][SIZE=2][I]Disclaimer[/I][I]: This list may change[/I][/SIZE][/COLOR][/quote]

      How this version coming ? I need this one ASAP that Advanced Format is killing us, we’ve had to go back to install os from scratch and pushing out snap’ins cause i can’t image these type of drives

      posted in General
      T
      The Dealman
    • RE: Resizing partition with Windows 7 image

      [quote=“mr626, post: 1937, member: 523”]Many thanks, I can confirm that this works. Here’s another reference:

      [URL=‘http://technet.microsoft.com/en-us/library/cc766473(v=ws.10).aspx’]http://technet.microsoft.com/en-us/library/cc766473(v=ws.10).aspx[/URL]

      I didn’t have any luck manually entering it in to my unattend.xml so I ended up using the Windows System Image Manager to open the xml and add it that way (I’m sure you can add it manually, but I must have been doing something wrong).

      Anyhow, here’s an extract from my unattend.xml with the relevant info:

      [CODE]
      <settings pass=“specialize”>
      <component name=“Microsoft-Windows-Deployment” processorArchitecture=“x86” publicKeyToken=“31bf3856ad364e35” language=“neutral” versionScope=“nonSxS” xmlns:wcm=“http://schemas.microsoft.com/WMIConfig/2002/State” xmlns:xsi=“http://www.w3.org/2001/XMLSchema-instance”>
      <RunSynchronous>
      <RunSynchronousCommand wcm:action=“add”>
      <Order>1</Order>
      <Path>net user administrator /active:yes</Path>
      </RunSynchronousCommand>
      </RunSynchronous>
      <ExtendOSPartition>
      <Extend>true</Extend>
      </ExtendOSPartition>
      </component>
      [/CODE][/quote]

      Can you post the whole thing?

      posted in Windows Problems
      T
      The Dealman
    • RE: Resizing partition with Windows 7 image

      [quote=“Stephen Perkins, post: 1332, member: 501”]If you are syspreping your windows partition in the XML file you can set it to expand disk to full. That is what we do for our images which only contains one image. The Settings Pass “specialize” then
      <ExtendOSPartition>
      <Extend>true</Extend>
      </ExtendOSPartition>
      Hope that helps others :)[/quote]

      Where do you place this in the unattend.xml file? Can you post yours so we can see what it looks like?

      posted in Windows Problems
      T
      The Dealman
    • RE: Can't have partition outside the disk

      I
      [quote=“Tangerine, post: 1628, member: 376”]Yet more testing…

      FOG 0.32 on Ubuntu 8.04

      Machine I am testing for the image is

      HP D530 USD
      P4, 2gb, 40gb

      Started with a base Win 7 install with 2 partitions, 100mb + 20gb image upload and deployed to original disk and another 40, 120 and 160gb drives with out issues.

      Next I followed the [URL=‘http://www.fogproject.org/wiki/index.php?title=Client_Setup#Dual_boot_Images’]guide[/URL] for linux

      So now the setup was Win 7 100mb + 20gb + 1gb swap + 6gb Ubuntu

      This would image up and down fine with the 3 test drives

      Next I re-imaged with the base Win 7 Install added a 9gb data partition + 1gb swap + 6gb Ubuntu

      The image uploads fine, but I end up with the cant have partition outside disk error on deployment to any of the test drives.

      Next test was to revert to base Win 7 image, then create a 1gb swap + 6gb in linux as logical partitions and leave the rest for the windows data partition to be created post install.

      Again the image uploads fine, but deployment ends with the same error.

      So that leads me to conclude that the issue lies with logical partitions.[/quote]

      I tried that new Kernel and no dice i got the same error along with a new error that said something like unable to open read only file system

      posted in Windows Problems
      T
      The Dealman
    • RE: FOG 0.33 - What's coming?

      [quote=“Blackout, post: 49, member: 1”]We are aiming for a FOG 0.33 RC1 release at the end of January 2012

      [B]What’s coming?[/B]
      [LIST]
      []Rewritten PHP code base to be fully Objected Oriented - easier to develop & maintain
      [
      ]Developer Tools - create your own FOG Page’s to suit your needs
      []Hook System - manipulate data & structure easily
      [
      ]Web UI update - tabs, style updates, lots of code updates & bug fixes
      []Mobile UI update - revamped structure & styles
      [
      ]Partclone - EXT4 & Extended Partition support
      [*]Advanced Format Drive support - 4k sector support
      [/LIST]
      [COLOR=#808080][SIZE=2][I]Disclaimer[/I][I]: This list may change[/I][/SIZE][/COLOR][/quote]

      Those features sound good but i would like to know (it may help others also) is a explanation of these new features like it was done on the[URL=‘http://www.fogproject.org/wiki/index.php?title=Main_Page’] fog wiki’s change log page [/URL]

      posted in General
      T
      The Dealman
    • RE: Can't have partition outside the disk

      [quote=“Tangerine, post: 1628, member: 376”]Yet more testing…

      FOG 0.32 on Ubuntu 8.04

      Machine I am testing for the image is

      HP D530 USD
      P4, 2gb, 40gb

      Started with a base Win 7 install with 2 partitions, 100mb + 20gb image upload and deployed to original disk and another 40, 120 and 160gb drives with out issues.

      Next I followed the [URL=‘http://www.fogproject.org/wiki/index.php?title=Client_Setup#Dual_boot_Images’]guide[/URL] for linux

      So now the setup was Win 7 100mb + 20gb + 1gb swap + 6gb Ubuntu

      This would image up and down fine with the 3 test drives

      Next I re-imaged with the base Win 7 Install added a 9gb data partition + 1gb swap + 6gb Ubuntu

      The image uploads fine, but I end up with the cant have partition outside disk error on deployment to any of the test drives.

      Next test was to revert to base Win 7 image, then create a 1gb swap + 6gb in linux as logical partitions and leave the rest for the windows data partition to be created post install.

      Again the image uploads fine, but deployment ends with the same error.

      So that leads me to conclude that the issue lies with logical partitions.[/quote]

      If you have something to test on try [URL=‘http://sourceforge.net/projects/freeghost/files/Kernels/Kernel-3.2.4.core/Kernel-3.2.4.core/download’]kernel 3.2.4[/URL] i’m going to try it on my problem child and see if it fixes this or not

      posted in Windows Problems
      T
      The Dealman
    • RE: Fog rejoining computer to AD that is already in AD

      [quote=“David, post: 1293, member: 495”]I have a minor problem. I can get fog to join computers to AD in an OU if they do not exist in that OU; however, if they exist in that OU, it gives me this error ( Error 2224 )

      Once, I delete the computer from the OU in AD, and restart the fog service, it joins AD again and the OU just fine. I also noticed, that if I don’t assign an OU, I do not have this problem, it will join the domain again after a reimage…even if it is already in AD.

      Has anyone else ran into this.[/quote]

      i went through that when i first started using fog to join my computers…but i learned to delete or un-join my computers before re-fogging them

      posted in Windows Problems
      T
      The Dealman
    • RE: Can't have partition outside the disk

      [quote=“Blackout, post: 575, member: 1”]There is special code to deal with Winblows 7 partition structure. It will work with Single Disk, Single Partition (Re-sizable) as intended.
      Not always. I remove it on my images personally.

      In the future, we are looking at offering a Mutli-Partition (Re-sizable) option that will resize the last partition to the remainder of the disk.[/quote]

      Something else i just saw was when i go to deploy an image and it gives that can’t have partition outside the disk error it says umount; can’t umount /ntfs: invaild argument
      Done

      then it updates the database then restarts

      posted in Windows Problems
      T
      The Dealman
    • RE: Can't have partition outside the disk

      [LEFT]The last time i worked on this I changed the setting to the Single Drive / Single Partition option uploaded my image and i saw as it was going through the pre-checks it resized the partitions. When i went to deploy it on a different pc with the same size hard drive it blue screened on me, i’m thinking that when i changed the image to the Single Drive / Single Partition option it did something to the image when it did that resizing during the upload?[/LEFT]
      [LEFT] [/LEFT]
      [LEFT] [/LEFT]
      I had a previous backup of the images that i restored from…i also noticed that i get the can’t have partition outside the disk error on hard drives that have no partitions. So what i did was create a partition and boot the pc up in debug mode so i can run a fdisk -l and it shows disk /dev/sda doesnt contain a valid partition table

      posted in Windows Problems
      T
      The Dealman
    • 1 / 1