Hello dear guest!

Boot Land is a community driven site established since 2006 and focused on data recovery/backup boot disks, research of Windows 2000/XP/2003/Vista/7 install/deployment/antivirus tools, customizing Windows PE systems and even learning how to recover from disaster situations.

How about joining our boot disk community? So do it. Life's short!

  - You get free access to our newsletter with all the interesting buzz about boot disks
  - We share publicity revenue with everyone who wishes to participate at the forums
  - Publicity is never, never, never displayed to members (along with many other cool things)
http://boot-land.net/register

 
Reply to this topic
 use cabarc i reduce picoxp to 9.86MB, picoxp
post Sep 14 2007, 04:49 PM
Post #1
Meng.Wang
  
Group: Members

  Joined: 31-August 07
Posts: 7
Thank(s): 0


China


here is the nant script that i use.
CODE

<target name="mkrambootiso">
<copy file="src\ramdisk.sy_" todir="picoxp\I386\system32\drivers" overwrite="true"/>
<iniwrite filename="picoxp\I386\txtsetup.sif" section="ScsiClass.Load" key="ramdisk" value="ramdisk.sys"/>
<exec program="bin\mkisofs.exe" commandline=' -iso-level 4 -force-uppercase -volid "PicoXP" -b bootsect.bin -no-emul-boot -boot-load-size 4 -hide bootsect.bin -hide boot.catalog -duplicates-once -o iso\picoxp.iso picoxp' />
<property name="RamDir" value="picoxp\RamBoot\" />
<mkdir dir="${RamDir}"/>
<mkdir dir="${RamDir}\I386"/>
<touch file="${RamDir}\WINNT.SIF"/>
<echo message="[SetupData]" file="${RamDir}\WINNT.SIF"/>
<echo message='BootDevice="ramdisk(0)"' file="${RamDir}\WINNT.SIF" append="true"/>
<echo message='BootPath="\i386\SYSTEM32\"' file="${RamDir}\WINNT.SIF" append="true"/>
<echo message='OsLoadOptions="/fastdetect /minint /rdexportascd /rdpath=RamBoot.is_"' file="${RamDir}\WINNT.SIF" append="true"/>
<copy file="picoxp\bootsect.bin" tofile="${RamDir}\BOOTSECT.BIN"/>
<copy file="${InstSourceDir}\I386\ntdetect.com" todir="${RamDir}\I386" overwrite="true"/>
<copy file="${InstSourceDir}\I386\setupldr.bin" todir="${RamDir}\I386" overwrite="true"/>
//here is the function!!!
<exec program="bin\cabarc" commandline="-m LZX:21 n ${RamDir}\RamBoot.is_ iso\picoxp.iso"/>
<exec program="bin\mkisofs.exe" commandline=' -iso-level 4 -force-uppercase -volid "PicoXP_RAM" -A PEBUILDER/MKISOFS -sysid "Win32" -b BOOTSECT.BIN -no-emul-boot -hide BOOTSECT.BIN -duplicates-once -o iso\PicoXP_RAM.iso PicoXP\RamBoot' />
</target>

whole tool and script download :http://blog.vckbase.com/Files/BastEt/Spe20070915.rar
nantlite clean buildramiso
then everything ok


+Quote Post
post Sep 15 2007, 09:17 AM
Post #2
was_jaclaz
Finder   ******
Group: Advanced user

  Joined: 14-July 06 From: Gone in the mist

Posts: 7,224
Thank(s): 547


Italy


Nice! smile.gif

I edited your post as to make the code inside a "codebox" to make it more readable. wink.gif

jaclaz


--------------------
+Quote Post
post Sep 15 2007, 06:24 PM
Post #3
Nuno Brito
Platinum Member   ******
Group: .script developer

  Joined: 13-July 06 From: Pittsburgh

Posts: 7,846
Thank(s): 341


Portugal


Very good results! smile.gif

You're using windows 2003, right? huh.gif


Congratulations! thumbup.gif


--------------------
http://f0rums.com - grab a free forum to include inside your site.
+Quote Post
post Sep 21 2007, 03:57 PM
Post #4
felix
Member   **
Group: Members

  Joined: 13-September 06 From: In the BOOT

Posts: 50
Thank(s): 3


Italy


QUOTE (Nuno Brito @ Sep 15 2007, 07:24 PM) *
Very good results! smile.gif

You're using windows 2003, right? huh.gif
Congratulations! thumbup.gif


This Cab compression method could be used for all projects that use the RAM iso boot thumbsup.gif .I reduced NativePE from 96MB with some apps to just 54MB.Also the copy process of the image in RAM is faster because of the smaller size of the image.It works even with Raw disk images.Just use Win2003 ramdrv.sys and ntdetect.com.
+Quote Post
post Dec 27 2007, 01:39 AM
Post #5
sanbarrow
Silver Member   ****
Group: Developer

  Joined: 13-October 06 From: Germany - Sauerland

Posts: 766
Thank(s): 43


Does anybody know what error 16 means when trying this compression trick with a 2k3-sp2 based built ?
+Quote Post
post Jan 2 2008, 03:53 PM
Post #6
felix
Member   **
Group: Members

  Joined: 13-September 06 From: In the BOOT

Posts: 50
Thank(s): 3


Italy


That error happens when ntdetect.com on the root folder and inside the winpe.img file are different.You need to have both files identical (from 2k3-sp2) for it to work.
+Quote Post
post Jan 3 2008, 12:00 AM
Post #7
sanbarrow
Silver Member   ****
Group: Developer

  Joined: 13-October 06 From: Germany - Sauerland

Posts: 766
Thank(s): 43


QUOTE (felix @ Jan 2 2008, 04:53 PM) *
That error happens when ntdetect.com on the root folder and inside the winpe.img file are different.You need to have both files identical (from 2k3-sp2) for it to work.


Hmmm - I always replaced ntdetect.com and setupldr.bin from 2k3-sp2 with the versions of 2k3-r2. Do I only need to replace setupldr.bin ?
Will try that - thanks
+Quote Post
post Jan 10 2008, 12:08 PM
Post #8
felix
Member   **
Group: Members

  Joined: 13-September 06 From: In the BOOT

Posts: 50
Thank(s): 3


Italy


QUOTE (sanbarrow @ Jan 3 2008, 02:00 AM) *
Hmmm - I always replaced ntdetect.com and setupldr.bin from 2k3-sp2 with the versions of 2k3-r2. Do I only need to replace setupldr.bin ?
Will try that - thanks

Yup setupldr.bin must also be from 2k3.
+Quote Post

Reply to this topic
1 User(s) are reading this topic ()


  

Collapse

  Topic Replies Topic Starter Views Last Action
No new tool to track install wanted!
31 MedEvil 4,732 3rd February 2010 - 11:43 AM
Last post by: m4dm4Xz
No New Posts Tons of Wifi and NIC drivers?
5 Burner727 941 26th November 2009 - 12:56 AM
Last post by: Lancelot
No New Posts Too slow to mount wim on Win7
8 Zhang Heng 1,069 25th November 2009 - 02:09 PM
Last post by: Zhang Heng
No New Posts tondo wants to say hello
2 tondo 619 8th September 2009 - 01:30 PM
Last post by: psc
No New Posts toshiba nb205-n311 with windows xp
issue installing windows 7 on my hardware
1 netbookface 1,017 16th August 2009 - 09:40 AM
Last post by: cdob