Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.programming > #5422

Re: fat32 and boot sector

From "Bill Cunningham" <nospam@nspam.invalid>
Newsgroups comp.programming
Subject Re: fat32 and boot sector
Date 2015-05-06 23:41 -0400
Organization A noiseless patient Spider
Message-ID <miemr9$279$1@dont-email.me> (permalink)
References (1 earlier) <fl7lkahegvmbj3lbqpplp20chr7t6k9q6k@4ax.com> <mie9vg$2f1$1@dont-email.me> <16elka5pl7gu314o4a47osonkl127lrak6@4ax.com> <mieg8v$a79$1@dont-email.me> <mfhlka5fkhj3n44vinhofdh77b4ikduudq@4ax.com>

Show all headers | View raw


"Robert Wessel" <robertwessel2@yahoo.com> wrote in message 
news:mfhlka5fkhj3n44vinhofdh77b4ikduudq@4ax.com...

> The traditional MS scheme for partitioning is fairly well described
> at:
>
> http://en.wikipedia.org/wiki/Master_boot_record
>
> As are overviews of several others.
>
> Basically up to four primary partitions can exist, each with a 16-byte
> entry, starting at 0x1be in the partition boot sector (MBR).  Usually
> you can just look at the last eight bytes to find the first sector and
> total size of each partition.  Other parts of each entry determine
> whether it's active and bootable, and several other things.

    I am looking at the last 4 bytes in little endian order and it makes a 
hex value. I translate that into decimal and it tells me a large value 
multiply that by 512 and I get number of sectors. That seems to be an LBA 
size which would begin with sector 0. The other stuff seems to be a pain to 
calculate it's old c/h/s values. Is that necessary to calculate in order to 
find beginning sector in LBA not physical geometry that not even right to 
find a sector for first sector of a partition that is the boot sector?

    That's what I want is each partition's boot sector on the filesystem.

Bill

Back to comp.programming | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread


Thread

fat32 and boot sector "Bill Cunningham" <nospam@nspam.invalid> - 2015-05-06 15:32 -0400
  Re: fat32 and boot sector Robert Wessel <robertwessel2@yahoo.com> - 2015-05-06 18:30 -0500
    Re: fat32 and boot sector "Bill Cunningham" <nospam@nspam.invalid> - 2015-05-06 20:01 -0400
      Re: fat32 and boot sector Robert Wessel <robertwessel2@yahoo.com> - 2015-05-06 20:07 -0500
        Re: fat32 and boot sector "Bill Cunningham" <nospam@nspam.invalid> - 2015-05-06 21:49 -0400
          Re: fat32 and boot sector Robert Wessel <robertwessel2@yahoo.com> - 2015-05-06 21:24 -0500
            Re: fat32 and boot sector "Bill Cunningham" <nospam@nspam.invalid> - 2015-05-06 23:41 -0400
              Re: fat32 and boot sector "Bill Cunningham" <nospam@nspam.invalid> - 2015-05-06 23:42 -0400
              Re: fat32 and boot sector Robert Wessel <robertwessel2@yahoo.com> - 2015-05-07 01:23 -0500
                Re: fat32 and boot sector "Bill Cunningham" <nospam@nspam.invalid> - 2015-05-07 13:18 -0400
                Re: fat32 and boot sector Robert Wessel <robertwessel2@yahoo.com> - 2015-05-09 00:01 -0500
  Re: fat32 and boot sector JJ <jj4public@vfemail.net> - 2015-05-08 00:26 +0700
    Re: fat32 and boot sector "Bill Cunningham" <nospam@nspam.invalid> - 2015-05-07 14:17 -0400
      Re: fat32 and boot sector JJ <jj4public@vfemail.net> - 2015-05-09 21:49 +0700
    Re: fat32 and boot sector Robert Wessel <robertwessel2@yahoo.com> - 2015-05-09 00:03 -0500
      Re: fat32 and boot sector JJ <jj4public@vfemail.net> - 2015-05-09 21:55 +0700
        Re: fat32 and boot sector Robert Wessel <robertwessel2@yahoo.com> - 2015-05-09 11:43 -0500
          Re: fat32 and boot sector JJ <jj4public@vfemail.net> - 2015-05-10 16:05 +0700

csiph-web