Re: Partition Table in the First sector of the disk

Sorry in my earlier mail I didn’t put the right subject…

Thanx Sajeev for the help. I think the Author could be Mark Minaso coz this
guy has written some books on NT server. Well I tried to find the book
suggested by you but in vain. Can you get me more information about the
book, like where can I get it…
Thanx,
-GM

-----Original Message-----
From: Sajeev.S [mailto:xxxxx@amiindia.co.in]
Sent: Thursday, April 06, 2000 11:11 PM
To: NT Developers Interest List
Subject: [ntdev] Re: How to read/write arbitrary io port and memroy ad
dress in 98/NT?

There is something called Extended Partition Table, and I hope it contains
the logical drive info. Look in “Hard Disk Survival guide” by Mark Minasi.
(hope the name of the book is correct)

HTH,
Sajeev.

-----Original Message-----
From: GEORGE MATHEW [SMTP:xxxxx@nestec.net]
Sent: Thursday, April 06, 2000 9:20 PM
To: NT Developers Interest List
Subject: [ntdev] Re: How to read/write arbitrary io port and memroy
ad dress in 98/NT?

Hello Friends, This is an addendum my first mail " How to create Extended
partition".
The first sector of the disk contain the Parttion table (Offset 01BE h )
onwards and has 64 bytes space for the four Primary
partition entry out of which one can be Extended partion containing as
many
as drive letter limit allows number of logical drive. My question where is
the information of these logical drives is present. Because each logical
drive require all the fields that are present in a primary partition and
there is no space for the partition table in the first sector itself. So
where is the partition information of the logical drive(These are the
logical partitions within the extended parttion).
Thanx
-GM

Nb. For those who are confused with the terms, primary partition, extended
partition and logical drives please look in the "Logical Organization:
Partitions and Volumes
" in the MSDN.

-----Original Message-----
From: Maxim S. Shatskih [mailto:xxxxx@storagecraft.com]
Sent: Thursday, April 06, 2000 1:51 AM
To: NT Developers Interest List
Subject: [ntdev] Re: How to read/write arbitrary io port and memroy
address in 98/NT?

> How to read/write arbitrary (0 - 0xFFFF) io port in 98/NT?

READ_PORT_UCHAR

> How to read/write arbitrary (0 - 4G) physical memroy in 98/NT?
> Thanks.

Try MmMapIoSpace. Maybe this will help.

Max


You are currently subscribed to ntdev as: xxxxx@nestec.net
To unsubscribe send a blank email to $subst(‘Email.Unsub’)


You are currently subscribed to ntdev as: xxxxx@amiindia.co.in
To unsubscribe send a blank email to $subst(‘Email.Unsub’)


You are currently subscribed to ntdev as: xxxxx@nestec.net
To unsubscribe send a blank email to $subst(‘Email.Unsub’)

Book’s name is Hard Disk Survival Guide, from Sybex. (1991)

See the foll. link for details.
http://www.amazon.com/exec/obidos/ASIN/0895887991/qid=955095694/sr=1-30/103-
6081064-7367047
http:-6081064-7367047>

Seems to be out of print now.

HTH
Sajeev.

-----Original Message-----
From: GEORGE MATHEW [SMTP:xxxxx@nestec.net]
Sent: Friday, April 07, 2000 1:20 PM
To: NT Developers Interest List
Subject: [ntdev] Re: Partition Table in the First sector of
the disk

Sorry in my earlier mail I didn’t put the right subject…

Thanx Sajeev for the help. I think the Author could be Mark Minaso
coz this
guy has written some books on NT server. Well I tried to find the
book
suggested by you but in vain. Can you get me more information about
the
book, like where can I get it…
Thanx,
-GM

-----Original Message-----
From: Sajeev.S [mailto:xxxxx@amiindia.co.in]
Sent: Thursday, April 06, 2000 11:11 PM
To: NT Developers Interest List
Subject: [ntdev] Re: How to read/write arbitrary io port and memroy
ad
dress in 98/NT?

