Jump to content











Photo
* * * * * 1 votes

[project] WinRoot


  • Please log in to reply
66 replies to this topic

#26 Brito

Brito

    Platinum Member

  • .script developer
  • 10616 posts
  • Location:boot.wim
  • Interests:I'm just a quiet simple person with a very quiet simple life living one day at a time..
  •  
    European Union

Posted 03 December 2007 - 01:10 PM

I've sent a reply to your email about this question - please post your results here - thanks! :cheers:

#27 AeroXP

AeroXP

    Frequent Member

  • Advanced user
  • 177 posts
  • Location:0000:7c00
  • Interests:Motorola 68000 Assembler, PCs, Betas, Boot Disks, x86 Assembler
  •  
    United States

Posted 08 December 2007 - 08:38 PM

Update: Windows XP RamBoot in a 2.88M Floppy Disk!
Link to Download
Uses LZX Cab Compression and Driver Stubbing!

-----------------------------------------------------
Script Devs, Can you help me here?

( ºsedir% = % basedir %)

cabarc -m LZX:21 n  %iso%\RamBoot.is_ %iso%\ramboot.iso -> [insert script version here]md ºsedir%\ramboot -> [insert script version here]...move %iso%\RamBoot.is_ ºsedir%\ramboot > [insert script version here]


#28 Brito

Brito

    Platinum Member

  • .script developer
  • 10616 posts
  • Location:boot.wim
  • Interests:I'm just a quiet simple person with a very quiet simple life living one day at a time..
  •  
    European Union

Posted 08 December 2007 - 09:21 PM

Impressive results! :cheers:

Let's automate them, maybe something like this would help you:
ShellExecute,Hide,"cabarc.exe","-m LZX:21 n #$q%isodir%\RamBoot.is_$%q $%q%isofile%#$q"

DirMake,"%isodir%\RamBoot"

FileCopy,"%isodir%\RamBoot.is_","%isodir%\RamBoot\RamBoot.is_"

FileDelete,"%isodir%\RamBoot.is_"

Haven't tested but should help you get an idea of how it works.

There's a valuable help to learn your way around these codings:
  • 1 - open up wb and click on the edit button on the script you wish to modify.
  • 2 - Go to the Source tab and you should see a source code editor.
  • 3 - The last icon is a "Magic wand" - clicking it should give you a detailed list of available commands.

You can also use as reference the syntax manual --> http://boot-land.net...ipt_syntax.html

If you print the above page then it will help you whenever needed to learn exactly what each command does.

:cheers:

#29 thunn

thunn

    Silver Member

  • .script developer
  • 531 posts
  • Location:Brooklyn, New York
  • Interests:computers<br />mechanics<br />distortion<br /><br />
  •  
    United States

Posted 11 December 2007 - 02:23 AM

aeroxp,
although I've only opened the image and had a quick peek, it seems like your working on something very worth while. It could, perhaps, help full platforms boot faster too.
.. nice work! :cheers: .. nice progress bar. :cheers:

#30 Brito

Brito

    Platinum Member

  • .script developer
  • 10616 posts
  • Location:boot.wim
  • Interests:I'm just a quiet simple person with a very quiet simple life living one day at a time..
  •  
    European Union

Posted 11 December 2007 - 12:00 PM

Been playing around the Recover Console lately and it is very similar to the files used by WinRoot.

Is it possible to launch the recovery console instead of the TinyKrnl binary? :cheers:

At the moment the only way to have a standalone Recovery Console is wrapping around setupldr.bin and this is not a direct solution.

:cheers:

#31 AeroXP

AeroXP

    Frequent Member

  • Advanced user
  • 177 posts
  • Location:0000:7c00
  • Interests:Motorola 68000 Assembler, PCs, Betas, Boot Disks, x86 Assembler
  •  
    United States

Posted 11 December 2007 - 01:25 PM

If you do try, setup will want even more binaries.

