Showing posts sorted by relevance for query iso. Sort by date Show all posts
Showing posts sorted by relevance for query iso. Sort by date Show all posts

Monday, June 29, 2009

How To Make A Bootable Windows USB Flash Disk

Usually, if its an option in your BIOS boot sequence menu, the answer to this is yes. If its not there, look for BIOS updates. If you are not sure, proceed and see what happens

2. Sorting out the "Bootability" of your USB-Drive

Connect your USB drive to your computer, directly, without a Hub. Then, shut down your computer, disconnect any other hard disk drives from it, and insert your original Windows XP CD into the drive. Start the installation, and proceed to the section where you are allowed to pick a hard drive. If it goes beyond the partition selection, your drive is already fine for booting Windows XP. If not (seems to be the cases with many of the Freecom USB HDDs for example), you will get an error like "Windows is unable to find your drive, partition, data etc bla". This is usually not a big problem.


All you need to do is "properly" format the drive. Reboot into your normal Windows, and get this HP tool , and use it to format your HDD completely. I chose NTFS format, worked fine everytime i tried. After this, my drives are recognized as valid installation devices by the Windows XP installer.
(In fact, i did not manage to create a USB primary partition with FAT32 that was recognized as being installable)

3. Dumping the original Windows CD into an ISO File

Pretty easy one. Simply open WinISO, and select Actions -> Make ISO from
CDROM, and save your CD image.

4. Extracting the files we need to work on

After the CD dump is done, close and reopen WinISO. Then, open the ISO file you just created using File -> Open.
Now, click the I386 folder, and select the following files (Ctrl key to multi-select)

TXTSETUP.SIF
DOSNET.INF
USB.IN_
USBPORT.IN_
USBSTOR.IN_

Select Actions -> Extract and put the resulting
files into some folder to work on them.

5. Unpacking IN_ files

Use the Cab SDK (from the command line) for extracting the contents of the .IN_ files. Each of them contains exactly one .inf file. If you are unsure how to use the Cab SDK, here is an example command line:

cabarc x USBSTOR.IN_

You should end up with three new files in the folder, called:

usb.inf
usbport.inf
usbstor.inf

You can now delete the .IN_ files.

6. Editing the files

This is the main job. i ll also try to explain a bit whats happening. Use a simple Texteditor like
Notepad.

TXTSETUP.SIF

This file is loaded on the initial install step by the Windows XP CD installer. In this file, we will change the way Windows treats USB devices during system setup -- the default is to only treat them as input devices during installation -- we will change this to include mass storage driver support (which needs to be loaded into the installer much earlier in order to work).

First, move the following entries from
[InputDevicesSupport.Load] to the[BootBusExtenders.Load] section , as shown here

[BootBusExtenders.Load]
pci = pci.sys
acpi = acpi.sys
isapnp = isapnp.sys
acpiec = acpiec.sys
ohci1394 = ohci1394.sys
usbehci = usbehci.sys
usbohci = usbohci.sys
usbuhci = usbuhci.sys
usbhub = usbhub.sys
usbstor = usbstor.sys

[InputDevicesSupport.Load]
usbehci = usbehci.sys
usbohci = usbohci.sys
usbuhci = usbuhci.sys
usbhub = usbhub.sys
usbccgp = usbccgp.sys
hidusb = hidusb.sys
serial = serial.sys
serenum = serenum.sys
usbstor = usbstor.sys

... now the same for
[BootBusExtenders] and [InputDevicesSupport]

[BootBusExtenders]
pci = "PCI-Bustreiber",files.pci,pci
acpi = "ACPI Plug & Play-Bustreiber",files.acpi,acpi
isapnp = "ISA Plug & Play-Bustreiber",files.isapnp,isapnp
acpiec = "Integrierter ACPI-Controllertreiber",files.none,acpiec
ohci1394 = "IEEE-1394-Bus-OHCI-konformer Anschlusstreiber",files.ohci1394,ohci1394
usbehci = "Erweiterter Hostcontroller",files.usbehci,usbehci
usbohci = "Open Hostcontroller",files.usbohci,usbohci
usbuhci = "Universeller Hostcontroller",files.usbuhci,usbuhci
usbhub = "Standard-USB-Hubtreiber",files.usbhub,usbhub
usbstor = "USB-Speicherklassentreiber",files.usbstor,usbstor

