Virtual Adapter (Very Urgent)

Hi,

I am working on developing a virtual SCSI adapter in win2k. I am planning
to use Disk/local file/Network file as storage. I have the following
questions.

  1. Is it possible to boot from my virtual disk? If so how can I access
    disk/local file or network file while booting?

Thanks,
Jeyaram


You are currently subscribed to ntdev as: $subst(‘Recip.EmailAddr’)
To unsubscribe send a blank email to leave-ntdev-$subst(‘Recip.MemberIDChar’)@lists.osr.com

>>1. Is it possible to boot from my virtual disk? If so how can I
access
disk/local file or network file while booting?<<

No.


You are currently subscribed to ntdev as: $subst(‘Recip.EmailAddr’)
To unsubscribe send a blank email to leave-ntdev-$subst(‘Recip.MemberIDChar’)@lists.osr.com

> 1. Is it possible to boot from my virtual disk? If so how can I access

disk/local file or network file while booting?

Only by having a BIOS on your card - a BIOS which will support int13.
It will be enough to boot - and then the miniport driver will come into play.

Max


You are currently subscribed to ntdev as: $subst(‘Recip.EmailAddr’)
To unsubscribe send a blank email to leave-ntdev-$subst(‘Recip.MemberIDChar’)@lists.osr.com

I think that NT still supports the scsi() syntax in BOOT.INI
This allows you to use a miniport forced named to ntbootdd.sys in the root of
the C:\ drive.
Of course, your C:\ drive must be accessible to the system’s bootstrap code
which normally means Int-13 support, though not necessarily since booting from
floppy, CD or network does not involve Int-13.

Regards,

Paul Bunn, UltraBac.com, 425-644-6000
Microsoft MVP - WindowsNT/2000
http://www.ultrabac.com

-----Original Message-----
From: Maxim S. Shatskih [mailto:xxxxx@storagecraft.com]
Sent: Monday, October 29, 2001 7:46 AM
To: NT Developers Interest List
Subject: [ntdev] Re: Virtual Adapter (Very Urgent)

  1. Is it possible to boot from my virtual disk? If so how can I access
    disk/local file or network file while booting?

Only by having a BIOS on your card - a BIOS which will support int13.
It will be enough to boot - and then the miniport driver will come into play.


You are currently subscribed to ntdev as: $subst(‘Recip.EmailAddr’)
To unsubscribe send a blank email to leave-ntdev-$subst(‘Recip.MemberIDChar’)@lists.osr.com

Floppy and CD boot require BIOS support and most certainly int13 via the
BIOS. So, the BIOS must be able to issue an int 13 to load the MBR. I
see no way around this on x86 machines; Alpha and PPC are different and
I suspect you may be able to rig something. Of course if it will not
work on x86, it is a completely useless driver :slight_smile:

Jamey

-----Original Message-----
From: xxxxx@lists.osr.com
[mailto:xxxxx@lists.osr.com] On Behalf Of Paul Bunn
Sent: Tuesday, October 30, 2001 9:24 AM
To: NT Developers Interest List
Subject: [ntdev] Re: Virtual Adapter (Very Urgent)

I think that NT still supports the scsi() syntax in BOOT.INI
This allows you to use a miniport forced named to ntbootdd.sys in the
root of the C:\ drive.
Of course, your C:\ drive must be accessible to the system’s bootstrap
code which normally means Int-13 support, though not necessarily since
booting from floppy, CD or network does not involve Int-13.

Regards,

Paul Bunn, UltraBac.com, 425-644-6000
Microsoft MVP - WindowsNT/2000
http://www.ultrabac.com

-----Original Message-----
From: Maxim S. Shatskih [mailto:xxxxx@storagecraft.com]
Sent: Monday, October 29, 2001 7:46 AM
To: NT Developers Interest List
Subject: [ntdev] Re: Virtual Adapter (Very Urgent)

  1. Is it possible to boot from my virtual disk? If so how can I
    access
    disk/local file or network file while booting?

Only by having a BIOS on your card - a BIOS which will support int13.
It will be enough to boot - and then the miniport driver will come into
play.


You are currently subscribed to ntdev as: xxxxx@storagecraft.com
To unsubscribe send a blank email to leave-ntdev-$subst(‘Recip.MemberIDChar’)@lists.osr.com


You are currently subscribed to ntdev as: $subst(‘Recip.EmailAddr’)
To unsubscribe send a blank email to leave-ntdev-$subst(‘Recip.MemberIDChar’)@lists.osr.com

If he has his own virtual device, he can have his own MBR code too, no ? To
boot, just have it in memory somewhere, and jump to it. Worse come to worse,
thunk down into 16-bit mode, frig int 13 with your own, and issue an int 13.

Or, even simpler, look at the Lilo source code in Linux, and the associated
boot code.

Or am I talking heresy again ?

Alberto.

-----Original Message-----
From: Jamey Kirby [mailto:xxxxx@storagecraft.com]
Sent: Tuesday, October 30, 2001 2:39 PM
To: NT Developers Interest List
Subject: [ntdev] Re: Virtual Adapter (Very Urgent)

Floppy and CD boot require BIOS support and most certainly int13 via the
BIOS. So, the BIOS must be able to issue an int 13 to load the MBR. I see no
way around this on x86 machines; Alpha and PPC are different and I suspect
you may be able to rig something. Of course if it will not work on x86, it
is a completely useless driver :slight_smile:

Jamey

-----Original Message-----
From: xxxxx@lists.osr.com [mailto:xxxxx@lists.osr.com]
On Behalf Of Paul Bunn
Sent: Tuesday, October 30, 2001 9:24 AM
To: NT Developers Interest List
Subject: [ntdev] Re: Virtual Adapter (Very Urgent)

I think that NT still supports the scsi() syntax in BOOT.INI
This allows you to use a miniport forced named to ntbootdd.sys in the root
of the C:\ drive.
Of course, your C:\ drive must be accessible to the system’s bootstrap code
which normally means Int-13 support, though not necessarily since booting
from floppy, CD or network does not involve Int-13.

Regards,

Paul Bunn, UltraBac.com, 425-644-6000
Microsoft MVP - WindowsNT/2000
http://www.ultrabac.com http:

-----Original Message-----
From: Maxim S. Shatskih [mailto:xxxxx@storagecraft.com
mailto:xxxxx]
Sent: Monday, October 29, 2001 7:46 AM
To: NT Developers Interest List
Subject: [ntdev] Re: Virtual Adapter (Very Urgent)

> 1. Is it possible to boot from my virtual disk? If so how can I access
> disk/local file or network file while booting?

Only by having a BIOS on your card - a BIOS which will support int13.
It will be enough to boot - and then the miniport driver will come into
play.


You are currently subscribed to ntdev as: xxxxx@storagecraft.com
To unsubscribe send a blank email to leave-ntdev-$subst(‘Recip.MemberIDChar’)@lists.osr.com


You are currently subscribed to ntdev as: xxxxx@compuware.com
To unsubscribe send a blank email to leave-ntdev-$subst(‘Recip.MemberIDChar’)@lists.osr.com


You are currently subscribed to ntdev as: $subst(‘Recip.EmailAddr’)
To unsubscribe send a blank email to leave-ntdev-$subst(‘Recip.MemberIDChar’)@lists.osr.com</mailto:xxxxx></http:>

RE: [ntdev] Re: Virtual Adapter (Very Urgent)For NT4, you could copy atapi.sys to \ntbootdd.sys and then use scsi() syntax for IDE drives.
I tried this.

Max

----- Original Message -----
From: Paul Bunn
To: NT Developers Interest List
Sent: Tuesday, October 30, 2001 8:23 PM
Subject: [ntdev] Re: Virtual Adapter (Very Urgent)

I think that NT still supports the scsi() syntax in BOOT.INI
This allows you to use a miniport forced named to ntbootdd.sys in the root of the C:\ drive.
Of course, your C:\ drive must be accessible to the system’s bootstrap code which normally means Int-13 support, though not necessarily since booting from floppy, CD or network does not involve Int-13.

Regards,

Paul Bunn, UltraBac.com, 425-644-6000
Microsoft MVP - WindowsNT/2000
http://www.ultrabac.com

