Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 17 Jul 1998 08:00:44 -0400 (EDT)
From:      Spidey <beaupran@JSP.UMontreal.CA>
To:        Julian Elischer <julian@whistle.com>
Cc:        Question=answer <freebsd-questions@FreeBSD.ORG>
Subject:   Melting 2 partitions into 1, again
Message-ID:  <Pine.BSF.3.96.980717075339.14231D-100000@outpost.nada.org>
In-Reply-To: <356DBD66.167EB0E7@whistle.com>

next in thread | previous in thread | raw e-mail | index | archive | help
Hi!

I must thank you if haven't already for the help you gave me on partition
handling. I know it's been a while but I still need your help.

Remember my HD settings?
On Thu, 28 May 1998, Julian Elischer wrote:

> > > 1000MB DOS
> > > 500MB free
> > > 1250MB FBSD
> > > 500MB free
> > >

Well, I grew up the fbsd part, and it's now:

1 GB	DOS
500 MB 	Free
1750 MB FBSD

Now I wish to fit in the 500 MB that is before the FBSD. Is it a different
procedure? If I would try, I would do fdisk to change to starting block,
reboot as -s, do disklabel to reflect the changes.

Is that OK?

BTW, once I fitted the new sizes, is it possible to change the respective
partition sizes in FBSD itself, later? (let's say I need more /var space?)

Thanks in advance!

> ok this is a dead snap.
> just use (from UNIX in single user mode)
> fdisk -u /dev/rwd0
> and extend the size of the BSD partition to be the 
> whole rest of the diskby adding the remaining blocks to the
> present size of 2612736
> then reboot ( not strictly needed but.... )
> after reboot, in single user mode do:
> If the device /dev/rwds2 doesn't exist in /dev.
> (cd /dev ; sh MAKEDEV wd0s2g)
> 
> disklabel -r -e /dev/rwd0s2  rwd0c might work as well
> 
> edit the 'blocks per unit field and the size of the 'c'
> partition to reflect the new size.
> 
> reboot. to single user mode again
> check during boot for any unusiual errors about the disk partitions.
> 
> let me know what disklabel and fdisk looks like after this..
> 
> 

Spidey


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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.BSF.3.96.980717075339.14231D-100000>