[InputDevicesSupport]
usbehci = "Erweiterter Hostcontroller",files.usbehci,usbehci
usbohci = "Open Hostcontroller",files.usbohci,usbohci
usbuhci = "Universeller Hostcontroller",files.usbuhci,usbuhci
usbhub = "Standard-USB-Hubtreiber",files.usbhub,usbhub
hidusb = "HID-Parser",files.hidusb,hidusb
serial = "Treiber fur seriellen Anschluss",files.none,serial
serenum = "Enumerator fur seriellen Anschluss",files.none,serenum
usbstor = "USB-Speicherklassentreiber",files.usbstor,usbstor
usbccgp = "USB Generic Parent Driver",files.usbccgp,usbccgp

Next, we also have to write several keys into the registry. Convieniently, the txtsetup.sif allows you to specify files that are parsed and instered into the registry at install time. Insert the following in the [HiveInfs.Fresh] section:

[HiveInfs.Fresh]
AddReg = hivedef.inf,AddReg
AddReg = hivesys.inf,AddReg
AddReg = hivesft.inf,AddReg
AddReg = hivecls.inf,AddReg
AddReg = hiveusd.inf,AddReg
AddReg = dmreg.inf,DM.AddReg
AddReg = usbboot.inf,usbservices

and also in
[SourceDisksFiles]

[SourceDisksFiles]
usbboot.inf = 1,,,,,,_x,3,,3
bootvid.dll = 1,,,,,,3_,2,0,0,,1,2
kdcom.dll = 1,,,,,,3_,2,0,0,,1,2


Finally, save and close TXTSETUP.SIF. We are done with it.

DOSNET.INF

Now, open DOSNET.INF , and change the second
[Files] section to look like this:

[Files]
d1,usbboot.inf
d1,_default.pif
d1,12520437.cpx
d1,12520850.cpx

usb.inf

Change the bolded lines in the [
StandardHub.AddService] and[CommonClassParent.AddService] sections:

[StandardHub.AddService]
DisplayName = %StandardHub.SvcDesc%
ServiceType = 1 ; SERVICE_KERNEL_DRIVER
StartType = 0 ; SERVICE_DEMAND_START
ErrorControl = 1 ; SERVICE_ERROR_NORMAL
ServiceBinary = %12%\usbhub.sys
LoadOrderGroup = Boot Bus Extender

[CommonClassParent.AddService]
DisplayName = %GenericParent.SvcDesc%
ServiceType = 1 ; SERVICE_KERNEL_DRIVER
StartType = 0 ; SERVICE_DEMAND_START
ErrorControl = 1 ; SERVICE_ERROR_NORMAL
ServiceBinary = %12%\usbccgp.sys
LoadOrderGroup = Boot Bus Extender


usbport.inf

Change the bolded lines in the
[EHCI.AddService], [OHCI.AddService] , [UHCI.AddService] and [ROOTHUB.AddService] sections:

[EHCI.AddService]
DisplayName = %EHCIMP.SvcDesc%
ServiceType = 1 ; SERVICE_KERNEL_DRIVER
StartType = 0 ; SERVICE_DEMAND_START
ErrorControl = 1 ; SERVICE_ERROR_NORMAL
ServiceBinary = %12%\usbehci.sys
LoadOrderGroup = Boot Bus Extender

[OHCI.AddService]
DisplayName = %OHCIMP.SvcDesc%
ServiceType = 1 ; SERVICE_KERNEL_DRIVER
StartType = 0 ; SERVICE_DEMAND_START
ErrorControl = 1 ; SERVICE_ERROR_NORMAL
ServiceBinary = %12%\usbohci.sys
LoadOrderGroup = Boot Bus Extender