-----Original Message-----
From: Maxim S. Shatskih [mailto:xxxxx@storagecraft.com]
Sent: Monday, October 29, 2001 7:46 AM
To: NT Developers Interest List
Subject: [ntdev] Re: Virtual Adapter (Very Urgent)

  1. Is it possible to boot from my virtual disk? If so how can I access
    > disk/local file or network file while booting?

Only by having a BIOS on your card - a BIOS which will support int13.
It will be enough to boot - and then the miniport driver will come into play.


You are currently subscribed to ntdev as: xxxxx@storagecraft.com
To unsubscribe send a blank email to leave-ntdev-$subst(‘Recip.MemberIDChar’)@lists.osr.com


You are currently subscribed to ntdev as: $subst(‘Recip.EmailAddr’)
To unsubscribe send a blank email to leave-ntdev-$subst(‘Recip.MemberIDChar’)@lists.osr.com

You were branded a heretic months ago … we’ve simply been looking for a
suitable cross and pillory.

:slight_smile:

Gary G. Little
Staff Engineer
Broadband Storage, Inc.
xxxxx@broadstor.com

-----Original Message-----
From: Moreira, Alberto [mailto:xxxxx@compuware.com]
Sent: Tuesday, October 30, 2001 12:13 PM
To: NT Developers Interest List
Subject: [ntdev] Re: Virtual Adapter (Very Urgent)

If he has his own virtual device, he can have his own MBR code too, no ? To
boot, just have it in memory somewhere, and jump to it. Worse come to worse,
thunk down into 16-bit mode, frig int 13 with your own, and issue an int 13.

Or, even simpler, look at the Lilo source code in Linux, and the associated
boot code.

Or am I talking heresy again ?

Alberto.

-----Original Message-----
From: Jamey Kirby [mailto:xxxxx@storagecraft.com]
Sent: Tuesday, October 30, 2001 2:39 PM
To: NT Developers Interest List
Subject: [ntdev] Re: Virtual Adapter (Very Urgent)
Floppy and CD boot require BIOS support and most certainly int13 via the
BIOS. So, the BIOS must be able to issue an int 13 to load the MBR. I see no
way around this on x86 machines; Alpha and PPC are different and I suspect
you may be able to rig something. Of course if it will not work on x86, it
is a completely useless driver :slight_smile:

Jamey
-----Original Message-----
From: xxxxx@lists.osr.com [mailto:xxxxx@lists.osr.com]
On Behalf Of Paul Bunn
Sent: Tuesday, October 30, 2001 9:24 AM
To: NT Developers Interest List
Subject: [ntdev] Re: Virtual Adapter (Very Urgent)
I think that NT still supports the scsi() syntax in BOOT.INI
This allows you to use a miniport forced named to ntbootdd.sys in the root
of the C:\ drive.
Of course, your C:\ drive must be accessible to the system’s bootstrap code
which normally means Int-13 support, though not necessarily since booting
from floppy, CD or network does not involve Int-13.
Regards,
Paul Bunn, UltraBac.com, 425-644-6000
Microsoft MVP - WindowsNT/2000
http://www.ultrabac.com http:

-----Original Message-----
From: Maxim S. Shatskih [mailto:xxxxx@storagecraft.com
mailto:xxxxx]
Sent: Monday, October 29, 2001 7:46 AM
To: NT Developers Interest List
Subject: [ntdev] Re: Virtual Adapter (Very Urgent)

> 1. Is it possible to boot from my virtual disk? If so how can I access
> disk/local file or network file while booting?
Only by having a BIOS on your card - a BIOS which will support int13.
It will be enough to boot - and then the miniport driver will come into
play.

You are currently subscribed to ntdev as: xxxxx@storagecraft.com
To unsubscribe send a blank email to leave-ntdev-$subst(‘Recip.MemberIDChar’)@lists.osr.com

You are currently subscribed to ntdev as: xxxxx@compuware.com
To unsubscribe send a blank email to leave-ntdev-$subst(‘Recip.MemberIDChar’)@lists.osr.com

You are currently subscribed to ntdev as: xxxxx@broadstor.com
To unsubscribe send a blank email to leave-ntdev-$subst(‘Recip.MemberIDChar’)@lists.osr.com


