Posts Topics Forums Images
Search videos from message boards Videos Search messages from microblogs Microblogs Search messages from imdb.com Imdb Search messages from yuku.com Yuku Search messages from lefora.com (free forums) Lefora
My account: Login | Sign Up
Loading... 

Thread: duplicating hard drive to bigger one

Started 1 month, 1 week ago by johannlo
I am currently running F12 beta on a laptop w/ a 40gig drive. I have ordered a 160gig drive as a replacement. My partitioning is as follows /boot - 200Mb ext4 swap - 1024Mb / - rest of drive ext4 If I am happy to preserve this partitioning, will I be able to duplicate the drive to the bigger 160gb one? I will then partition and mount the remaining space as a separate data ...
Site: FedoraForum.org - Fedora Core Support Forum & Community  FedoraForum.org - Fedora Core Support Forum & Community - site profile
Forum: Hardware   Hardware   - forum profile
Total authors: 10 authors
Total thread posts: 21 post
Thread activity: no new posts during last week
Domain info for: fedoraforum.org

Other posts in this thread:

piet85 replied 1 month, 1 week ago
If you trust in wikipedia you can do so: "dd if=/dev/hda of=/dev/hdb - Copies whole harddisk hda to another (hdb)." It's not in the english wikipedia, don't know why. I think it should work, but I haven't tried this yet. At least try it, copy the data like above and if your PC wouldn't boot with the new harddisk, you just can attach the old one again.

sidebrnz replied 1 month, 1 week ago
Use gparted to partition and format the new drive, then use clonzilla to copy everything over. Last, after removing the old drive, boot from a Live CD and reinstall grub.

johannlo replied 1 month, 1 week ago
I like that second option sidebrnz, sounds like a good backup method if dd doesn't work. Thanks all for your input!

kyryder replied 1 month, 1 week ago
dd works flawlessly for me. I use it to copy partitions and drives all the time. I would choose dd over gparted any day.

scottro replied 1 month, 1 week ago
dd will waste the extra space. That is, dd a 40 GB drive install to an 80 GB and you don't get extra room on existing partitions. One way is put both in one machine, boot from a live cd, make two directories, /mnt/src and /mnt/dest. Then (cd /mnt/src ; tar -cf - .) | (cd /mnt/dest ; tar -xvpf -) The tar method is still fairly popular. Haven't used clonezilla though, and ...

sidebrnz replied 1 month, 1 week ago
The reason I suggested clonzilla is that it can clone a partition to any other partition that's at least as big as the source. I'm not sure, off hand, how it handles partitioning/formatting, so I suggested using gparted first, just to make sure it's done, and done right.

Dies replied 1 month, 1 week ago
If you're going to be using gparted anyways, why not just copy and paste the partitions while you're there? Why get anything else involved if you don't have to. That's my suggestion anyways, gparted may not be the best way or the fastest way but it's definitely the most convenient and usually a safe bet. I also have to agree with scottro about dd, but then do I tend to avoid dd ...

sej7278 replied 1 month, 1 week ago
i've done this with acronis true image - you can tell it which partitions to expand, you'd have to have a supported filesystem though, and i wouldn't try it with any luks-encrypted partitions as i think that would not work at all.

johannlo replied 1 month, 1 week ago
I understand dd will waste the space but I don't really mind, I'm going from 40gb to 160gb so 120gb data partition is enough for my purposes. Its a 'web appliance' so the extra space is mainly so I can dupe my mp3 collection to server over ampache, DLNA etc. Thanks for the hints and all, looks like option 1 dd, option 2 clonezilla, option 3 acronis. as for gparted, I understand I can ...

drobbins replied 1 month, 1 week ago
EDIT: sorry missed the fact you're using a laptop and have to ditch the old drive still, LVM solves the problem of partition size doesn't it? are you not using LVM? it kinda makes all this a non-issue just add the new drive to your volume group and carve it up however you like Dave

 

Top contributing authors

