Re: g4u option

2009-11-10 Thread Patrick Lamaiziere
Le Tue, 10 Nov 2009 12:00:56 -0500,
"Jean-Paul Natola"  a écrit :

> I'm trying to figure out ,if possible, how to get g4u to only clone
> data, i.e.
> I have an 80 gig drive  but my OS and applications only come to about
> 6gigs that’s what I want to clone to the new drive.
> 
> Is there a way to accomplish this?

g4u uses dd(1) to dump the disk or a partition, then it compresses
datas with gzip. It copies *all*. You can save size by filling the
filesystem of the  partition with '0'.

This is in the FAQ of g4u:
http://www.feyrer.de/g4u/#shrinkimg

g4u is based on NetBSD, not FreeBSD.
Regards.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"


Re: g4u option

2009-11-10 Thread Liontaur
On Tue, Nov 10, 2009 at 9:00 AM, Jean-Paul Natola <
jnat...@familycareintl.org> wrote:

> Hi all,
>
> I'm trying to figure out ,if possible, how to get g4u to only clone data,
> i.e.
> I have an 80 gig drive  but my OS and applications only come to about 6gigs
> that’s what I want to clone to the new drive.
>
> Is there a way to accomplish this?
>
>
> TIA
> J
>
> ___
> freebsd-questions@freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to "
> freebsd-questions-unsubscr...@freebsd.org"
>

g4u does partitions so if the data is on a separate partition from the OS
then yes. If everything is on one partition then you'll have to copy the
whole thing with g4u
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"


Re: g4u option

2009-11-10 Thread Polytropon
On Tue, 10 Nov 2009 12:00:56 -0500, "Jean-Paul Natola" 
 wrote:
> Hi all,
> 
> I'm trying to figure out ,if possible, how to get g4u to only clone data,
> i.e.
> I have an 80 gig drive  but my OS and applications only come to about 6gigs
> that’s what I want to clone to the new drive.
> 
> Is there a way to accomplish this?

Yes: using the proper tool for this job. :-)

In case of FreeBSD, dump + restore are excellent tools for
the task you seem to be describing. Refer to the mailing list
archive (or the Handbook) for examples how to use it - it's
quite easy. Using dump and restore involves some other tools
to prepare the target disk (e. g. fdisk, bsdlabel, newfs),
but everything can easily be scripted so it runs without any
human interaction.

Sadly, I can't answer your question about "g4u" because I've
never heared of it, and I don't see it in the ports collection,
so my anser is relatively FreeBSD-specific (but those tools
are the standard tools for such jobs in nearly all UNIX and
Linux environments).



-- 
Polytropon
Magdeburg, Germany
Happy FreeBSD user since 4.0
Andra moi ennepe, Mousa, ...
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"