You are not logged in.

#1 2008-12-10 19:51:36

Zespris
Member
Registered: 2008-11-16
Posts: 13

Copying arch from one HD to another

Hi,

I have one question, is it possible to copy all of Arch from one hard drive to another and it will still boot as normal (modifying properly grub)?

Offline

#2 2008-12-10 20:10:23

lucke
Member
From: Poland
Registered: 2004-11-30
Posts: 4,018

Re: Copying arch from one HD to another

Sure. Just make sure grub and fstab are updated accordingly.

Offline

#3 2008-12-10 20:10:41

Flasher
Member
From: Bavaria / Germany
Registered: 2005-04-24
Posts: 126

Re: Copying arch from one HD to another

dd ist your friend smile

man dd

Greetings,

Flasher

Offline

#4 2008-12-10 20:21:04

arch0r
Member
From: From the Chron-o-John
Registered: 2008-05-13
Posts: 597

Re: Copying arch from one HD to another

you could also use rsync to copy the files to the other disk, but dd is imho much easier. update the grub menu.lst and fstab to boot from the root partition and mount everything properly

Offline

#5 2008-12-10 22:34:50

R00KIE
Forum Fellow
From: Between a computer and a chair
Registered: 2008-09-14
Posts: 4,734

Re: Copying arch from one HD to another

+1 for dd big_smile
Works everytime. Copying stuff and then updating grub and fstab is a good option too, lets you use a new filesystem on the new disc without any problems.


R00KIE
Tm90aGluZyB0byBzZWUgaGVyZSwgbW92ZSBhbG9uZy4K

Offline

#6 2008-12-11 01:25:19

dsr
Member
Registered: 2008-05-31
Posts: 187

Re: Copying arch from one HD to another

Just out of curiosity, what are dd's advantages over cp? Does dd preserve something that `cp -a' does not?

Offline

#7 2008-12-11 03:35:05

dav7
Member
From: Australia
Registered: 2008-02-08
Posts: 674

Re: Copying arch from one HD to another

cp copies files.

dd copies the whole disk, MBR, partition tables and all.


Windows was made for looking at success from a distance through a wall of oversimplicity. Linux removes the wall, so you can just walk up to success and make it your own.
--
Reinventing the wheel is fun. You get to redefine pi.

Offline

#8 2008-12-11 03:46:06

dsr
Member
Registered: 2008-05-31
Posts: 187

Re: Copying arch from one HD to another

Ah, okay, thanks.

Offline

Board footer

Powered by FluxBB