View previous topic :: View next topic |
Author |
Message |
midnightlightning Tux's lil' helper
Joined: 19 Dec 2004 Posts: 79
|
Posted: Fri May 19, 2006 5:24 pm Post subject: Image from one HD to another? |
|
|
I've been trying to get my 170Mhz Sparc 5 to get installed with Gentoo, but it's been causing me a bundle of problems (as several websites said it would). The resolution for most was to build Linux on another box (luckily I have an 85Mhz box as well) and simply move the hard drive. I now have one drive set up just the way I want (installed Gentoo and emerged all packages I'll be wanting). But since I want both these Sparc boxes to be running Gentoo, I'd rather not have to go through that whole process again to set up another hard drive.
Which is why I'm here. Since each box has sleds for two hard drives, is there a simple command to 'image' or 'clone' the contents of 'sda' to 'sdb'? From Gentoo or the "ok" prompt?
Thanks! _________________ "Any sufficiently advanced technology is indistinguisable from magic." -- Arthur C. Clarke |
|
Back to top |
|
|
tiketti n00b
Joined: 29 Apr 2003 Posts: 32 Location: Finland
|
|
Back to top |
|
|
coolsnowmen Veteran
Joined: 30 Jun 2004 Posts: 1479 Location: No.VA
|
|
Back to top |
|
|
midnightlightning Tux's lil' helper
Joined: 19 Dec 2004 Posts: 79
|
Posted: Mon May 22, 2006 7:08 pm Post subject: |
|
|
Thanks for the suggestions; I was able to use just the 'cp -dprx /path-from /path-to' method to get the other system booted off of a cloned disk. Now, to see if it will stay booted, or if I just got lucky... _________________ "Any sufficiently advanced technology is indistinguisable from magic." -- Arthur C. Clarke |
|
Back to top |
|
|
coolsnowmen Veteran
Joined: 30 Jun 2004 Posts: 1479 Location: No.VA
|
Posted: Mon May 22, 2006 7:41 pm Post subject: |
|
|
there are benefits to both methods, the easies to understand is cp -a (archive)
For mounted volumes (I've only read) the idea is to use cpio
for an exact clone, dd is the best, fasted, and kicks the lama's ass (IMHO) |
|
Back to top |
|
|
Toady Apprentice
Joined: 21 Dec 2004 Posts: 161 Location: South Wales, UK
|
Posted: Tue May 23, 2006 10:56 am Post subject: |
|
|
I tend to use:
find . -xdev | cpio -pm /new/path
that will find everything on the current device and copy it to the mount point you ask it to.
you would probably have to chroot to the new disk and sort out silo afterwards tho. _________________ Toady
Gentoo Laptop
3.1.10-gentoo-r1, Intel Core 2 Duo (32bit)
Gnome on the desk, Intel in the box, on-board everything, but it all works! |
|
Back to top |
|
|
coolsnowmen Veteran
Joined: 30 Jun 2004 Posts: 1479 Location: No.VA
|
Posted: Tue May 23, 2006 1:48 pm Post subject: |
|
|
Toady wrote: | ...you would probably have to chroot to the new disk and sort out silo afterwards tho. |
A serious question: What is silo? |
|
Back to top |
|
|
tiketti n00b
Joined: 29 Apr 2003 Posts: 32 Location: Finland
|
Posted: Tue May 23, 2006 2:13 pm Post subject: |
|
|
coolsnowmen wrote: | A serious question: What is silo? |
Sparc Improved boot LOader. _________________ Gentoo on x86, sparc, alpha, amd64, embedded |
|
Back to top |
|
|
|