View previous topic :: View next topic |
Author |
Message |
kramer2718 Tux's lil' helper
![Tux's lil' helper Tux's lil' helper](/images/ranks/rank_rect_1.gif)
![](images/avatars/172330016044cfd9ad7961e.jpg)
Joined: 24 Mar 2006 Posts: 78
|
Posted: Tue Aug 01, 2006 10:42 pm Post subject: Repartitioning drive [solved] |
|
|
Hi, all.
I'm running Gentoo on a drive that's overly partitioned. I was going to dual boot Windows on one partition of that drive, but for some strange reason, Windows refused to be installed there (thw Windows CD won't detect my hardware when that drive is attached).
Anyway, long story short, I have Windows on a different drive now and would like to repartition the drive where Gentoo lives.
My question is, what's the best way to go about doing this?
I was just going to create one directory for each partition in said second drive and copy each partition to its directory, do the repartitioning and then boot the LiveCD to copy the files back. Is there any reason that this won't work? Would it be better to create isos on my other drive? Is there anything that I should be careful of?
Thanks. _________________ God save us from His followers.
Last edited by kramer2718 on Sat Aug 05, 2006 9:58 pm; edited 1 time in total |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
NeddySeagoon Administrator
![Administrator Administrator](/images/ranks/rank-admin.gif)
![](images/avatars/3946266373f47d606a2db3.jpg)
Joined: 05 Jul 2003 Posts: 54850 Location: 56N 3W
|
Posted: Tue Aug 01, 2006 11:08 pm Post subject: |
|
|
kramer2718,
Be careful of the pesudo filesystems, /dev/ /proc and /sys - don't copy them
Be sure to preserve permissions. cp -a should do that as will tar with the -p option.
Perhaps you should just distrubute Gentoo around the partitions you have ?
Having /home seperate is useful. All your user data goes there _________________ Regards,
NeddySeagoon
Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail. |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
Frodg l33t
![l33t l33t](/images/ranks/rank_rect_4.gif)
![](images/avatars/924793376438a729e35287.gif)
Joined: 11 Feb 2004 Posts: 761
|
Posted: Tue Aug 01, 2006 11:37 pm Post subject: |
|
|
NeddySeagoon wrote: | kramer2718,
Perhaps you should just distrubute Gentoo around the partitions you have ?
Having /home seperate is useful. All your user data goes there |
Much easier to do this than repartition and do all the copying
I have
/usr
/home
/media
on separate partitions. _________________ Aerosolo ergo sum - I spray therefore I am
Gentoo - Registered Linux User # 361400 |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
kramer2718 Tux's lil' helper
![Tux's lil' helper Tux's lil' helper](/images/ranks/rank_rect_1.gif)
![](images/avatars/172330016044cfd9ad7961e.jpg)
Joined: 24 Mar 2006 Posts: 78
|
Posted: Wed Aug 02, 2006 12:03 am Post subject: |
|
|
Frodg wrote: | NeddySeagoon wrote: | kramer2718,
Perhaps you should just distrubute Gentoo around the partitions you have ?
Having /home seperate is useful. All your user data goes there |
Much easier to do this than repartition and do all the copying
I have
/usr
/home
/media
on separate partitions. |
Hmm. Maybe so. I do already have a seperate partition for /home and /boot. The two hard drives where Gentoo doesn't live already house media. I guess that I could use a seperate partition for /var/tmp, and I had two partitions reserved for Windows on the drive where Gentoo lives. I'll think about it. Even if I don't do the repartitioning, my system is working pretty nice now so I think that I'll back up my partitions using tar as suggested. _________________ God save us from His followers. |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
yabbadabbadont Advocate
![Advocate Advocate](/images/ranks/rank-G-1-advocate.gif)
![](images/avatars/13361939844cd4b5d53ebe4.jpg)
Joined: 14 Mar 2003 Posts: 4791 Location: 2 exits past crazy
|
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
kramer2718 Tux's lil' helper
![Tux's lil' helper Tux's lil' helper](/images/ranks/rank_rect_1.gif)
![](images/avatars/172330016044cfd9ad7961e.jpg)
Joined: 24 Mar 2006 Posts: 78
|
Posted: Sat Aug 05, 2006 9:58 pm Post subject: |
|
|
Thanks. Yeah mkstage4 is pretty nice. I modified it so that it tells me what files are going into the backup. I'll not repartition, but I'm going to have to think about my scheme. _________________ God save us from His followers. |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
|