Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Moving gentoo to another partition
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Duplicate Threads
View previous topic :: View next topic  
Author Message
Kinou-
n00b
n00b


Joined: 04 Oct 2002
Posts: 24

PostPosted: Sun Oct 06, 2002 1:19 pm    Post subject: Moving gentoo to another partition Reply with quote

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
View user's profile Send private message
amittp
Tux's lil' helper
Tux's lil' helper


Joined: 02 Jul 2002
Posts: 123
Location: USA

PostPosted: Sun Oct 06, 2002 1:30 pm    Post subject: Reply with quote

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


Joined: 04 Oct 2002
Posts: 24

PostPosted: Sun Oct 06, 2002 1:40 pm    Post subject: Reply with quote

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
View user's profile Send private message
zhware
Retired Dev
Retired Dev


Joined: 19 Jun 2002
Posts: 23

PostPosted: Sun Oct 06, 2002 3:56 pm    Post subject: Reply with quote

See this:
https://forums.gentoo.org/viewtopic.php?t=13811#97212
Back to top
View user's profile Send private message
amittp
Tux's lil' helper
Tux's lil' helper


Joined: 02 Jul 2002
Posts: 123
Location: USA

PostPosted: Sun Oct 06, 2002 5:11 pm    Post subject: Reply with quote

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


Joined: 16 Apr 2002
Posts: 20067

PostPosted: Wed Aug 04, 2004 11:18 pm    Post subject: Reply with quote

https://forums.gentoo.org/viewtopic.php?t=75699
_________________
Quis separabit? Quo animo?
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Duplicate Threads 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