Blogs

K2 USB/Thunderbold Booting netboot alternative

This is more of an FYI.


If you build a Mac bootable usb key and manually make the following changes you can image your macs from a external device without having to netboot. This is from memory and may have to be tweaked.

create the directory /opt/kace with permissions 777 and change the owner to user:wheel. User being the user account that you logon with. SMB mount /opt/kace/peinst and /opt/kace/petemp to your k2 or rsa. Run the imaging tool that is in peinst.

If you browse the scripts inside the k2000 media manager you can get a better understanding how this all works.
Be the first to comment

K2 Netbooting Problems

A couple notes about netbooting accross subnets with the K2 or the RSA.


Make sure the server name and domain is valid in the configuration. The Dell demo box has the configuration wrong.

If we tried to netboot from this K2 the packet would contain k2000sandbox.cloud.kace.com.cloud.kace.com which is invalid and your Macintosh will not netboot.

The hostname should be k2000sandbox.

Instead of deploying ip-helper in the routers, I opted for a small linux box next to my RSA's VM running dhcp-helper. This allowed me more control. I have also deployed Raspberry PI's running dhcp-helper for buildings that have not been configured yet to allow our technicians to netboot and image their macs. 
Be the first to comment

Creating 2 or more partition on KACE deployment

This is my first post i will be updating more and more soon with videos and images


for creating partition we need to create a diskpart script on DELL KACE

Go to library / pre-installation task
choose action / Add new disk part script 


Diskpart script with 2 partitions
select disk 0
clean
create partition primary size=102400 
select partition 1
format quick fs=ntfs label=OS
active
assign letter c
create partition primary
select partition 2
format quick fs=ntfs label=DATA
assign letter d
exit


the above example create "C" partition size = 100GB with label "OS" and d partition size = rest of the available space with label "Data"


Diskpart script with 3 partitions C, D, E
select disk 0
clean
create partition primary size=102400 
select partition 1
format quick fs=ntfs label=OS
active
assign letter C
create partition primary size=102400
select partition 2
format quick fs=ntfs label=DATA
assign letter D
create partition primary 
select partition 3
format quick fs=ntfs label=BACKUP
assign letter E
exit
the above example create "C" partition size = 100GB with label "OS",  "D" partition size = 100GB with label "Data", E partition size = rest of the available space with label "BACKUP"

for more detail on disk part command visit http://technet.microsoft.com/en-us/library/cc766465(v=ws.10).aspx 


Be the first to comment

ITNinja formatting tricks

Starting this as a living document, if you have tips, let me know and I'll be happy to insert them. 


Today's lesson is about the CODE style tag.
Here is a line of code

If you start your post in Normal style and then convert a block of text to Code style will strip out any empty, blank lines. So this:

Here are a couple of lines of code


here is the second line

Becomes this:
Here is a couple of lines of code
see here is the second line


However, if you have a space on the empty line, the blank formatting is kept:

Here is the first line of code
 
Here is the second line


If you start a code block, and then paste in the code, the blank lines are retained as well, but don't try and re-edit it.

#!/bin/bash
if [ -f "/Library/Internet Plug-Ins/JavaAppletPlugin.plugin/Contents/Enabled.plist" ] ; then VERSION=$( defaults read "/Library/Internet Plug-Ins/JavaAppletPlugin.plugin/Contents/Enabled.plist" CFBundleVersion )
else
   VERSION="Not installed."
fi
echo "$VERSION"

Adding new lines will break up the code blocks.

#!/bin/bash
if [ -f "/Library/Internet Plug-Ins/JavaAppletPlugin.plugin/Contents/Enabled.plist" ] ; then VERSION=$( defaults read "/Library/Internet Plug-Ins/JavaAppletPlugin.plugin/Contents/Enabled.plist" CFBundleVersion )
else
   VERSION="Not installed."
fi
echo "$VERSION"

To avoid breaking the code into separate blocks, select the whole block, change it back to the Normal Style, then edit it. When you have it edited, select the whole block and convert it back to Code.


Notice also that you can have several nested layers of code blocks:

Outer code block
Inner code block
Inner Inner code
Outer code
View comments (1)

K2 Macintosh Imaging Prompt for Computer Name.

This mimics the PC computer name script that prompts for a computer name. The script works by reading the computer name from the built in script "Collect Mac OS X Computer Name" and prompting the user in action script to change the name. You can edit the script to suit your needs. Here is the script and below are some screenshots. 





Be the first to comment
Showing 1 - 5 of 2559 results