There is something called Extended Partition Table, and I hope it
contains
the logical drive info. Look in “Hard Disk Survival guide” by Mark
Minasi.
(hope the name of the book is correct)

HTH,
Sajeev.

> -----Original Message-----
> From: GEORGE MATHEW [SMTP:xxxxx@nestec.net]
> Sent: Thursday, April 06, 2000 9:20 PM
> To: NT Developers Interest List
> Subject: [ntdev] Re: How to read/write arbitrary io port and
memroy
> ad dress in 98/NT?
>
> Hello Friends, This is an addendum my first mail " How to create
Extended
> partition".
> The first sector of the disk contain the Parttion table (Offset
01BE h )
> onwards and has 64 bytes space for the four Primary
> partition entry out of which one can be Extended partion
containing as
> many
> as drive letter limit allows number of logical drive. My question
where is
> the information of these logical drives is present. Because each
logical
> drive require all the fields that are present in a primary
partition and
> there is no space for the partition table in the first sector
itself. So
> where is the partition information of the logical drive(These are
the
> logical partitions within the extended parttion).
> Thanx
> -GM
>
> Nb. For those who are confused with the terms, primary partition,
extended
> partition and logical drives please look in the "Logical
Organization:
> Partitions and Volumes
> " in the MSDN.
>
> -----Original Message-----
> From: Maxim S. Shatskih [mailto:xxxxx@storagecraft.com]
> Sent: Thursday, April 06, 2000 1:51 AM
> To: NT Developers Interest List
> Subject: [ntdev] Re: How to read/write arbitrary io port and
memroy
> address in 98/NT?
>
>
> > How to read/write arbitrary (0 - 0xFFFF) io port in 98/NT?
>
> READ_PORT_UCHAR
>
> > How to read/write arbitrary (0 - 4G) physical memroy in 98/NT?
> > Thanks.
>
> Try MmMapIoSpace. Maybe this will help.
>
> Max
>
>
> —
> You are currently subscribed to ntdev as: xxxxx@nestec.net
> To unsubscribe send a blank email to
$subst(‘Email.Unsub’)
>
> —
> You are currently subscribed to ntdev as: xxxxx@amiindia.co.in
> To unsubscribe send a blank email to
$subst(‘Email.Unsub’)


You are currently subscribed to ntdev as: xxxxx@nestec.net
To unsubscribe send a blank email to $subst(‘Email.Unsub’)


You are currently subscribed to ntdev as: xxxxx@amiindia.co.in
To unsubscribe send a blank email to $subst(‘Email.Unsub’)</http:>

Extended partitons are nothing more than a partition table inside of a
partition.

-----Original Message-----
From: xxxxx@lists.osr.com
[mailto:xxxxx@lists.osr.com]On Behalf Of GEORGE MATHEW
Sent: Friday, April 07, 2000 12:50 AM
To: NT Developers Interest List
Subject: [ntdev] Re: Partition Table in the First sector of the disk

Sorry in my earlier mail I didn’t put the right subject…

Thanx Sajeev for the help. I think the Author could be Mark
Minaso coz this
guy has written some books on NT server. Well I tried to find the book
suggested by you but in vain. Can you get me more information about the
book, like where can I get it…
Thanx,
-GM

-----Original Message-----
From: Sajeev.S [mailto:xxxxx@amiindia.co.in]
Sent: Thursday, April 06, 2000 11:11 PM
To: NT Developers Interest List
Subject: [ntdev] Re: How to read/write arbitrary io port and memroy ad
dress in 98/NT?

There is something called Extended Partition Table, and I hope it contains
the logical drive info. Look in “Hard Disk Survival guide” by Mark Minasi.
(hope the name of the book is correct)

HTH,
Sajeev.

