Skip site navigation (1)Skip section navigation (2)
Date:      01 Apr 2002 11:10:33 -0800
From:      swear@blarg.net (Gary W. Swearingen)
To:        dak <aurelien.nephtali@wanadoo.fr>
Cc:        stable@FreeBSD.ORG
Subject:   Re: Merging two partitions in one
Message-ID:  <snadsn9qvq.dsn@localhost.localdomain>
In-Reply-To: <20020401085058.GA707@mars.WorkGroup>
References:  <20020401085058.GA707@mars.WorkGroup>

next in thread | previous in thread | raw e-mail | index | archive | help
dak <aurelien.nephtali@wanadoo.fr> writes:

> My HDD is partitioned in two, a FAT32 partition and an UFS partition with FreeBSD on it;
> I want to know how to merge the two in one UFS partition (i'll format the FAT32 and convert
> it to UFS first) and I want my /usr / /var grow too, is that is possible with a minimum (null ?)
> risk of losing datas and/or breaking my UFS partition ?
> The goal is to have FreeBSD on my entire disk.

If you can't back up your data and reformat the whole thing, you'll
probably want to reformat the FAT32 partition and then mount it
somewhere and then move some of your directory trees over from the
other partition.  You might want to do this in single user mode so
the files won't be in use while you move them.  You can use temporary
names until you get the files moved.  Sometimes you can just devote
the new partition to one tree like /var or /home, but you can also
call it something like /s and then link /home to /s/home, /var to
/s/var, etc.

If you really want to merge the two partitions, I think "vinum" can
do it.  You'll probably want to google for an introduction to it after
skimming its manual.

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-stable" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?snadsn9qvq.dsn>