[UHCI.AddService]
DisplayName = %UHCIMP.SvcDesc%
ServiceType = 1 ; SERVICE_KERNEL_DRIVER
StartType = 0 ; SERVICE_DEMAND_START
ErrorControl = 1 ; SERVICE_ERROR_NORMAL
ServiceBinary = %12%\usbuhci.sys
LoadOrderGroup = Boot Bus Extender

[ROOTHUB.AddService]
DisplayName = %ROOTHUB.SvcDesc%
ServiceType = 1 ; SERVICE_KERNEL_DRIVER
StartType = 0 ; SERVICE_DEMAND_START
ErrorControl = 1 ; SERVICE_ERROR_NORMAL
ServiceBinary = %12%\usbhub.sys
LoadOrderGroup = Boot Bus Extender

usbstor.inf

Change / Add
[USBSTOR.AddService] section to this:

[USBSTOR.AddService]
DisplayName = %USBSTOR.SvcDesc%
ServiceType = 1
StartType = 0
Tag = 3
ErrorControl = 1
ServiceBinary = %12%\USBSTOR.SYS
LoadOrderGroup = Boot Bus Extender

new file:
USBBOOT.INF

Create a new file called USBBOOT.INF in the same directory as your other changed files, and put the following content into it:

[usbservices]

HKLM,"SYSTEM\CurrentControlSet\Services\USBSTOR","DisplayName",0x00000000,"USB Mass Storage Driver"
HKLM,"SYSTEM\CurrentControlSet\Services\USBSTOR","ErrorControl",0x00010001,1
HKLM,"SYSTEM\CurrentControlSet\Services\USBSTOR","Group",0x00000000,"System Reserved"
HKLM,"SYSTEM\CurrentControlSet\Services\USBSTOR","ImagePath",0x00020000,"system32\DRIVERS\USBSTOR.SYS"
HKLM,"SYSTEM\CurrentControlSet\Services\USBSTOR","Start",0x00010001,0
HKLM,"SYSTEM\CurrentControlSet\Services\USBSTOR","Type",0x00010001,1

HKLM,"SYSTEM\CurrentControlSet\Services\usbehci","DisplayName",0x00000000,"USB 2.0 Enhanced Host Controller Miniport Driver"
HKLM,"SYSTEM\CurrentControlSet\Services\usbehci","ErrorControl",0x00010001,1
HKLM,"SYSTEM\CurrentControlSet\Services\usbehci","Group",0x00000000,"System Reserved"
HKLM,"SYSTEM\CurrentControlSet\Services\usbehci","ImagePath",0x00020000,"system32\DRIVERS\usbehci.sys"
HKLM,"SYSTEM\CurrentControlSet\Services\usbehci","Start",0x00010001,0
HKLM,"SYSTEM\CurrentControlSet\Services\usbehci","Type",0x00010001,1

HKLM,"SYSTEM\CurrentControlSet\Services\usbhub","DisplayName",0x00000000,"USB2 Enabled Hub"
HKLM,"SYSTEM\CurrentControlSet\Services\usbhub","ErrorControl",0x00010001,1
HKLM,"SYSTEM\CurrentControlSet\Services\usbhub","Group",0x00000000,"System Reserved"
HKLM,"SYSTEM\CurrentControlSet\Services\usbhub","ImagePath",0x00020000,"system32\DRIVERS\usbhub.sys"
HKLM,"SYSTEM\CurrentControlSet\Services\usbhub","Start",0x00010001,0
HKLM,"SYSTEM\CurrentControlSet\Services\usbhub","Type",0x00010001,1

HKLM,"SYSTEM\CurrentControlSet\Services\usbuhci","DisplayName",0x00000000,"
Microsoft USB Universal Host Controller Miniport Driver"
HKLM,"SYSTEM\CurrentControlSet\Services\usbuhci","ErrorControl",0x00010001,1
HKLM,"SYSTEM\CurrentControlSet\Services\usbuhci","Group",0x00000000,"System Reserved"
HKLM,"SYSTEM\CurrentControlSet\Services\usbuhci","ImagePath",0x00020000,"system32\DRIVERS\usbuhci.sys"
HKLM,"SYSTEM\CurrentControlSet\Services\usbuhci","Start",0x00010001,0
HKLM,"SYSTEM\CurrentControlSet\Services\usbuhci","Type",0x00010001,1