#32 Brito

Brito

    Platinum Member

  • .script developer
  • 10616 posts
  • Location:boot.wim
  • Interests:I'm just a quiet simple person with a very quiet simple life living one day at a time..
  •  
    European Union

Posted 11 December 2007 - 01:33 PM

Hmm.. :cheers:

I've installed XP under a virtual machine (Virtual Box) to later apply the Winnt32.exe /CMDCONS switch from the install CD.

As result - the rescue console is called directly from boot.ini on disk.

Under a read-only media it seems trickier to get the same option.

Will keep testing and let you know if I make any progress.

btw: Looked on my USB HDD archive and haven't found the FreeDos image created earlier - will have to look on the older DVD archive to see if it was stored there but this takes a bit longer since it is very disorganized.

:cheers:

#33 AeroXP

AeroXP

    Frequent Member

  • Advanced user
  • 177 posts
  • Location:0000:7c00
  • Interests:Motorola 68000 Assembler, PCs, Betas, Boot Disks, x86 Assembler
  •  
    United States

Posted 11 December 2007 - 09:15 PM

btw: Looked on my USB HDD archive and haven't found the FreeDos image created earlier - will have to look on the older DVD archive to see if it was stored there but this takes a bit longer since it is very disorganized.


Thanks, Nuno Brito!

#34 thunn

thunn

    Silver Member

  • .script developer
  • 531 posts
  • Location:Brooklyn, New York
  • Interests:computers<br />mechanics<br />distortion<br /><br />
  •  
    United States

Posted 11 December 2007 - 09:22 PM

As result - the rescue console is called directly from boot.ini on disk.

Under a read-only media it seems trickier to get the same option.

Will keep testing and let you know if I make any progress.


Please see:
http://bartpe.boot-l...ls/GRLDR_NT.cab

Some configuration suggestions may be found via links in a readme I included.
The file is there for use with the BcdwPE.script and contains a grub4dos boot loader with an embedded menu file that auto loads boot.ini from any media supported by grub4dos. I use it to run a reduced 'full' XP on the go in system Ram or from hdd/usb.

Also there's related info. on this page: 'XPnRam'
The above boot loader can be used for a universal raw image for placing on cd/hdd/usb, etc. with minimal formating changes. :cheers: If it helps, please test and report.

#35 Brito

Brito

    Platinum Member

  • .script developer
  • 10616 posts
  • Location:boot.wim
  • Interests:I'm just a quiet simple person with a very quiet simple life living one day at a time..
  •  
    European Union

Posted 11 December 2007 - 09:36 PM

hmm... interesting indeed - would the use of boot.ini be the solution for this case? :cheers:

Will try! :cheers:

#36 was_jaclaz

was_jaclaz

    Finder

  • Advanced user
  • 7101 posts
  • Location:Gone in the mist
  •  
    Italy

Posted 12 December 2007 - 07:24 PM

Cannot say if it may help, but do check this:
http://www.boot-land...?...c=2362&st=4
http://www.boot-land...?...c=2362&st=7

(how to directly load Recovery Console from bootsector)

jaclaz

#37 Alex Ionescu

Alex Ionescu

    Newbie

  • Members
  • 14 posts
  •  
    Canada

Posted 03 January 2008 - 07:44 PM

Just to mention something, you don't need to edit the kernel to change the boot logo anymore...

As of Windows 2003, you can tell NTLDR to display a BMP during the boot, which will show up even before the kernel starts loading.

#38 AeroXP

AeroXP

    Frequent Member

  • Advanced user
  • 177 posts
  • Location:0000:7c00
  • Interests:Motorola 68000 Assembler, PCs, Betas, Boot Disks, x86 Assembler
  •  
    United States

Posted 03 January 2008 - 10:11 PM

