Failsafe method to create NetInstall image of pre-configured MacOSX

Hi All
I am trying to create NetInstall image of a pre-configured MacOSX install(mid-2011 mac mini) in this case.  Here is my workflow:
1.  Setup base OSX Mountain lion
2.  Do all updates and configure System Preferences and Finder Preferences as desired
3.  Install all desired software to be packaged with the system
4.  Boot into target mode and then use a second mac mini running Casper Composer to create a .dmg of the OS.
5.  Copy the finished .dmg to ML Server
6.  Try to use System Image utility to create a NetInstall image that other mac minis can then use as base install
I havent had any success so far creating a valid .nbi folder I can use(and that works) for re-deployment unless I use Casper Admin and Casper Imaging to manage this.  The reason I am trying to get away from using them is that the differnece between buying a $70 Casper Composer(or using the free Disk Utility) and buying the full Casper Suite is considerable.  Also, my understanding of System Image Utility is that:
1. It should be possible to build a customised image of OSX from base with packages and coonfiguration added but it doesnt seem to work
2. NetInstall is the only viable option for what we want to do as NetBoot presumes you will boot off the image each time you start up(which is not what we want - we want the ability to clone systems and from bare metal if necessary) and NetRestore flatly doesnt seem to work from .dmgs.
Here is what I have found:
a) I can create NetInstall images from a mounted downloaded Apple-provided OSX Installer that work but as soon as I put customisations in them, the customisations fail.
b) By default NetInstall is greyed out when you mount the dmg and use it as a source in System image utility.  Suggestions online are to change the Source to use a New variable and then point it back at the same location.  NetInstall is then available.  If you try to create a .nbi from this, you get an error saying that there isnt enough space on the target drive - the uncompressed dmg is about 7GB max and there is a spare 60-70Gb free on the drive I am trying to create the image on.
c) I have tried manually creating the .nbi folder but the instructions I found at http://support.apple.com/kb/TA21133 for doing this are outdated as they apply to ppc firmware and although I suspect the technique will still work, I cant work out which elements of the i386 folder I need to retain/move.  Copying the i386 folder from another working Netinstall folder doesnt help.
d) I found some links suggesting that NetInstall only worked when the OSX versions were identical so I tried to run the System Image Utility on the Mac where the dmg was created.  Here I get two errors:
     i) If I just run the NetInstall using the default source, it errors saying an unknown error has occurred and get the following in the log:
Workflow Started (2013-08-21 11:39:45 +0100)
OS X 10.8.4 (12E55), System Image Utility 10.8.3 (624)
Starting action: Define Image Source (1.4)
Finished running action: Define Image Source
Starting action: Create Image (1.7.2)
Starting image creation process...
Create NetInstall Image
Failed to validate the install type!!! Error: The source volume is not an OS X 10.8 volume.
An unknown error has occurred.
An unknown error has occurred.
Image creation process finished...
Stopping image creation.
Image creation failed.
     ii) If I change the source to the .dmg file and unmount it quickly to avoid any file locks, the installer goes further and seems to almost finish but then gives the following error(just appending the final bits):
+ echo 'Detaching disk image'
Detaching disk image
+ '[' DEBUG == DEBUG ']'
+ /usr/sbin/lsof +fg /tmp/mnt.UJaQAiTy
COMMAND PID USER   FD TYPE FILE-FLAG DEVICE SIZE/OFF NODE NAME
mds 36 root   24r   DIR R,EVO    1,5      306 2 /private/tmp/mnt.UJaQAiTy
+ '[' '/dev/disk1s2 on /private/tmp/mnt.UJaQAiTy (hfs, local, nodev, nosuid, nobrowse)' '!=' '' ']'
+ /usr/bin/hdiutil detach /tmp/mnt.UJaQAiTy
"disk1" unmounted.
"disk1" ejected.
+ /bin/rmdir /tmp/mnt.UJaQAiTy
+ return 0
+ '[' '' '!=' '' ']'
+ /bin/rm -r '/Users/admin/Documents/NetBoot of Untitled 1.nbi/i386'
+ /bin/rm '/Users/admin/Documents/NetBoot of Untitled 1.nbi/NetInstall.dmg'
+ /bin/rm '/Users/admin/Documents/NetBoot of Untitled 1.nbi/System.dmg'
+ /bin/rmdir '/Users/admin/Documents/NetBoot of Untitled 1.nbi'
+ exit 1
Script is done.
Bridge exited with status 256
Failed to create image from restore source.
An unknown error has occurred.
An unknown error has occurred.
Image creation process finished...
Stopping image creation.
Image creation failed.
Anyone have any idea how I can get around these issues?

First, let's define the various image types...
NetInstall:
A network based image which, when booted into, presents the user with a Mac OS installer. Functionality is effectively the same as running the Install Mac OS X application locally on a machine.
NetRestore:
A network based image which, when booted into, uses Apple Software Restore to replace the contents of a volume with a previously imaged volume.
NetBoot:
A network based image which, when booted into, acts just like a locally booted hard drive, except no changes are written to the disk. Each time the client boots into the NetBoot volume, the system is "reset" to the original state.
As defined by your workflow, you are trying to create NetRestore images.
As piperspace has noted, you need to start with the latest OS Install application. Starting with an older OS which has been updated to the latest will not work.
Creating NetRestore images from other disk images doesn't work because you need to have the Recovery Partition available. As both chicster and piperspace have noted, the way to do this is to image the volume directly.
Many preferences are "ByHost", which means that they are keyed to the UUID of the machine they are set on. To make those settings transfer to the new machines, you may need to use the "Apply System Configuration Settings" action and check the "Change ByHost preferences to match..." option.

