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 am currently running FC2 on my home desktop with a dual boot to winXP. I have the linux partition on a separate hd than my windows partition. My FC2 hd is only 30 GB and my WinXP hd is 80 GB.
I have spent a lot of time getting FC2 just how I want it, now I feel I'm ready to switch permanently to linux and i want to scrap my winXP drive. However, I'm curious if there is a way to copy everything from my FC2 hd to the other hd (thus overwriting winXP) then starting off of the other harddrive.
Is there an easy way to do this? Basically I want to run the root file system off of the bigger drive and use my smaller HD as storage for music and videos. Only thing is I don't want to spent hours re-installing FC2, reinstalling my programs, and re-configuring my desktop environment.
- create the ext3 fs on the windows partition.
- mount both the original and newly created partitions.
- cp -dpR <old mnt pt> <new mnt pt>
- reinstall the bootloader on the new drive (this may not be necessary on grub)
- umount everything and reboot.
Great, thanks for the quick reply, here's a few questions I have before I get started doing this...
how can i make a recovery disk? Is there a utility to make one?
How do I create the ext3 fs on the windows partition? Is there where I format it? I want to use the whole disk, not just a partition on this extra disk.
Therefore, if I want to use the whole disk, can I just mount it, format the whole thing (it was in ntfs - can I reformat this from linux)?
then I'll do the cp -dpR <old mount point> <new mount point>
where <old mount point> is my current linux hd and <new mount point> is my old windows (soon to be new linux), correct?
How do I re-install the bootloader on the new drive?
Thanks again, and sorry for the newbie-ish questions, I just don't want to screw anything up here.
how can i make a recovery disk? Is there a utility to make one?
have a look at Knoppix or for something lightweight: tom's root boot (google for this).
Quote:
How do I create the ext3 fs on the windows partition? Is there where I format it? I want to use the whole disk, not just a partition on this extra disk.
You do it from the recovery disk. use fdisk and mkfs.ext3.
Quote:
Therefore, if I want to use the whole disk, can I just mount it, format the whole thing (it was in ntfs - can I reformat this from linux)?
yes.
Quote:
then I'll do the cp -dpR <old mount point> <new mount point>
where <old mount point> is my current linux hd and <new mount point> is my old windows (soon to be new linux), correct?
yes.
Quote:
How do I re-install the bootloader on the new drive?
depends on what bootloader you're using. for grub:
with the new partition mounted, run:
chroot <new mount pt> /usr/sbin/grub (may be /sbin/grub)
this will put you in the grub "shell",
type
root (hd0) (this may be hd1, depending on how your disks are physically connected)
setup
quit
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.