Thread: floppy disk boot sector

  1. #1
    Registered User
    Join Date
    Jun 2003

    Question floppy disk boot sector

    does the arrangements of the boot sector contents differ in different OS or in different machines.
    i wrote a structure to find the contents of boot sector in my machine having XP and i find that the structure gives me different result in another machine having win 98(first edition)

  2. #2
    Banned master5001's Avatar
    Join Date
    Aug 2001
    Visalia, CA, USA
    No it doesn't. However, the way you would go about accessing the boot sector would differ depending on OS. You are probably getting different results because you are using a technique that is invalid on Win98 but is valid on WinXP (such as CreateFile()).

  3. #3
    Registered User
    Join Date
    Jun 2003

    Post but..

    thanks for replying. but what i meant was different.
    what i meant when i said it was diffrent was that i got the serial number stored in the 39th byte onwards, occupying a space of four bytes(but in the reverse direction). that is 39th byte had the first byte of serial number and the 236th byte starting from the first in the boot sector had the last byte of serail number.
    i checked this out by reading the entire the boot sector in an array and inspected it, byte by byte.(this was done in win98 second edition).
    the same array when inspected in another machine containing windows 98 first edition gave a an altogether different result.
    further, win xp doesn't store at all the volume label in the boot sector. it always gives a "no name" as default. why??

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. reading floppy disk sector
    By fatrix in forum C++ Programming
    Replies: 4
    Last Post: 12-03-2004, 11:20 PM
  2. freebsd and redhat dual boot.
    By xddxogm3 in forum Linux Programming
    Replies: 1
    Last Post: 05-09-2004, 06:06 PM
  3. Writing a boot sector. I must be mad...
    By SMurf in forum Tech Board
    Replies: 8
    Last Post: 03-19-2003, 02:07 PM
  4. help on boot sector plzzzzz
    By neversell in forum C Programming
    Replies: 3
    Last Post: 07-04-2002, 11:04 PM
  5. Floppy boot sector disassembly
    By RobR in forum A Brief History of
    Replies: 3
    Last Post: 03-05-2002, 04:08 AM