Jump to content











Photo
- - - - -

Is it possible (off forum question)


  • Please log in to reply
7 replies to this topic

#1 Alexei

Alexei

    Silver Member

  • .script developer
  • 664 posts

Posted 15 November 2007 - 08:18 PM

Olof, I'd like to ask you couple questions, unreleted to ImDisk :cheers:
I want to do some modifications to the registry during system startup (when hardware is already detected, but device drivers are going to be loaded or a bit later). The best way of doing this is to install a driver that starts at the right moment and does what I want. As I understand, that's not hard to implement if you have some experience with drivers :cheers:
Is it possible to call user-written DLL to perform particular actions?
Can you write such driver?
At this point, you may want to ask what would be an advantage?
The answer is: We have a lot of startup logic hardcoded in ntldr, kernel, etc. Manipulating registry contents would let us to change this logic. Just one example: we would be able to disable pre-installed IDE driver and let the system to boot from any drive of our choise :cheers: I think, this "little thing" I proposed would give us unprecedented power :cheers:
What do you think?
:cheers:
Alexei

#2 MedEvil

MedEvil

    Platinum Member

  • .script developer
  • 7771 posts

Posted 15 November 2007 - 09:50 PM

we would be able to disable pre-installed IDE driver and let the system to boot from any drive of our choise :cheers:

:cheers: I don't quite get were you're trying to go with that.

:cheers:

#3 euhenio

euhenio

    Frequent Member

  • .script developer
  • 143 posts
  • Location:Minsk

Posted 16 November 2007 - 07:46 AM

my opinion :

[...\Services\ImDisk]
"Start"=dword:00000003

[...\Services\ImDisk\Parameters]
"LoadDevices"=dword:00000001
"FileName0"="\\??\\D:\\ADD_DISK.IMG"

it work

[...\Services\ImDisk]
"Start"=dword:00000000

[...\Services\ImDisk\Parameters]
"LoadDevices"=dword:00000001
"FileName0"="\\??\\D:\\ADD_DISK.IMG"

not work :cheers:

continuation (suggestion) :

[...\Services\ImDisk]
"Start"=dword:00000000

[...\Services\ImDisk\Parameters]
"LoadDevices"=dword:00000002
"AppName0"="MULTI(0)DISK(0)RDISK(1)PARTITION(1)"
"MountPoint0"="C:"

"FileName1"="\\??\\D:\\ADD_DISK.IMG"
"MountPoint1"="Y:"

MULTI(0)DISK(0)RDISK(1)PARTITION(1) - GRUB loaded (ram)disk

#4 was_jaclaz

was_jaclaz

    Finder

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

Posted 16 November 2007 - 09:17 AM

I guess this thread is related:
http://www.911cd.net...showtopic=19960

@euhenio
Do you know where in memory the RAMDISK.SYS loads the image?

or did you get the bolded suggestion working already?

MULTI(0)DISK(0)RDISK(1)PARTITION(1) - GRUB loaded (ram)disk

Are you talking about a disk image loaded into memory from DOS with hmload, do you?

jaclaz

#5 Alexei

Alexei

    Silver Member

  • .script developer
  • 664 posts

Posted 16 November 2007 - 07:07 PM

:cheers: I don't quite get were you're trying to go with that.

:cheers:

I'd like do "evil" with that :cheers: (read "mobile OS", etc.)
:cheers:
Alexei

#6 MedEvil

MedEvil

    Platinum Member

  • .script developer
  • 7771 posts

Posted 16 November 2007 - 07:52 PM

I'd like do "evil" with that :cheers: (read "mobile OS", etc.)
:cheers:
Alexei

Ahh, you're trying to win your demon horns! :cheers:

:cheers:

#7 Alexei

Alexei

    Silver Member

  • .script developer
  • 664 posts

Posted 16 November 2007 - 09:08 PM

Ahh, you're trying to win your demon horns! :cheers:

:cheers:

:cheers: to MS = :cheers: to people

#8 euhenio

euhenio

    Frequent Member

  • .script developer
  • 143 posts
  • Location:Minsk

Posted 17 November 2007 - 05:48 AM

jaclaz

Are you talking about a disk image loaded into memory from DOS with hmload, do you?


from GRUB environment




0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users