View previous topic :: View next topic |
Author |
Message |
Raoul_Duke l33t
Joined: 15 Dec 2002 Posts: 694 Location: Caerdydd, Wales
|
Posted: Tue Feb 11, 2003 12:19 am Post subject: Moving the whole of gentoo to another hard drive? |
|
|
Background......i've been running redhat for ages and never been fully happy, i discovered Gentoo and you can guess what happened
Thing is.....i've spent ages setting it up and i'm not sure i can face doing it all over again. Gentoo is installed on a 8gb secondry hard drive. On the 60gb primary drive i have win2k and redhat.
Is there a way i could uninstall redhat and place my existing Gentoo installation on the partition |
|
Back to top |
|
|
joshdr77 Apprentice
Joined: 03 Jan 2003 Posts: 180
|
Posted: Tue Feb 11, 2003 12:49 am Post subject: |
|
|
delete the redhat partion. use norton ghost to copy the partitions accross...set grub up.......it would be a good idea to get knoppix, live linux on a bootable cd incase things do go smooth..... |
|
Back to top |
|
|
kashani Advocate
Joined: 02 Sep 2002 Posts: 2032 Location: San Francisco
|
Posted: Tue Feb 11, 2003 12:55 am Post subject: did something similar the other day |
|
|
You can always fdisk various partitions of your 60 GZB drive, mount them as a temp folder, copy files over, then change your /etc/fstab to use the new partition on boot up.
/home would probably be easiest doing something like
fdisk /dev/hda1
slice it up how you're going to want to use it later.
make an ext3, xfs, whatever out of the new space
mount it as /newhome
cp -a /home/ /newhome
check things over to make sure the files and permissions look good.
edit your /etc/fstab to mount /dev/hdaX instead of the /dev/hdbX is probably is.
reboot. I just upgraded a Qmail servers with a 2GB /var partition to a 18GB drive as it's new /var partition.
Think about how you want to to do your /usr, /var, home, etc partitions before you start blowing things away.
kashani _________________ Will personally fix your server in exchange for motorcycle related shop tools in good shape. |
|
Back to top |
|
|
Mitchybums n00b
Joined: 29 Jan 2003 Posts: 68 Location: iowa
|
Posted: Tue Feb 11, 2003 12:58 am Post subject: |
|
|
I used ghost on my harddrive to add a swapfile to my system. (fs= ext2)
worked without any problems.
used the image a couple of times too to fix my system since I mess around a little too much. |
|
Back to top |
|
|
Raoul_Duke l33t
Joined: 15 Dec 2002 Posts: 694 Location: Caerdydd, Wales
|
Posted: Tue Feb 11, 2003 7:04 am Post subject: |
|
|
Cheers guys, that gives me something to think about |
|
Back to top |
|
|
plate Bodhisattva
Joined: 25 Jul 2002 Posts: 1663 Location: Berlin
|
Posted: Tue Feb 11, 2003 9:08 am Post subject: |
|
|
Courtesy of lakiscv, this should make life a lot easier for you. |
|
Back to top |
|
|
Raoul_Duke l33t
Joined: 15 Dec 2002 Posts: 694 Location: Caerdydd, Wales
|
Posted: Tue Feb 11, 2003 11:04 am Post subject: |
|
|
plate wrote: | Courtesy of lakiscv, this should make life a lot easier for you. |
Excellent, thanks......that's very useful. I'm actually thinking this could be easier than i thought |
|
Back to top |
|
|
|