Computer Forums

Member Login

Remember Me? Sign Up! | Forgot Password
 
Slogan
 
Closed Thread
Old 04-17-2006, 09:22 AM   #1 (permalink)
 
Newb Techie

Join Date: Apr 2006

Posts: 3

sisco22

Default Anyone ever used Gdisk?

Hey guys...i'm not sure if im posting in the right spot or not. But i am having to write a script to run with Gdisk and basically automate a Gdisk command and then partition the drive and format it. Anyone know anything about this? Thanks.
sisco22 is offline  
Old 04-17-2006, 11:36 AM   #2 (permalink)
office politics's Avatar
 
It's all just 1s and 0s

Join Date: Jan 2004

Location: in the lab

Posts: 4,410

office politics will become famous soon enough

Default

that's the app that mounts virtual space from a gmail account to a drive letter, right? i think i used it once a while back, but there was a limit on individual file sizes; 10 mb cus gmail's max attachment size.
office politics is offline  
Old 04-17-2006, 11:39 AM   #3 (permalink)
 
Newb Techie

Join Date: Apr 2006

Posts: 3

sisco22

Default

no, gdisk is from Symantec. It erases the MBR and all on the drive and runs a couple passes to make sure everything is gone.
sisco22 is offline  
Old 04-17-2006, 03:40 PM   #4 (permalink)
office politics's Avatar
 
It's all just 1s and 0s

Join Date: Jan 2004

Location: in the lab

Posts: 4,410

office politics will become famous soon enough

Default

you want to create a batch file so you can run a series of commands

create a txt file named whatever.bat

put each command on its own line like the following

gdisk
diskpart
format c:


save the batch and save the exes to a boot disk. boot to the disk and run the batch file.

diskpart - http://www.microsoft.com/resources/d....mspx?mfr=true
office politics is offline  
Old 04-19-2006, 10:45 AM   #5 (permalink)
 
Newb Techie

Join Date: Apr 2006

Posts: 3

sisco22

Default

Ok. I found out that i don't have to use GDisk to partition and format the drive. I just have to use Gdisk to wipe the drive. I still can't figure out how to write the script right..
sisco22 is offline  
Old 04-19-2006, 12:04 PM   #6 (permalink)
office politics's Avatar
 
It's all just 1s and 0s

Join Date: Jan 2004

Location: in the lab

Posts: 4,410

office politics will become famous soon enough

Default

if you're installing windows 2k or higher, i suggest you research automated windows installs. here's a copy of mine for work. it uses the whole drive as one partition and formats it.

How To Perform an Unattended Installation of Windows from a CD-ROM

Code:
;SetupMgrTag
[Data]
    AutoPartition=1
    MsDosInitiated="0"
    UnattendedInstall="Yes"

[Unattended]
    Repartition=Yes
    UnattendMode=FullUnattended
    OemSkipEula=Yes
    OemPreinstall=No
    TargetPath=\WINNT

[GuiUnattended]
    AdminPassword=*
    OEMSkipRegional=1
    TimeZone=35
    OemSkipWelcome=1

[UserData]
    ProductID=*omitted*
    FullName="Registered User"
    OrgName="Farmers of Salem"
    ComputerName=*

[Display]
    Xresolution=1280
    YResolution=1024

[TapiLocation]
    CountryCode=1
    Dialing=Tone
    AreaCode=856

[RegionalSettings]
    LanguageGroup=1
    Language=00000409

[Branding]
    BrandIEUsingUnattended=Yes

[Proxy]
    Proxy_Enable=0
    Use_Same_Proxy=1
    HTTP_Proxy_Server=172.18.1.1:8080
    Proxy_Override="172.18.*; 172.19.*; *.idpnet.*; *.fosnj.*"

[Identification]
    JoinDomain=FS_IMAGE
    DomainAdmin=xxxxx
    DomainAdminPassword=xxxxx

[Networking]
    InstallDefaultComponents=No

[NetAdapters]
    Adapter1=params.Adapter1

[params.Adapter1]
    INFID=*

[NetClients]
    MS_MSClient=params.MS_MSClient

[NetServices]
    MS_SERVER=params.MS_SERVER

[NetProtocols]
    MS_TCPIP=params.MS_TCPIP

[params.MS_TCPIP]
    DNS=Yes
    UseDomainNameDevolution=No
    EnableLMHosts=Yes
    AdapterSections=params.MS_TCPIP.Adapter1
    DNSSuffixSearchOrder=172.18.1.150,172.18.1.151

[params.MS_TCPIP.Adapter1]
    SpecificTo=Adapter1
    DHCP=Yes
    WINS=Yes
    WinsServerList=172.18.1.150,172.18.1.151
    NetBIOSOptions=0

office politics is offline  
 
Closed Thread

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On