HKLM,"SYSTEM\CurrentControlSet\Services\usbohci","DisplayName",0x00000000,"Microsoft USB Open Host Controller Miniport Driver"
HKLM,"SYSTEM\CurrentControlSet\Services\usbohci","ErrorControl",0x00010001,1
HKLM,"SYSTEM\CurrentControlSet\Services\usbohci","Group",0x00000000,"System Reserved"
HKLM,"SYSTEM\CurrentControlSet\Services\usbohci","ImagePath",0x00020000,"system32\DRIVERS\usbohci.sys"
HKLM,"SYSTEM\CurrentControlSet\Services\usbohci","Start",0x00010001,0
HKLM,"SYSTEM\CurrentControlSet\Services\usbohci","Type",0x00010001,1


7. Repack the inf files into their original IN_ format

If you have not already deleted your extracted .IN_ files, do so now. They need to be replaced. Open a DOS shell again, and navigate to the folder with your changed files. Then exceute the following commands:

cabarc n USB.IN_ usb.inf
cabarc n USBPORT.IN_ usbport.inf
cabarc n USBSTOR.IN_ usbstor.inf

The three IN_ files should now exist again.

Congratulations. All out modifications are done.

8. Inject the changed files into the ISO

Open your Windows CD image again with WinISO. Navigate to the I386 folder, and delete the following files from the ISO, saving the changes to the ISO afterwards:

DOSNET.INF
TXTSETUP.SIF
USB.IN_
USBPORT.IN_
USBSTOR.IN_

Just to be sure all is updated in the ISO, cloase and repoen the ISO in WinISO. Now, again go to the I386 folder and select "Add Files". Now add your changed files, in detail:

USBBOOT.INF
DOSNET.INF
TXTSETUP.SIF
USB.IN_
USBPORT.IN_
USBSTOR.IN_

Save the ISO. You are done.

9. Burn the ISO back to CD

Feel free to use any burning package you want. I used the free and simple Burnatonce

10. Install Windows XP from the CD

Shut down your computer. Disconnect ANY internal and external hard drives (so Windows cannot find them during installation and mess up their Master Boot Records hehe). Some computers will have trouble to boot without an internal HDD attached, check in your BIOS and, if possible, remove the HDD from the boot sequence and set the USB Harddisk as the first boot device, and the CDROM as second.

Also, now connect your USB Harddrive directly to the computer, without any Hubs in between.

Windows should install just fine, with the exceptions noted below.

Issues you will encounter during installation:

During driver installation, the
USB drivers will prompt you, as they are "not certified" - This is normal. Our changes invalidated the checksum, and therefore the driver is no longer signed. Just press "yes" a couple of times.
Upon completion of the install, the system will complain once on the first bootup that the pagefile does not exist. You can ignore this for now, as
Windows will work fine without it. People are looking at fixing this issue, but its not critical for now.

Once everything is up and running , shut down and reconnect all your drives.

Friday, August 14, 2009

Creating A Windows XP SP2 Bootable CD

1. First, create a folder on your hard drive e.g. D:\XPCD. Now, copy the entire contents of existing Windows XP CD to this folder. The Windows XP SP2 executable file is an archive of the Service Pack 2 files, so you can use WinZip and extract SP2 files to another folder say D:\SP2. Now, locate update.exe under D:\SP2. This can be found inside the sub-folder named ‘update’. Go to the DOS command prompt and change your directory to this ‘update’ folder. Run the commandcommand “update where/integrate:"(dir)" “(dir)” is the directory you saved the Windows XP CD files to, ( “D:\XPCD” in ourcase). This will start integrating SP2 into the Windows XP Installation files saved at D:\XPCD. You should get message box confirmation that integration was successful.Now the D:\XPCD folder contains Windows XP installation files with SP2 integrated.