/BOOTLOGO
Use this switch to have Windows XP or Windows Server 2003 display an installable splash screen instead of the standard splash screen. First, create a 16-color (any 16 colors) 640x480 bitmap and save it in the Windows directory with the name Boot.bmp. Then add "/bootlogo /noguiboot" to the boot.ini selection.



#39 MedEvil

MedEvil

    Platinum Member

  • .script developer
  • 7771 posts

Posted 03 January 2008 - 10:20 PM

/Bootlogo does not work with PE.

:cheers:

#40 AeroXP

AeroXP

    Frequent Member

  • Advanced user
  • 177 posts
  • Location:0000:7c00
  • Interests:Motorola 68000 Assembler, PCs, Betas, Boot Disks, x86 Assembler
  •  
    United States

Posted 10 January 2008 - 12:23 AM

To my surprise, "devtree" acts a little like a native version of Target Analyzer Probe.

Pci Root Bus

   PCI HOST Bridge

   IDE Controller

	 IDE channel

	   Virtual HD

	Video Controller &#40;VGA Compatible&#41;

	Ethernet Controller

ISA timer

ISA DMA

PCAT_ENHANCED

Parallel output only

XT Serial

XT Serial

Floppy Controller

Other system device

ISA RTC

RAM memory

Other system device

Other system device

Other system device

MICROSOFT PS2 MOUSE


#41 Alex Ionescu

Alex Ionescu

    Newbie

  • Members
  • 14 posts
  •  
    Canada

Posted 12 January 2008 - 02:42 AM

To my surprise, "devtree" acts a little like a native version of Target Analyzer Probe.

Pci Root Bus

   PCI HOST Bridge

   IDE Controller

	 IDE channel

	   Virtual HD

	Video Controller &#40;VGA Compatible&#41;

	Ethernet Controller

ISA timer

ISA DMA

PCAT_ENHANCED

Parallel output only

XT Serial

XT Serial

Floppy Controller

Other system device

ISA RTC

RAM memory

Other system device

Other system device

Other system device

MICROSOFT PS2 MOUSE


Yep, and it can be made even better by using some other NtPnP calls..

#42 AeroXP

AeroXP

    Frequent Member

  • Advanced user
  • 177 posts
  • Location:0000:7c00
  • Interests:Motorola 68000 Assembler, PCs, Betas, Boot Disks, x86 Assembler
  •  
    United States

Posted 13 January 2008 - 05:47 AM

After a long time, NCLI finally works on Windows Whistler 2462!
yaay.JPG
RapidShare Link

#43 was_jaclaz

was_jaclaz

    Finder

  • Advanced user
  • 7101 posts
  • Location:Gone in the mist
  •  
    Italy

Posted 13 January 2008 - 03:34 PM

Can't say if it's of any use :thumbsup:, but it seems that UltraDefrag:
http://ultradefrag.sourceforge.net/

has, besides the CLI and GUI apps, a NATIVE version :D.

jaclaz

#44 AeroXP

AeroXP

    Frequent Member

  • Advanced user
  • 177 posts
  • Location:0000:7c00
  • Interests:Motorola 68000 Assembler, PCs, Betas, Boot Disks, x86 Assembler
  •  
    United States

Posted 13 January 2008 - 06:56 PM

I added the files and when It launches, it makes the command portion lock up.

----

offtopic:

A new platform for WinBuilder!

#45 Alex Ionescu

Alex Ionescu

    Newbie

  • Members
  • 14 posts
  •  
    Canada

Posted 13 January 2008 - 06:59 PM

I don't really like the way their native app works...

- Broken, insecure string functions
- KeyboardClass0 assumptions
- Outdated, wrong native headers

It doesn't even link with nt.lib like it should, so they implement their own NtProcessStartup...

#46 pscEx

pscEx

    Platinum Member

  • Team Reboot
  • 12707 posts
  • Location:Korschenbroich, Germany
  • Interests:What somebody else cannot do.
  •  
    European Union

