graphical disk partitioner

General questions about the FreeBSD operating system. Ask here if your question does not fit elsewhere.

graphical disk partitioner

Postby z662 » 29 Nov 2009, 02:11


I wanted to know if a graphical disk partitioner existed, I have been unable to find one. Really all I need to do is partition a hdd into 2 different sizes (500gb into a 300 gb slice and a 200 gb slice) and partition an external hdd into fat32. I used dd and newfs to take care of the 500gb drive, however I did not know how to cut it into multiple slices properly and would rather use a graphical tool due to its ease of use. Any help would be appreciated. Thank you
User avatar
Posts: 188
Joined: 18 Mar 2009, 00:54
Location: Pittsburgh, PA

Postby jb_fvwm2 » 29 Nov 2009, 03:38

You can use a file with fdisk (I've done it three
times, but to explain it here would take more time
than I have for the next several days). Most times
I use bootIt, though, which can create BSD slices too
"165/A5h: xBSD" if it is not in the menu (yet).
if you create the file: (say, file_disk)

p 3 165 * 200G

then run
Code: Select all
 fdisk -f file_disk -v -u /dev/ad1

That *may* (backup first!) create a 200G ufs2 partition
on /dev/ad1 after the first two (of four possible)
partitions. (Vary 165 maybe for fat32, ). No time
here to re-study whether my explanation, HERE, matches the
actual results of THAT fdisk command with THAT file.
Senior Member
Posts: 1503
Joined: 16 Nov 2008, 19:19

Postby phoenix » 29 Nov 2009, 04:58

[man]sade[/man] Gives you the same disk slicer and paritioner that you use in sysinstall.

There are also a couple of ports like sfdisk available.

Help for FreeBSD: Handbook, FAQ, man pages, mailing lists.
User avatar
Posts: 3349
Joined: 17 Nov 2008, 05:43
Location: Kamloops, BC, Canada

Postby zeiz » 29 Nov 2009, 14:47

Indeed sysinstall can take care of your disks but if you want GUI you may want to try Parted Magic. It's small (<100MB) "Live" linux distro and it cannot create ufs file systems but you can partition your disks and then when installing FreeBSD just choose already created partition. With parted magic you can create a partition for FreeBSD as "linux swap" or fat32 or just leave a free space.

Lets say you need 300GB for Windows and 200GB for FreeBSD on your internal disk and also you need to format external disk with fat32 for storage/backups accessible from both OSs. I would create 300GB primary partition for Windows on disk1 and leave 200GB remaining as free space or make it "linux swap" partition. Then I'd format disk2 to fat32. Then install windows. Then install FreeBSD using sysinstall and choose for it that "free space"(just choose it and press C, accept defaults, press Q) or "linux swap"(choose, press D, C (also accept defaults), Q). On second screen (bsd label) pay attention to choose right partition (not windows:) and press A that will automatically create all FreeBSD subpartitions on that partition (slice).

Parted Magic is really nice piece of software. Last versions use LXDE as wm. I choose "vesa" (instead of X) and I get amazing quality desktop on my 1680x1050 monitor.
Goood luck!

PS. I use GAG as bootmanager, very light and convenient.
User avatar
Posts: 691
Joined: 19 Nov 2008, 18:36
Location: Canada

Postby z662 » 29 Nov 2009, 17:48

Thank you for all the responses, I ended up using sade as it was very easy to figure out and take care of everything. Thank you for everyone's input and suggestions!
User avatar
Posts: 188
Joined: 18 Mar 2009, 00:54
Location: Pittsburgh, PA

Postby hedwards » 29 Nov 2009, 23:55

I typically use either sysinstall or gparted, depending upon what I need to do, gparted does quite a bit and I haven't had any trouble with it.
Posts: 189
Joined: 16 Nov 2008, 18:52

Return to General

Who is online

Users browsing this forum: Bing [Bot], TeoEnMing, yayix and 0 guests