Jump to content











Photo
- - - - -

ImDisk Toolkit

imdisk toolkit ramdiskui discutils image file mount

  • Please log in to reply
334 replies to this topic

#326 ppgrainbow

ppgrainbow

    Member

  • Members
  • 70 posts

Posted 21 April 2020 - 10:52 PM

I used a utility called CHPTNORD, a small batch file to re-arrange order of partition entries on existing drives. I selected partition 8 (drives I and J) and entered 2134 as the sequence and here are the results:

 

Source:\\.\PHYSICALDRIVE8  Temporary file: MBRTEMP.$$$
┌─────┬────┬────┬───────────────┬───────────────┬───────────┬─────────────┐
│Part │Type│Boot│  Begin   CHS  │   End   CHS   │ LBA Start │ LBA Sectors │
│  #  │    │    │ BCyl │BHd│BSec│ ECyl │EHd│ESec│           │             │
├─────┼────┼────┼──────┼───┼────┼──────┼───┼────┼───────────┼─────────────┤
│    1│  06│  80│     0│  1│   1│   254│ 31│  63│         63│       514017│
├─────┼────┼────┼──────┼───┼────┼──────┼───┼────┼───────────┼─────────────┤
│    2│  05│  00│   255│  0│   1│   510│ 31│  63│     514080│       516096│
├─────┼────┼────┼──────┼───┼────┼──────┼───┼────┼───────────┼─────────────┤
│    3│  00│  00│     0│  0│   0│     0│  0│   0│          0│            0│
├─────┼────┼────┼──────┼───┼────┼──────┼───┼────┼───────────┼─────────────┤
│    4│  00│  00│     0│  0│   0│     0│  0│   0│          0│            0│
└─────┴────┴────┴──────┴───┴────┴──────┴───┴────┴───────────┴─────────────┘
Following command is:
dsfi \\.\Physicalddrive8 0 512 now.$$$

DO YOU WANT TO CLEAN TEMPORARY FILES? (Y/N)Y


#327 ppgrainbow

ppgrainbow

    Member

  • Members
  • 70 posts

Posted 21 April 2020 - 11:00 PM

 

I used a utility called CHPTNORD, a small batch file to re-arrange order of partition entries on existing drives. I selected partition 8 (drives I and J) and entered 2134 as the sequence and here are the results:

Source:\\.\PHYSICALDRIVE8  Temporary file: MBRTEMP.$$$
┌─────┬────┬────┬───────────────┬───────────────┬───────────┬─────────────┐
│Part │Type│Boot│  Begin   CHS  │   End   CHS   │ LBA Start │ LBA Sectors │
│  #  │    │    │ BCyl │BHd│BSec│ ECyl │EHd│ESec│           │             │
├─────┼────┼────┼──────┼───┼────┼──────┼───┼────┼───────────┼─────────────┤
│    1│  06│  80│     0│  1│   1│   254│ 31│  63│         63│       514017│
├─────┼────┼────┼──────┼───┼────┼──────┼───┼────┼───────────┼─────────────┤
│    2│  05│  00│   255│  0│   1│   510│ 31│  63│     514080│       516096│
├─────┼────┼────┼──────┼───┼────┼──────┼───┼────┼───────────┼─────────────┤
│    3│  00│  00│     0│  0│   0│     0│  0│   0│          0│            0│
├─────┼────┼────┼──────┼───┼────┼──────┼───┼────┼───────────┼─────────────┤
│    4│  00│  00│     0│  0│   0│     0│  0│   0│          0│            0│
└─────┴────┴────┴──────┴───┴────┴──────┴───┴────┴───────────┴─────────────┘
Following command is:
dsfi \\.\Physicalddrive8 0 512 now.$$$

DO YOU WANT TO CLEAN TEMPORARY FILES? (Y/N)Y

 

When I exited and ejected disk 8, ImDisk *still* reports that the OS/2 boot partition is on partition #2 instead of partition #1. :(

 

Worst yet, when I attempted to the boot OS/2 2.1 graphical portion of setup, the screen ends up blank: https://imgur.com/a/oamjdIz

 

Any idea how this can be fixed?


Edited by ppgrainbow, 21 April 2020 - 11:00 PM.


#328 Wonko the Sane

Wonko the Sane

    The Finder

  • Advanced user
  • 15540 posts
  • Location:The Outside of the Asylum (gate is closed)
  •  
    Italy

Posted 22 April 2020 - 11:25 AM

The output of CHPTNORD you posted is correct, but it may well be that you need some changes/updates in OS/2.

 

