Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Move Gentoo Installation to another HDD
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
Specialized
Apprentice
Apprentice


Joined: 11 Jan 2005
Posts: 264

PostPosted: Wed Oct 05, 2005 6:03 pm    Post subject: Move Gentoo Installation to another HDD Reply with quote

Hi,
I've just bought a bigger HDD for my Notebook and I want to transfer my Gentoo-installation to the new drive.
Is there a way to do this or do I have to make a new Installation?
Back to top
View user's profile Send private message
thoughtform
l33t
l33t


Joined: 24 May 2004
Posts: 600

PostPosted: Wed Oct 05, 2005 6:04 pm    Post subject: Reply with quote

boot with the livecd
mount your old and new drive
cp -pidRv /mnt/old/* /mnt/new
Back to top
View user's profile Send private message
BlackEdder
Advocate
Advocate


Joined: 26 Apr 2004
Posts: 2588
Location: Dutch enclave in Egham, UK

PostPosted: Wed Oct 05, 2005 6:05 pm    Post subject: Reply with quote

http://www.tldp.org/HOWTO/Hard-Disk-Upgrade/copy.html
Back to top
View user's profile Send private message
tango
Apprentice
Apprentice


Joined: 24 Jan 2005
Posts: 251

PostPosted: Wed Oct 05, 2005 6:13 pm    Post subject: Reply with quote

I often useDisk Archive (dar) for this..

It´s easy to create a backup of the system, then you can extract it on the new hard disk...

http://www.gentoo-portage.com/app-backup/dar

tango
Back to top
View user's profile Send private message
Specialized
Apprentice
Apprentice


Joined: 11 Jan 2005
Posts: 264

PostPosted: Wed Oct 05, 2005 8:01 pm    Post subject: Reply with quote

I use grub with an boot-partition, can copy this partition the same way?
cp -a /boot /dev/hdc1
/dev/hdc1 is my new boot-partition.
Back to top
View user's profile Send private message
Matt126
n00b
n00b


Joined: 18 Apr 2004
Posts: 16

PostPosted: Wed Oct 05, 2005 11:17 pm    Post subject: Reply with quote

Specialized wrote:
I use grub with an boot-partition, can copy this partition the same way?
cp -a /boot /dev/hdc1
/dev/hdc1 is my new boot-partition.


you can't "copy" to /dev/hdc1. that is just an address of a partition. you must mount it first. so after you mount it, you may copy the contents of your existing boot partition onto your new one. however, you will have to run grub as you did when you made the install to set up the master boot record.

good luck,
Matt
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