Linux - HardwareThis forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
I'm running SuSE 8.1 and in my current configuration, I have the following disks and partitions setup:
hda is 60GB containing the following mount points:
/ (ReiserFS)
swap
/boot (ext2)
hdb is also 60GB and contains:
/home (ReiserFS)
I have just purchased a 160GB drive and would like to replace both the above with this single drive. My questionn is, what's the easiest way to move all the data from the 2 old drives into the new one? I would like to avoid having to reinstall the OS if possible. Also, what about the boot loader (I'm using GRUB)? Can that just be copied over or does it need to be reinstalled? Naturally I'd like to increase the /home and / partitions on the new drive, maybe even create a new partition for /srv.
Another Question: What is your used/free disk space on your existing partitions. (output of df). In other words is your total used disk space less than 60 GB?
If the answer is no to both, do it like this. Shutdown. Replace the disk with /home (hdb) with the new disk. You might want to edit the fstab first so it does not try to mount /home, but it should be OK without doing that. Partition the as you would like. Mount in temporary location and copy over the data to appropriate locations. Shutdown. Replace the edited fstab with the old one if it was edited. Take out the old /usr (hda), put in the new disk as hda. Put in the old /home back to hdb. Boot up and you should be fine.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.