Posted 13 January 2008 - 07:30 PM

@Alex Ionescu
@
aeroxp

when seeing you discussing here, I'm getting headache. As already posted at a different place: I know that I do not know anything.

But this dicussion makes me unsatisfied and crazy.

Since a while I'm trying to go into the secrets of native API, but w/o success.

As I could read at Alex's blog, M$ does not publish anything usable.
When trying the OpenSource TinyKernel, I got the informatino that it is not longer supported >> no source samples
When trying Alex's Google storage, I found th project description, but no source code stored.

For Alex and aeroxp, which may not know me:
I'm an experienced programmer since more than 30 years. My knowledge (and built projects) ranges from DEC PDP11 assembler and x86 assembler to ... .NET

I also googled and stored the complete native API reference in my PC

But I do not want to reinvent the wheel, by e.g. open a file given by name.

Here your publications may be very helpful.

Is it possible to have an 'inofficial alpha' set of your OpenSource (closed TinyKernel or candidate to publish native-nt-toolkit) here?

Peter

#47 AeroXP

AeroXP

    Frequent Member

  • Advanced user
  • 177 posts
  • Location:0000:7c00
  • Interests:Motorola 68000 Assembler, PCs, Betas, Boot Disks, x86 Assembler
  •  
    United States

Posted 13 January 2008 - 07:42 PM

Here is the source that compiles correctly for me.
Attached File  tinynightly.7z   2.09MB   746 downloads

--
NtDll Status: Boots up to black screen.

#48 pscEx

pscEx

    Platinum Member

  • Team Reboot
  • 12707 posts
  • Location:Korschenbroich, Germany
  • Interests:What somebody else cannot do.
  •  
    European Union

Posted 13 January 2008 - 08:06 PM

Here is the source that compiles correctly for me.
Attached File  tinynightly.7z   2.09MB   746 downloads

--
NtDll Status: Boots up to black screen.


Thanks, aeroxp! :thumbsup:

I think that you'll not hear me for several hours / days, until I've read and understood all the sources

Peter

#49 Alex Ionescu

Alex Ionescu

    Newbie

  • Members
  • 14 posts
  •  
    Canada

Posted 13 January 2008 - 08:17 PM

See inline.

@Alex Ionescu
@
aeroxp

when seeing you discussing here, I'm getting headache. As already posted at a different place: I know that I do not know anything.

But this dicussion makes me unsatisfied and crazy.

Since a while I'm trying to go into the secrets of native API, but w/o success.

>>> Have you tried reading "Windows Internals 4th Edition", "Undocumented Windows 2000 Secrets: A Programmer's Cookbook", the WDK, and "Native API Reference"? If not, then you have no business complaining...

As I could read at Alex's blog, M$ does not publish anything usable.

>>> The WDK documents over 30-50 native system calls. SysInternals has a bit of information that's quite useful for understanding the system.

When trying the OpenSource TinyKernel, I got the informatino that it is not longer supported >> no source samples
When trying Alex's Google storage, I found th project description, but no source code stored.

>>> As I already said numerous times, I just *Started* that storage. I've been *working* for the last 3 weeks abroad, and still work on a daily basis from home... I will post it soon...

For Alex and aeroxp, which may not know me:
I'm an experienced programmer since more than 30 years. My knowledge (and built projects) ranges from DEC PDP11 assembler and x86 assembler to ... .NET

I also googled and stored the complete native API reference in my PC

>>> Did you STORE it or also READ it?

But I do not want to reinvent the wheel, by e.g. open a file given by name.

>>> Huh? NtCreateFile?

Here your publications may be very helpful.

>>> My publications won't help with information that's already documented by Microsoft in the WDK.

Is it possible to have an 'inofficial alpha' set of your OpenSource (closed TiniKernal or candidate to publish native-nt-toolkit) here?

