View previous topic :: View next topic |
Author |
Message |
Kinou- n00b
Joined: 04 Oct 2002 Posts: 24
|
Posted: Sun Oct 06, 2002 1:19 pm Post subject: Moving gentoo to another partition |
|
|
Hello,
My Gentoo is installed on /dev/hda5 and would like to move it to another partition of my disk /dev/hda3
How could I proceed to move it without reinstalling ?
Sorry for my english I'm french
Thanx for your answers |
|
Back to top |
|
|
amittp Tux's lil' helper
Joined: 02 Jul 2002 Posts: 123 Location: USA
|
Posted: Sun Oct 06, 2002 1:30 pm Post subject: |
|
|
So u want to move only root partition?
YOu can use program like part, and move all the files on that partition (provided that the partition is appropriately formatted), then make changes in your /etc/fstab, if you dont have seperate /boot partition, then make change in /boot/grub/menu.lst
Am i missing something? I guess no.. _________________ Believe in yourself |
|
Back to top |
|
|
Kinou- n00b
Joined: 04 Oct 2002 Posts: 24
|
Posted: Sun Oct 06, 2002 1:40 pm Post subject: |
|
|
I've only one partion where all my system is installed ( the / partition)
moving all the files will cause problems with /proc no ? |
|
Back to top |
|
|
zhware Retired Dev
Joined: 19 Jun 2002 Posts: 23
|
|
Back to top |
|
|
amittp Tux's lil' helper
Joined: 02 Jul 2002 Posts: 123 Location: USA
|
Posted: Sun Oct 06, 2002 5:11 pm Post subject: |
|
|
I dont think proc will give you problem, But better you backup the data,
Well now here is example:
Lets say you need to move from /dev/hda3 to /dev/hda2
first be sure that both have same filesystem. If you have ext3 on hda3, then you should have ext3 on hda2 also.
now , get the count using
fdsik /dev/hda
u will see list (i have shown just one line)
/dev/hda3 11107 12176 3437878+ 83 Linux
now do this
dd bs=1024 count=3437878 if=/dev/hda3 of=/dev/hda2
ur system will get copied exactly
then modify ur menu.lst and /etc/fstab
Best Luck _________________ Believe in yourself |
|
Back to top |
|
|
pjp Administrator
Joined: 16 Apr 2002 Posts: 20067
|
|
Back to top |
|
|
|