info

Showing posts with label Administrative Tools. Show all posts
Showing posts with label Administrative Tools. Show all posts

12 October 2010

mixing Win PE 3 and Linux.

The last days I enjoyed myself by mixing Win PE 3 and Linux.

I wanted to use these o/s simultaneously,so this is the result.



-------------------------------

1) Get the ISO image file of WInPE 3.0 and open it

2) On the root of the ISO image put these file and folders :

a) Colinux

a1) Colinux-0.7.8 from here :



http://www.fileserve.com/file/RWfFP2X/coLinux-0.7.8.exe


a2) Compressed Linux filesystem from here :

http://www.fileserve.com/file/5QrvKD6/Ubuntu-9.04-1gb.7z

Unzip the the Ubuntu-9.04-1gb.tz file to C:\coLinux. This will take a while (unpacked it will be 1G). Unzipped, the file will have the name Ubuntu-9.04.ext3.1gb.fs.

The images that coLinux provides may not be big enough for our needs, especially if we plan to install Gnome or KDE. Here's a nifty little program we can use to increase the size of the image file: toporesize.zip. Toporesize can be found on Colinux Image Tools.

a3) Edit the colinux.conf file like this :

CODE
kernel=vmlinux

initrd=initrd.gz

cobd0=Ubuntu-9.04.ext3.1gb.fs

root=/dev/cobd0

mem=512

eth0=pcap-bridge,"LAN"

eth1=tuntap
b) tools

b1) 7z files from here :

http://www.7-zip.org/download.html

b2) NXclient client / server for Windows / Linux files from here :

http://www.nomachine.com/download.php

b3) Wincap-nmap-4.11.exe file

c) script.bat

edited script.bat like this and put it on the root of the ISO image

CODE
@echo off

set tagsource=\colinux

for %%i in (c d e f g h i j k l m n o p q r s t u v w x y z) do if exist "%%i:%tagsource%" set cddrive=%%i:

set tagdest=\"autoexec.bat"

for %%i in (c d e f g h i j k l m n o p q r s t u v w x y z) do if exist "%%i:%tagdest%" set drivedest=%%i:

echo %cddrive%

echo %drivedest%

%cddrive%

cd \tools

winpcap-nmap-4.11.exe /s

%drivedest%

cd \

if exist %drivedest%\colinux echo You already have an old installaion of Colinux,starting...

if exist %drivedest%\colinux goto start_colinux

mkdir colinux

%cddrive%

cd \colinux

xcopy *.* %drivedest%\colinux /S

cd \tools\7z

copy 7z*.* %drivedest%\colinux

%drivedest%

cd \colinux

7z e Ubuntu-9.04-1gb.tz

:start_colinux

%drivedest%

cd \colinux

colinux-daemon.exe --remove-driver

colinux-daemon.exe --install-driver

start /MIN colinux-daemon @colinux.conf

%cddrive%

cd \tools\nxclient

start nxclient
that's all. I attached a screenshot to show how works WinPE and Linux together,some time ago enemies,now friends :)

22 July 2010

Windows 7: Create a recovery partition

This is a tip that helps you to easily create a bootable "recovery" partition:

After some testing with Windows 7, it is probably possible to create a hidden partition, allowing access to all repair tools, and the ability to completely reinstall the system,therefore no need to use DVD or USB key.


To begin with, you'll need:
  1. A PC functional
  2. A blank hard disk, (that intended to receive the recovery partition)  
  3. Your DVD of Windows 7. (or iso file to extract the content)

Preparation of hard disk


The disk drive must be partitioned into two. Consider a partition of about 3.5GO, at beginning of the disk, so that this partition can contain all the files from the DVD and one for the system partition.

Copying files


Once the partitions of 3 to 4 GB created, simply just copy the entire DVD on this partition, and make this partition bootable.

Prepare of the partition to make it bootable


Open the command prompt and run this :

x: 

cd /boot  

bootsect /nt60 X:

(x being your partition)
 

A message "boot code was successfully updated on all targeted volumes" should appear.
Then check that the partition is marked "active" in disk management.
If necessary, right click on the partition and "mark partition as active"

Now mount the HDD in the PC and boot.
  • The PC will automatically launch the installer from the partition and add an entry "Windows setup" in the entries in bcd. (so no need to use third party software to edit the boot entries)
  • Everything is done automatically!
  • You now have a PC with a recovery partition that lets you reinstall new Windows 7 in case of problems.

Note


This is a trick that has been created and verified using the full version, and Home Premium
7.7600 RTM of Windows.

14 April 2010

E-book: Deploy ESX4 – The Ultimate Guide | Xtravirt

E-book: Deploy ESX4 – The Ultimate Guide | Xtravirt

E-book: Deploy ESX4 – The Ultimate Guide

Title: E-book: Deploy ESX4 – The Ultimate Guide
Author(s): Xtravirt (Paul Davey)
Target Audience: Technical - Advanced
Current Revision: 1.0.3 February 2010
First Published: 3 February 2010
Products: VMware ESX, Microsoft WDS, Xtravirt Build Methodology
UID: XD10118

Downloads

XD10118 Deploy ESX - The Ultimate Guide.zipDownload


Information
Title:
E-book: Deploy ESX4 – The Ultimate Guide
Author(s):
Xtravirt (Paul Davey)
Target Audience:
Technical - Advanced
First Published:
3 February 2010
Products:
VMware ESX, Microsoft WDS, Xtravirt Build Methodology
UID:
XD10118
PXE booting, WDS, %pre/%post scripting, videos and a whole lot more
PXE booting, WDS, %pre/%post scripting, videos and a whole lot more

Overview

This e-book discusses scripted builds for VMware ESX Server 3 & 4, including optional usage of Microsoft WDS server to deploy a scripted ESX build using PXE boot. Whilst many resources for VMware ESX Server deployment already exist, this guide delves much deeper into scripted technologies, which allow automated provisioning with flexible scripted builds. The e-book also documents the Xtravirt build methodology. This is a custom approach which has enabled many of our customers to rapidly provision ESX servers to a consistent and standardised level. The appendices in this book also provide additional scripting samples and manual configurations should the reader choose not to use the automation scripts provided. The following outlines each chapter and its purpose and context. Chapters: 1.0 - E-book overview and key definitions 2.0 - Manual tasks to create an automated deployment environment 3.0 - Run scripts provided with e-book to configure the automated deployment environment 4.0 - How to use ks.cfg files for scripting, and steps to take for a basic configuration 5.0 - Examples for advanced scripting for ks.cfg files 6.0 - Explanation of an Xtravirt build methodology and how to apply it