partioning and formatting disks

Posted by: Mataglap

partioning and formatting disks - 02/10/2004 23:44

Is there a way to partition a disk so that the swap file space is larger than 16MB? I used roger's web page as a guide and made the extended partition 48MB, and therefore slice 6 defaults to 32MB instead of 16MB, but when using empegUpgrade to put 3a7 on the drive, it looks like it repartitioned everything.

--Nathan
Posted by: tfabris

Re: partioning and formatting disks - 03/10/2004 04:42

Yeah, that's why you need the partitions to be exactly the same way that the Builder makes them, or else it all gets messed up when an .upgrade is applied. The .upgrade replaces an entire partition, and it expects the partitions to be in a certain place. If you mess with the sizes, things get messed up.
Posted by: image

Re: partioning and formatting disks - 03/10/2004 05:59

from my understanding, when i was messing with the upgradesplitter, an .upgrade file rewrites the partition table to what it thinks it should be, then dumps the appropriate diskimage on the coresponding /dev/ entry. now, this is just a theory, but if you never do a conventional upgrade (just use mlord's network upgrader tool), then it should be possible to keep it the way it is.
Posted by: tfabris

Re: partioning and formatting disks - 03/10/2004 07:30

Quote:
if you never do a conventional upgrade (just use mlord's network upgrader tool), then it should be possible to keep it the way it is.

Yeah, but woe is you when you've gotten into one of those last-resort situations where the only way out is a serial factory upgrade...
Posted by: Roger

Re: partioning and formatting disks - 03/10/2004 08:55

Quote:
If you mess with the sizes, things get messed up.


On the other hand -- if I recall correctly -- the upgrader only touches the partitions on the first disk.

If you have two disks, you can make the swap bigger on the second disk and use that instead.

Actually telling the player to use the swap on both disks (which it doesn't currently do) is left as an exercise for the reader.