Geekzone: technology news, blogs, forums
Guest
Welcome Guest.
You haven't logged in yet. If you don't have an account you can register now.




62 posts

Master Geek
+1 received by user: 1


Topic # 126891 23-Jul-2013 11:20 Send private message

Presently my FC17 system is running on a 1TB MBR drive which is running out of space. Since the case doesn't have room for an additional drive and I don't want an external drive, I was planning to replace the the 1TB drive with a 4TB drive.... but I know that things like dd to clone drives can't handle GPT 4TB drives, so was wondering if anyone had any advice on how best to do this which would prevent me from digging myself a deep hole I won't be able to get out of.

Create new topic
74 posts

Master Geek
+1 received by user: 1


  Reply # 864189 23-Jul-2013 11:57 Send private message

How about using tar and a pipe.

http://www.linuxdevcenter.com/pub/a/linux/lpt/18_16.html

My recommendation would be to do a fresh install and then copy over your home directory and other directories where you have personal information.

Can you mount the old and new disk drives on the same machine? If you need to transfer over a network you can use netcat. How, just Google it



62 posts

Master Geek
+1 received by user: 1


  Reply # 864195 23-Jul-2013 12:22 Send private message

I kind off ruled out reinstall as this server has grown over the years and includes RPMs, and source builds as well. It's a webhost, mailserver, asterisk PBX, ldap, proxy, samba, etc. etc.. I probably wouldn't be able to get it all working correctly for a lengthy period of time (well, at least in a timeframe that would be acceptable to the end user... my wife). Yes, I can temporarily connect both the old and new drives and was just planning on using rysnc -a to move the files over. The potential pitfalls I would face relate more to the setting up of the drive using GPT and ensuring that grub works and finds/mounts the GPT drive. I searched google and really still am not clear on how best to do this.

466 posts

Ultimate Geek
+1 received by user: 12


  Reply # 864255 23-Jul-2013 13:38 Send private message

I recently moved my debian linux from SSD to HDD, to prepare for a fresh installation on the SSD.

First, I booted using gparted-live on USB, then used gparted to create the new filesystems on the HDD.
Then mounted the old and new file systems and used "cp -a" to copy the content of each filesystem.
Then a manual fix of /etc/fstab was needed for the new devices - new filesystems have new LABEL and/or UUID.
Finally I needed to fix grub.cfg on the EFI partition - in my case I'm booting with grub-efi, so it might be different if you are using a different bootloader or grub-pc.

EDIT: I see you are using grub, so it should be similar to what I mentioned above.





#include <standard.disclaimer>

Create new topic








Twitter »
Follow us to receive Twitter updates when new discussions are posted in our forums:



Follow us to receive Twitter updates when news items and blogs are posted in our frontpage:



Follow us to receive Twitter updates when new jobs are posted to our jobs board:



Follow us to receive Twitter updates when tech item prices are listed in our price comparison site:




News »

Trending now »
Hot discussions in our forums right now:

Forms of government for New Zealand
Created by charsleysa, last reply by Geektastic on 20-Apr-2014 15:40 (118 replies)
Pages... 6 7 8


MH370 - Call for Search & Rescue Help
Created by DS248, last reply by Sideface on 17-Apr-2014 17:28 (735 replies)
Pages... 47 48 49


why does the tax payer have to pay for the prince and princess' 6 star holiday?
Created by joker97, last reply by Geektastic on 17-Apr-2014 15:49 (67 replies)
Pages... 3 4 5


galaxy s4 now on 4.4.2
Created by nzrock, last reply by jeffnz on 20-Apr-2014 14:10 (59 replies)
Pages... 2 3 4


Whats the best wife friendly media centre?
Created by amorpeth, last reply by jonolynn on 19-Apr-2014 20:20 (14 replies)

Snap suffering Trans-Tasman congestion 18/04?
Created by Lias, last reply by NonprayingMantis on 19-Apr-2014 00:05 (26 replies)
Pages... 2


Help ! Home business connection and VDSL dead. yikes.
Created by Scotsman, last reply by Scotsman on 17-Apr-2014 21:10 (26 replies)
Pages... 2


Naked Broadband, who's made the switch.
Created by Presso, last reply by PhantomNVD on 20-Apr-2014 17:40 (25 replies)
Pages... 2



Geekzone Live »
Try automatic live updates from Geekzone directly in your browser, without refreshing the page, with Geekzone Live now.

Are you subscribed to our RSS feed? You can download the latest headlines and summaries from our stories directly to your computer or smartphone by using a feed reader.

Alternatively, you can receive a daily email with Geekzone updates.