Re: Formatting Hard Drive In Linux

From: Charles Curley (charlescurley_at_charlescurley.com)
Date: 04/13/04

  • Next message: Ryan: "X11 issue after using up2date"
    Date: Tue, 13 Apr 2004 10:32:14 -0600
    To: For users of Fedora Core releases <fedora-list@redhat.com>
    
    
    
    

    On Tue, Apr 13, 2004 at 06:04:23AM -0400, jack Garcia wrote:
    >
    > Hi!
    >
    >
    >
    > I need to format the hard drive. I know how to do that in Windows. I
    > don't know how to do it in Linux. I'm using Fedora 9.

    I doubt you're using Fedora 9; I suspect you mean Red Hat 9?

    I also doubt you want to format your hard drive as the term is used in
    Unix. What you probably want to do is repartition and/or lay down new
    file system(s).

    The term "format" as used by Mess-DOS and Windows actually means two
    separate things. It means either laying down track and sector
    information, typically on unused media. It also means putting a file
    system on media, e.g. laying down inodes, superblocks, etc.

    In the Unix world, these are two separate processes. The first is
    called "formatting", the second "laying down a file system." On a hard
    drive and some removable media for a PC, there is an intermediate
    step, partitioning, which defines logical drives, upon which you can
    lay independent file systems. Partition is what allows multiple
    logical hard drives on one physical hard drive. "man fdisk" for how to
    do that.

    You do not want to format an IDE drive. Early ones had problems with
    the format commands, and that was a good way to destroy a drive. Later
    drives are safe, but formatting is unnecessary. If you are getting bad
    block error messages, then you have either a defective drive and it's
    time to replace it, or you have a problem in how the hardware is
    tuned. "man hdparm" and "man smartd" for more on that.

    You can format SCSI drives, usually with the firmware on your host
    adapter. I wouldn't bother; I'd replace it. Occasionally formatting a
    floppy will extend its life, but with floppies as cheap as they are,
    it is safer to simply replace the floppy. To format a floppy, use the
    command "fdformat".

    To lay down a file system, use mkfs or mk[e2|dos|??]fs as appropriate
    for the file system you want to lay down. "man mkfs" is a good
    starting point.

    The Linux Documentation Project has a number of documents you may find
    useful, such as "Filesystems HOWTO", "Linux Partition HOWTO", and
    "Partition-Rescue HOWTO". (http://www.tldp.org/)

    I hope I didn't swamp you with too much information.

    -- 
    Charles Curley                  /"\    ASCII Ribbon Campaign
    Looking for fine software       \ /    Respect for open standards
    and/or writing?                  X     No HTML/RTF in email
    http://www.charlescurley.com    / \    No M$ Word docs in email
    Key fingerprint = CE5C 6645 A45A 64E4 94C0  809C FFF6 4C48 4ECD DFDB
    
    

    
    

    -- 
    fedora-list mailing list
    fedora-list@redhat.com
    To unsubscribe: http://www.redhat.com/mailman/listinfo/fedora-list
    


  • Next message: Ryan: "X11 issue after using up2date"

    Relevant Pages

    • Re: Can I resell XP computers in my consignment shop without COA?
      ... for bad sectors on a hard drive. ... All I can tell you is that a full format does not write zeros to the ... long gone days of MFM hard drives, that was eons ago, and it has nothing ...
      (microsoft.public.windowsxp.general)
    • Re: conflict of software Nero Recordnow Drivers - or ??
      ... disk package anywhere. ... If Not when Would I format a disk? ... For most normal disc burning projects, music CDs, playable DVDs, Photo CDs, ... I know I did have DLA, On both drives and I was using when asked if I ...
      (microsoft.public.windowsxp.hardware)
    • Re: Can XP access a hard drive formated for Win 98?
      ... for sticking to FAT32. ... FORMATTING OF INTERNAL AND EXTERNAL HARD DRIVES. ... Using Windows Explorer I attempted to FAT32 format the external HD. ...
      (microsoft.public.windowsxp.newusers)
    • Re: reformatting xp
      ... to do a low level format just to delete one partition. ... In order to do a very clean install you may want to download and ... format your primary partition and install XP. ... drives) and i just want to format one of the partitions. ...
      (microsoft.public.windowsxp.general)
    • Re: [semi-OT] Data archiving (was Re: Query on adding a USB hdd)
      ... encrypt filesystem for archives. ... whiz specialized crap that NASA seems to love) or SCSI hard drives ... be text format extracts and "Office" documents should be in ODF ...
      (Debian-User)

    Loading