LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices


Reply
  Search this Thread
Old 02-25-2004, 08:42 PM   #1
xucaen
Member
 
Registered: Feb 2004
Location: Boston
Distribution: Kubuntu 22.04
Posts: 101

Rep: Reputation: 16
Question partitioning a new drive, which directories can I move ?


Hi all, I am partitioning my new 80gb drive. I want to move as many of the really big directories over to the new drive. I know I can't move root, and it's probably a bad idea to move /etc since fstab is stored there and is responsible for mounting.. so catch 22..
anyways, what directories are safe to move? I am thinking /usr, /bin, /sbin and /home, but I can't find anything specific about the pros and cons of moving folders, nor can I find any discussions about which directories are the "best" to move. I did however find lots of information on how to move the directories once I decied which ones I want to move...

So, in a nut shell, partition new drive, want to move directories, I need info on which ones I should move.

Any suggestions?

Thanks!

Jim
 
Old 02-25-2004, 10:01 PM   #2
emetib
Member
 
Registered: Feb 2003
Posts: 484

Rep: Reputation: 33
if it's a brand new drive, you can just make your partitions and dd them to the new area. keep the old drive in, boot into the old os, and dd if=whateveryouwanttomove of=towhereyouwanttomoveitto.

just partition out the new drive how you want it, and then start to dump things to it. it's just that easy.
 
Old 02-25-2004, 10:03 PM   #3
jailbait
LQ Guru
 
Registered: Feb 2003
Location: Virginia, USA
Distribution: Debian 11
Posts: 8,147

Rep: Reputation: 497Reputation: 497Reputation: 497Reputation: 497Reputation: 497
/usr takes up about half of the space in a Linux system. So you can balance your hard drive load fairly evenly between your two hard drives by placing /usr on your new hard drive.

When you upgrade your Linux system it is handy to have /home in a separate partition so that you can upgrade without wiping out your user data.

/home and /usr will not even begin to fill up an 80 hard drive. You get the best disk performance by placing the busiest files in the middle of the hard drive. So I would create a large empty partition at the beginning of the hard drive, then /usr, then /home, and last a large empty partition.

I would use the large partition at the end of the hard drive as a place to keep a daily backup (Set up a daily cron based backup that only copies files that have been altered). I would use the large empty partition at the beginning of the hard drive as a place to install new Linux systems that I am experimenting with or dual booting until they are stable enough to replace my existing Linux system.

My recommendations are based on my existing hard drive configuration which is 12 partitions spread across three hard drives.

___________________________________
Be prepared. Create a LifeBoat CD.
http://users.rcn.com/srstites/LifeBo...home.page.html

Steve Stites
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Move drive kevx Linux - Hardware 1 09-24-2005 04:10 PM
how to move data in partitioning provkitir Linux - Software 1 11-07-2004 07:21 PM
Post installation re-partitioning: how to move /var? wolfpeach Debian 4 06-30-2004 11:17 AM
Move certain files into different directories facets Programming 6 05-28-2004 02:20 PM
Can I move Untarred directories? Nigel_Tufnel Linux - General 5 08-08-2002 09:45 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 08:19 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration