flat assembler
Message board for the users of flat assembler.

Index > OS Construction > why floppy cant be partitioned?

Author
Thread Post new topic Reply to topic
b1528932



Joined: 21 May 2010
Posts: 287
b1528932
I ask why? It has sectors, its exactly same as hard drive, but smaller.
It has VBR, but ive read it cant be partitioned. When i put MBR into first sector, and write partition table into it, what will be wrong with it?
Post 15 Jan 2011, 18:00
View user's profile Send private message Reply with quote
Coty



Joined: 17 May 2010
Posts: 554
Location: ␀
Coty
I don't see why you wouldn't be able to, I think I have seen it before, but the thing is, why would you want do it? Do it just to do it? Install two OSes on it just for fun?

_________________
http://codercat.org/
Post 15 Jan 2011, 18:38
View user's profile Send private message Send e-mail Visit poster's website Reply with quote
b1528932



Joined: 21 May 2010
Posts: 287
b1528932
i am learning from as many sources as i can, and here and there i can find that its impossible. Not that it has no sense - its impossible.

I know that it has little sense installing many OS on floppy, but why write impossible? And i though i have good source of information...

Are you sure it cant be done?
What about low level format (dont confuse with zero fill)? Ive found information, that on floppy it isd possible. Is it possible also on hard drive? Im not interested in sense, just possibility.
Post 15 Jan 2011, 19:32
View user's profile Send private message Reply with quote
ManOfSteel



Joined: 02 Feb 2005
Posts: 1154
ManOfSteel
b1528932 wrote:
Are you sure it cant be done?

What part of
Coty wrote:
I don't see why you wouldn't be able to

did you not understand?

A BIOS partition is nothing more than an abstract division comprised of a group of blocks and delimited by no more than 16 bytes in a 64-byte structure (the partition table) inside the MBR.

You can try doing the same with a floppy just for the heck of it if you want, but it's just as useless as mounting a turboprop engine on your car.
Post 15 Jan 2011, 20:27
View user's profile Send private message Reply with quote
edfed



Joined: 20 Feb 2006
Posts: 4240
Location: 2018
edfed
Code:
   01BE        Partition 1 data table  (16 bytes)
   01CE        Partition 2 data table  (16 bytes)
   01DE        Partition 3 data table  (16 bytes)
   01EE        Partition 4 data table  (16 bytes)
   01FE        Signature  (hex 55 AA, 2 bytes)

   Offset from beginning of partition data shown above:

 Offset Size               Description

   00   byte   boot indicator
   01   byte   beginning sector head number
   02   byte   beginning sector (2 high bits of cylinder #)
   03   byte   beginning cylinder# (low order bits of cylinder #)
   04   byte   system indicator
   05   byte   ending sector head number
   06   byte   ending sector (2 high bits of cylinder #)
   07   byte   ending cylinder# (low order bits of cylinder #)
   08   dword  number of sectors preceding the partition
   0B   dword  number of sectors in the partition
    


in this document, nothing indicates it is impossible to partition a floppy drive.

but do you realise the absurdness of the thing?

partitions are made to be cylinder aligned.
there are 80 cylinders on a floopy, then, it can be possible to partition a floppy.

did you try to do it with a binary compiled under fasm?
something like compile => copy.bin as raw on floppy
Post 15 Jan 2011, 23:28
View user's profile Send private message Visit poster's website Reply with quote
Display posts from previous:
Post new topic Reply to topic

Jump to:  


< Last Thread | Next Thread >
Forum Rules:
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You can download files in this forum


Copyright © 1999-2020, Tomasz Grysztar. Also on GitHub, YouTube, Twitter.

Website powered by rwasa.