Re: Reboot win2k into dos on ramdisk?

Tech-Archive recommends: Repair Windows Errors & Optimize Windows Performance



mike <spamme9@xxxxxxxxx> wrote:
I have an application that won't run in a dos box under win2k. The HD
is the only bootable device. I'd like to have win2k reboot into dos
mode and run it from a ramdisk. Ghost and other disk imaging programs
do this.

They do? I haven't seen such a feature. I've seen mention of it for the
Mac side, but I didn't know something like that was possible in Windows.
It makes sense on the Mac side since there's built in support for this
sort of functionality.

Ghost even gives the option to add files to the ramdisk before the
reboot. But it's cumbersome and there are licensing issues if I want to
do this on multiple machines.

Unless I'm missing some big piece of this puzzle, to do something like
this, you're going to need to alloc physical RAM, and somehow either
instruct the BIOS to boot off of it, or do some fiddling with the boot
loader to load a ram driver and launch your RAM drive wherever it's been
loaded into memory.

In other words, not something for the faint of heart, and not something
I think you'll find sample code to do, much less code in VB to do.

If I had to do this, I'd look into using something like GRUB to do the
booting for me, and see if there's any way I could point GRUB to use a
configuration file on a FAT drive that can be easily changed as needed
by either the DOS or Win2K side of things.

--
--------- Scott Seligman <scott at <firstname> and michelle dot net> ---------
The American Republic will endure, until politicians realize they can
bribe the people with their own money.
-- Alexis de Tocqueville
.



Relevant Pages

  • Re: OT Camera Raw 5.2 and Photoshop CS4, not CS3
    ... in the IBM/Intel original PC design and is why old PC DOS will run ... address 1 megabyte of RAM. ... but in protected mode it also was ... incapable of running applications written for the 8088 and so it was ...
    (rec.photo.digital.slr-systems)
  • Re: Using tasm
    ... "write 32-bit Windows code rather ... than 16-bit DOS code instead!"...of course, ... the other pieces...that is, I have, say, 64KB of RAM installed ... sold itself on in _1985_...it took Microsoft a _decade_ to get their ...
    (comp.lang.asm.x86)
  • Re: Using tasm
    ... "write 32-bit Windows code rather ... than 16-bit DOS code instead!"...of course, ... the other pieces...that is, I have, say, 64KB of RAM installed ... sold itself on in _1985_...it took Microsoft a _decade_ to get their ...
    (alt.lang.asm)
  • Re: DOS, was Re: Ada Tutor Web Site Shutting Down
    ... This was multi-pass and thus ran in 64 kb of RAM. ... I don't think DOS is perfect, ... But hey, I noticed ... I don't think Minix did, ...
    (comp.lang.ada)
  • Re: virtual memory
    ... Did you ever edit SYSTEM.INI for the [Vcache] MaxFileCache directive? ... I did this by clicking on Control panel/System/Performance/Virtual Memory.. ... only can reboot in DOS mode, ... I fixed this problem by taking out 1 512MB RAM Mo ...
    (microsoft.public.security.virus)