You are currently subscribed to ntdev as: $subst(‘Recip.EmailAddr’)
To unsubscribe send a blank email to leave-ntdev-$subst(‘Recip.MemberIDChar’)@lists.osr.com</mailto:xxxxx></http:>

How can you thunk down when you are running BIOS code; the BIOS must
load the MBR to start the boot. How can your code hook this if the OS
has not loaded; this is an NT driver we are discussing; right?

-----Original Message-----
From: xxxxx@lists.osr.com
[mailto:xxxxx@lists.osr.com] On Behalf Of Moreira, Alberto
Sent: Tuesday, October 30, 2001 12:13 PM
To: NT Developers Interest List
Subject: [ntdev] Re: Virtual Adapter (Very Urgent)

If he has his own virtual device, he can have his own MBR code too, no
? To boot, just have it in memory somewhere, and jump to it. Worse come
to worse, thunk down into 16-bit mode, frig int 13 with your own, and
issue an int 13.
Or, even simpler, look at the Lilo source code in Linux, and the
associated boot code.

Or am I talking heresy again ?

Alberto.

-----Original Message-----
From: Jamey Kirby [mailto:xxxxx@storagecraft.com]
Sent: Tuesday, October 30, 2001 2:39 PM
To: NT Developers Interest List
Subject: [ntdev] Re: Virtual Adapter (Very Urgent)

Floppy and CD boot require BIOS support and most certainly int13 via the
BIOS. So, the BIOS must be able to issue an int 13 to load the MBR. I
see no way around this on x86 machines; Alpha and PPC are different and
I suspect you may be able to rig something. Of course if it will not
work on x86, it is a completely useless driver :slight_smile:

Jamey

-----Original Message-----
From: xxxxx@lists.osr.com
[mailto:xxxxx@lists.osr.com] On Behalf Of Paul Bunn
Sent: Tuesday, October 30, 2001 9:24 AM
To: NT Developers Interest List
Subject: [ntdev] Re: Virtual Adapter (Very Urgent)

I think that NT still supports the scsi() syntax in BOOT.INI
This allows you to use a miniport forced named to ntbootdd.sys in the
root of the C:\ drive.
Of course, your C:\ drive must be accessible to the system’s bootstrap
code which normally means Int-13 support, though not necessarily since
booting from floppy, CD or network does not involve Int-13.

Regards,

Paul Bunn, UltraBac.com, 425-644-6000
Microsoft MVP - WindowsNT/2000
http://www.ultrabac.com

-----Original Message-----
From: Maxim S. Shatskih [mailto:xxxxx@storagecraft.com]
Sent: Monday, October 29, 2001 7:46 AM
To: NT Developers Interest List
Subject: [ntdev] Re: Virtual Adapter (Very Urgent)

  1. Is it possible to boot from my virtual disk? If so how can I
    access
    disk/local file or network file while booting?

Only by having a BIOS on your card - a BIOS which will support int13.
It will be enough to boot - and then the miniport driver will come into
play.


You are currently subscribed to ntdev as: xxxxx@storagecraft.com
To unsubscribe send a blank email to leave-ntdev-$subst(‘Recip.MemberIDChar’)@lists.osr.com


You are currently subscribed to ntdev as: xxxxx@compuware.com
To unsubscribe send a blank email to leave-ntdev-$subst(‘Recip.MemberIDChar’)@lists.osr.com


You are currently subscribed to ntdev as: xxxxx@storagecraft.com
To unsubscribe send a blank email to leave-ntdev-$subst(‘Recip.MemberIDChar’)@lists.osr.com


You are currently subscribed to ntdev as: $subst(‘Recip.EmailAddr’)
To unsubscribe send a blank email to leave-ntdev-$subst(‘Recip.MemberIDChar’)@lists.osr.com

So, you are saying that he could copy his virtual miniport to
ntbootdd.sys?

How can his driver access files and network shares this early in the
boot process. He said that he has a virtual SCSI driver that does IO to
a disk file (ala VDISMP)?

-----Original Message-----
From: xxxxx@lists.osr.com
[mailto:xxxxx@lists.osr.com] On Behalf Of Maxim S. Shatskih
Sent: Tuesday, October 30, 2001 11:51 AM
To: NT Developers Interest List
Subject: [ntdev] Re: Virtual Adapter (Very Urgent)

