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! |
| 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.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
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.
 |
GNU/Linux Basic Guide
This 255-page guide will provide you with the keys to understand the philosophy of free software, teach you how to use and handle it, and give you the tools required to move easily in the world of GNU/Linux. Many users and administrators will be taking their first steps with this GNU/Linux Basic guide and it will show you how to approach and solve the problems you encounter.
Click Here to receive this Complete Guide absolutely free. |
|
 |
03-10-2004, 07:18 PM
|
#1
|
|
LQ Newbie
Registered: Aug 2003
Location: Jamaica
Distribution: Gentoo
Posts: 27
Rep:
|
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.
|
|
|
|
03-10-2004, 08:04 PM
|
#2
|
|
LQ Newbie
Registered: Mar 2004
Posts: 8
Rep:
|
Last edited by aacovergaauw; 03-10-2004 at 08:26 PM.
|
|
|
|
03-10-2004, 08:17 PM
|
#3
|
|
LQ Newbie
Registered: Mar 2004
Posts: 8
Rep:
|
Last edited by aacovergaauw; 03-10-2004 at 08:26 PM.
|
|
|
|
03-11-2004, 12:46 AM
|
#4
|
|
Member
Registered: Jan 2004
Location: On Planet Earth.
Distribution: Slackware 12
Posts: 244
Rep:
|
Hi
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.
cheers
|
|
|
|
03-11-2004, 12:55 AM
|
#5
|
|
Member
Registered: Feb 2004
Location: California
Distribution: Fedora; Libranet 2.8.1
Posts: 76
Rep:
|
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:
http://www.symantec.com/partitionmagic/
Very best,
Nick
|
|
|
|
03-11-2004, 01:04 AM
|
#6
|
|
Member
Registered: Mar 2004
Distribution: Fedora
Posts: 254
Rep:
|
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.
thanks
|
|
|
|
03-11-2004, 01:14 AM
|
#7
|
|
Senior Member
Registered: Dec 2002
Location: Mosquitoville
Distribution: RH 6.2, Gen2, Knoppix, 98,2000 + various
Posts: 3,164
Rep:
|
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.
|
|
|
|
03-11-2004, 02:00 AM
|
#8
|
|
LQ Newbie
Registered: Aug 2003
Location: Jamaica
Distribution: Gentoo
Posts: 27
Original Poster
Rep:
|
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 |
|
|
|
Posting Rules
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is Off
|
|
|
All times are GMT -5. The time now is 08:53 PM.
|
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|