Digg this topic Add to my del.icio.us Submit to SlashDot  
Reply to this topicStart new topic
> use cabarc i reduce picoxp to 9.86MB, picoxp
post Sep 14 2007, 04:49 PM
Post #1


Group: Members
Posts: 7
Joined: 31-August 07
Member No.: 10,378


here is the nant script that i use.

<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' />

whole tool and script download :http://blog.vckbase.com/Files/BastEt/Spe20070915.rar
nantlite clean buildramiso
then everything ok
Go to the top of the page
+Quote Post
post Sep 15 2007, 09:17 AM
Post #2


Group: Advanced user
Posts: 1,165
Joined: 14-July 06
Member No.: 2


Nice! (IMG:http://www.boot-land.net/forums/style_emoticons/default/smile.gif)

I edited your post as to make the code inside a "codebox" to make it more readable. (IMG:http://www.boot-land.net/forums/style_emoticons/default/wink.gif)

Go to the top of the page
+Quote Post
Nuno Brito
post Sep 15 2007, 06:24 PM
Post #3

Advanced Member

Group: .script developer
Posts: 4,279
Joined: 13-July 06
From: Azores
Member No.: 1


Very good results! (IMG:http://www.boot-land.net/forums/style_emoticons/default/smile.gif)

You're using windows 2003, right? (IMG:http://www.boot-land.net/forums/style_emoticons/default/huh.gif)

Congratulations! (IMG:http://www.boot-land.net/forums/style_emoticons/default/thumbup.gif)
Go to the top of the page
+Quote Post
post Sep 21 2007, 03:57 PM
Post #4


Group: Members
Posts: 4
Joined: 13-September 06
Member No.: 382

QUOTE (Nuno Brito @ Sep 15 2007, 07:24 PM) *

This Cab compression method could be used for all projects that use the RAM iso boot (IMG:http://www.boot-land.net/forums/style_emoticons/default/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.
Go to the top of the page
+Quote Post
« Next Oldest · Projects · Next Newest »

Fast ReplyReply to this topicStart new topic

Members Who Viewed Topic Today ()


Display Mode: Standard · Switch to: Linear+ · Switch to: Outline

Track this topic · Email this topic · Print this topic · Subscribe to this forum

RSS Lo-Fi Version Time is now: 27th October 2007 - 11:13 AM

MKPortal ©2003-2006 mkportal.it