For NT4, you could copy atapi.sys to \ntbootdd.sys and then use scsi()
syntax for IDE drives.
I tried this.

Max

----- Original Message -----
From: Paul Bunn mailto:xxxxx
To: NT Developers Interest List mailto:xxxxx
Sent: Tuesday, October 30, 2001 8:23 PM
Subject: [ntdev] Re: Virtual Adapter (Very Urgent)

I think that NT still supports the scsi() syntax in BOOT.INI
This allows you to use a miniport forced named to ntbootdd.sys in the
root of the C:\ drive.
Of course, your C:\ drive must be accessible to the system’s bootstrap
code which normally means Int-13 support, though not necessarily since
booting from floppy, CD or network does not involve Int-13.

Regards,

Paul Bunn, UltraBac.com, 425-644-6000
Microsoft MVP - WindowsNT/2000
http://www.ultrabac.com

-----Original Message-----
From: Maxim S. Shatskih [mailto:xxxxx@storagecraft.com]
Sent: Monday, October 29, 2001 7:46 AM
To: NT Developers Interest List
Subject: [ntdev] Re: Virtual Adapter (Very Urgent)

> 1. Is it possible to boot from my virtual disk? If so how can I
access
> disk/local file or network file while booting?

Only by having a BIOS on your card - a BIOS which will support int13.
It will be enough to boot - and then the miniport driver will come into
play.


You are currently subscribed to ntdev as: xxxxx@storagecraft.com
To unsubscribe send a blank email to leave-ntdev-$subst(‘Recip.MemberIDChar’)@lists.osr.com


You are currently subscribed to ntdev as: xxxxx@storagecraft.com
To unsubscribe send a blank email to leave-ntdev-$subst(‘Recip.MemberIDChar’)@lists.osr.com


You are currently subscribed to ntdev as: $subst(‘Recip.EmailAddr’)
To unsubscribe send a blank email to leave-ntdev-$subst(‘Recip.MemberIDChar’)@lists.osr.com</mailto:xxxxx></mailto:xxxxx>

The Bios loads the MBR and jumps to it, the MBR boots the rest of the
system. That MBR can be anywhere, right ? It could be part of your driver.
So, do you want to boot ? Build your own MBR inside your driver, then jump
to it. Or maybe I don’t quite understand the question ?

Alberto.

-----Original Message-----
From: Jamey Kirby [mailto:xxxxx@storagecraft.com]
Sent: Tuesday, October 30, 2001 9:53 PM
To: NT Developers Interest List
Subject: [ntdev] Re: Virtual Adapter (Very Urgent)

How can you thunk down when you are running BIOS code; the BIOS must load
the MBR to start the boot. How can your code hook this if the OS has not
loaded; this is an NT driver we are discussing; right?

-----Original Message-----
From: xxxxx@lists.osr.com [mailto:xxxxx@lists.osr.com]
On Behalf Of Moreira, Alberto
Sent: Tuesday, October 30, 2001 12:13 PM
To: NT Developers Interest List
Subject: [ntdev] Re: Virtual Adapter (Very Urgent)

If he has his own virtual device, he can have his own MBR code too, no ? To
boot, just have it in memory somewhere, and jump to it. Worse come to worse,
thunk down into 16-bit mode, frig int 13 with your own, and issue an int 13.

Or, even simpler, look at the Lilo source code in Linux, and the associated
boot code.

Or am I talking heresy again ?

Alberto.

-----Original Message-----
From: Jamey Kirby [mailto:xxxxx@storagecraft.com]
Sent: Tuesday, October 30, 2001 2:39 PM
To: NT Developers Interest List
Subject: [ntdev] Re: Virtual Adapter (Very Urgent)

Floppy and CD boot require BIOS support and most certainly int13 via the
BIOS. So, the BIOS must be able to issue an int 13 to load the MBR. I see no
way around this on x86 machines; Alpha and PPC are different and I suspect
you may be able to rig something. Of course if it will not work on x86, it
is a completely useless driver :slight_smile:

Jamey

-----Original Message-----
From: xxxxx@lists.osr.com [mailto:xxxxx@lists.osr.com]
On Behalf Of Paul Bunn
Sent: Tuesday, October 30, 2001 9:24 AM
To: NT Developers Interest List
Subject: [ntdev] Re: Virtual Adapter (Very Urgent)

