Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
CAn i do clone of my system?
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Other Things Gentoo
View previous topic :: View next topic  
Author Message
VsMaX
n00b
n00b


Joined: 29 Aug 2006
Posts: 40
Location: Poland

PostPosted: Tue Nov 21, 2006 8:06 pm    Post subject: CAn i do clone of my system? Reply with quote

Hey. I've got a stable system and i wish to clone it on anthoner partition for making experiments there because i need to have one system stable. Is some option instead of installing one time more gentoo? I tryed to copy my system, but it didn't work.
_________________
Amd Athlon64 X2 3800 , Radeon X1600Pro 256 , 2x512RAM KINGSTON , Sound Blaster Audigy LS

Chetnie zajme sie malymi robotkami w C++ / Pascalu za darmo oczywiscie :)

I offer my little expreience in C++ / pascal of course for free :) Just to learn
Back to top
View user's profile Send private message
Keruskerfuerst
Advocate
Advocate


Joined: 01 Feb 2006
Posts: 2289
Location: near Augsburg, Germany

PostPosted: Tue Nov 21, 2006 8:21 pm    Post subject: Reply with quote

Just boot from a Livecd.
Mount the partitions.
Then use cp -ar /source /destination.


Last edited by Keruskerfuerst on Tue Nov 21, 2006 8:24 pm; edited 1 time in total
Back to top
View user's profile Send private message
grunthus
Apprentice
Apprentice


Joined: 21 Apr 2005
Posts: 194
Location: Shetland UK

PostPosted: Tue Nov 21, 2006 8:22 pm    Post subject: Reply with quote

check out partimage:
Code:
man partimage


You'll need to boot your shiny new system off a live CD so as to leave the harddisk(s) untouched. Then you can use partimage to create disk image files. Once you have the image files, you can 'restore' them onto partitions of a new harddisk.

Alternatively (still via liveCD), you could maybe use dd to spray bits from one harddisk to another (never tried that yet)

Let us know how it goes.
_________________
Read 'Free Software - Free Society' by RM Stallman
Back to top
View user's profile Send private message
Bones McCracker
Veteran
Veteran


Joined: 14 Mar 2006
Posts: 1611
Location: U.S.A.

PostPosted: Tue Nov 21, 2006 8:42 pm    Post subject: Reply with quote

Plain old parted has a command (mkpartfs) which will clone an existing partition.
Back to top
View user's profile Send private message
nixnut
Bodhisattva
Bodhisattva


Joined: 09 Apr 2004
Posts: 10974
Location: the dutch mountains

PostPosted: Wed Nov 22, 2006 5:38 pm    Post subject: Reply with quote

Moved from Installing Gentoo to Other Things Gentoo.
Not about getting gentoo installed.
_________________
Please add [solved] to the initial post's subject line if you feel your problem is resolved. Help answer the unanswered

talk is cheap. supply exceeds demand
Back to top
View user's profile Send private message
mikegpitt
Advocate
Advocate


Joined: 22 May 2004
Posts: 3224

PostPosted: Thu Nov 23, 2006 3:10 pm    Post subject: Reply with quote

Keruskerfuerst wrote:
Just boot from a Livecd.
Mount the partitions.
Then use cp -ar /source /destination.
I was never sure if that woudl work, although in theory it should. At some point I will need to try it out.
Back to top
View user's profile Send private message
Keruskerfuerst
Advocate
Advocate


Joined: 01 Feb 2006
Posts: 2289
Location: near Augsburg, Germany

PostPosted: Thu Nov 23, 2006 4:26 pm    Post subject: Reply with quote

mikegpitt wrote:
Keruskerfuerst wrote:
Just boot from a Livecd.
Mount the partitions.
Then use cp -ar /source /destination.
I was never sure if that woudl work, although in theory it should. At some point I will need to try it out.


I usually use cp -ar to backup my fine running Gentoo system.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Other Things Gentoo All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum