GR8cloud virtual volume image partitioning

Page 1/3
| 2 | 3

By Eugeny_Brychkov

Paladin (1016)

Eugeny_Brychkov's picture

05-04-2018, 19:17

We decided to go with 100MB space, and initially I thought that I will create 100MB FAT16 volume, thus having whole image covered.
That is great to have such a big volume, but after some reflections I got a feeling that this decision may not be the best one.
What will happen if DOS1 is forced? Nextor/DOS1 will not mount this volume. Maybe I also need FAT12 volume in the image.
What will happen if DOS1 is forced, and I want to play some game which saves game data (e.g. King's Valley 2, MG2), and most probably only supports FAT12 of floppy size?
And I realized that I simply have no enough experience in these matters.

So my question to you: what would be the best structure of the image? And why?

Login or register to post comments

By Grauw

Enlighted (7407)

Grauw's picture

05-04-2018, 19:46

One 16 MB FAT12 A: partition, and one FAT16 B: partition for the rest?

Assuming the disk image in the cloud is treated just like an opaque data block (is it?), I think the user can always just repartition it, right?

Very neat idea btw.

By Eugeny_Brychkov

Paladin (1016)

Eugeny_Brychkov's picture

05-04-2018, 20:19

Grauw wrote:

One 16 MB FAT12 A: partition, and one FAT16 B: partition for the rest?

What is about application only understanding floppy images? I recall I was playing with saving King's Valley 2 data onto the image, and it was saying Disk Error for images other than 720K disk image.

Grauw wrote:

I think the user can always just repartition it, right?

Yes, I am working on "default" image (going to put some programs onto it), but want to make it right from the beginning.

By Grauw

Enlighted (7407)

Grauw's picture

05-04-2018, 20:57

I think a 720K boot partition will fill up too quickly to be meaningful. To have a mostly useless boot drive seems more of a nuisance for the majority of users than it will be a benefit to the few users who want to save in the few games which allow disk saving but don’t like large sizes. And those users still have the ability to repartition it themselves.

(Tbh personally I wouldn’t trust games with my mass storage anyway, who knows if they use direct sector access and mess stuff up…)

By Eugeny_Brychkov

Paladin (1016)

Eugeny_Brychkov's picture

05-04-2018, 22:41

Grauw wrote:

I think a 720K boot partition will fill up too quickly to be meaningful.

Maybe third 720K partition at the end of the two?

Grauw wrote:

(Tbh personally I wouldn’t trust games with my mass storage anyway, who knows if they use direct sector access and mess stuff up…)

I was trying in the past using SD-card of GR8NET, and KV2 seem to have been saving properly.

By Grauw

Enlighted (7407)

Grauw's picture

05-04-2018, 23:50

KV2 may be ok, but what about all the others? Like e.g. SD Snatcher. I don’t trust ’em Smile.

And if the 720K partition is third then it will be the B: drive in DOS1 mode, right? I don’t think many games have a drive select when saving… And only having a FAT16 and then a 720K FAT12 partition seems fairly useless in DOS1 mode.

I think you shouldn’t make it too complicated. People with advanced use cases who know that this and that drive will be used for this and that will also have the knowledge how to partition their drives. But thinking about novice users, they won’t understand what the purpose of all those drives is and will be puzzled by all those different capacities, or where to find the files they saved.

One partition would be ideal, but since I personally think DOS1 support is fairly important, I would still have a second FAT12 partition. I would say it’s preferable to have the FAT12 one as the first of the two, since then you only need to set up one boot environment, and by the time some users manage to run out of space they will have had time to become aware of the 2nd partition.

Hope that opinion helps to make up your mind Smile.

By Eugeny_Brychkov

Paladin (1016)

Eugeny_Brychkov's picture

06-04-2018, 21:48

@Grauw: I made the image as you advised:

  1. 16MB FAT12 with Nextor, network and debugging tools, also loaded VGMplay and Sofarun executables, some .COM games and Unknown Reality demo;
  2. 84MB FAT16 empty volume, which will have to be mounted manually. I used the following DOS command (actual command will depend on number of GR8NETs or other Nextor-based devices installed in the system).
    MAPDRV.COM H: 2 2 0

By Grauw

Enlighted (7407)

Grauw's picture

06-04-2018, 23:09

Ah, I didn’t realise it has to be mounted manually. But I think this is good then. More than enough space to get started, and easy to add the command to mount the 2nd partition to the autoexec.bat.

But isn’t it possible to put that mapdrv in the default autoexec.bat?

Quote:

Do not supply any parameter after the partition number. In this case, the partition is assumed to be in the same device already mapped to the drive (this works only if the drive is currently mapped to a device-based driver).

So, MAPDRV.COM H: 2 ?

By Eugeny_Brychkov

Paladin (1016)

Eugeny_Brychkov's picture

06-04-2018, 23:56

Not so simple. In typical configuration it will work, rare PC will reach drive letter H:

But imagine system is having another storage device with higher version number (it can be the case), thus arguments 2 2 0 will not be correct because GR8NET then will not be a default Nextor kernel.

Another scenario: having two GR8NETs installed. First should be default Nextor kernel, thus second GR8NET doing 2 2 0 will try to mount second partition of the volume on the first GR8NET which is already mounted.

If you think of any universal solution to it I will be very glad and happy. Nestor and I were unable to find one except writing custom MAPDRV for GR8NET.

By Grauw

Enlighted (7407)

Grauw's picture

07-04-2018, 03:11

Oh, when I read the documentation I thought it would look at the device corresponding to the current drive (A:, the boot drive)… But if you even asked Nestor, there must be no way then Smile.

By sdsnatcher73

Master (193)

sdsnatcher73's picture

21-09-2018, 06:22

What software is used on the server, and is it Windows or Linux? Could we run this software on our own hardware (PC or even NAS)? Then it would be possible to create volumes of different sizes, and maybe even have multiple volumes on different ports?

Page 1/3
| 2 | 3
My MSX profile