Download your favorite Linux distribution at LQ ISO.
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!


  Search this Thread
Old 06-08-2006, 04:41 PM   #1
LQ Newbie
Registered: Jun 2006
Posts: 1

Rep: Reputation: 0
Hard drive resizing??

My friend just gave me a box with freebsd 6.1 on it (this is the only OS on the box). First off let me say that it is an old box. I have started messing around with it and I am trying to install openldap and there are some tools that need to be installed with that and so forth but that is not my question. There is only 4GB of hard drive space in the box (all used with freebsd) and the way it is broken down is this:

ad0s1a 512MB /
ad0s1e 512MB /tmp
ad0s1f 1.34GB /usr
ad0s1d 1.26GB /var

right now I am at the position where I have used 1.38GB of the /usr hard drive. Is there anyway that I can take some of the hard drive space in /var (ad0s1d) and move that space to /usr (ad0s1f)? Because I have almost 1GB unused in /var (ad0s1d). And if I can am I going to lose any information on either hard drive? Or do I have to delete freebsd and install the whole system over again and configure these settings at install?? Any help would be great thanks.

Last edited by SomeoneHere; 06-08-2006 at 04:42 PM.
Old 06-08-2006, 05:35 PM   #2
LQ Guru
Registered: Jan 2003
Location: Seymour, Indiana
Distribution: Distribution: RHEL 5 with Pieces of this and that. Kernel, KDE 3.5.8 and KDE 4.0 beta, Plu
Posts: 5,700

Rep: Reputation: 64
You can use qtparted. It needs to be run on unmounted partitions. Easiest is to download the System Rescue CD and burn the iso image to a cd and boot from it. Same can be done with many other Live CD like knoppix, ubuntu, kubuntu, centos, many other live cd's to choose from.

I would read up on parted and see what kinds of limits with the type of filesystem those partitions are. Example it can resize rieserfs but can't move the begin block so it can't be moved just expanded and shricked.



Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Installing grub to external USB hard drive for later use as internal hard drive dhave Linux From Scratch 2 12-10-2005 09:48 AM
resizing fat32 on external hard disk landroni Linux - Hardware 2 10-14-2005 06:49 AM
Resizing drive partitions gauntalus Linux - Software 2 12-25-2004 10:44 AM
2 hard drive in system mirror 1st hard drive sburns76247 Linux - General 2 12-21-2004 02:47 AM
Grub to access new hard drive and old multi os hard drive ? gedi1 Linux - Hardware 0 06-03-2004 01:01 PM > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 10:04 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration