Computing.Net > Forums > Windows 95/98 > Norton Gdisk.EXE Commands

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.

Norton Gdisk.EXE Commands

Reply to Message Icon

Name: J.C.
Date: April 1, 2006 at 15:38:43 Pacific
OS: Win98 S.E.
CPU/Ram: 950/CPU 640MB/R AM
Product: Generic
Comment:

I want to use Norton Gdisk to setup three partitions using Fat 32, on a New Western Digital 160gb Internal IDE Hard Drive. As follows, use 35% of the 1st partition as Drive C:\ {install Win98 S.E. on Drive C:\}. Use 15% of the Second Partition for Document Backup and use 50% as the Third Partiton {install Win XP Pro. I added Norton Gdisk to a Win98 Boot Disk. My question is, what commands do I use with Norton Gdisk to auto Fdisk and Format of the Three Partitions? I know I can use a Partition Manager to achieve this but I want to give this method a try.
Thanks



Sponsored Link
Ads by Google

Response Number 1
Name: ham30
Date: April 1, 2006 at 18:37:57 Pacific
Reply:

I suggest you do it manualy. Make the first partition FAT32. Make the second partition FAT32. Don't mess with the last area, let WinXP partition and format it during the install and make it FAT32 and not NTFS.


Sorry, I do not check for private messages


0

Response Number 2
Name: jubalsams
Date: April 1, 2006 at 20:18:24 Pacific
Reply:

Key in

GDISK /?

to see the main help information. Then for each sub-command help key in for example:

GDISK /? /CRE

Do ALL of these sub-helps. Key in:

GDISK 1

to see information about disk drive 1.

To automate a setup, use the /BATCH switch with a file that contains the commands. For example:

GDISK /BATCH:TWOLOG.GG

The contents of the text file TWOLOG.GG for example:


1 /MBR /WIPE /Y
1 /CRE /PRI /SZ:34 /FOR /Q /V:DOS /-32 /Y
1 /CRE /PRI /SZ:5120 /FOR /Q /V:WINXP /Y
1 /CRE /EXT /Y
1 /CRE /LOG /SZ:40P /FOR /Q /V:DDRIVE /Y
1 /CRE /LOG /FOR /Q /V:EDRIVE /Y
1 /ACT /P:2 /Y
1 /HIDE /P:1 /Y
1

I think there must be a space leading each line.
The above example wipes the hard drive then creates/formats/names two primary partitions then creates/formats/names two logical partitions. The first logical uses 40% of the drive and the second logical uses the remainder of the drive. It then sets the second primary active and hides the 34 MB FAT16 primary partition.

# For a 160 GB drive we end up with C:5 GB D:64 GB and E: 91 GB


Best
__________________________________________________________________



0

Response Number 3
Name: J.C.
Date: April 2, 2006 at 11:51:05 Pacific
Reply:

jubalsams
Quote from your Post, "then sets the second primary active and hides the 34 MB FAT16 primary partition." I am wondering is there a reason For creating the FAT16 Partition?

Below is a example list of the commands that I used with the Gdisk.exe before Posting my help request.
A:\Gdisk
1 /CRE /PRI /SZ:50% /FOR /Q
1 /CRE /EXT
1 /CRE /LOG /SZ:25% /FOR /Q

I am having two problems that I do not understand and/or know how to correct.
1. The above Gdisk Commands creates FAT 16 Partitions.
{I want FAT32 Partitions not FAT16}
2. The above Gdisk Commands creates Drives C:\ and D:\, but does not create the 3rd. Partition.
I tried adding another line that contains "1 /CRE /LOG /SZ:25% /FOR /Q" but received a bad command message.

I believe, if I modify the Gdisk commands you listed I can achieve my desired results. If I leave out the command /-32 {/-32, ignores large disk support} shouldn't Gdisk create Fat32 Partitions? As listed above FAT 16 Partitions were created. Do you know what command tells Gdisk to create FAT32 Partitions?
Thanks


0

Response Number 4
Name: jubalsams
Date: April 3, 2006 at 08:39:06 Pacific
Reply:

"I am wondering is there a reason For creating the FAT16 Partition?"

It's an example. To each his own, I like to create three primarys and an extended, avoids some problems if things need to be changed later.

"2. The above Gdisk Commands creates Drives C:\ and D:\, but does not create the 3rd. Partition."

The extended partition does not get a drive letter. You create logical partitions (that do get drive letters) WITHIN the extended partition.

"Below is a example list of the commands that I used with the Gdisk.exe before Posting my help request.
A:\Gdisk
1 /CRE /PRI /SZ:50% /FOR /Q
1 /CRE /EXT
1 /CRE /LOG /SZ:25% /FOR /Q"

You should have keyed in (with enter after each line):

GDISK 1 /MBR /WIPE
GDISK 1 /CRE /PRI /SZ:50P /FOR /Q
GDISK 1 /CRE /EXT
GDISK 1 /CRE /LOG /SZ:25P /FOR /Q
GDISK 1 /CRE /LOG /FOR /Q
GDISK 1 /ACT /P:1

"As listed above FAT 16 Partitions were created. Do you know what command tells Gdisk to create FAT32 Partitions?"

It's hard to know what you did using wrong syntax.

GDISK defalts to FAT32. Some old versions do not allow the percent of drive option. As long as you have 6.0.0.35 (1999) or later it has this option. You need to specify the percent as P.

% is a wildcard in DOS!

Do not use percentage for the last partition created if you want to use the remainder. It defaults to all left on disk. Specifying a final percentage total 100% will be slightly too big, causing GDISK to bomb.

Best
_______________________________________________________


0

Response Number 5
Name: J.C.
Date: April 3, 2006 at 11:22:41 Pacific
Reply:

jubalsams
Thanks, for your help. You did a great job of explaining the Gdisk Commands. It works like a charm.



0

Related Posts

See More



Response Number 6
Name: sisco22
Date: April 17, 2006 at 06:37:01 Pacific
Reply:

Hey guys I need a script to run Gdisk off a floppy with a certain command at the beginning and then create a partition and format. An automated script basically. Anyone know how to do this? Thanks.

I had seen this thread here and thought i might could post this and maybe get some feedback. Thanks!


0

Sponsored Link
Ads by Google
Reply to Message Icon






Post Locked

This post is quite old and has been locked from receiving new replies. Please create a new posting instead.


Go to Windows 95/98 Forum Home


Sponsored links

Ads by Google


Results for: Norton Gdisk.EXE Commands

Start.exe command hangs www.computing.net/answers/windows-95/startexe-command-hangs/31761.html

Norton Ghost Dos Commands www.computing.net/answers/windows-95/norton-ghost-dos-commands/102288.html

nortons personal firewall www.computing.net/answers/windows-95/nortons-personal-firewall/150162.html