Similar Messages

  • Can't create netinstall image

    Hi,
    I'm currently trying to create a Net Install image from the system volume of another computer in Target Disk Mode. After selecting the source and entering the info, I am told that the source does is missing a required "archive file."
    I'm thinking the proble is related to the fact I'm using the Panther version of the server, and using a Tiger installation as my source. However, I have no problems creating and netbooting a boot image. Attempting to create an install image from either the boot image or a Disk Utility generated image results in a missing Bill of Materials error.
    Any suggestions, or is this not possible under the Panther server?
    Thanks.

    It is very likely that this won't work. There are probably enough changes to the underlying system that the Panther based utility can't make a functional Tiger install image.

  • Factory method usage, creating the correct Image subclass

    Hi, I created a factory method
      public enum ImgType {
        SINGLE, STRIP, SPRITE_SHEET
    public static Image createImage(ImgType imgType) {
        switch (imgType) {
          case SINGLE:
            return new MyImage1(0, 0);
          case SPRITE_SHEET:
            return new MyImage2("", 0, 0);
          case STRIP:
            return new MyImage3("", 0, 0);
          default:
            throw new IllegalArgumentException("The image type " + imgType + " is not recognized.");
      }that creates different images based on the enum type provided.
    and heres is a usage of that function
      public BufferedImage loadAwtImage(ImageInputStream in, String imgName,  ImageTypeFactory.ImgType imgType) throws IOException {
        BufferedImage img = imgLoader.loadImage(in);
        BufferedImage imgsubType = ImageTypeFactory.createImage(imgType);  // Convert to real Image type
        addAwtImg(imgName, imgsubType);
        return imgsubType;
      }In a test:
    imgLib.loadAwtImage(imageStream, "cursor", ImageTypeFactory.ImgType.SPRITE_SHEET);Is it 'good' that in the test I can say(using the imgType enum) what sort of Image should be returned?
    doesn't this expose the working of the class to the outside, on the other hand I don't know howto create the correct sub image based on an image loaded.
    I use subImages to allow selection within the image, like the 3th 'tile' within an imageStrip returns just that cropped image.
    Before I had List<Image> and List<List<Image>> and now I can just return Images in 1 method instead of 2,3 by using lists.
    Edited by: stef569 on Dec 12, 2008 11:05 AM

    creates specifications... :p
    *  load the BufferedImage from the ImageInputStream
    * add it to the cache keyed by the imgName
    * @return a BufferedImage, or a custom subclass based on the imgType
    * @throws IOException when the img could not be loaded
    public BufferedImage loadAwtImage(ImageInputStream in, String imgName,  ImageTypeFactory.ImgType imgType) throws IOException I can test it, but the ImageTypeFactory.ImgType imgType parameter looks wrong to me.
    if you see this in a class method would you change it/find a better way.

  • Netinstall error: There was an error creating the image

    I am using Mac OS X Server 10.4.11 and trying to create a NetInstall Image using the System Image Utility 10.4.11. The .dmg image that I am using is a Mac OS X 10.5.6 version. After completing all the steps in Sys Image Itil it iteventually gives me the following error: There was an error creating the image.
    And indicates: error creating image and when I use this NetInstall image the client goes in an eternal reboot.
    It is very frusterating since I was able to make a netinstall image using a dmg from a Mac OS X 10.4 version and I was able to do a complete successful Netinstall. Anybody knows why and how to solve this error.

    Hi
    Mount the .dmg and launch SIU. If it's a valid image it should appear sandwiched between Sources and Workflows. Same process for a client mac connected via firewire or a bootable Installer Disk. Click on it and select NetInstall or NetBoot depending on what you want. You should be presented with Apple's EULA, click Yes/OK and save it to the appropriate folder assuming you've done the necessary in Server Admin. The Admin Manual is actually not too bad:
    http://images.apple.com/server/macosx/docs/SystemImaging_and_SW_Update_Adminv10.5.pdf
    No need to worry about index numbers either as it does it all for you. It's actually a lot easier than 10.4. Bear in mind if you want to customize the image you have to do it at this stage. You can't go back and edit/customize the nbi once it's created.
    You might want to consult the other documentation available for 10.5 Server here:
    http://www.apple.com/server/macosx/resources/
    Tony

  • System image utility : creating Leopard & SL Netinstall images to share on Lion

    Hi!
    I have recently upgraded to Lion server from SL server, our server had 1 main purpose: host Leopard & SL Netinstall images as well as some netboot diagnostic drives.
    It seems however that with a fresh install of Lion Server that trying to create a netinstall image from anything other then Lion doesnt work, even whipping out the old 10.6.3 install DVD mounts on the system but image utility shows no valid source.
    i remember going from tiger sever to leopard that i could no longer make tiger images, and had to run from a tiger system to create them, but when i was running SL, i was able to share leopard images without issue.
    So, is there anyway i can (without having to reinstall SL server ) i can create fresh netinstall images of 10.5 & 10.6OS's for my shiny new Lion server to share?
    now unfortunatley the leopard & SL images i had previously are gone (a HDD crash giving me reason to upgrade) (yeah yeah i know, backups.. ) but i thought i would just reimage the files again as that is this servers only purpose.
    Thank you kindly in advance, any help appreciated.
    Richard

    i know that was the case in Leopard and Snow Leopard but i just mounted a leopard image to create a new netrestore on my lion server.  i was not able to boot any of my images created on Leopard or SL when running Lion Server.  I assume i need to recreate the images on Lion.  Right now my Lion server is using a leopard image as the source to create a netrestore i can push on the Lion server.

  • Creating a NetInstall image OSX 10.6 with 10.6.2 combo update package

    Has anyone been successful creating a NetInstall image of OSX 10.6 with 10.6.2 combo update package included. Every time I attempt to do it, the image creation fails.

    I second that.
    You even have advanced group handling to determin which users should be allowed to perform which tasks.
    You can even image and restore Windows (both bootcamp on a mac AND pure PC:s)
    If you have a pure PC (god forbid) like an HP or Acer or something, they have to be able to netboot. Otherwise it works like a charm.
    Building a workflow in DeployStudio is pure "drag and drop". So it´s easy.

  • Is it possible to create a custom  "archive and install" netinstall image

    10.5.8 Server & 10.5.6 v1 server admin tools.....
    I understand you can customize netinstall images with the Automator actions in System Image Utility but I don't seem to find a Automator action I can apply to my custom netinstall image that will perform an archive and install.
    Is this possible? Any help much appreciated!
    Message was edited by: ptg

    There is no way to do an archive and install through System Image Utility.

  • Trouble Creating System Image in Windows 8.1

    My system: Satellite P55-A5312 with 750GB HDD, Windows 8.1 (upgraded from pre-installed 8.0), BIOS fw 1.90 (just updated)
    Tried to create System Image: Start ==> Search ==> File History ==> System Image Backup ( in lower left corner of the screen).  Successfully finds the 1TB backup drive (newly formatted at NTFS) attached via USB.  Message says 204GB of space will be needed to store the image. (Note: 1TB is almost 5 times what is needed).
    Start Backup ==> "The Backup Failed", "There is not enough disk space to create the volume shadow copy on the storage location, etc.).
    I found the following thread in this forum: http://forums.toshiba.com/t5/System-Recovery-and-R​ecovery/System-Image-Fails-on-Windows-8-1-Pro/m-p/​...
    and am curious what the following recommendation means: "To work around this problem, increase the size of the OEM partition on the backup drive."
    What OEM partition?  My backup drive has a single NTFS partition consuming the entire capacity of the HDD.  What am I doing wrong?
    Solved!
    Go to Solution.

    After increasing the size of 1 partition, the System Image utility completed without error.  To fully confirm, I need to try an image restore.
    The long answer is noteworthy (refer to the attached).  I used 3 different methods to query partition size and usage. 
    1. Disk Management shows that 4 of the 5 partiions are 100% free space.  What I don't understand is how the System Image utility of Windows 8.1 understands the partition sizes/usage but Disk Management does not.
    2.  Macrium Reflect gives what appears to be an accurate representation of the partitions and their size/usage.  It also includes a (hidden?) partition not shown in Disk Management, thus 6 instead of 5 partitions.
    3. MiniTool Partition Wizard agrees for the most part with Macrium Reflect with two notable exceptions.  It shows the 128MB partition has zero free space (vs 113.7MB = 89% free space using Macrium Reflect).  This is a BIG difference.  Also, the C partition showed slightly different usage than Macrium Reflect.
    In the end, I used MiniTool Partition Wizard to modify 1 partition only (increase the 350MB partition to 414MB, resulting in a little more than the mandatory 50MB free space).  The System Image operation then completed without error.
    What baffles me is why 3 different utilities give different results of partition usage (I think they all agree on partition size).  I would have never thought that determining partition usage was akin to rocket science, but perhaps it is...
    Attachments:
    PartitionInfo.pdf ‏241 KB

  • Netinstall image  installation problem

    Hi, I'm new in MacOSX Server and trying to do image file with System Image Utility 10.6.2 - MacOS10.6 and additional packeges (MacOSXUpdCombo10.6.2, iWork'09, iLife'09) with "AddPackages and Post-Install Script". By making a image no problem but when I start the installation occurs the following problem.
    MacOs10.6 install correct but other programs added in "AddPackages and Post-Install Script" is not installed, and in Macintosh HD is created a folder named Install.76443 with locked directories.
    Where is the problem why the additional packages not installed.
    My SIU configuration is :
    Define Image Source: MacOSXInstallDVD
    Add Packages and Post-Install Scripts
    - MacOsx10.6.2. Update Combo
    - iLife'09.pkg
    - iWork'09.pkg
    Create image
    type: Netinstall
    Install Volume: Macintosh HD
    Save to: Documents
    Image Name: Netinstall of Mac OS X Install DVD
    Network Disk: Netinstall of Mac OS X Install DVD
    Image Index: 1533
    Description: Netinstall of Mac OS X Install DVD
    i want to create one image for all packages and updates and install it from network to all computers in my office.
    thanks

    I think this is covered in a different thread but, in short, the 10.6.2 update will fail to install on top of the 10.6 DVD. YMMV with the iLife & iWork packages as they may run pre-install scripts that will also cause them to fail.

  • NetInstall Image PARTIALLY working

    I have a problem which is driving me batty!
    I have used NetInstall to create an image that was put together using a G5 Imac as the computer booting from an external firewire drive. The computer boots normally when using this firewire as its boot device. This same FW drive will boot a IMac G3 normally. When I use this same FW drive to supply an image for NetInstall, it creates the image just like always. Here is where it gets interesting.
    When I try to install this image using NetInstall on either a G3 Imac or a G4 PowerPC, the imaging process starts normally (Block World, Spinning World, Spinning Gear, Install window) and then it goes to h*! The install bar indicated that the image requires 7.8 Gig, which is no problem for the 40 Gig drive or bigger depending on the particular system, and the bar starts across the window. In a matter of maybe 20 seconds the bar has made it to the halfway point and after 30 or so more seconds, it ends with the "completed but there were errors, please try again". The normal image process would take maybe 30 or 40 minutes on the IMac.
    The image is set to erase the hard drive before installing the image. It completes this since when I take a look at the drive after the failed install it is completely empty and has its name changed from Macintosh HD to SIU_Image.
    When I try the image created a few months ago, the process proceeds normally to a completly installed image. This was the image installed on the FW drive and then the various updates were installed. The new image has all the current Apple, Adobe, Text Wrangler, MS Office and other updates installed. It also has the new Apple remote Desktop 3 client software installed. (The original image had ARD 2.2, and 10.4.4 software)
    The system used to supply the image is an IMac G5 running 10.4.6 Server with 1 Gig RAM and 100 Gig HD. The various clients are anywhere from an IMac G3, 512 Meg RAM & 40 Gig HD on up to a G5 Power PC with 2 Gig Ram and 100 Gig HD.
    When I tried installing the older image, it installed normally once I told it to use the HD named SIU-Image (as it was renamed by the aborted NetInstall). It is normally used in an automated install to a HD named Macintosh HD.
    The changes in the new image (ARD 3.0, 10.4.6, various security Updates etc.) seem to have generated some problem with writing to the hard drive. Use or non use of the machine renaming file in the sharing prefs does not seem to have any tie in to the problem. One other change which was done to the new image was that "Machine Renamer was removed from this image since I finally got Apples sharing pref name file to work (with the help of some people on the Discussion Forum). I would think that if this were the problem, the FW Boot would not work so I dont think that is the problem.
    Another side point is that when the aborted install ask to restart, it will not restart. I have to go up and exit the Net Installer before the restart will take place.
    With the abscence of any logs on the install system and no indication of problems evident on the netinstall logsat least as referenced to the install of the image that did work, I am at a loss. The one thing I did notice was that in the NBI folder the old (still working) image had an empty folder named "mnt" that was not in the new images nbi folder. The only other difference I saw was that the plist files for the old image had a slightly different ordered list for disabled systems but all the same systems still appeared to be present, just moved around. Incidentally, the image was set to work on all Apple systems in both the working (older) and non-working (newer) image.
    Anybody have a hint, suggestion or thought about what is going on?

    Sequence of images created and results obtained.
    I used my most current, at that time, image to update all software, having ARD 3 client software installed, both Apple and Non-apple programs fully updated, optimized it (using Onyx) and created a new Net Install image with fully automated setting using the sharing preferences to name the imaged systems. This is the image which failed to install. This image was created on an external Firewire drive.
    I tried again, creating an second image from the same system as above think that perhaps this image failed somehow during the creation process. The results were the same.
    I tried booting the systems which were being imaged using the external Firewire drive and the systems booted normally.
    I then used Carbon Copy Cloner to install the image from the FW drive to the hard drive of the client system. The image installed and booted normally.
    My next try was to create an image, using the previous (pre ARD 3, pre updates post January 06) again using the external FW drive. This image created normally and installed ALMOST normally. It was set to automatically restart at the completion of the install but auto restart failed to occur. Manually forcing a restart worked and the imaged system booted normally using the new image. The restart process shows the Finish window with a restart button. Clicking the button causes the button to "gray out" but nothing else. I have to go to the Network Installer menu and exit the IN. This brings up the startup disk window. Selecting the newly imaged HD, clicking Restart and confirming the Restart then restarts the system in the normal manner on the HD.
    I then used this base image, installed all current updates EXCEPT ARD 3 (the image remained at ARD 2.2) on an external FW drive. Created the new Netinstall image and then imaged a client system. The client system installed normally again EXCEPT for the automatic restart. A manual restart was done and the system then booted normally using the newly installed image.
    My last try was this same image (all current updates) but with ARD 3 installed. The results were the same as the ARD 2.2 image. Normal install but a failure to do the automatic restart. Operation, on the HD, was normal following the manual restart.
    As it stands now, the auto restart function is the problem area. Since I am doing the image install remotely but I have to manually go to the systems to do the restart (ARD will not recognize the systems till after the restart) the usefulness of this remote netinstall is substantially reduced.
    The only thing that I have not done with the latest image (all updates including ARD 3) is run it through the ONYX optimization and clean up routines. Since it works up to this point other than the restart issue, I would suspect, but have not tried it to confirm my suspicions, that something in the ONYX program "confuses" the client hard drive when Netinstall is used. This same "confusion" does not occur when using an external FW drive to boot from or when using Carbon Copy Cloner to install the image on the hard drive of the client system.
    I hope that this provides you with some help. Right now the major problem is the lack of an auto restart or the ability of ARD to recognize the drive till after the restart.
    If I get a chance, I will try to use Onyx to optimize the image on the FW and cut a net Netinstall image to see if the same failure to install problem occurs. This may not happen for several days since I am tied up with other projects at present.

  • Class casting, creating an image and decompiling...

    Hi, I've got a couple of questions:
    1)
    How can I fully decompile classes, so with the implementation of the methods? Is it always possible to fully decompile a class file? When is it and when not?
    2)
    I aks this questions before, but I still haven't got it working, so sorry, but I ask it again :) :
    I want to create my own class, for example cMyClass which extends the java.awt.Image class, which has abstract methods. How do these methods(for example getGraphics etc) have to be implemented?
    3)
    I can't cast a Image to cMyClass... why not?
    Someone told me he did the following:
    Canvas c = new Canvas()
    cMyClass oImage = (cMyClass) c.createImage (100, 100);
    and that this worked... I tried to do this too, and it seemed to work, but it actually didn't!!
    I found out that c.createImage returns a null reference!!! That's why Java was able to cast it to my own cMyClass (not a problem to cast a null to something else), but when I created a Image (by doing a lot of unnessacary difficult stuff), and then tried to cast this Image to cMyClass it throw a ClassCastException or something like that...
    How can I cast the java.awt.Image class to my class anyway?
    3)
    Why can't you create a image like i've done above or even like below:
    Canvas c = new Canvas()
    Image oImage = c.createImage (100, 100);
    Why does this return a null reference?
    Isn't there a better way to create an image?
    4)
    The getWidth and getHeight need a I thought observer...? Why is this? I just want the width and height and don't have an observer or something like that. Is there a way around this?
    I tried getWidth(null) but this returns -1
    Please help! :)

    Hi, I've got a couple of questions:
    1)
    How can I fully decompile classes, so with the
    implementation of the methods? Is it always possible
    to fully decompile a class file? When is it and when
    not?You can always get a dump of the bytecode with 'javap -c'. If you don't want to figure things out yourself, try searching google for a class file decompiler, possibly a de-obfuscator.
    De-compilation is completely possible if the original author wanted that, by including debugging information. Depending on the degree of such information and the amount of code obfuscation, the decompiled code may lack variable names, line numbers, field and method names, class names, and even code structure. Names and line numbers are usually not re-creatable automatically, since the information is simply lost, but you can replace them with your own strings when analyzing an unknown class file (using the correct tools). Re-creating the original code structure may work in some cases, but to me the general case looks rather close to the halt problem (i.e. not solvable).
    Use a de-obfuscator, hope you've got good luck, and analyze the bytecode manually if that doesn't work.
    2)
    I aks this questions before, but I still haven't got
    it working, so sorry, but I ask it again :) :
    I want to create my own class, for example cMyClass
    which extends the java.awt.Image class, which has
    abstract methods. How do these methods(for example
    getGraphics etc) have to be implemented?I don't really understand the problem. 'abstract' means on the language level that your subclass must provide an implementation, i.e. a method body. What that method is expected to do is explained in the javadocs for Image. But in fact you're free to do anything. You could play a sound in the getWidth() method (replace with any method name if you want). Just consider the fact that a lot of code calls getWidth in the hope of getting the width of the image, not playing a sound. So much about the language level.
    On a higher level, a subclass of Image should implement a certain way to describe an image. AFAIK this means that your code must know the size of the image and know how to produce the pixels of the image. I can't tell you in general how you must do this, because it depends on your special case. This boils down to the question, why do you want to write a subclass of 'Image'? What new way of describing and image have you come up with?
    3)
    I can't cast a Image to cMyClass... why not?Simple, and that's certainly not an ALT. Because that specific Image is not a cMyClass. It's probably a BufferedImage or similar that was produced by AWT.
    Please read the specs carefully what casting is about.
    Someone told me he did the following:
    Canvas c = new Canvas()
    cMyClass oImage = (cMyClass) c.createImage (100,
    100);
    and that this worked... I tried to do this too, and it
    seemed to work, but it actually didn't!!
    I found out that c.createImage returns a null
    reference!!! That's why Java was able to cast it to my
    own cMyClass (not a problem to cast a null to
    something else), but when I created a Image (by doing
    a lot of unnessacary difficult stuff), and then tried
    to cast this Image to cMyClass it throw a
    ClassCastException or something like that...
    How can I cast the java.awt.Image class to my class
    anyway?You can't, and if you understood casting then you'd understand that it wouldn't make sense.
    3, 4(don't know)
    Maybe stupid question, but for example the BufferedImage, is this
    completly written in Java?
    How is the link made between the OS+hardware and the Java code? I
    mean, displaying images etc. is very platform dependend not?Look for JNI (Java Native Interface). It's a way to link native (e.g. C) code with Java code.

  • Newbie: how to host 10.4 netinstall images on a 10.5 server

    I tried almost everything but I don't get it to work.
    Technical info:
    1 server running 10.5, Netboot, NSF (which should do the trick according to the documentation.
    1 client running 10.4 clean installation + firefox
    Used tools:
    Server admin tools 10.4 and 10.5
    Carbon Copy Cloner
    Disk utility
    Netrestore
    What did I try:
    Created an image of an 10.5 leopard (not server) installation dvd with the server admin tools (system image utility) and netinstall runs perfect. (I don't see netrestore but just the installer of 10.5)
    Also did this with 10.5 server image and also that worked without any problems.
    Created an master image of the 10.4 client (all the above named tools have been tried). Image creation is no problem. creating .nbi folder is no problem. Copy it to the NetBootSP0 folder, still no problem. Tried to boot from the image and there is the problem.
    Client boots with Netrestore. I can select the NetBootSP0 folder and the *.nbi folder and the image.
    I click on restore and got only this message.
    -sh-2.05b# /usr/bin/more /private/tmp/netrestore.err /private/tmp/netrestore.log /var/log/system.log
    ======= NetRestore (v. 3.3.6): Tue Jan 15 06:06:52 PST 2008 =======
    Command: /usr/sbin/asr
    Source: /private/tmp/netboot/MacHD104NetInstallSet.nbi/NetInstall-Restor
    e.dmg
    Target: /Volumes/Mac HD
    Arguments: -noprompt -noverify
    NetBooted: Yes
    Boot volume OS info:
    Operating System: 10.4.11 (8S2167)
    Mach kernel version:
    Darwin Kernel Version 8.11.1: Wed Oct 10 18:23:28 PDT 2007; root:xnu-79
    2.25.20~1/RELEASE_I386
    Kernel configured for up to 2 processors.
    2 processors are physically available.
    2 processors are logically available.
    Processor type: i486 (Intel 80486)
    Processors active: 0 1
    Primary memory available: 2.00 gigabytes
    Default processor set: 29 tasks, 97 threads, 2 processors
    Load average: 0.31, Mach factor: 1.68
    Mounted volume information:
    Filesystem 512-blocks Used Avail Capacit
    38%e.dmg
    Target: /Volumes/Mac HD
    Arguments: -noprompt -noverify
    NetBooted: Yes
    Boot volume OS info:
    Operating System: 10.4.11 (8S2167)
    Mach kernel version:
    Darwin Kernel Version 8.11.1: Wed Oct 10 18:23:28 PDT 2007; root:xnu-792.25.20~1/RELEASE_I386
    Kernel configured for up to 2 processors.
    2 processors are physically available.
    2 processors are logically available.
    Processor type: i486 (Intel 80486)
    Processors active: 0 1
    Primary memory available: 2.00 gigabytes
    Default processor set: 29 tasks, 97 threads, 2 processors
    Load average: 0.31, Mach factor: 1.68
    Mounted volume information:
    Filesystem 512-blocks Used Avail Capacity Mounted on
    /dev/disk2s9 1637408 1207816 413224 75% /
    devfs 218 218 0 100% /dev
    fdesc 2 2 0 100% /dev
    <volfs> 1024 1024 0 100% /.vol
    /dev/disk3 190 18 164 10% /Volumes
    /dev/disk4 2918 202 2572 7% /private/tmp
    /dev/disk5 190 14 168 8% /private/var/launchd
    /dev/disk6 934 128 760 14% /private/var/db
    /dev/disk0s2 233769824 12991440 220778384 6% /Volumes/Mac HD
    /dev/disk1s3 156039264 22823536 133215728 15% /Volumes/Ext-80GB
    192.168.50.230:/Library/NetBoot/NetBootSP0 155629664 23122016 131995648 15% /private/tmp/netboot
    /dev/disk7s9 1637408 1207816 429592 74% /Volumes/NetInstall-Restore 1
    Source information:
    -rw-rw-r-- 1 root admin 838860800 Jan 15 02:19 /private/tmp/netboot/MacHD104NetInstallSet.nbi/NetInstall-Restore.dmg
    06:06:52 Initiating ASR restore...
    06:06:54 Restore failed
    ~
    ~
    ~
    ...skipping...
    SETTINGS,-2,Target disk name: Mac HD
    SETTINGS,-2,Target disk mount point: /Volumes/Mac HD
    SETTINGS,-2,Target disk device number: /dev/disk0s2
    PREPARING,-1,
    INITIATING_ASR,0,0
    VALIDATE_TARGET,-1,0
    VALIDATE_SOURCE,-1,0
    VALIDATE_SOURCE,-1,0
    VALIDATE_SOURCE,1,0
    VALIDATE_SOURCE,3,0
    VALIDATE_SOURCE,5,0
    FAILURE_ASR,-2,0
    ...skipping...
    Jan 15 06:05:22 localhost kernel[0]: hi mem tramps at 0xffe00000
    Jan 15 06:05:22 localhost kernel[0]: PAE enabled
    Jan 15 06:05:22 localhost kernel[0]: 64 bit mode enabled
    Jan 15 06:05:22 localhost kernel[0]: standard timeslicing quantum is 10000 us
    Jan 15 06:05:22 localhost kernel[0]: vmpagebootstrap: 512640 free pages
    Jan 15 06:05:22 localhost kernel[0]: migtable_maxdispl = 71
    Jan 15 06:05:22 localhost kernel[0]: Enabling XMM register save/restore and SSE/SSE2 opcodes
    Jan 15 06:05:22 localhost kernel[0]: ACPI CA 20060421
    Jan 15 06:05:22 localhost kernel[0]: AppleIntelCPUPowerManagement: ready
    Jan 15 06:05:22 localhost kernel[0]: AppleACPICPU: ProcessorApicId=0 LocalApicId=0 Enabled
    Jan 15 06:05:22 localhost kernel[0]: AppleACPICPU: ProcessorApicId=1 LocalApicId=1 Enabled
    Jan 15 06:05:22 localhost kernel[0]: Copyright (c) 1982, 1986, 1989, 1991, 1993
    Jan 15 06:05:22 localhost kernel[0]: The Regents of the University of California. All rights reserved.
    Jan 15 06:05:22 localhost kernel[0]: using 10485 buffer headers and 4096 cluster IO buffer headers
    Jan 15 06:05:22 localhost kernel[0]: Enabling XMM register save/restore and SSE/SSE2 opcodes
    Jan 15 06:05:22 localhost kernel[0]: Started CPU 01
    Jan 15 06:05:22 localhost kernel[0]: IOAPIC: Version 0x20 Vectors 64:87
    Jan 15 06:05:22 localhost kernel[0]: ACPI: System State [S0 S3 S4 S5] (S3)
    Jan 15 06:05:22 localhost kernel[0]: Previous Shutdown Cause: 3
    Jan 15 06:05:22 localhost kernel[0]: Security auditing service present
    Jan 15 06:05:22 localhost kernel[0]: BSM auditing present
    Jan 15 06:05:22 localhost kernel[0]: disabled
    Jan 15 06:05:22 localhost kernel[0]: From path: "<dict><key>IOProviderClass</key><string>IONetworkInterface</string><key>IOPare ntMatch</key><dict><key>IOPropertyMatch</key><dict><key>IOMACAddress</key><data format="hex">0017f2d89614</da
    ta></dict></dict></dict>", Waiting on <dict ID="0"><key>IOProviderClass</key><string ID="1">IONetworkInterface</string><key>IOParentMatch</key><dict ID="2"><key>IOPropertyMatch</key><dict ID="3"><key>IOMACAddress</key><data ID="4">ABfy2
    JYU</data></dict></dict></dict>
    Jan 15 06:05:22 localhost kernel[0]: display: family specific matching fails
    Jan 15 06:05:22 localhost kernel[0]: yukonosx: Ethernet address 00:17:f2:d8:96:14
    Jan 15 06:05:22 localhost kernel[0]: Got boot device = IOService:/AppleACPIPlatformExpert/PCI0@0/AppleACPIPCI/RP01@1C/IOPCI2PCIBridge/ PXS1@0/yukonosx/IOEthernetInterface
    Jan 15 06:05:22 localhost kernel[0]: BSD root: en0
    Jan 15 06:05:22 localhost kernel[0]: netboot: using network interface 'en0'
    Jan 15 06:05:22 localhost kernel[0]: netboot: retrieving IP information from DHCP response
    Jan 15 06:05:22 localhost kernel[0]: netboot: IP address 192.168.50.189 netmask 255.255.255.0 router 192.168.50.1
    Jan 15 06:05:22 localhost kernel[0]: netboot: adding default route 192.168.50.1
    Jan 15 06:05:22 localhost kernel[0]: netboot: retrieving root path from BSDP response
    Jan 15 06:05:22 localhost kernel[0]: Server 192.168.50.230 Mount /Library/NetBoot/NetBootSP0 Image /MacHD104NetInstallSet.nbi/NetInstall-Restore.dmg
    Jan 15 06:05:22 localhost kernel[0]: USB caused wake event (EHCI)
    Jan 15 06:05:22 localhost kernel[0]: FireWire (OHCI) TI ID 8025 built-in now active, GUID 0019e3fffe80c6ea; max speed s800.
    Jan 15 06:05:22 localhost kernel[0]: Extension "com.apple.driver.AppleUSBTCKeyboard" has no kernel dependency.
    Jan 15 06:05:22 localhost kernel[0]: Extension "com.apple.driver.AppleUSBTCKeyEventDriver" has no kernel dependency.
    Jan 15 06:05:22 localhost kernel[0]: CSRHIDTransitionDriver::probe:
    Jan 15 06:05:22 localhost kernel[0]: CSRHIDTransitionDriver::start before command
    Jan 15 06:05:22 localhost kernel[0]: Extension "com.apple.driver.iTunesPhoneDriver" has no kernel dependency.
    Jan 15 06:05:22 localhost kernel[0]: CSRHIDTransitionDriver::stop
    Jan 15 06:05:22 localhost kernel[0]: IOBluetoothHCIController::start Idle Timer Stopped
    Jan 15 06:05:22 localhost kernel[0]: AppleYukon - en0 link active, 1000-Mbit, full duplex, symmetric flow control enabled
    Jan 15 06:05:22 localhost kernel[0]: root on 192.168.50.230:/Library/NetBoot/NetBootSP0
    Jan 15 06:05:22 localhost kernel[0]: netboot_setup: calling dirootimage
    Jan 15 06:05:22 localhost kernel[0]: IOHDIXController: NOTE: administrator is creating non-ejectable disk image
    Jan 15 06:05:22 localhost kernel[0]: netboot: root device 0xe00000d
    Jan 15 06:05:23 localhost memberd[38]: memberd starting up
    Jan 15 06:05:24 localhost configd[35]: loading com.apple.print.notification
    Jan 15 06:05:24 localhost configd[35]: adding com.apple.SystemConfiguration.PreferencesMonitor
    Jan 15 06:05:24 localhost configd[35]: loading com.apple.SystemConfiguration.PowerManagement
    Jan 15 06:05:24 localhost configd[35]: adding com.apple.SystemConfiguration.InterfaceNamer
    Jan 15 06:05:24 localhost configd[35]: loading com.apple.SystemConfiguration.DynamicPowerStep
    Jan 15 06:05:24 localhost configd[35]: loading com.apple.SystemConfiguration.Bluetooth
    Jan 15 06:05:24 localhost configd[35]: loading com.apple.SystemConfiguration.BatteryUpdater13
    Jan 15 06:05:24 localhost configd[35]: adding com.apple.SystemConfiguration.KernelEventMonitor
    Jan 15 06:05:24 localhost configd[35]: adding com.apple.SystemConfiguration.LinkConfiguration
    Jan 15 06:05:24 localhost configd[35]: loading com.apple.SystemConfiguration.ATconfig
    Jan 15 06:05:25 localhost lookupd[43]: lookupd (version 369.6) starting - Tue Jan 15 06:05:25 2008
    Jan 15 06:05:25 localhost configd[35]: loading com.apple.SystemConfiguration.EAPOLController
    Jan 15 06:05:25 localhost configd[35]: loading com.apple.SystemConfiguration.IP6Configuration
    Jan 15 06:05:25 localhost configd[35]: loading com.apple.SystemConfiguration.IPConfiguration
    Jan 15 06:05:25 localhost configd[35]: adding com.apple.SystemConfiguration.IPMonitor
    Jan 15 06:05:25 localhost configd[35]: adding com.apple.SystemConfiguration.Kicker
    Jan 15 06:05:25 localhost configd[35]: loading com.apple.SystemConfiguration.PPPController
    Jan 15 06:05:26 localhost diskarbitrationd[37]: disk2s9 hfs 1810949D-6F5C-34D8-9FE7-C84909B7C99D NetInstall-Restore /
    Jan 15 06:05:26 localhost DirectoryService[42]: Launched version 2.1 (v353.6)
    Jan 15 06:05:26 localhost diskarbitrationd[37]: disk0s2 hfs D40F974A-07A0-3165-BE9E-A3FF21247526 Mac HD /Volumes/Mac HD
    Jan 15 06:05:26 localhost diskarbitrationd[37]: disk1s3 hfs 47260607-3621-3430-8DA8-3C845734F792 Ext-80GB /Volumes/Ext-80GB
    Jan 15 06:05:26 localhost configd[35]: Starting kicker for enable-network
    Jan 15 06:05:26 localhost configd[35]: Starting kicker for network_change
    Jan 15 06:05:26 localhost configd[35]: Starting kicker for AppleFileServer
    Jan 15 06:05:26 localhost configd[35]: PM configd:_copyPMSettings(): using profile #1 for power source Battery Power
    Jan 15 06:05:26 localhost configd[35]: PM configd:_copyPMSettings(): using profile #2 for power source AC Power
    Jan 15 06:05:28 localhost configd[35]: executing /System/Library/SystemConfiguration/Kicker.bundle/Contents/Resources/enable-net work
    Jan 15 06:05:28 localhost configd[35]: posting notification com.apple.system.config.network_change
    Jan 15 06:05:28 localhost lookupd[94]: lookupd (version 369.6) starting - Tue Jan 15 06:05:28 2008
    Jan 15 06:05:28 localhost enable-network[95]: process network configuration change
    Jan 15 06:05:28 localhost configd[35]: hostname (multicast DNS) = 192-168-50-189
    Jan 15 06:05:28 192-168-50-189 configd[35]: setting hostname to "192-168-50-189.local"
    Jan 15 06:05:28 192-168-50-189 configd[35]: target=enable-network: exit status = 1
    Jan 15 06:05:28 192-168-50-189 configd[35]: target=enable-network: disabled
    Jan 15 06:05:28 192-168-50-189 mDNSResponder-108.6 (Jul 19 2007 11: 41:28)[116]: starting
    Jan 15 06:05:28 192-168-50-189 NETRESTORE: Time to boot: 17 seconds
    Jan 15 06:05:31 192-168-50-189 mDNSResponder: Adding browse domain local.
    Jan 15 06:05:33 192-168-50-189 NETRESTORE: Volume /dev/disk0 mounted\n
    Jan 15 06:05:33 192-168-50-189 NETRESTORE: Volume /dev/disk1 mounted\n
    Jan 15 06:05:34 192-168-50-189 NETRESTORE: Volume /dev/disk2 mounted\n
    Jan 15 06:05:34 192-168-50-189 NETRESTORE: Volume /dev/disk3 mounted\n
    Jan 15 06:05:34 192-168-50-189 NETRESTORE: Volume /dev/disk4 mounted\n
    Jan 15 06:05:34 192-168-50-189 NETRESTORE: Volume /dev/disk5 mounted\n
    Jan 15 06:05:35 192-168-50-189 NETRESTORE: Volume /dev/disk6 mounted\n
    Jan 15 06:05:35 192-168-50-189 NETRESTORE: Mounting NetBoot sharepoint
    Jan 15 06:05:35 192-168-50-189 NETRESTORE: Launching NetRestore.app
    Jan 15 06:05:41 192-168-50-189 /System/Library/Frameworks/ApplicationServices.framework/Frameworks/ATS.framewo rk/Support/ATSServer: (-1) Cannot use ATS Persistent Store - switching to old FODB cache code
    Jan 15 06:05:47 192-168-50-189 NETRESTORE: READY -2 0
    Jan 15 06:06:03 192-168-50-189 NETRESTORE: SETTINGS -2 Target disk name: Mac HD
    Jan 15 06:06:03 192-168-50-189 NETRESTORE: SETTINGS -2 Target disk mount point: /Volumes/Mac HD
    Jan 15 06:06:03 192-168-50-189 NETRESTORE: SETTINGS -2 Target disk device number: /dev/disk0s2
    Jan 15 06:06:03 192-168-50-189 NETRESTORE: PREPARING -1
    Jan 15 06:06:05 192-168-50-189 NETRESTORE: VALIDATE_SOURCE -1 0
    Jan 15 06:06:06 192-168-50-189 NETRESTORE: VALIDATE_SIZES 11 0
    Jan 15 06:06:52 192-168-50-189 NETRESTORE: SETTINGS -2 Target disk name: Mac HD
    Jan 15 06:06:52 192-168-50-189 NETRESTORE: SETTINGS -2 Target disk mount point: /Volumes/Mac HD
    Jan 15 06:06:52 192-168-50-189 NETRESTORE: SETTINGS -2 Target disk device number: /dev/disk0s2
    Jan 15 06:06:52 192-168-50-189 NETRESTORE: PREPARING -1
    Jan 15 06:06:53 192-168-50-189 NETRESTORE: VALIDATE_SOURCE -1 0
    -sh-2.05b#
    Can someone explain me what is going wrong?
    I have to say that this error only shows when i try to boot from the netinstall image i created with the 10.4 system image utility.
    The nbi image i created with netrestore helper does boot, shows me the installer, says it is completed but when it is rebooting the OS is still the same as before the installation, very weird.
    According to this online document it should work as long as you create it with the right tools (10.4 tools for 10.4 images):
    http://docs.info.apple.com/article.html?artnum=306542
    But probably I missed a little detail which I also could not find here on the forum an also not on other forum.
    Thanks in advance for your time responding to this.

    Never mind, I already found the solution myself.
    What I did wrong was:
    - not copying the master image to the nbi folder
    - selecting the netinstall-restore.dmg image as source to copy to my HD.
    The thing is, when you create a netinstall image for 10.5, the image itself is already included in the netinstall image so you don't have to do anything else.
    With the 10.4 image however, you also have to copy the master image to the NetBootSP0 directory.
    In the *.nbi folder contains an netinstall-restore.dmg file. But that is only to boot you to netrestore, it's not the image itself.
    Other alternative is to copy the images to another folder that you share with AFP and adjust the configuration of netrestore like described in this manual:
    http://www.shellharbourd.det.nsw.edu.au/pdf/misc/osxrestoringnet.pdf
    This manual was also how I figured out that I forgot to copy the image to the NetBootSP0 folder.

  • Creating an image on external drive

    Greetings,
    Although I have in the past successfully created an image of my entire internal drive (250 GB) onto an external Lacie FW (250 GB) when I now attempt to repeat the process, having re-formatted my Lacie, I get the message that "there is not enough space on the device" (Lacie)
    Lacie support says I should "lower the size of the image I'm trying to create using my backup software" I'm using Disk Utility and as far as I know I can't limit the size of a disk image other than compressing and I need to keep the image read/write. Maybe I can do this with other back-up software? Any ideas would be greatly appreciated.
    Cheers and thank you all for the very useful ideas in these discussion forums.
    iMac20 intel core-duo   Mac OS X (10.4.8)  

    Dogbyke
    To help answer your question we need more info;
    What did you format your External HD to, as certian format's limit copy file size?
    What is the available space in external HD?
    What is the used space in the internal HD?
    The best short answers for you are here;
    For Backup to External HD select the method that best suit's your needs.
    http://www.macmaps.com/backup.html
    For a Bootable Clone to External HD start here.
    http://www.macmaps.com/clonedu.html
    Dennis
    17" iMac Intel Core Duo 1.5GB Ram   Mac OS X (10.4.8)   Maxtor 300GB FireWire 2G Nano

  • How to create an image from another one with midp1.0 as in midp 2.0

    hi:
    we can create an image from part of another one in midp2.0 width the following method
    createImage(Image image, int x,int y,int width,int height,int transform)
    but have to work with midp1.0, then how?
    regards

    but i have six icons in one picture, (tow row ,three column, each size 14*14)
    it's ok to get the top-left icon with the following code
    Image image = Image.createImage("/myicon.png");
    Image tmp = Image.createImage(14, 14);
    Graphics g = tmp.getGraphics();
    g.drawImage(image, 0, 0, Graphics.TOP|Graphics.LEFT);
    but how to get other icon?
    regards

  • How do I create an Image of my Solaris 10 (Intel) server?

    I'm currently running Solaris 10 (Intel) on a Dell PowerEdge 2650. I'd like to create an Image of the server now that I have all the extra software installed and configured correctly.
    I used Symantec Ghost for my Window based servers, does anyone have any suggestions for the best method/software to do the same for my Solaris servers? Any help would be appreciated.
    Thanks

    Using dd is about the most hideous thing to do since restoring the data will cause you much grief. The best approach would be to use the 'ufsdump' command. You can easily dump your slices into files, and perform either full or interactive restores.
    Better yet; whenever you get a bigger disk you won't be wasting space (or risk corrupting data) through the use of dd. Next to data the dd command would also restore the partition table, boot sector, etc. And thats not very good if the disks differ too much.

Maybe you are looking for

  • Runtime error: failed to create delegate view

    hi all, We have two applications in two separate projects. But we can deploy only one at a time. If we deploy the second application (or vice-versa)and try to access the first application, it throws up the following error. P.S. The problem is only wi

  • Can i install a Medcin CD program into my Macbook Pro Laptop?, can i install a Medcin CD program into my Macbook Pro Laptop?

    Can i install any programs to my MacBook Pro without my Laptop getting messed up?

  • Video Chat

    what can't I seem to start a video chat anywhere on my Nexus.  Seems this was a well-advertised feature of this phone and now I can't seem to find any way to do it or any icon that will initiate a video chat

  • Wrong Rescue Email Address

    Hi, I've been trying to reset the security questions for my AppleID, but I can't remember the answers. There's a link below the questions the questions that lets me reset them, but the email it is being sent to is either a forgotten email address to,

  • Macbook Running Slow With A Lot of Popups

    I have a Macbook Pro I purchased in 2009. It is running extremely slow out of nowhere. I know it's old but the speed issue happened out of nowhere. On top of this I am getting a ridiculous amount of popups when running Chrome. I've always used Chrome