LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 09-02-2007, 03:07 AM   #1
almon
Member
 
Registered: May 2007
Location: india
Distribution: ubuntu7
Posts: 73

Rep: Reputation: 15
installing software in different partition


my root partition is almost full and it happened to me many timed that i was not able to boot into my linux box due to less disk space
so is there a way to install softwares in different partition
for ex ...r there any parameters in apt-get command which install softwares in different partitions....

thanx in advance..
 
Old 09-02-2007, 03:51 AM   #2
David the H.
Bash Guru
 
Registered: Jun 2004
Location: Osaka, Japan
Distribution: Arch + Xfce
Posts: 6,852

Rep: Reputation: 2037Reputation: 2037Reputation: 2037Reputation: 2037Reputation: 2037Reputation: 2037Reputation: 2037Reputation: 2037Reputation: 2037Reputation: 2037Reputation: 2037
I'm not sure if it's possible, but if there's a way to do it, you'll find it in the apt howto. I'm not sure this is a good idea though. It could quickly become confusing trying to keep track of which packages are installed where.

A better way to solve your problem would be to move your entire /usr directory onto a separate partition. Simply create a new partition, move all of the files in /usr into it (be sure to back it up first), then edit your /etc/fstab so that that partition mounts at /usr. If you do it correctly, the changeover should be transparent to your system.
 
Old 09-02-2007, 07:36 AM   #3
pixellany
LQ Veteran
 
Registered: Nov 2005
Location: Annapolis, MD
Distribution: Mint
Posts: 17,809

Rep: Reputation: 743Reputation: 743Reputation: 743Reputation: 743Reputation: 743Reputation: 743Reputation: 743
If you have the space to create other partitions, then you could simply re-size "/" to make it bigger.....
How full is the disk?
 
Old 09-02-2007, 01:34 PM   #4
Tinkster
Moderator
 
Registered: Apr 2002
Location: earth
Distribution: slackware by choice, others too :} ... android.
Posts: 23,067
Blog Entries: 11

Rep: Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928
Or make the extra partition space into e.g. /usr, copy everything
across, and then mount it as /usr. If all is well (all this in
init 1) unmount it again and delete the content of /usr on the
original ... in terms of the installation and apt it won't make
a difference - apt should be agnostic in regards to partitions.



Cheers,
Tink
 
  


Reply



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 Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Partition Software K_smolka Linux - Software 6 06-11-2004 06:12 PM
partition software zbrox Linux - Software 4 02-01-2004 12:12 PM
Newbie Installing Debian3 on m68k w/250M Partition Needs help creating swap partition AppleMac Linux - Newbie 2 11-01-2002 08:45 AM
Question on installing software and starting software rootlinux Linux - Newbie 5 01-19-2002 10:40 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 02:46 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