Name
Posts
johannlo
6
user's latest post:
duplicating hard drive to bigger...
Published (2009-12-07 15:57:00)
Hi all Just wanted to let y'all know that the dd command worked perfectly. Took ages though as it was via an external USB to SATA converter (~4Mb/sec.... agonizing even with only 36Gb to dupe). Thanks all
Dies
3
user's latest post:
duplicating hard drive to bigger...
Published (2009-11-30 12:53:00)
Absolutely, just copy and paste the partition over then once it's done resize it to whatever you want. That's how I backup fresh installs of Windows. I resize it to almost nothing then copy it, when I need to copy it back I just resize it afterwards. Edit - BTW don't partition the disk beforehand, copy and paste the partitions to unallocated space.
StefanJ
3
user's latest post:
duplicating hard drive to bigger...
Published (2009-12-05 17:48:00)
This operation turned out fine. My Mythbox can now hold an additional 500 hours of HD programming. Two notes: I used the KDE partition GUI. Gpartd looked just fine, BUT it did not support copy and pasting of XFS partitions. (Which is the fs type used by my Mythbox.) KDE partition manager did. Go figure. Neither manager supports copying and pasting of the elements of extended partitions. My "/" and swap fs are contained in an...
sidebrnz
2
user's latest post:
duplicating hard drive to bigger...
Published (2009-11-08 17:00:00)
The reason I suggested clonzilla is that it can clone a partition to any other partition that's at least as big as the source. I'm not sure, off hand, how it handles partitioning/formatting, so I suggested using gparted first, just to make sure it's done, and done right.
scottro
2
user's latest post:
duplicating hard drive to bigger...
Published (2009-12-07 16:07:00)
In FreeBSD, the standard method is dump and restore. Some VERY cursory googling indicates that this can work for Linux as well. Wondering if anyone has tried it, and if so, how were the results
piet85
1
user's latest post:
duplicating hard drive to bigger...
Published (2009-11-08 15:21:00)
If you trust in wikipedia you can do so: "dd if=/dev/hda of=/dev/hdb - Copies whole harddisk hda to another (hdb)." It's not in the english wikipedia, don't know why. I think it should work, but I haven't tried this yet. At least try it, copy the data like above and if your PC wouldn't boot with the new harddisk, you just can attach the old one again.
kyryder
1
user's latest post:
duplicating hard drive to bigger...
Published (2009-11-08 16:16:00)
dd works flawlessly for me. I use it to copy partitions and drives all the time. I would choose dd over gparted any day.
drobbins
1
user's latest post:
duplicating hard drive to bigger...
Published (2009-11-09 18:26:00)
EDIT: sorry missed the fact you're using a laptop and have to ditch the old drive still, LVM solves the problem of partition size doesn't it? are you not using LVM? it kinda makes all this a non-issue just add the new drive to your volume group and carve it up however you like Dave
sej7278
1
user's latest post:
duplicating hard drive to bigger...
Published (2009-11-09 01:33:00)
i've done this with acronis true image - you can tell it which partitions to expand, you'd have to have a supported filesystem though, and i wouldn't try it with any luks-encrypted partitions as i think that would not work at all.
Jim777
1
user's latest post:
duplicating hard drive to bigger...
Published (2009-11-20 17:12:00)
Another option is to buy a USB Data Transfer Kit. It is a USB-based system comprising software and an empty external drive case. You install your upgrade drive into the case and duplicate the contents of your old drive straight to the new one. You then swap the drives; the new drive in your laptop now contains your complete OS, data, and apps, and, as a bonus, you can use the old drive in the enclosure as an external backup unit. Let me know...

Related threads on "FedoraForum.org - Fedora Core Support Forum & Community":

Related threads on other sites:

Thread profile page for "duplicating hard drive to bigger one" on http://www.fedoraforum.org. This report page is a snippet summary view from a single thread "duplicating hard drive to bigger one", located on the Message Board at http://www.fedoraforum.org. This thread profile page shows the thread statistics for: Total Authors, Total Thread Posts, and Thread Activity