Try first thing reverting the changes re-reunning CHPTNORD.

 

I have no idea if anything in OS/2 is linked to partition entry order, but from what you report it is likely that it is.

 

 

:duff:

Wonko



#329 GrandGT

GrandGT
  • Members
  • 5 posts
  •  
    Russian Federation

Posted 19 August 2020 - 11:38 AM

Hi there. I just can't figure it out. Could you tell me, please, how to do a command options "Save disk image at shutdown and load the specified disk image then when system start again"?

#330 GrandGT

GrandGT
  • Members
  • 5 posts
  •  
    Russian Federation

Posted 20 August 2020 - 04:52 PM

Sorry. I would very much like to get an answer to this question. Forgive me, I do not know how to formulate the question more accurately. When I use AMD Ramdisk, it saves all data after shutting down the PC to an image file. Then, after restarting the PC, AMD Ramdisk automatically loads the data from this image file back to the virtual disk. There it is implemented by the enable button for the corresponding option. In the ImDisk Toolkit by default, after creating a virtual disk, it is not clear to me how to do the same. Actually, I still use AMD Ramdisk, but I would like to use ImDisk Toolkit.

#331 v77

v77

    Silver Member

  • Team Reboot
  • 590 posts
  •  
    France

Posted 20 August 2020 - 05:23 PM

Sorry. I would very much like to get an answer to this question. Forgive me, I do not know how to formulate the question more accurately. When I use AMD Ramdisk, it saves all data after shutting down the PC to an image file. Then, after restarting the PC, AMD Ramdisk automatically loads the data from this image file back to the virtual disk. There it is implemented by the enable button for the corresponding option. In the ImDisk Toolkit by default, after creating a virtual disk, it is not clear to me how to do the same. Actually, I still use AMD Ramdisk, but I would like to use ImDisk Toolkit.


I don't see where is the difficulty. In the RamDisk Configuration Tool, the Data tab has everything you need, with tooltips for additional informations.



#332 alacran

alacran

    Gold Member

  • .script developer
  • 1646 posts
  •  
    Mexico

Posted 20 August 2020 - 06:22 PM

@ v77

 

Hi my friend. Maybe you didn't see his first post No.329

 

 

Hi there. I just can't figure it out. Could you tell me, please, how to do a command options "Save disk image at shutdown and load the specified disk image then when system start again"?

 

alacran



#333 GrandGT

GrandGT
  • Members
  • 5 posts
  •  
    Russian Federation

Posted 20 August 2020 - 06:38 PM

Friends, if I knew how to do it myself, I would not ask you))). All the commands that I tried to do were unsuccessful.

Edited by GrandGT, 20 August 2020 - 06:40 PM.


#334 RoyM

RoyM

    Frequent Member

  • .script developer
  • 420 posts
  • Interests:"Booting and Owning".
  •  
    United States

Posted 20 August 2020 - 07:26 PM

http://reboot.pro/to...rs/#entry215959

Olof talks about a command line version, NOT Imdisk.

 

Regards

RoyM



#335 Wonko the Sane

Wonko the Sane

    The Finder

  • Advanced user
  • 15540 posts
  • Location:The Outside of the Asylum (gate is closed)
  •  
    Italy

Posted 21 August 2020 - 01:26 PM

http://reboot.pro/to...rs/#entry215959

Olof talks about a command line version, NOT Imdisk.

 

Regards

RoyM

That is about Arsenal Image Mounter, which is ANOTHER driver, that as well does not offer these options.

 

But the issue is not with the driver, rather into the way the mounting/creating of the virtual device is automated at startup and more than anything else the dismount/saving is done at shutdown.

 

The Imdisk ToolKit (and NOT Imdisk, nor AIM) offers a service that hooks the shutdown event.

 

Maybe v77, some day when he feels like it, may be able to detail how the thingy works.

 

More or less the original question can be divided in two:
1) How do I create/mount a virtual drive automatically at startup/logon? <- easy, there are a few ways to run a set of commands at startup/logon

2) How do I save contents of virtual drive/unmount it at shutdown? <-tricky, there are group policy settings but they do not work very reliably (and do not work if fastboot is enabled, etc.)

Examples:
https://stackoverflo...ng-down-windows

https://superuser.co...before-shutdown

 

Maybe - but it has to be tested Dimio's Dshutdown:
http://dimio.altervista.org/eng/

would do, but cannot say.

 

:duff:

Wonko







Also tagged with one or more of these keywords: imdisk, toolkit, ramdiskui, discutils, image file, mount

0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users