1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Is there a graphical partition manager for FreeBSD?

Discussion in 'Storage' started by BLuFeNiX, Dec 17, 2012.

  1. BLuFeNiX

    BLuFeNiX New Member

    Messages:
    24
    Thanks Received:
    0
    I am attempting to use FreeBSD as my primary OS (I've just switched from Ubuntu). I love gparted, but it seems that there is no gparted port for FreeBSD. I have searched the forums and everything I've found is either command-based or TUI. Is TUI the best I'm going to get?

    Thanks!
     
  2. fonz

    fonz Moderator Staff Member Moderator

    Messages:
    2,513
    Thanks Received:
    346
    According to its own documentation, gparted has limited support for UFS and no support for UFS2 or ZFS. It's therefore not very useful for FreeBSD.

    I think so, yes.

    Seeing as you're coming from Ubuntu, you might want to check out PC-BSD instead. It's based on FreeBSD, but designed to be more pointy-clicky-Ubuntu-ish (perhaps they should have named it BSDuntu instead:p).

    Fonz
     
    BLuFeNiX thanks for this.
  3. vermaden

    vermaden Well-Known Member

    Messages:
    2,361
    Thanks Received:
    677
    You can use sade() from the FreeBSD's base system:

    [​IMG]

    ... but You will probably end batter with the gpart() utility (both for MBR and GPT scheme):

    Code:
    # gpart status
      Name  Status  Components
    ada0p1      OK  ada0
    ada0p2      OK  ada0
    ada0p3      OK  ada0
    
    # gpart show  
    =>       34  312581741  ada0  GPT  (149G)
             34        256     1  freebsd-boot  (128k)
            290   33554432     2  freebsd-zfs  (16G)
       33554722  279027053     3  freebsd-zfs  (133G)
     
    ajith thanks for this.
  4. BLuFeNiX

    BLuFeNiX New Member

    Messages:
    24
    Thanks Received:
    0
    I've heard of PC-BSD, but I have no problem using the command line for most things. I prefer it for installing software, editing config files, etc. The one thing I always go graphical for is partitioning, but I guess I'll have to get a little closer to the metal :)

    Thank you for your quick response. Do you have a suggestion for the most feature-full TUI partition manager? I would love if it had an option to set up a RAID1 for me. I also have a Ubuntu and Windows 7 installation on my machine, and would like to be able to manage any/all partitions from one place.

    Thanks!
     
  5. BLuFeNiX

    BLuFeNiX New Member

    Messages:
    24
    Thanks Received:
    0
    Wow, thanks. You even posted screenshots. I have used gpart a little in the past, I'll revisit it and I'll check out sade. Thanks!
     
  6. TiberiusDuval

    TiberiusDuval New Member

    Messages:
    54
    Thanks Received:
    5
    I use PC-BSD mainly because I do not want to go through big hassle to get working DE, but I want to use FreeBSD software and like consistency of system. But as far as I know PCBSD is just collection of certain utilities and and premade scripts over FreeBSD system. (Something like difference between plain Debian and for example Mint Debian) So if there is not FreeBSD version of something there certainly is not PC-BSD version of it. And as far as I know PC-BSD does not have graphical partition manager except in installer.
    Feel free to correct me if I'm wrong.
     
  7. Goette

    Goette New Member

    Messages:
    9
    Thanks Received:
    1
    PCBSD is FreeBSD but provides some gui for install and a pbi manager to install "packages" like chrome and such, so you don't have to compile from source.

    Of course, the freebsd ports and everything is 100% compatible, is like installing freebsd and spend a hundred hours configuring it.
     
  8. nemeas

    nemeas New Member

    Messages:
    1
    Thanks Received:
    0
    And it gives you an easy root-on-zfs install :)
     
  9. vermaden

    vermaden Well-Known Member

    Messages:
    2,361
    Thanks Received:
    677
    ... and support for ZFS Boot Environments with beadm ;)
     
  10. drhowarddrfine

    drhowarddrfine Active Member

    Messages:
    1,071
    Thanks Received:
    163
    I guess TUI means "text user interface"? I've never heard that before. Don't you mean CLI (command line interface)?

    CLI is always the best you can get.
     
  11. fonz

    fonz Moderator Staff Member Moderator

    Messages:
    2,513
    Thanks Received:
    346
    One can bicker about whether or not it's an appropriate term in the first place, but in practice the fact of the matter is that TUI indeed stands for "text user interface" and is commonly used to refer to (n)curses-based interfaces.

    Fonz
     
  12. kpedersen

    kpedersen Member

    Messages:
    858
    Thanks Received:
    144
    Cool, I have been looking how to access the "sade" tool for a while now (since sysinstall was removed) and even then I was trying to work out how to use the tool directly rather than going through the sysinstall menus.

    It is quite misleading because it is titled FDISK partition editor, so I always thought it was part of the FreeBSD fdisk program, and I just hadnt found the correct "interactive mode" parameter yet ;)
     
  13. wblock@

    wblock@ Administrator Staff Member Administrator Moderator Developer

    Messages:
    11,539
    Thanks Received:
    2,221
  14. drhowarddrfine

    drhowarddrfine Active Member

    Messages:
    1,071
    Thanks Received:
    163
    Not bickering at all. I just never heard that before.
     
  15. kpa

    kpa Well-Known Member

    Messages:
    4,083
    Thanks Received:
    804
    Creating a GUI partition manager should be much easier now than it used to be. There's gpart(8) that has a robust text interface, a quick and dirty GUI could just call gpart(8) trough a shell. Also there's libgeom(3), with suitable bindings to for example python it shouldn't be too hard to create a graphical interface to GEOM managed disks and partition tables.
     
  16. fonz

    fonz Moderator Staff Member Moderator

    Messages:
    2,513
    Thanks Received:
    346
    Why drag Python into it when there's dialog(1)?

    Fonz
     
  17. fonz

    fonz Moderator Staff Member Moderator

    Messages:
    2,513
    Thanks Received:
    346
    That's why I said: "one" ;)

    Although I have yet to hear any good argument, there is a small minority of people who do object (rather vociferously, sometimes) to either the term TUI itself, or what it is commonly taken to mean, or both.

    Fonz
     
  18. kpa

    kpa Well-Known Member

    Messages:
    4,083
    Thanks Received:
    804