Find the answer to your Linux question:
Results 1 to 5 of 5
Hi, in windows I can go in command line and type in fdisk and it gives me options on formatting my hard drive and such. I was wondering if there ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1
    Just Joined!
    Join Date
    Jun 2005
    Location
    Utah Desert
    Posts
    5

    Whats the fdisk command in linux


    Hi,
    in windows I can go in command line and type in fdisk and it gives me options on formatting my hard drive and such. I was wondering if there is a command like this for linux.
    help is much appreciated
    Sphinx1337

  2. #2
    Linux Guru Flatline's Avatar
    Join Date
    Feb 2005
    Posts
    2,204
    You could try
    Code:
    parted
    or
    Code:
    qtparted
    There are two major products that come out of Berkeley: LSD and UNIX. We don't believe this to be a coincidence.

    - Jeremy S. Anderson

  3. #3
    Just Joined!
    Join Date
    Jun 2005
    Location
    Utah Desert
    Posts
    5
    sorry but those don't work
    Sphinx1337

  4. #4
    Linux Guru Flatline's Avatar
    Join Date
    Feb 2005
    Posts
    2,204
    You may have to use the full path:
    Code:
    /sbin/qtparted
    for example. Keep in mind you have to be root in a terminal to run them. If they're not installed, you could use urpmi to install them with something like
    Code:
    urpmi parted
    The Mandrake Control Center has an excellent graphical partitioner, by the way. The control center is in the System section of the start menu...I think it's Configure My Computer.
    There are two major products that come out of Berkeley: LSD and UNIX. We don't believe this to be a coincidence.

    - Jeremy S. Anderson

  5. #5
    Linux Guru
    Join Date
    Nov 2004
    Posts
    6,110
    You should have fdisk in your /sbin/ directory. Type
    Code:
    /sbin/fdisk --help
    for your options or man fdisk.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •