Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 12 Feb 2004 10:23:16 -0500 (EST)
From:      Jerry McAllister <jerrymc@clunix.cl.msu.edu>
To:        nospam@users.sourceforge.net (Rob)
Cc:        freebsd-questions@freebsd.org
Subject:   Re: How to safely merge two slices on harddisk?
Message-ID:  <200402121523.i1CFNGq17261@clunix.cl.msu.edu>
In-Reply-To: <402B7071.90209@users.sourceforge.net> from "Rob" at Feb 12, 2004 09:24:17 PM

next in thread | previous in thread | raw e-mail | index | archive | help
> 
> 
> Jerry McAllister wrote:
> >>
> > 
> > In any case, do not use /stand/sysinstall for this.   You need more direct 
> > control and should use disklabel directly.   As mentioned in my previous 
> > posting use the command  
> >                          'disklabel -e -r asd1s1'  
> > and then edit the tmp file 
> 
> Malcolm Kay wrote:
>  >
>  > A good chance it will work -- but pre-existing 'f' and 'g' data is lost.
> 
> 
> Thank you guys for your help.
> I actually did use sysinstall (sorry, Jerry) and mission is accomplished.

You are lucky.  sysinstall makes some assumptions in the way it 
calls disklabel.   Your situation fit neatly within those assumptions.

> Yes, indeed, I lost the data is the two merged partitions 'f' and 'g', but
> that was no problem; I needed to keep the data in all other partitions.
> Sysinstall did all that for me.

Well, it just let you define those other partitions in the same
way they were before so effectively it left them alone.

> 
> Meanwhile I learned a lot more about disklabel, thanks to your comments.
> Great and many thanks,

Disklabel is actually quite easy to use.   The man page combined with
the fdisk man page can be rather confusing.   The approach to writing
them seem rather convoluted to me.  If I felt competent enough on the
subject, I would take a shot at rewriting them, but there are two
many details about the extra features I do no know about.  But, the
main stuff is reall quite straightforward to use.

////jerry

> Rob.
> _______________________________________________



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