Download your favorite Linux distribution at LQ ISO.
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!


  Search this Thread
Old 03-10-2004, 08:18 PM   #1
LQ Newbie
Registered: Aug 2003
Location: Jamaica
Distribution: Gentoo
Posts: 27

Rep: Reputation: 15
Unhappy Can I move my linux installation to another Hard Drive?

I am dual booting Fedora Core 1 with Windows XP. I allocated 4GB to the Linux partition (I had very little free space) and have now run out of space Is it possible to move my Linux installation to an entirely new hard drive if I get one? If so, how would I go abut doing this?

As an alternative, is it possible to resize my Linux partition to take space from another partition? I could allocate to it another 2GB until I get a new HD. Could I resize it with Partition Magic in Windows for example? Or is there perhaps an equivalent program available for linux?

I need the quickest solution to keep working right now. Have a project working on for school that is being out on hold until I get more space on the partition.
Old 03-10-2004, 09:04 PM   #2
LQ Newbie
Registered: Mar 2004
Posts: 8

Rep: Reputation: 0
Take a look at .

Last edited by aacovergaauw; 03-10-2004 at 09:26 PM.
Old 03-10-2004, 09:17 PM   #3
LQ Newbie
Registered: Mar 2004
Posts: 8

Rep: Reputation: 0

Last edited by aacovergaauw; 03-10-2004 at 09:26 PM.
Old 03-11-2004, 01:46 AM   #4
Registered: Jan 2004
Location: On Planet Earth.
Distribution: Slackware 12
Posts: 244

Rep: Reputation: 30

You cold try

dd if=/"yourlinux partition or drive" of=/dev/hdb(new hard drive)

i dunno if you would have to unmount the linux partition first but generally dd should work also do a man dd first to discover more options.

This would be the easiest way i think
also when the copy has been completed you will have to update whatever boot loader that you are using.

Old 03-11-2004, 01:55 AM   #5
Registered: Feb 2004
Location: California
Distribution: Fedora; Libranet 2.8.1
Posts: 76

Rep: Reputation: 15
The story on Partition Magic (now owned by Symantec) is that it can be used to "create, resize, move, copy, and label partitions." My cousin wasn't too crazy about it, however it seems to be pretty popular. Take a look at the website and see if it's what you might want:

Very best,
Old 03-11-2004, 02:04 AM   #6
Registered: Mar 2004
Distribution: Fedora
Posts: 254

Rep: Reputation: 30
I think you have to do new installation on new harddrive, however to make space on your old hard drive do uninstall remove the extra package.

Old 03-11-2004, 02:14 AM   #7
Senior Member
Registered: Dec 2002
Location: Mosquitoville
Distribution: RH 6.2, Gen2, Knoppix,arch, bodhi, studio, suse, mint
Posts: 3,255

Rep: Reputation: 60
no, you don't have to do a new install on a new hard drive.

since you want a bigger partition, you should make whatever partitions you want on the new drive, then use tar to copy the stuff over.
use the boot cdrom from you linux distro. mount your linux distribution where you wish, and the partition you are going to copy the stuff to.
cd to old partition
tar clfvp - . |(cd /newpartition; tar xvpf - --same-owner)
that will copy everything.
then update your boot loader, and /etc/fstab to make it match the new configuration.
Old 03-11-2004, 03:00 AM   #8
LQ Newbie
Registered: Aug 2003
Location: Jamaica
Distribution: Gentoo
Posts: 27

Original Poster
Rep: Reputation: 15
Thanks for all the suggestions! After posting my original question I went and tried to remove packages I thought I would not need. However, I got errors to the effect that I needed to install some packages before I could remove them! I think it was just trying to remove packages that were not there. But that was still annoying and needs some work!

Anyways, I just decided to do a reinstall on the same partition, but with a smaller set of packages specific to what I am doing. I want to do some work to present in the morning so I need to get up and going again. I wont lose much really. Most of my time since installing Core 1 has been spent playing arouund with the kenel and upgrading I might as well start afresh and do what I originally set out to do: my assignment that has nothing to do with kernel recompiling


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Hard drive dying. Need to move Linux partition over. Fear58 Linux - General 3 01-29-2005 06:14 PM
Move an existing partition to a new hard drive? vdemuth Linux - Hardware 9 06-04-2004 03:29 AM
can i move my hard drive to a different computer citrus Linux - General 5 04-12-2004 04:30 AM
cd-rom drive working in knoppix Hard drive installation dj_dubbbz Linux - Newbie 5 03-02-2004 11:58 AM
Second hard drive Linux installation Razkul Linux - Software 6 07-02-2003 11:05 PM > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 10:09 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration