Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Moving the whole of gentoo to another hard drive?
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Other Things Gentoo
View previous topic :: View next topic  
Author Message
Raoul_Duke
l33t
l33t


Joined: 15 Dec 2002
Posts: 694
Location: Caerdydd, Wales

PostPosted: Tue Feb 11, 2003 12:19 am    Post subject: Moving the whole of gentoo to another hard drive? Reply with quote

Background......i've been running redhat for ages and never been fully happy, i discovered Gentoo and you can guess what happened :lol:

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
View user's profile Send private message
joshdr77
Apprentice
Apprentice


Joined: 03 Jan 2003
Posts: 180

PostPosted: Tue Feb 11, 2003 12:49 am    Post subject: Reply with quote

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
View user's profile Send private message
kashani
Advocate
Advocate


Joined: 02 Sep 2002
Posts: 2032
Location: San Francisco

PostPosted: Tue Feb 11, 2003 12:55 am    Post subject: did something similar the other day Reply with quote

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
View user's profile Send private message
Mitchybums
n00b
n00b


Joined: 29 Jan 2003
Posts: 68
Location: iowa

PostPosted: Tue Feb 11, 2003 12:58 am    Post subject: Reply with quote

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
View user's profile Send private message
Raoul_Duke
l33t
l33t


Joined: 15 Dec 2002
Posts: 694
Location: Caerdydd, Wales

PostPosted: Tue Feb 11, 2003 7:04 am    Post subject: Reply with quote

Cheers guys, that gives me something to think about :)
Back to top
View user's profile Send private message
plate
Bodhisattva
Bodhisattva


Joined: 25 Jul 2002
Posts: 1663
Location: Berlin

PostPosted: Tue Feb 11, 2003 9:08 am    Post subject: Reply with quote

Courtesy of lakiscv, this should make life a lot easier for you.
Back to top
View user's profile Send private message
Raoul_Duke
l33t
l33t


Joined: 15 Dec 2002
Posts: 694
Location: Caerdydd, Wales

PostPosted: Tue Feb 11, 2003 11:04 am    Post subject: Reply with quote

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 :D
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Other Things Gentoo All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum