Digg this topic Add to my del.icio.us Submit to SlashDot 7 Pages V   1 2 3 > »   
Reply to this topicStart new topic
> XPSP1 with full commandline and NTFS below 10 MB
Dietmar
post Jan 3 2008, 12:06 AM
Post #1


Member
**

Group: Advanced user
Posts: 10
Joined: 29-March 07
Member No.: 4,813


Afghanistan


Hi all,

here is the promised XP SP1, which files can simple be copied on a NTFS compressed partition that is set activ. Uncompress only ntldr after that. Voila (IMG:../forums/style_emoticons/default/laugh.gif) .
It contains only original XP SP1 files and a renamed minlogon to winlogon from Windows Embedded.
The whole registry is made by hand. >It is the full commandline cmd.exe, not based on WinPE, just full XP. I never saw something like before. Nice to hear from you

Dietmar

PS: At the moment, only IDE harddisks are supported with Fat, Fat32 and NTFS.
The boottime is 1 second (IMG:../forums/style_emoticons/default/biggrin.gif) .
But this is a nice project, to build XP from single pieces, so I will integrate network, SATA and so on.

Hi all,
now it works also on SATA harddisks. It works on any compi... (IMG:../forums/style_emoticons/default/jump.gif) .

Nice to hear from you,
Dietmar

This post has been edited by jaclaz: Jan 3 2008, 04:03 PM
Reason for edit: Removed attachment (see my post below)
Go to the top of the page
 
+Quote Post
TheHive
post Jan 3 2008, 08:09 AM
Post #2


Advanced Member
***

Group: .script developer
Posts: 2,159
Joined: 14-July 06
Member No.: 5



QUOTE
here is the promised XP SP1, which files can simple be copied on a NTFS compressed partition that is set activ. Uncompress only ntldr after that. Voila


Thanks! Sounds good.

I had a question(s)
Primary Partion. right?


When you say that it can be copied to an NTFS compressed Parttion. Is that Mandatory or is it a recommendation. Also how would you create a compressed Partition.

Howt do you go by doing the Uncompress Ntldr.



Go to the top of the page
 
+Quote Post
jaclaz
post Jan 3 2008, 04:21 PM
Post #3


Finder
***

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


Italy


I find this to be a GREAT FIND!
(IMG:../forums/style_emoticons/default/thumbup.gif)
(IMG:../forums/style_emoticons/default/yahoo.gif)

Unfortunately (IMG:../forums/style_emoticons/default/sad.gif) posting here the complete set of files may be against Forum Rules, thus I removed Dietmar's original attachment and I am posting here the core of it (the redistributable part):

attached filelist.7z is a dir of the original Dietmar's Setup.
attached config.7z is the contents of the \Windows\System32\config directory (a.k.a. the Registry)

BOOT.INI can be as follows:
CODE
[boot loader]
timeout=10
default=multi(0)disk(0)rdisk(0)partition(1)\WINDOWS
[operating systems]
multi(0)disk(0)rdisk(0)partition(1)\WINDOWS="Microsoft Windows XP1 Dietmar's CLI"


You'll have to get your own Windows XP SP1 files + the minlogon.exe (from Windows XP Embedded).

I have tried to rebuild manually and tested it in Qemu (+Qemu Manager) successfully, but a further check by another user to make sure I didn't "cheat" somehow is welcome.

If anyone has some spare time, it would be nice if he could provide (preferably in the form of a batch file or of a Winbuilder .script) an automated way to build the directory structure and copy to it files from source \I386.

(IMG:../forums/style_emoticons/default/cheers.gif)

jaclaz
Attached File(s)
Attached File  config.7z ( 68.73K ) Number of downloads: 99
Attached File  filelist.7z ( 1.24K ) Number of downloads: 88
 
Go to the top of the page
 
+Quote Post
dennis123123
post Jan 3 2008, 06:58 PM
Post #4


Newbie
*

Group: Members
Posts: 3
Joined: 16-July 06
Member No.: 14



I put together a batch file from Jaclaz's filelist, it doesnt show right in the codebox on this forum, its over at the 911cd forums Dietmar's topic about this.


http://www.911cd.net/forums//index.php?s=&...st&p=140543
Go to the top of the page
 
+Quote Post
jaclaz
post Jan 3 2008, 07:03 PM
Post #5


Finder
***

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


Italy


QUOTE (TheHive @ Jan 3 2008, 09:09 AM) *
Thanks! Sounds good.

I had a question(s)
Primary Partion. right?


When you say that it can be copied to an NTFS compressed Parttion. Is that Mandatory or is it a recommendation. Also how would you create a compressed Partition.

Howt do you go by doing the Uncompress Ntldr.


1) Yes, Primary Partition
2) No, it should work on FAT as well (untested) but you will probably need more space, (IMG:../forums/style_emoticons/default/unsure.gif) (actually cannot say, on such small volumes NTFS filesystem structures are rather BIG)
3) Select NTLDR -> Right Click -> Properties -> Advanced -> Untick "Compression"

Find attached a RAW 16 Mb image already formatted as NTFS Compressed and containing the Registry and Directory structure, suitable for QEMU.

To mount the image with IMDISK use an offset of 63 blocks.

NOTE:
using QEMU the screen tries to resize itself a few times during booting, to avoid this you can load the SYSTEM hive (in the example into HKEY_LOCAL_MACHINE with name "testgo") and change the entries 1024 and 768 in
HKEY_LOCAL_MACHINE\testgo\ControlSet001\Hardware Profiles\0001\System\CurrentControlSet\Control\VIDEO\{23A77BF7-ED96-40EC-AF06-9B1F4867732A}\0000
into 640 and 480


jaclaz
Attached File(s)
Attached File  XPCLI16Mb.7z ( 294.04K ) Number of downloads: 74
 
Go to the top of the page
 
+Quote Post
jaclaz
post Jan 3 2008, 07:30 PM
Post #6


Finder
***

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


Italy


QUOTE (dennis123123 @ Jan 3 2008, 07:58 PM) *
I put together a batch file from Jaclaz's filelist, it doesnt show right in the codebox on this forum, its over at the 911cd forums Dietmar's topic about this.


http://www.911cd.net/forums//index.php?s=&...st&p=140543


Good work dennis123123,
I am attaching latest version as D123_XP.cmd (IMG:../forums/style_emoticons/default/smile.gif)

(the problems in the early version - which I was checking - were only pidgen.dll and ksecdd.sys right? )

jaclaz
Attached File(s)
Attached File  D123_XP.7z ( 1.3K ) Number of downloads: 63
 
Go to the top of the page
 
+Quote Post
dennis123123
post Jan 3 2008, 07:38 PM
Post #7


Newbie
*

Group: Members
Posts: 3
Joined: 16-July 06
Member No.: 14



QUOTE (jaclaz @ Jan 3 2008, 07:30 PM) *
Good work dennis123123,
I am attaching latest version as D123_XP.cmd (IMG:../forums/style_emoticons/default/smile.gif)

(the problems in the early version - which I was checking - were only pidgen.dll and ksecdd.sys right? )

jaclaz



Yes I think so (IMG:../forums/style_emoticons/default/rolleyes.gif)

The working code is the current version at 911cd, and if it is the same, then also the one Jaclaz has kindly attatched (IMG:../forums/style_emoticons/default/cool.gif)
Go to the top of the page
 
+Quote Post
jaclaz
post Jan 3 2008, 07:49 PM
Post #8


Finder
***

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


Italy


Yep, just tested the attached batch file with BOTH XP SP1 and XP 2600 (SP0) and it works allright! (IMG:../forums/style_emoticons/default/smile.gif)

Any taker for XP SP2 ?
And for Server 2003 ?
(though most probably there are REASONS why Dietmar used SP1) (IMG:../forums/style_emoticons/default/wink.gif)

jaclaz


Go to the top of the page
 
+Quote Post
psc
post Jan 3 2008, 09:34 PM
Post #9


Guru
***

Group: .script developer
Posts: 4,078
Joined: 14-July 06
From: Korschenbroich, Germany
Member No.: 3


Germany


QUOTE (jaclaz @ Jan 3 2008, 08:49 PM) *
Yep, just tested the attached batch file with BOTH XP SP1 and XP 2600 (SP0) and it works allright! (IMG:../forums/style_emoticons/default/smile.gif)

Any taker for XP SP2 ?
And for Server 2003 ?
(though most probably there are REASONS why Dietmar used SP1) (IMG:../forums/style_emoticons/default/wink.gif)

jaclaz


I'm already thinking about 'cmd' as third option of nativeEx_BSOR.
Because Dietmar's file list does not use any shell32.dll, I think, it's possible.

Peter (IMG:../forums/style_emoticons/default/coffee.gif)
Go to the top of the page
 
+Quote Post
Dietmar
post Jan 4 2008, 06:44 PM
Post #10


Member
**

Group: Advanced user
Posts: 10
Joined: 29-March 07
Member No.: 4,813


Afghanistan


Hi jaclaz,

to integrate diskpart.exe in my mini XP isnt an easy task.

You have to add the following files:

diskpart.exe
dmadmin.exe

cabinet.dll
clusapi.dll
dmintf.dll
dmserver.dll
dmutil.dll
ole32.dll
oleaut32.dll
osuninst.dll
setupapi.dll
shlwapi.dll

The Registry needs 3 parts, I tested them, they work.


Windows Registry Editor Version 5.00

[HKEY_LOCAL_MACHINE\SOFTWARE\Classes\AppID]

[HKEY_LOCAL_MACHINE\SOFTWARE\Classes\AppID\dmadmin.exe]
"AppID"="{4FB6BB00-3347-11d0-B40A-00AA005FF586}"

[HKEY_LOCAL_MACHINE\SOFTWARE\Classes\AppID\{4FB6BB00-3347-11d0-B40A-00AA005FF586}]
@="Logical Disk Manager Administrative Service"
"LocalService"="dmadmin"






Windows Registry Editor Version 5.00