I think that NT still supports the scsi() syntax in BOOT.INI
This allows you to use a miniport forced named to ntbootdd.sys in the root
of the C:\ drive.
Of course, your C:\ drive must be accessible to the system’s bootstrap code
which normally means Int-13 support, though not necessarily since booting
from floppy, CD or network does not involve Int-13.

Regards,

Paul Bunn, UltraBac.com, 425-644-6000
Microsoft MVP - WindowsNT/2000
http://www.ultrabac.com http:

-----Original Message-----
From: Maxim S. Shatskih [mailto:xxxxx@storagecraft.com
mailto:xxxxx]
Sent: Monday, October 29, 2001 7:46 AM
To: NT Developers Interest List
Subject: [ntdev] Re: Virtual Adapter (Very Urgent)

> 1. Is it possible to boot from my virtual disk? If so how can I access
> disk/local file or network file while booting?

Only by having a BIOS on your card - a BIOS which will support int13.
It will be enough to boot - and then the miniport driver will come into
play.


You are currently subscribed to ntdev as: xxxxx@storagecraft.com
To unsubscribe send a blank email to leave-ntdev-$subst(‘Recip.MemberIDChar’)@lists.osr.com


You are currently subscribed to ntdev as: xxxxx@compuware.com
To unsubscribe send a blank email to leave-ntdev-$subst(‘Recip.MemberIDChar’)@lists.osr.com


You are currently subscribed to ntdev as: xxxxx@storagecraft.com
To unsubscribe send a blank email to leave-ntdev-$subst(‘Recip.MemberIDChar’)@lists.osr.com


You are currently subscribed to ntdev as: xxxxx@compuware.com
To unsubscribe send a blank email to leave-ntdev-$subst(‘Recip.MemberIDChar’)@lists.osr.com


You are currently subscribed to ntdev as: $subst(‘Recip.EmailAddr’)
To unsubscribe send a blank email to leave-ntdev-$subst(‘Recip.MemberIDChar’)@lists.osr.com</mailto:xxxxx></http:>

How will your driver get loaded before the BIOS makes the call to load
the MBR?

Jamey

-----Original Message-----
From: xxxxx@lists.osr.com
[mailto:xxxxx@lists.osr.com] On Behalf Of Moreira, Alberto
Sent: Wednesday, October 31, 2001 8:23 AM
To: NT Developers Interest List
Subject: [ntdev] Re: Virtual Adapter (Very Urgent)

The Bios loads the MBR and jumps to it, the MBR boots the rest of the
system. That MBR can be anywhere, right ? It could be part of your
driver. So, do you want to boot ? Build your own MBR inside your driver,
then jump to it. Or maybe I don’t quite understand the question ?

Alberto.

-----Original Message-----
From: Jamey Kirby [mailto:xxxxx@storagecraft.com]
Sent: Tuesday, October 30, 2001 9:53 PM
To: NT Developers Interest List
Subject: [ntdev] Re: Virtual Adapter (Very Urgent)

How can you thunk down when you are running BIOS code; the BIOS must
load the MBR to start the boot. How can your code hook this if the OS
has not loaded; this is an NT driver we are discussing; right?

-----Original Message-----
From: xxxxx@lists.osr.com
[mailto:xxxxx@lists.osr.com] On Behalf Of Moreira, Alberto
Sent: Tuesday, October 30, 2001 12:13 PM
To: NT Developers Interest List
Subject: [ntdev] Re: Virtual Adapter (Very Urgent)

If he has his own virtual device, he can have his own MBR code too, no
? To boot, just have it in memory somewhere, and jump to it. Worse come
to worse, thunk down into 16-bit mode, frig int 13 with your own, and
issue an int 13.
Or, even simpler, look at the Lilo source code in Linux, and the
associated boot code.

Or am I talking heresy again ?

Alberto.

-----Original Message-----
From: Jamey Kirby [mailto:xxxxx@storagecraft.com]
Sent: Tuesday, October 30, 2001 2:39 PM
To: NT Developers Interest List
Subject: [ntdev] Re: Virtual Adapter (Very Urgent)

Floppy and CD boot require BIOS support and most certainly int13 via the
BIOS. So, the BIOS must be able to issue an int 13 to load the MBR. I
see no way around this on x86 machines; Alpha and PPC are different and
I suspect you may be able to rig something. Of course if it will not
work on x86, it is a completely useless driver :slight_smile:

Jamey

-----Original Message-----
From: xxxxx@lists.osr.com
[mailto:xxxxx@lists.osr.com] On Behalf Of Paul Bunn
Sent: Tuesday, October 30, 2001 9:24 AM
To: NT Developers Interest List
Subject: [ntdev] Re: Virtual Adapter (Very Urgent)

I think that NT still supports the scsi() syntax in BOOT.INI
This allows you to use a miniport forced named to ntbootdd.sys in the
root of the C:\ drive.
Of course, your C:\ drive must be accessible to the system’s bootstrap
code which normally means Int-13 support, though not necessarily since
booting from floppy, CD or network does not involve Int-13.

Regards,

Paul Bunn, UltraBac.com, 425-644-6000
Microsoft MVP - WindowsNT/2000
http://www.ultrabac.com

-----Original Message-----
From: Maxim S. Shatskih [mailto:xxxxx@storagecraft.com]
Sent: Monday, October 29, 2001 7:46 AM
To: NT Developers Interest List
Subject: [ntdev] Re: Virtual Adapter (Very Urgent)

  1. Is it possible to boot from my virtual disk? If so how can I
    access
    disk/local file or network file while booting?

Only by having a BIOS on your card - a BIOS which will support int13.
It will be enough to boot - and then the miniport driver will come into
play.


You are currently subscribed to ntdev as: xxxxx@storagecraft.com
To unsubscribe send a blank email to leave-ntdev-$subst(‘Recip.MemberIDChar’)@lists.osr.com


You are currently subscribed to ntdev as: xxxxx@compuware.com
To unsubscribe send a blank email to leave-ntdev-$subst(‘Recip.MemberIDChar’)@lists.osr.com


You are currently subscribed to ntdev as: xxxxx@storagecraft.com
To unsubscribe send a blank email to leave-ntdev-$subst(‘Recip.MemberIDChar’)@lists.osr.com


You are currently subscribed to ntdev as: xxxxx@compuware.com
To unsubscribe send a blank email to leave-ntdev-$subst(‘Recip.MemberIDChar’)@lists.osr.com


You are currently subscribed to ntdev as: xxxxx@storagecraft.com
To unsubscribe send a blank email to leave-ntdev-$subst(‘Recip.MemberIDChar’)@lists.osr.com


You are currently subscribed to ntdev as: $subst(‘Recip.EmailAddr’)
To unsubscribe send a blank email to leave-ntdev-$subst(‘Recip.MemberIDChar’)@lists.osr.com

MessageThis is a bootstrap even by name, pulling yourself out of swamp by your bootlaces.

Initially, you have only a BIOS. No bootsectors and no MBRs yet.
In this environment, the only way of booting from the network/SAN is having a BIOS (boot ROM) in your network/SAN/FC/iSCSI card.
The BIOS must emulate an int13 disk, since the boot sector code calls int13 to load the second-stage loader.
(in fact, the old NetWare 3.11 boot ROMs read sectors from the on-server floppy image file and presented them to the client as int13 floppy disk).
El Torito CD usually emulates a floppy too (pirated Win98 CDs are sold this way to simplify the installation - they create a boot floppy with Win98 DOS + the ATAPI CD driver, and writes this floppy image to the CD as El Torito boot image), though there are other modes in El Torito.

After NTLDR and NTBootDd.sys are loaded, the rest of the OS (kernel/HAL/SYSTEM registry/boot drivers) can be loaded using NTBootDd.sys, and then the process continues using the usual filesystem path.

Max

----- Original Message -----
From: Moreira, Alberto
To: NT Developers Interest List
Sent: Wednesday, October 31, 2001 7:23 PM
Subject: [ntdev] Re: Virtual Adapter (Very Urgent)

The Bios loads the MBR and jumps to it, the MBR boots the rest of the system. That MBR can be anywhere, right ? It could be part of your driver. So, do you want to boot ? Build your own MBR inside your driver, then jump to it. Or maybe I don’t quite understand the question ?