> -----Original Message-----
> From: GEORGE MATHEW [SMTP:xxxxx@nestec.net]
> Sent: Thursday, April 06, 2000 9:20 PM
> To: NT Developers Interest List
> Subject: [ntdev] Re: How to read/write arbitrary io port and memroy
> ad dress in 98/NT?
>
> Hello Friends, This is an addendum my first mail " How to
create Extended
> partition".
> The first sector of the disk contain the Parttion table (Offset 01BE h )
> onwards and has 64 bytes space for the four Primary
> partition entry out of which one can be Extended partion containing as
> many
> as drive letter limit allows number of logical drive. My
question where is
> the information of these logical drives is present. Because each logical
> drive require all the fields that are present in a primary partition and
> there is no space for the partition table in the first sector itself. So
> where is the partition information of the logical drive(These are the
> logical partitions within the extended parttion).
> Thanx
> -GM
>
> Nb. For those who are confused with the terms, primary
partition, extended
> partition and logical drives please look in the "Logical Organization:
> Partitions and Volumes
> " in the MSDN.
>
> -----Original Message-----
> From: Maxim S. Shatskih [mailto:xxxxx@storagecraft.com]
> Sent: Thursday, April 06, 2000 1:51 AM
> To: NT Developers Interest List
> Subject: [ntdev] Re: How to read/write arbitrary io port and memroy
> address in 98/NT?
>
>
> > How to read/write arbitrary (0 - 0xFFFF) io port in 98/NT?
>
> READ_PORT_UCHAR
>
> > How to read/write arbitrary (0 - 4G) physical memroy in 98/NT?
> > Thanks.
>
> Try MmMapIoSpace. Maybe this will help.
>
> Max
>
>
> —
> You are currently subscribed to ntdev as: xxxxx@nestec.net
> To unsubscribe send a blank email to $subst(‘Email.Unsub’)
>
> —
> You are currently subscribed to ntdev as: xxxxx@amiindia.co.in
> To unsubscribe send a blank email to $subst(‘Email.Unsub’)


You are currently subscribed to ntdev as: xxxxx@nestec.net
To unsubscribe send a blank email to $subst(‘Email.Unsub’)


You are currently subscribed to ntdev as: xxxxx@storagecraft.com
To unsubscribe send a blank email to $subst(‘Email.Unsub’)

Yes I agree with you. But I want to know where this table is kept in the
disk. I mean at which offset. I know how to read and where to read because I
can start off from the location of primary partition i.e from predetermined
offset from the beginning of the sector, as follows:
? Partition 1 0x01BE (446)
? Partition 2 0x01CE (462)
? Partition 3 0x01DE (478)
? Partition 4 0x01EE (494)
One of these may contain partition info of an extended partition but it’s
not the true information because it will have an offset to the next logical
drive. Now my problem is what to write in the offset part of the partition
information when I am creating a new extended partition.
-GM

-----Original Message-----
From: Jamey Kirby [mailto:xxxxx@storagecraft.com]
Sent: Friday, April 07, 2000 10:18 PM
To: NT Developers Interest List
Subject: [ntdev] Re: Partition Table in the First sector of the disk

Extended partitons are nothing more than a partition table inside of a
partition.

-----Original Message-----
From: xxxxx@lists.osr.com
[mailto:xxxxx@lists.osr.com]On Behalf Of GEORGE MATHEW
Sent: Friday, April 07, 2000 12:50 AM
To: NT Developers Interest List
Subject: [ntdev] Re: Partition Table in the First sector of the disk

Sorry in my earlier mail I didn’t put the right subject…

Thanx Sajeev for the help. I think the Author could be Mark
Minaso coz this
guy has written some books on NT server. Well I tried to find the book
suggested by you but in vain. Can you get me more information about the
book, like where can I get it…
Thanx,
-GM

-----Original Message-----
From: Sajeev.S [mailto:xxxxx@amiindia.co.in]
Sent: Thursday, April 06, 2000 11:11 PM
To: NT Developers Interest List
Subject: [ntdev] Re: How to read/write arbitrary io port and memroy ad
dress in 98/NT?

There is something called Extended Partition Table, and I hope it contains
the logical drive info. Look in “Hard Disk Survival guide” by Mark Minasi.
(hope the name of the book is correct)

HTH,
Sajeev.

> -----Original Message-----
> From: GEORGE MATHEW [SMTP:xxxxx@nestec.net]
> Sent: Thursday, April 06, 2000 9:20 PM
> To: NT Developers Interest List
> Subject: [ntdev] Re: How to read/write arbitrary io port and memroy
> ad dress in 98/NT?
>
> Hello Friends, This is an addendum my first mail " How to
create Extended
> partition".
> The first sector of the disk contain the Parttion table (Offset 01BE h )
> onwards and has 64 bytes space for the four Primary
> partition entry out of which one can be Extended partion containing as
> many
> as drive letter limit allows number of logical drive. My
question where is
> the information of these logical drives is present. Because each logical
> drive require all the fields that are present in a primary partition and
> there is no space for the partition table in the first sector itself. So
> where is the partition information of the logical drive(These are the
> logical partitions within the extended parttion).
> Thanx
> -GM
>
> Nb. For those who are confused with the terms, primary
partition, extended
> partition and logical drives please look in the "Logical Organization:
> Partitions and Volumes
> " in the MSDN.
>
> -----Original Message-----
> From: Maxim S. Shatskih [mailto:xxxxx@storagecraft.com]
> Sent: Thursday, April 06, 2000 1:51 AM
> To: NT Developers Interest List
> Subject: [ntdev] Re: How to read/write arbitrary io port and memroy
> address in 98/NT?
>
>
> > How to read/write arbitrary (0 - 0xFFFF) io port in 98/NT?
>
> READ_PORT_UCHAR
>
> > How to read/write arbitrary (0 - 4G) physical memroy in 98/NT?
> > Thanks.
>
> Try MmMapIoSpace. Maybe this will help.
>
> Max
>
>
> —
> You are currently subscribed to ntdev as: xxxxx@nestec.net
> To unsubscribe send a blank email to $subst(‘Email.Unsub’)
>
> —
> You are currently subscribed to ntdev as: xxxxx@amiindia.co.in
> To unsubscribe send a blank email to $subst(‘Email.Unsub’)


You are currently subscribed to ntdev as: xxxxx@nestec.net
To unsubscribe send a blank email to $subst(‘Email.Unsub’)


You are currently subscribed to ntdev as: xxxxx@storagecraft.com
To unsubscribe send a blank email to $subst(‘Email.Unsub’)


You are currently subscribed to ntdev as: xxxxx@nestec.net
To unsubscribe send a blank email to $subst(‘Email.Unsub’)

The offset into the partiton that holds the extended partitions. Think of
the partiton as a physical disk (kina).

-----Original Message-----
From: xxxxx@lists.osr.com
[mailto:xxxxx@lists.osr.com]On Behalf Of GEORGE MATHEW
Sent: Friday, April 07, 2000 8:41 PM
To: NT Developers Interest List
Subject: [ntdev] Re: Partition Table in the First sector of the disk

Yes I agree with you. But I want to know where this table is kept in the
disk. I mean at which offset. I know how to read and where to
read because I
can start off from the location of primary partition i.e from
predetermined
offset from the beginning of the sector, as follows:
? Partition 1 0x01BE (446)
? Partition 2 0x01CE (462)
? Partition 3 0x01DE (478)
? Partition 4 0x01EE (494)
One of these may contain partition info of an extended partition but it’s
not the true information because it will have an offset to the
next logical
drive. Now my problem is what to write in the offset part of the partition
information when I am creating a new extended partition.
-GM

-----Original Message-----
From: Jamey Kirby [mailto:xxxxx@storagecraft.com]
Sent: Friday, April 07, 2000 10:18 PM
To: NT Developers Interest List
Subject: [ntdev] Re: Partition Table in the First sector of the disk

Extended partitons are nothing more than a partition table inside of a
partition.

> -----Original Message-----
> From: xxxxx@lists.osr.com
> [mailto:xxxxx@lists.osr.com]On Behalf Of GEORGE MATHEW
> Sent: Friday, April 07, 2000 12:50 AM
> To: NT Developers Interest List
> Subject: [ntdev] Re: Partition Table in the First sector of the disk
>
>
> Sorry in my earlier mail I didn’t put the right subject…
>
> Thanx Sajeev for the help. I think the Author could be Mark
> Minaso coz this
> guy has written some books on NT server. Well I tried to find the book
> suggested by you but in vain. Can you get me more information about the
> book, like where can I get it…
> Thanx,
> -GM
>
> -----Original Message-----
> From: Sajeev.S [mailto:xxxxx@amiindia.co.in]
> Sent: Thursday, April 06, 2000 11:11 PM
> To: NT Developers Interest List
> Subject: [ntdev] Re: How to read/write arbitrary io port and memroy ad
> dress in 98/NT?
>
>
> There is something called Extended Partition Table, and I hope
it contains
> the logical drive info. Look in “Hard Disk Survival guide” by
Mark Minasi.
> (hope the name of the book is correct)
>
> HTH,
> Sajeev.
>
> > -----Original Message-----
> > From: GEORGE MATHEW [SMTP:xxxxx@nestec.net]
> > Sent: Thursday, April 06, 2000 9:20 PM
> > To: NT Developers Interest List
> > Subject: [ntdev] Re: How to read/write arbitrary io port and memroy
> > ad dress in 98/NT?
> >
> > Hello Friends, This is an addendum my first mail " How to
> create Extended
> > partition".
> > The first sector of the disk contain the Parttion table
(Offset 01BE h )
> > onwards and has 64 bytes space for the four Primary
> > partition entry out of which one can be Extended partion containing as
> > many
> > as drive letter limit allows number of logical drive. My
> question where is
> > the information of these logical drives is present. Because
each logical
> > drive require all the fields that are present in a primary
partition and
> > there is no space for the partition table in the first sector
itself. So
> > where is the partition information of the logical drive(These are the
> > logical partitions within the extended parttion).
> > Thanx
> > -GM
> >
> > Nb. For those who are confused with the terms, primary
> partition, extended
> > partition and logical drives please look in the "Logical Organization:
> > Partitions and Volumes
> > " in the MSDN.
> >
> > -----Original Message-----
> > From: Maxim S. Shatskih [mailto:xxxxx@storagecraft.com]
> > Sent: Thursday, April 06, 2000 1:51 AM
> > To: NT Developers Interest List
> > Subject: [ntdev] Re: How to read/write arbitrary io port and memroy
> > address in 98/NT?
> >
> >
> > > How to read/write arbitrary (0 - 0xFFFF) io port in 98/NT?
> >
> > READ_PORT_UCHAR
> >
> > > How to read/write arbitrary (0 - 4G) physical memroy in 98/NT?
> > > Thanks.
> >
> > Try MmMapIoSpace. Maybe this will help.
> >
> > Max
> >
> >
> > —
> > You are currently subscribed to ntdev as: xxxxx@nestec.net
> > To unsubscribe send a blank email to $subst(‘Email.Unsub’)
> >
> > —
> > You are currently subscribed to ntdev as: xxxxx@amiindia.co.in
> > To unsubscribe send a blank email to $subst(‘Email.Unsub’)
>
> —
> You are currently subscribed to ntdev as: xxxxx@nestec.net
> To unsubscribe send a blank email to $subst(‘Email.Unsub’)
>
> —
> You are currently subscribed to ntdev as: xxxxx@storagecraft.com
> To unsubscribe send a blank email to $subst(‘Email.Unsub’)
>
>


You are currently subscribed to ntdev as: xxxxx@nestec.net
To unsubscribe send a blank email to $subst(‘Email.Unsub’)


You are currently subscribed to ntdev as: xxxxx@storagecraft.com
To unsubscribe send a blank email to $subst(‘Email.Unsub’)

> Yes I agree with you. But I want to know where this table is kept in the

disk. I mean at which offset. I know how to read and where to read because

Extended partition table is kept usually in the first sector of the extended
partition. The extended partition can be found using a primary partition
table.

Max