[HKEY_LOCAL_MACHINE\SYSTEM\ControlSet001\Services\dmadmin]
"ErrorControl"=dword:00000001
"ImagePath"=hex(2):25,00,53,00,79,00,73,00,74,00,65,00,6d,00,52,00,6f,00,6f,00,\
74,00,25,00,5c,00,53,00,79,00,73,00,74,00,65,00,6d,00,33,00,32,00,5c,00,64,\
00,6d,00,61,00,64,00,6d,00,69,00,6e,00,2e,00,65,00,78,00,65,00,20,00,2f,00,\
63,00,6f,00,6d,00,00,00
"Start"=dword:00000003
"DependOnService"=hex(7):52,00,70,00,63,00,53,00,73,00,00,00,50,00,6c,00,75,00,\
67,00,50,00,6c,00,61,00,79,00,00,00,44,00,6d,00,53,00,65,00,72,00,76,00,65,\
00,72,00,00,00,00,00
"Type"=dword:00000020
"Description"="Configures hard disk drives and volumes. The service only runs for configuration processes and then stops."
"DisplayName"="Logical Disk Manager Administrative Service"
"ObjectName"="LocalSystem"

[HKEY_LOCAL_MACHINE\SYSTEM\ControlSet001\Services\dmadmin\Enum]
"Count"=dword:00000001
"NextInstance"=dword:00000001
"0"="Root\\LEGACY_DMADMIN\\0000"

[HKEY_LOCAL_MACHINE\SYSTEM\ControlSet001\Services\dmadmin\Parameters]
"EnableDynamicConversionFor1394"=dword:00000000

"ServiceParameters"="/com"





Windows Registry Editor Version 5.00

[HKEY_LOCAL_MACHINE\SYSTEM\ControlSet001\Services\dmserver]
"DependOnService"=hex(7):52,00,70,00,63,00,53,00,73,00,00,00,50,00,6c,00,75,00,\
67,00,50,00,6c,00,61,00,79,00,00,00,00,00
"ImagePath"=hex(2):25,00,53,00,79,00,73,00,74,00,65,00,6d,00,52,00,6f,00,6f,00,\
74,00,25,00,5c,00,53,00,79,00,73,00,74,00,65,00,6d,00,33,00,32,00,5c,00,73,\
00,76,00,63,00,68,00,6f,00,73,00,74,00,2e,00,65,00,78,00,65,00,20,00,2d,00,\
6b,00,20,00,6e,00,65,00,74,00,73,00,76,00,63,00,73,00,00,00
"DisplayName"="Logical Disk Manager"
"ErrorControl"=dword:00000001
"Type"=dword:00000020
"Start"=dword:00000002
"ObjectName"="LocalSystem"
"Description"="Detects and monitors new hard disk drives and sends disk volume information to Logical Disk Manager Administrative Service for configuration. If this service is stopped, dynamic disk status and configuration information may become out of date. If this service is disabled, any services that explicitly depend on it will fail to start."

[HKEY_LOCAL_MACHINE\SYSTEM\ControlSet001\Services\dmserver\Enum]
"Count"=dword:00000001
"NextInstance"=dword:00000001
"0"="Root\\LEGACY_DMSERVER\\0000"

[HKEY_LOCAL_MACHINE\SYSTEM\ControlSet001\Services\dmserver\Parameters]
"ServiceDll"=hex(2):25,00,53,00,79,00,73,00,74,00,65,00,6d,00,52,00,6f,00,6f,\
00,74,00,25,00,5c,00,53,00,79,00,73,00,74,00,65,00,6d,00,33,00,32,00,5c,00,\
64,00,6d,00,73,00,65,00,72,00,76,00,65,00,72,00,2e,00,64,00,6c,00,6c,00,00,\
00

[HKEY_LOCAL_MACHINE\SYSTEM\ControlSet001\Services\dmserver\Security]
"Security"=hex:01,00,14,80,90,00,00,00,9c,00,00,00,14,00,00,00,30,00,00,00,02,\
00,1c,00,01,00,00,00,02,80,14,00,ff,01,0f,00,01,01,00,00,00,00,00,01,00,00,\
00,00,02,00,60,00,04,00,00,00,00,00,14,00,8d,01,02,00,01,01,00,00,00,00,00,\
05,0b,00,00,00,00,00,18,00,9d,01,02,00,01,02,00,00,00,00,00,05,20,00,00,00,\
23,02,00,00,00,00,18,00,ff,01,0f,00,01,02,00,00,00,00,00,05,20,00,00,00,20,\
02,00,00,00,00,14,00,fd,01,02,00,01,01,00,00,00,00,00,05,12,00,00,00,01,01,\
00,00,00,00,00,05,12,00,00,00,01,01,00,00,00,00,00,05,12,00,00,00


But you have to build a Mini XP to make diskpart work also with

dllhost.exe
lsass.exe
regsvr32.exe
rundll32.exe
services.exe
svchost.exe

and their whole dependencies. This makes my Mini XP larger to 48 MB (uncompressed).
Today I build such a Mini XP by hand, and diskpart.exe works with the 3 registry entries above.

Nice to hear from you
Dietmar

Go to the top of the page
 
+Quote Post

7 Pages V   1 2 3 > » 
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: 23rd March 2008 - 06:06 AM

MKPortal ©2003-2006 mkportal.it