Re: Moving Fedora system to new disk

2014-05-29 Thread Chris Murphy
On May 29, 2014, at 5:31 AM, Timothy Murphy wrote: > Heinz Diehl wrote: > >>> I'm planning on moving the Fedora-20 system on my laptop >>> to a new hard disk (500GB instead of 80GB). > >> I've done that quite often, and it's no problem. >> >> 1. Boot from an external medium, e.g. www.sysrescc

Re: Moving Fedora system to new disk

2014-05-29 Thread Heinz Diehl
On 29.05.2014, Temlakos wrote: > All I want to do is move the contents of /home. What are the > best commands for doing this? If you want to move the whole /home directory as is: rsync -avxHSAX /home/ /new/home -- users mailing list users@lists.fedoraproject.org To unsubscribe or change subscr

Re: Moving Fedora system to new disk

2014-05-29 Thread Heinz Diehl
On 29.05.2014, Timothy Murphy wrote: > Don't you have to correct UUIDs in /etc/fstab on the new disk? Yes. Either that, or adjust the new UUIDs to the old ones. It's done quickly, should have mentioned that. -- users mailing list users@lists.fedoraproject.org To unsubscribe or change subscript

Re: Moving Fedora system to new disk

2014-05-29 Thread Chris Adams
Once upon a time, g said: > i do not know what version of 'cp' you have, but i can tell you that > "cp (GNU coreutils) 8.4" does not copy directories or files that have > a space in their name. That is not true. cp handles files with any characters just fine (just tested on an old RHEL 4 system

Re: Moving Fedora system to new disk

2014-05-29 Thread g
On 05/29/14 07:31, Joachim Backes wrote: <<<>>> hello Joachim, Hi G, you are sure? backes@eule [~]: rm -rf 'aa aa' 'bb bb' backes@eule [~]: mkdir 'aa aa' backes@eule [~]: cp -xaP 'aa aa' 'bb bb'/ backes@eule [~]: ls -l aa* bb* aa aa: total 0 bb bb: total 0 My /bin/cp belongs to coreutils-8

Re: Moving Fedora system to new disk

2014-05-29 Thread Timothy Murphy
Heinz Diehl wrote: >> I'm planning on moving the Fedora-20 system on my laptop >> to a new hard disk (500GB instead of 80GB). > I've done that quite often, and it's no problem. > > 1. Boot from an external medium, e.g. www.sysresccd.org > 2. Mount both disks > 3. Use "rsync -avxHSAX /source/ /ta

Re: Moving Fedora system to new disk

2014-05-29 Thread Joachim Backes
On 05/29/2014 01:20 PM, g wrote: > > > On 05/28/14 09:36, Timothy Murphy wrote: >> I'm planning on moving the Fedora-20 system on my laptop >> to a new hard disk (500GB instead of 80GB). >> I've partitioned the new disk. >> When I copy partitions from the old disk to the new one >> with "cp -a" (

Re: Moving Fedora system to new disk

2014-05-29 Thread g
On 05/28/14 09:36, Timothy Murphy wrote: I'm planning on moving the Fedora-20 system on my laptop to a new hard disk (500GB instead of 80GB). I've partitioned the new disk. When I copy partitions from the old disk to the new one with "cp -a" (running under a Fedora Live CD) I get a lot of messa

Re: Moving Fedora system to new disk

2014-05-29 Thread Temlakos
On 05/29/2014 02:19 AM, Heinz Diehl wrote: On 28.05.2014, Timothy Murphy wrote: I'm planning on moving the Fedora-20 system on my laptop to a new hard disk (500GB instead of 80GB). I've partitioned the new disk. When I copy partitions from the old disk to the new one with "cp -a" (running under

Re: Moving Fedora system to new disk

2014-05-28 Thread Heinz Diehl
On 29.05.2014, Heinz Diehl wrote: >- mount /dev/sdaX /mnt Where "/dev/sdaX" is your root partition. Forgot to mention that, sorry! -- users mailing list users@lists.fedoraproject.org To unsubscribe or change subscription options: https://admin.fedoraproject.org/mailman/listinfo/users Fedor

Re: Moving Fedora system to new disk

2014-05-28 Thread Heinz Diehl
On 28.05.2014, Tom Horsley wrote: > I've used rsync to do this (you have to go through the gazillion > options to get all the appropriate ones though). "rsync -avxHSAX" will do it all. -- users mailing list users@lists.fedoraproject.org To unsubscribe or change subscription options: https://ad

Re: Moving Fedora system to new disk

2014-05-28 Thread Heinz Diehl
On 28.05.2014, Timothy Murphy wrote: > I'm planning on moving the Fedora-20 system on my laptop > to a new hard disk (500GB instead of 80GB). > I've partitioned the new disk. > When I copy partitions from the old disk to the new one > with "cp -a" (running under a Fedora Live CD) > I get a lot of

Re: Moving Fedora system to new disk

2014-05-28 Thread Chris Murphy
On May 28, 2014, at 7:56 AM, Tom Horsley wrote: > On Wed, 28 May 2014 14:36:27 +0100 > Timothy Murphy wrote: > >> Any suggestions gratefully received. > > I've used rsync to do this (you have to go through the gazillion > options to get all the appropriate ones though). Anaconda LiveCD uses -

Re: Moving Fedora system to new disk

2014-05-28 Thread Timothy Murphy
Tom Horsley wrote: > I've used rsync to do this (you have to go through the gazillion > options to get all the appropriate ones though). Thanks for your and the many other suggestions. I'm going to follow your advice and use rsync, which seems most appropriate since the I have already copied the

Re: Moving Fedora system to new disk

2014-05-28 Thread Chris Adams
Once upon a time, Timothy Murphy said: > I'm planning on saying "rsync -auvz" (which is my usual recipe). > If anyone can suggest better options I shall be glad to hear them. For copying the OS, you will also want -HAX to correctly copy hard-linked files, access-control lists, and extended attrib

Re: Moving Fedora system to new disk

2014-05-28 Thread Chris Adams
Once upon a time, Tony Nelson said: > -a includes -P, so copying symlinks is not his problem. His problem > is that the links are broken, as reported by diff. I'm not sure what environment the OP was using to do the copy (e.g. rescue mode, live CD, etc.), but some things install relative links,

Re: Moving Fedora system to new disk

2014-05-28 Thread Francisco J. Tsao Santin
On Wed, 28 May 2014, Timothy Murphy wrote: > Does this mean cp is not an appropriate way to copy partitions? > I thought of using dd, but the partitions are not the same size, > and I was not sure if this would cause problems. > > Any suggestions gratefully received. IMHO, the best choice for the

Re: Moving Fedora system to new disk

2014-05-28 Thread Tony Nelson
On 14-05-28 12:28:31, Joachim Backes wrote: > On 05/28/2014 06:19 PM, Tony Nelson wrote: > > On 14-05-28 12:09:15, Joachim Backes wrote: ... > >> I think the Option "-P" will do it. > > > > -a does it, but diff is complaining that the links are broken. > > In my case, /bin/acroread -> /opt/Adobe

Re: Moving Fedora system to new disk

2014-05-28 Thread Joachim Backes
On 05/28/2014 06:19 PM, Tony Nelson wrote: > On 14-05-28 12:09:15, Joachim Backes wrote: >> On 05/28/2014 04:37 PM, Michael Hennebry wrote: >>> On Wed, 28 May 2014, Timothy Murphy wrote: >>> I'm planning on moving the Fedora-20 system on my laptop to a new hard disk (500GB instead of 80GB

Re: Moving Fedora system to new disk

2014-05-28 Thread Tony Nelson
On 14-05-28 12:09:15, Joachim Backes wrote: > On 05/28/2014 04:37 PM, Michael Hennebry wrote: > > On Wed, 28 May 2014, Timothy Murphy wrote: > > > >> I'm planning on moving the Fedora-20 system on my laptop > >> to a new hard disk (500GB instead of 80GB). > >> I've partitioned the new disk. > >> W

Re: Moving Fedora system to new disk

2014-05-28 Thread Joachim Backes
On 05/28/2014 04:37 PM, Michael Hennebry wrote: > On Wed, 28 May 2014, Timothy Murphy wrote: > >> I'm planning on moving the Fedora-20 system on my laptop >> to a new hard disk (500GB instead of 80GB). >> I've partitioned the new disk. >> When I copy partitions from the old disk to the new one >>

Re: Moving Fedora system to new disk

2014-05-28 Thread Michael Hennebry
On Wed, 28 May 2014, Timothy Murphy wrote: I'm planning on moving the Fedora-20 system on my laptop to a new hard disk (500GB instead of 80GB). I've partitioned the new disk. When I copy partitions from the old disk to the new one with "cp -a" (running under a Fedora Live CD) I get a lot of mess

Re: Moving Fedora system to new disk

2014-05-28 Thread Michael D. Setzer II
On 28 May 2014 at 14:36, Timothy Murphy wrote: To: users@lists.fedoraproject.org From: Timothy Murphy Subject:Moving Fedora system to new disk Date sent: Wed, 28 May 2014 14:36:27 +0100 Organization: Trinity College

Re: Moving Fedora system to new disk

2014-05-28 Thread Andy Blanchard
"dd" is a much better command that "cp" for this. See the following for more info and a good background as to what is going on: https://wiki.archlinux.org/index.php/Disk_Cloning The sections on "Cloning a partition" and "Cloning an entire hard disk" are the bits you want. Also take a look at th

Re: Moving Fedora system to new disk

2014-05-28 Thread Derrik Walker v2.0
On 5/28/14, 9:36, Timothy Murphy wrote: I'm planning on moving the Fedora-20 system on my laptop Any suggestions gratefully received. If your using lvm, what I typically do is add both disks to the volume group, then you can use pvmove to move your lv's to the new pv. The just vgreduce the o

Re: Moving Fedora system to new disk

2014-05-28 Thread Greg Woods
There must be a zillion ways to do this (rsync, cpio, even cp) so I'll throw in my personal favorite: # cd /old # tar --one-file-system -cf - . | (cd /new && tar xpf -) --Greg -- users mailing list users@lists.fedoraproject.org To unsubscribe or change subscription options: https://admin.fedora

Re: Moving Fedora system to new disk

2014-05-28 Thread Tom Horsley
On Wed, 28 May 2014 14:36:27 +0100 Timothy Murphy wrote: > Any suggestions gratefully received. I've used rsync to do this (you have to go through the gazillion options to get all the appropriate ones though). You'll also have to do something like boot from a live CD in order to run grub-install

Re: Moving Fedora system to new disk

2014-05-28 Thread Chris Berkhout
I'd also have expected cp -a to work. Sorry, I can't say what the problem with that is, but my next try would be rsync. On Wed, May 28, 2014 at 11:50 PM, Tim Evans wrote: > On 05/28/2014 09:36 AM, Timothy Murphy wrote: > >> I'm planning on moving the Fedora-20 system on my laptop >> to a new ha

Re: Moving Fedora system to new disk

2014-05-28 Thread Tim Evans
On 05/28/2014 09:36 AM, Timothy Murphy wrote: I'm planning on moving the Fedora-20 system on my laptop to a new hard disk (500GB instead of 80GB). I've partitioned the new disk. When I copy partitions from the old disk to the new one with "cp -a" (running under a Fedora Live CD) I get a lot of me

Moving Fedora system to new disk

2014-05-28 Thread Timothy Murphy
I'm planning on moving the Fedora-20 system on my laptop to a new hard disk (500GB instead of 80GB). I've partitioned the new disk. When I copy partitions from the old disk to the new one with "cp -a" (running under a Fedora Live CD) I get a lot of messages of the form diff: a/bin/acroread: No su