2. Extracting the boot image from the existing Windows XP bootable CD is easy. You need to use software that can do this. Bart’s Boot Image Extractor (BBIE) is a simple but useful utility and isavailable for download from http://nu2.abwehr.net/bbie10.zip. Insert the Windows XP CD into the CD drive, and go to the command prompt and change directory to the folder where BBIE is located. Run “bbie -v (CD drive letter)” e.g. “bbie -v F:”. You should now find a file named
‘image1.bin’ being created in the same folder from where bbie.exe was run. This file is the
Windows XP Boot image.

3. Insert a blank CD-R media into your CD Writer. Use burning software such as Nero to create your boot CD. Go to File >> New, select ‘Boot CD’ and select the boot image file that you created in Step 2. Make sure that emulation is set to ‘No emulation’. The boot segment is automatically filled in by Nero—all you need to do is set the number of loaded sectors to 4. Select Mode1 and ISO Level 2, from under the ISO tab. Enable all options under ‘Relax ISO Restrictions’, and use the ISO 9660 Character set. Under the Label tab, enter the same label name as that of theoriginal CD. To find this, just insert the Windows XP Installation CD into your CD- ROM drive and open Windows Explorer to see the name displayed against your CD drive. Click ‘New’ to open the File Explorer browser. In the file browser, select all the XP Installation files with SP2 integrated (from D:\XPCD in our example) for writing to a new CD. Finally open the CD Write dialog box, and under the ‘Burn’ tab, enable the Finalize CD option. Now, write the compilation to the blank CD-R. You have successfully created a bootable Windows XP installation CD with SP2.

Create A Bootable XP CD That Pre-installs Additional Programs

To create a bootable XP CD that pre-installs additional programs, first install Windows Unattended CD Creator (WUCC). You need to have Microsoft .NET Framework 1.1 or higher installed.Windows Unattended CD Creator is a very small application that will help you create an user-customized Windows bootable CD. You can choose which drivers, components or hotfixes to be installed and you can even set your network settings. All you need to do in a normal Windows installation is taken cared of by this little application, so you can install your operating system in the fastest way possible.


When you open WUCC, you will be asked for the Windows CD or the directory of the Windows install files (the CD must be bootable). To add these files, click Select. Afteradding the install files, select a targetdirectory for the new Windows CD (or you can modify the source directory provided it is not read-only). If you going to “Select target directory”, then it is better to use a new directory rather than an existing one. The target directory will be a temporary location the software will use to create your disc image.After you create your disc, you candelete this
directory.

Now,you can add Windows hot-fixes like those to Internet Explorer, WMP, DirectX, etc. Find
these in the Hotfixes tab. Click the Select button to import the .exe files. When you select one, it will ask for a short name in 8.3 format, like “Explorer.exe”. After confirming the name, click Add.Change to the Software tab. Here you add the software you want to install along with the Windows installation. Provide a name for the software in the Software Description box.Then “Select” the software type (Files Only or Directory). You’ll see that the files are being added to the program list. Click a program from the list and then click Select to enter the program’s start parameters (basically, the path from where it will be installed). Repeat this for every program in the program list.

The start parameter is like
“%CDROM%\Software\...”If you don’t want to copy the programs to the Windows CD, click
the checkbox titled “Install directly from…”, but when you repeat the step where you provide the start parameters, you must type a valid source path. Change the default “%CDROM%\Software\...”to the actual path, say: “C:\My Software\...\...”

When all your programs have been provided with their start parameters, switch to the Done tab. Here you’ll see the list of directories that will be included in the Windows CD. If the size of the disc you’ve made is larger than the disc size (usually 700 MB), you can delete unnecessary directories, or you can split the files according to the disc size. You can also use a DVD.
Finally, click “Create ISO-image” to create the image for the new Windows bootable CD. Write this image onto a disc. You can now delete the temporary folder (the target directory in the “Source-CD” tab) you created.

Thursday, July 30, 2009

Ubuntu 9.04 Desktop

You can Download the latest version of Ubuntu Operating System here
click the link below:

It's Absolutely Free