>>> I'm not legally allowed to publish TinyKRNL anymore...and the native-nt-toolkit is made up of the NDK (which is already in ReactOS), the NDL (unreleased) and the NCLI (already released and being distributed). However it won't help you understand anything unless you read up what I suggested

Peter


I don't want to make it sound like I'm being unhelpful, but before saying you're "angry" and "disappointed" maybe you should read the documentation and tools that are already available out there.

#50 pscEx

pscEx

    Platinum Member

  • Team Reboot
  • 12707 posts
  • Location:Korschenbroich, Germany
  • Interests:What somebody else cannot do.
  •  
    European Union

Posted 13 January 2008 - 08:39 PM

I don't want to make it sound like I'm being unhelpful, but before saying you're "angry" and "disappointed" maybe you should read the documentation and tools that are already available out there.

That's what I demand from anybody else. And that's what I do before asking for help.

In this particular case you really have much more technical knowledge than me.
But due to social behaviour, maybe you can learn something from me:
Please have a look at my signature:
There are never stupid questions, there can be only stupid answers.

You may check all of my posts.
On newbees' questions, I every time have been cooperative and helpful, never ironic or 'telling them how stupid they are'

Yes, I did read a couple of the doc mentioned.
Some:

>>> Have you tried reading "Windows Internals 4th Edition", "Undocumented Windows 2000 Secrets: A Programmer's Cookbook", the WDK, and "Native API Reference"? If not, then you have no business complaining...

Googleing I ony found the "Native API Reference".
But either I'm too stupid, or it is missing here: For me I found no answer, how to open a file system named file.

>>> Did you STORE it or also READ it?


See above answer

But I do not want to reinvent the wheel, by e.g. open a file given by name.

>>> Huh? NtCreateFile?

As already explained: Maybee I'm too stupid, but:
How declare a file name here:
NtCreateFile&#40;

	  

		OUT PHANDLE			 &#91;i&#93;&#91;color=&#34;blue&#34;&#93;FileHandle&#91;/color&#93;&#91;/i&#93;,

		IN ACCESS_MASK		  &#91;i&#93;&#91;color=&#34;blue&#34;&#93;DesiredAccess&#91;/color&#93;&#91;/i&#93;,

		IN POBJECT_ATTRIBUTES   &#91;i&#93;&#91;color=&#34;blue&#34;&#93;ObjectAttributes&#91;/color&#93;&#91;/i&#93;,

		OUT PIO_STATUS_BLOCK	&#91;i&#93;&#91;color=&#34;blue&#34;&#93;IoStatusBlock&#91;/color&#93;&#91;/i&#93;,

		IN PLARGE_INTEGER	   &#91;i&#93;&#91;color=&#34;blue&#34;&#93;AllocationSize&#91;/color&#93;&#91;/i&#93; OPTIONAL,

		IN ULONG				&#91;i&#93;&#91;color=&#34;blue&#34;&#93;FileAttributes&#91;/color&#93;&#91;/i&#93;,

		IN ULONG				&#91;i&#93;&#91;color=&#34;blue&#34;&#93;ShareAccess&#91;/color&#93;&#91;/i&#93;,

		IN ULONG				&#91;i&#93;&#91;color=&#34;blue&#34;&#93;CreateDisposition&#91;/color&#93;&#91;/i&#93;,

		IN ULONG				&#91;i&#93;&#91;color=&#34;blue&#34;&#93;CreateOptions&#91;/color&#93;&#91;/i&#93;,

		IN PVOID				&#91;i&#93;&#91;color=&#34;blue&#34;&#93;EaBuffer&#91;/color&#93;&#91;/i&#93; OPTIONAL,

		IN ULONG				&#91;i&#93;&#91;color=&#34;blue&#34;&#93;EaLength&#91;/color&#93;&#91;/i&#93; &#41;;

Sorry if I misused your time. I'll never do it again.

Peter




1 user(s) are reading this topic

0 members, 1 guests, 0 anonymous users