Computer Problems? Computing.Net has over 1,000,000 posts about all things technology related! Over 90% answered within 24 hours! Click here to start participating now! Also, be sure to check out the New User Guide.
create an extended partition
Name: iampcdoc Date: June 17, 2002 at 08:55:46 Pacific
Comment:
I need to write a program in DOS which takes the "start" and "end" boundries and create a extended partition whith File system netware 386(64).
Let me tell you how the hard drive looks before this program runs.
20 GB total capacity. contains 10 GB(FAT32) primary partition and rest of the drive as free space. Now if i boot with my DOS BOOT disk i need to run my new program from command prompt to create 4 GB extended partition towards the end of the drive. After running this new dos program the hard drive will have 10 GB (FAT32) primary partition,6 GB free space and following that rest of the drive will be extended partition.
If some DOS guru can help me write this program or direct me in right direction i will really apreciated.
Name: JackG Date: June 17, 2002 at 16:11:34 Pacific
Reply:
Not that simple to write. You have to write code to setup that extended partition in the boot record (easy) but putting the necessary stuff out on the disk at the correct place might be a little harder. Not very well documented.
The OS/2 Warp versions of the startup disks would allow you to create an extended partition at the end of free space like that. I would just use FDISK to create a 6G partition first, then the second 4G one, then remove the 6G partition so it is free.
Not really worth anyones time to write such a special program when it can be done other ways with existing code.
0
Response Number 2
Name: W0rm Date: June 17, 2002 at 19:34:25 Pacific
Reply:
not unless...there's money involved, of course, lol. - W0rm - http://dos.li5.org
Summary: An extended partition is the area of the hard drive that will not fit into the primary partition. It allows you to utilise hard drives in excess of 2GB. Under DOS, the maximum size of a partition is...
Summary: I think you're saying there's a 2GB FAT32 logical partition inside a hidden extended partition on your hard disk. If this is the case, then, no, you can't access it as a primary partition because it...
Summary: Read this completely before you start, if possible copy and paste it to your word program or notepad and printed out. If you don't have a bootdisk you can go to www.bootdisk.com and d/l one from ther...