Results 1 to 5 of 5

Thread: Identify all partitions

  1. #1
    Join Date
    Jul 2006
    Location
    Upstate
    Beans
    87
    Distro
    Ubuntu

    Question Identify all partitions

    From within a running Linux partition on a hard drive, what is a good way to identify all other defined partitions on that hard drive?

  2. #2
    Join Date
    Oct 2007
    Location
    ISS
    Beans
    1,429

    Re: Identify all partitions

    Quote Originally Posted by pgte3 View Post
    From within a running Linux partition on a hard drive, what is a good way to identify all other defined partitions on that hard drive?
    Code:
    sudo fdisk -l
    ls /dev/disk/* -lah
    sudo blkid
    mount

  3. #3
    Inxsible's Avatar
    Inxsible is offline Badabing Badabang Badaboom...Sucker!
    Join Date
    Feb 2006
    Beans
    4,996

    Re: Identify all partitions

    Quote Originally Posted by pgte3 View Post
    From within a running Linux partition on a hard drive, what is a good way to identify all other defined partitions on that hard drive?
    Code:
    df -h
    or
    Code:
    sudo fdisk -l
    Shed that weight!! -- Apps | Window Managers

    Arch + i3 (tty1) Arch + wmfs (tty2)

  4. #4
    Join Date
    Mar 2006
    Location
    Saint Petersburg, FL
    Beans
    1,123

    Re: Identify all partitions

    Open a terminal and run:

    Code:
    sudo fdisk -l /dev/<system_name_of_drive>
    that will list all of the partitions mounted or not mounted on that particular disk.
    For those new to Ubuntu most of your answers can be found at help.ubuntu.com or ubuntuguide.org

  5. #5
    Join Date
    Jul 2006
    Location
    Upstate
    Beans
    87
    Distro
    Ubuntu

    Re: Identify all partitions

    This is helpful, thanks.

Bookmarks

Posting Permissions

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