Alberto.
-----Original Message-----
From: Jamey Kirby [mailto:xxxxx@storagecraft.com]
Sent: Tuesday, October 30, 2001 9:53 PM
To: NT Developers Interest List
Subject: [ntdev] Re: Virtual Adapter (Very Urgent)

How can you thunk down when you are running BIOS code; the BIOS must load the MBR to start the boot. How can your code hook this if the OS has not loaded; this is an NT driver we are discussing; right?
-----Original Message-----
From: xxxxx@lists.osr.com [mailto:xxxxx@lists.osr.com] On Behalf Of Moreira, Alberto
Sent: Tuesday, October 30, 2001 12:13 PM
To: NT Developers Interest List
Subject: [ntdev] Re: Virtual Adapter (Very Urgent)

If he has his own virtual device, he can have his own MBR code too, no ? To boot, just have it in memory somewhere, and jump to it. Worse come to worse, thunk down into 16-bit mode, frig int 13 with your own, and issue an int 13.
Or, even simpler, look at the Lilo source code in Linux, and the associated boot code.

Or am I talking heresy again ?

Alberto.

-----Original Message-----
From: Jamey Kirby [mailto:xxxxx@storagecraft.com]
Sent: Tuesday, October 30, 2001 2:39 PM
To: NT Developers Interest List
Subject: [ntdev] Re: Virtual Adapter (Very Urgent)

Floppy and CD boot require BIOS support and most certainly int13 via the BIOS. So, the BIOS must be able to issue an int 13 to load the MBR. I see no way around this on x86 machines; Alpha and PPC are different and I suspect you may be able to rig something. Of course if it will not work on x86, it is a completely useless driver :slight_smile:

Jamey
-----Original Message-----
From: xxxxx@lists.osr.com [mailto:xxxxx@lists.osr.com] On Behalf Of Paul Bunn
Sent: Tuesday, October 30, 2001 9:24 AM
To: NT Developers Interest List
Subject: [ntdev] Re: Virtual Adapter (Very Urgent)

I think that NT still supports the scsi() syntax in BOOT.INI
This allows you to use a miniport forced named to ntbootdd.sys in the root of the C:\ drive.
Of course, your C:\ drive must be accessible to the system’s bootstrap code which normally means Int-13 support, though not necessarily since booting from floppy, CD or network does not involve Int-13.

Regards,

Paul Bunn, UltraBac.com, 425-644-6000
Microsoft MVP - WindowsNT/2000
http://www.ultrabac.com

-----Original Message-----
From: Maxim S. Shatskih [mailto:xxxxx@storagecraft.com]
Sent: Monday, October 29, 2001 7:46 AM
To: NT Developers Interest List
Subject: [ntdev] Re: Virtual Adapter (Very Urgent)

  1. Is it possible to boot from my virtual disk? If so how can I access
    > disk/local file or network file while booting?

Only by having a BIOS on your card - a BIOS which will support int13.
It will be enough to boot - and then the miniport driver will come into play.


You are currently subscribed to ntdev as: xxxxx@storagecraft.com
To unsubscribe send a blank email to leave-ntdev-$subst(‘Recip.MemberIDChar’)@lists.osr.com

You are currently subscribed to ntdev as: xxxxx@compuware.com
To unsubscribe send a blank email to leave-ntdev-$subst(‘Recip.MemberIDChar’)@lists.osr.com

You are currently subscribed to ntdev as: xxxxx@storagecraft.com
To unsubscribe send a blank email to leave-ntdev-$subst(‘Recip.MemberIDChar’)@lists.osr.com

You are currently subscribed to ntdev as: xxxxx@compuware.com
To unsubscribe send a blank email to leave-ntdev-$subst(‘Recip.MemberIDChar’)@lists.osr.com

You are currently subscribed to ntdev as: xxxxx@storagecraft.com
To unsubscribe send a blank email to leave-ntdev-$subst(‘Recip.MemberIDChar’)@lists.osr.com


You are currently subscribed to ntdev as: $subst(‘Recip.EmailAddr’)
To unsubscribe send a blank email to leave-ntdev-$subst(‘Recip.MemberIDChar’)@lists.osr.com