Pages: [1]   Go Down

Author Topic: Linux script help  (Read 1116 times)

0 Members and 1 Guest are viewing this topic.

AMDinside

  • CoalitionLAN Staff
  • Ultra Kill
  • *****
  • Kudos: +0/-0
  • Offline Offline
  • Gender: Male
  • Posts: 561
    • View Profile
    • WWW
Linux script help
« on: April 02, 2008, 12:26:19 PM »
I was tasked with formatting 100 external USB hdd's from NTFS to FAT32 so ghost can image them.  I ended up having to use Linux to do this task, as Windows XP only  formats disks up to 32GB in FAT32.  I have the commands to do what I need but I was hoping that someone here could help me come up with a script that will do it all with the click of an icon.  Make this tedious task a lot quicker. 

Please help.
Logged

LANquest 4.0...
AMD Athlon II X3 425 @ 3.1Ghz/8GB Kingston HyperX RAM/EVGA 9800GTX+/ASRock 990FX Extreme3 MoBo/OCZ Vertex Plus SSD 120GB, Samsung hdd 750GB, NZXT Phantom 410 case
LANquest mobile 3.0...
HP DV6
AMD A8-3500/8GB RAM/120GB Sandisk Ultra SSD/ 500GB hdd/15.6" display

GenTsoChiken

  • Guest
Re: Linux script help
« Reply #1 on: April 02, 2008, 02:06:48 PM »
well, if you were using windows, id say make a batch file. i use them all the time to do updates and stuff on the systems here at my school, very helpful. i'm not really sure if *nix has something similar, im sure there is but i dont know it off the top of my head.
Logged

AMDinside

  • CoalitionLAN Staff
  • Ultra Kill
  • *****
  • Kudos: +0/-0
  • Offline Offline
  • Gender: Male
  • Posts: 561
    • View Profile
    • WWW
Re: Linux script help
« Reply #2 on: April 02, 2008, 02:17:35 PM »
Yeah, I am using linux.  It works much the same on linux, I just dont know the commands too well.
Logged

LANquest 4.0...
AMD Athlon II X3 425 @ 3.1Ghz/8GB Kingston HyperX RAM/EVGA 9800GTX+/ASRock 990FX Extreme3 MoBo/OCZ Vertex Plus SSD 120GB, Samsung hdd 750GB, NZXT Phantom 410 case
LANquest mobile 3.0...
HP DV6
AMD A8-3500/8GB RAM/120GB Sandisk Ultra SSD/ 500GB hdd/15.6" display

coldflame

  • Mega Kill
  • ***
  • Kudos: +0/-0
  • Offline Offline
  • Gender: Male
  • Posts: 388
  • Bush is Listening, Use Big Words.
    • View Profile
Re: Linux script help
« Reply #3 on: April 02, 2008, 02:27:57 PM »
Does linux take perl? If it does...I could do a script for you.

Edit:
That was a dumb question, of course Linux takes PERL. I need the specific commands. And I'll put it together.
Logged

AMDinside

  • CoalitionLAN Staff
  • Ultra Kill
  • *****
  • Kudos: +0/-0
  • Offline Offline
  • Gender: Male
  • Posts: 561
    • View Profile
    • WWW
Re: Linux script help
« Reply #4 on: April 02, 2008, 02:33:11 PM »
I was hoping for something simple, like a shell script.
Logged

LANquest 4.0...
AMD Athlon II X3 425 @ 3.1Ghz/8GB Kingston HyperX RAM/EVGA 9800GTX+/ASRock 990FX Extreme3 MoBo/OCZ Vertex Plus SSD 120GB, Samsung hdd 750GB, NZXT Phantom 410 case
LANquest mobile 3.0...
HP DV6
AMD A8-3500/8GB RAM/120GB Sandisk Ultra SSD/ 500GB hdd/15.6" display

Popsikle

  • CoalitionLAN Staff
  • Ultra Kill
  • *****
  • Kudos: +0/-0
  • Offline Offline
  • Gender: Male
  • Posts: 891
    • View Profile
    • WWW
Re: Linux script help
« Reply #5 on: April 16, 2008, 07:40:43 PM »
whats the command you are running to format them, and what do you wish the script to actually do?
Logged

Manufacturer:     Popsikle Inc. * Processor:    AMD Athlon(tm) 64 X2 DCP 3800+, MMX, 3DNow (2 CPUs), ~2.0GHz * Memory:    1024MB RAM * Hard Drive:    74.3 GB x 2 10K rpm Raptros (Mirrored)  * Video Card:    GeForce 7800 GT SLI 512 MB  * Monitor:    1x Flatron L1720P LG, 1 17in CRT * Sound Card:    SB Audigy Audio [DF00]  * Speakers/Headphones:    Logitec 5.1 Surround Speaker Set * Mouse:    Logitec Mx 700

AMDinside

  • CoalitionLAN Staff
  • Ultra Kill
  • *****
  • Kudos: +0/-0
  • Offline Offline
  • Gender: Male
  • Posts: 561
    • View Profile
    • WWW
Re: Linux script help
« Reply #6 on: April 17, 2008, 04:42:04 AM »
It doesn't matter any more.  I formated them all one by one.
Logged

LANquest 4.0...
AMD Athlon II X3 425 @ 3.1Ghz/8GB Kingston HyperX RAM/EVGA 9800GTX+/ASRock 990FX Extreme3 MoBo/OCZ Vertex Plus SSD 120GB, Samsung hdd 750GB, NZXT Phantom 410 case
LANquest mobile 3.0...
HP DV6
AMD A8-3500/8GB RAM/120GB Sandisk Ultra SSD/ 500GB hdd/15.6" display

$hellCoder

  • Multi Kill
  • **
  • Kudos: +2/-0
  • Offline Offline
  • Gender: Male
  • Posts: 187
  • Licensed to Chill
    • View Profile
Re: Linux script help
« Reply #7 on: April 18, 2008, 09:45:15 AM »
by the way, I use the old Norton Ghost v7.5 by booting to DOS via a win98 boot disk.  This version of Ghost will image any NTFS drives of any size (by my own personal experience)...

This is the method I developed and used to backup customer's data while I worked as a tech at CompUSA for over 3 years and in that time did about 4 backup images a day.
Logged

AMDinside

  • CoalitionLAN Staff
  • Ultra Kill
  • *****
  • Kudos: +0/-0
  • Offline Offline
  • Gender: Male
  • Posts: 561
    • View Profile
    • WWW
Re: Linux script help
« Reply #8 on: April 18, 2008, 10:06:44 AM »
It works for NTFS on internal drives.  When you try to do it with a USB drive it fails.
Logged

LANquest 4.0...
AMD Athlon II X3 425 @ 3.1Ghz/8GB Kingston HyperX RAM/EVGA 9800GTX+/ASRock 990FX Extreme3 MoBo/OCZ Vertex Plus SSD 120GB, Samsung hdd 750GB, NZXT Phantom 410 case
LANquest mobile 3.0...
HP DV6
AMD A8-3500/8GB RAM/120GB Sandisk Ultra SSD/ 500GB hdd/15.6" display

Sly

  • Fish Kill
  • Kudos: +0/-0
  • Offline Offline
  • Posts: 10
    • View Profile
Re: Linux script help
« Reply #9 on: June 24, 2008, 07:32:40 AM »
Amd are you using ubuntu gusty/hardy?
Logged
Pages: [1]   Go Up
« previous next »