Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then 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.
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.
|
 |
04-30-2005, 11:09 AM
|
#1
|
Member
Registered: Aug 2003
Location: UK
Distribution: Gentoo 64
Posts: 383
Rep:
|
Copy whole Linux setup?
Ok, I've found a 53Gb partition on my computer that is not being used, my 9Gb root is suffering due to having software on it (amazingly) at 88.4% used.
This is what I want to do, migrate my whole linux setup from /dev/hdb2 to /dev/hda6
Can this be done? will I have to update more than just fstab and grub? will it all fall apart during the copy? If it will work is it just a job of opening gentoo and copying /* to /mnt/linux2 (or wherever)?
Should I just start again with a new install? It is a stage 1 Gentoo btw.
|
|
|
04-30-2005, 11:29 AM
|
#2
|
Senior Member
Registered: Feb 2004
Location: Somerset, England
Distribution: Slackware 10.2, Slackware 10.0, Ubuntu 9.10
Posts: 1,938
Rep:
|
I would format the new partition and copy perhaps the whole of /usr across to the new drive. Then in fstab you can add a line so that /usr is now mounted from that new partition.
I did something similar when I moved my /home directory to a new partition.
|
|
|
05-01-2005, 01:22 AM
|
#3
|
LQ Addict
Registered: Jul 2002
Location: East Centra Illinois, USA
Distribution: Debian stable
Posts: 5,908
|
You could use dd to copy the current partition to the new partition. WARNING! Don't interrupt dd while it's working. You stand a good chance to making the current system non-bootable.
Or, you could use DAR to make a full backup, and, after formatting the new partition for Linux, restore to that partition from the current partition. Then edit fstab and grub to point to the new partition, as an additional entry in the grub menu. Once you are satisfied that it will boot, you are free to re-format the first partition, and put it to other uses.
|
|
|
05-01-2005, 02:59 PM
|
#5
|
Senior Member
Registered: Nov 2002
Location: CA
Distribution: redhat 7.3
Posts: 1,440
Rep:
|
Quote:
WARNING! Don't interrupt dd while it's working. You stand a good chance to making the current system non-bootable
|
Really!?? I have cloned a couple drives with dd and interrupted it a few times and the system was fine. How would it make the current system in a non-bootable state?
-twantrd
|
|
|
05-01-2005, 03:17 PM
|
#6
|
LQ Newbie
Registered: Apr 2005
Posts: 25
Rep:
|
Installation help Please!!!!
I have been into windows for a long time, and want to convert to Linux. I have SusY 9.2 but want to know how I can install it without losing my current windows operating system. Could somebody please help me understand how I can do this, and if it is posible? Thanx.
|
|
|
05-01-2005, 05:25 PM
|
#7
|
Member
Registered: Sep 2002
Location: Novi Sad, Vojvodina
Distribution: Slackware, FreeBSD
Posts: 386
Rep:
|
Re: Installation help Please!!!!
Quote:
Originally posted by Diederick
I have been into windows for a long time, and want to convert to Linux. I have SusY 9.2 but want to know how I can install it without losing my current windows operating system. Could somebody please help me understand how I can do this, and if it is posible? Thanx.
|
How about trying to read TONS of documentation on the subject on the internet and trying actually to do something first!!!!!
|
|
|
05-01-2005, 07:07 PM
|
#8
|
Senior Member
Registered: Nov 2002
Location: CA
Distribution: redhat 7.3
Posts: 1,440
Rep:
|
Quote:
How about trying to read TONS of documentation on the subject on the internet and trying actually to do something first!!!!!
|
hehe, that's true too.
First, you need to allocate a separate partition to install linux. Remember to back up your windows data in case something goes bad. Honestly, I would just grab a spare machine (doesn't have to be powerful at all) and install linux on that to play around and learn.
-twantrd
|
|
|
05-02-2005, 07:40 AM
|
#9
|
Member
Registered: May 2004
Location: Tampa, Fl
Distribution: Arch
Posts: 648
Rep:
|
Diederick, just for future reference, don't thread hijack... make your own.
|
|
|
All times are GMT -5. The time now is 07:43 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
|
|