Deployment Solution

 View Only
Expand all | Collapse all

VirtualBox and Altiris DS 7.x

  • 1.  VirtualBox and Altiris DS 7.x

    Posted Feb 27, 2013 01:24 PM

    Has anyone had any luck dropping an image an a VirtualBox VM?  I can PXE boot just fine, PE loads, pectagent runs, I see ghost flash, and I get an error about firm.  Basically... Altiris can't see any hard drives.  When I run the command "wmic logicaldisk get caption" it only lists D: and X: drives.  There is no C: despite a 25 GB VDI being attached.

    I REALLY want this to work, as my goal is to snapshot before I capture image to allow easy updating of the image (java, flash, etc.).

    Thanks!



  • 2.  RE: VirtualBox and Altiris DS 7.x

    Posted Feb 27, 2013 02:55 PM

    How about if you run diskpart from WinPE? You might need to crate a partition on the VirtualBox drive first.

    Another way to preserve you image for updating is to take a back up image before you sysprep reseal/generalise.

    The best way is to totally script your build; your master image shouldn't have had multiple versions of Flash, Java etc installed and uninstalled.



  • 3.  RE: VirtualBox and Altiris DS 7.x

    Posted Feb 27, 2013 03:06 PM

    Funny, I'd played with DiskPart within the PE environment and never made the connection between creating a partition and the fact that none existed for DS to use.  :)  One of those days!  I'll try that shortly.

    I've been doing a scripted install and I'm looking to improve on that process.  There's much more to it than what I mentioned which using VM snapshots would make DS more useful than ever.  A backup is a feasible alternative, but I can't quickly mount that like I can a VM.



  • 4.  RE: VirtualBox and Altiris DS 7.x

    Posted Feb 27, 2013 03:32 PM

    Hmm.... that didn't seem to work.  Any idea how Altiris 'maps' the PROD: drive?  I assume using firm.exe but I can't find any way to do so.



  • 5.  RE: VirtualBox and Altiris DS 7.x

    Posted Feb 28, 2013 04:59 AM

    I think if you can't see the disk in WinPE then Altiris can't see it.

    So you need to use Diskpart to create a partiton, create a volume on that partition and format it first.



  • 6.  RE: VirtualBox and Altiris DS 7.x

    Posted Feb 28, 2013 07:55 AM

    I have the disk formatted as NTFS and I now have a C: drivein WinPE (per your original thump-on-the-head advice).  I was able to copy a file to it using firm.exe.  However, firm.exe shows the drive as labeled D2P1: instead of PROD:, which seems to be the issue.



  • 7.  RE: VirtualBox and Altiris DS 7.x

    Posted Feb 28, 2013 08:37 AM

    I don't think you need to use Firm in WinPE, xcopy should work fine. I haven't used Firm for a while now.



  • 8.  RE: VirtualBox and Altiris DS 7.x

    Posted Feb 28, 2013 08:48 AM

    True, but the commands Altiris uses depend on Firm.exe, which is why I'm using it for my testing of the problem I'm having.  Here is an example of the firm.log error:

     

    -begin firm.log---------------------------------------------------------------------------------------------------------------

     

    Error description:
         The specified firm drive was not found.

    Possible causes:
         The firm drive specifier points to a non-existant drive.

    Possible resolutions:
         Run 'Firm drives' to see the available Firm drive mappings.


    ==================== Technical details ====================

    Logfile = created Wed Feb 27 15:14:04 2013
      Build = firm.exe 6.9 (9373)
    Cmdline = \\XXXXXXXXXXXX\Deployment\Task Handler\rdeploy\x64\firm.exe copy X:\Program Files\Altiris\Altiris Agent\PECTAgent.ini PROD:\boot\altiris\iso\@inject@\Program Files\Altiris\Altiris Agent\PECTAgent.ini

    Status = 60 (0x3c)
    Source file = apps\firm\firm.cpp
    Line number = 610 (0x262)
    Stack trace =
    Path = PROD:\boot\altiris\iso\@inject@\Program Files\Altiris\Altiris Agent\PECTAgent.ini
    Imaging library revision = 9373 (win64-x64-release build, Wed Sep 12 17:22:34 2012)

     

    -end firm.log---------------------------------------------------------------------------------------------------------------

    I can run the same cmdline successfully if I change PROD: to D2P1: and run it manually.  So I'm trying to figure out either how to change that label or simply why it got changed.

    I'm going to start a new VM from scratch and format the drives using a boot disk first, then PXE boot to PE and see if Altiris will take off.  I'll update at that time.

    Thanks for your continued interest in helping!

     



  • 9.  RE: VirtualBox and Altiris DS 7.x

    Posted Feb 28, 2013 03:13 PM

    Well, I got the firm error to go away.  I now get an Abort: 40012 error (see attached).  I've also ran firm.exe drives and showdisk -m to verify that the drive was built properly using diskpart (see attached).

    I'm at a loss still.  :(



  • 10.  RE: VirtualBox and Altiris DS 7.x

    Posted Mar 18, 2013 05:19 AM

    The best way is to totally script your build; your master image shouldn't have had multiple versions of Flash, Java etc installed and uninstalled. 



  • 11.  RE: VirtualBox and Altiris DS 7.x

    Posted Mar 18, 2013 05:53 AM

    Absolutely. Takes a long time to create but makes maintaining the image far easier.



  • 12.  RE: VirtualBox and Altiris DS 7.x

    Posted Mar 18, 2013 09:02 AM

    As described before, that's not the route I want to take as it doesn't fit our needs.  I don't have multiple versions of Flash, Java, etc. when all is said and done, I was just using that as an example.

    I don't have any experience with fully scripted deployment, but right now I can image any amount of computers in 1.5 hour of total downtime.  I should be able to get it down to 1 hour using VM's.  The extra half hour is post-sysprep 'scripted' installations, many of which require a logged on user, which I'm also trying to avoid.



  • 13.  RE: VirtualBox and Altiris DS 7.x

    Posted Mar 18, 2013 10:49 AM

    I'm not an expert with Ghost itself, might it be that it can't see disks over a certain size and you need to start with a smaller partition and get sysprep to expand it?



  • 14.  RE: VirtualBox and Altiris DS 7.x

    Posted Mar 18, 2013 11:05 AM

    No, that wouldn't be the situation here.  It's only a 25 GB virtual disk.  All our physical drives are larger.



  • 15.  RE: VirtualBox and Altiris DS 7.x
    Best Answer

    Posted Mar 18, 2013 01:30 PM

    How big is your image? Is there anything in it expecting a larger hard disk?



  • 16.  RE: VirtualBox and Altiris DS 7.x

    Posted Mar 19, 2013 10:51 AM

    We used Virtual Box exclusively for our images both 32 and 64 bit. Are you trying to deploy an image to Virtual box or pull an image from it?



  • 17.  RE: VirtualBox and Altiris DS 7.x

    Posted Mar 19, 2013 11:41 AM

    Sounds like you are the man I want to talk to!  :)

    We are trying to do both.  I want to build a basic image on the VBox, capture it, and deploy it to multiple other VBox's to build about 10 other images.  I then need to capture those final images.  All 11 images (1 basic and 10 customs) would be then deployed to physical client computers.

    I do have to follow up on the hard drive size asked above.  I've been allocating a 25 GB hard drive and then partitioning it using diskpart before trying to drop an image on it.  The image shouldn't be larger than 15 GB, but perhaps 25 isn't enough.

    Anything you can offer would be fantastic!



  • 18.  RE: VirtualBox and Altiris DS 7.x

    Posted Mar 19, 2013 04:13 PM

    What all is involved in the customization?

     

    Can you not do that in Virtual box and create snap shots to go back to?

     

     



  • 19.  RE: VirtualBox and Altiris DS 7.x

    Posted Mar 21, 2013 01:54 PM

    Okay, I have no idea as to the why, but I created an 80 GB VDI drive instead of 25 GB and it's imaging just fine.  My final image size shouldn't be much larger than 20 GB, but apparently it matters.

    Thank you everyone for your input.  I'm excited about the possibilities this will open up for us.