Visit Jeremy's Blog.
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
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!


  Search this Thread
Old 02-10-2007, 06:19 AM   #1
LQ Newbie
Registered: Jan 2007
Posts: 21

Rep: Reputation: 15
Stay without space

Last night I stay without space on my hdd, and to be worse that was / partition. Problem is That I'm new to linux and like to experiment with softwer especialy. Now I have to erase OOffice to start KDE. I dont want to repeat this scenario so:
1) my / is now 5gb
my /home is 25gb
I asume that if I want to use a lot of programs I will be needed separate /usr. Now she is on / partition, how to detach it from root and put to another partition?

2) I have one NTFS partition 15gb. I want to format her, change to ext3, and this partition use for /usr, from linux?

3) Can I start new slackware instalation, and install it od /dev/sdax, but not to touch(not erase or change anything) on /dev/sday(home) HOW?
Old 02-10-2007, 07:39 AM   #2
LQ Newbie
Registered: Jun 2006
Location: Glens Falls, NY
Distribution: Debian Etch
Posts: 19

Rep: Reputation: 0
1) First, create the /mnt/sdax directory. Mount your new partition there. From the command line as root:
mount -t ext3 /dev/sdax /mnt/sdax
Move all the files within /usr to /mnt/sdax. Now everything will be on the new partition, and you just need to tell the system where to find it. You will need to edit the /etc/fstab file. I recommend as root:
nano /etc/fstab
You will need to add a line as follows:
/dev/sdax /usr ext3 [options] 0 2
(I'm not too familiar with the options for ext3, but just use the same options as the / line)
Don't forget to save out of nano, use control-o.
You'll need to reboot your machine, but you should be all set.
(after you reboot and everything is properly showing up under /usr again, you can delete the /mnt/sdax directory)

2) For your partitioning/formatting needs I recommend using gparted. You can install it as part of your distro, or you can download and burn a live CD (which is what I really recommend)

3) Sorry, I have never installed slackware, so I can't help you with this one...

I hope this helps, and good luck!
Old 02-10-2007, 07:56 AM   #3
Senior Member
Registered: Dec 2003
Location: Trondheim, Norway
Distribution: Debian and Ubuntu
Posts: 1,368

Rep: Reputation: 385Reputation: 385Reputation: 385Reputation: 385
Deleted it because it was duplicate


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

Similar Threads
Thread Thread Starter Forum Replies Last Post
how to reduce swap space and reclaim the space grantm Linux - Newbie 7 08-16-2012 08:05 AM
notify user space application from the kernel space lordofring Linux - Software 2 06-22-2009 01:32 PM
How to share data b/w user space and kernel space nandac Linux - Kernel 1 11-28-2006 11:15 PM
LXer: NASA Goddard Space Flight Center Selects Linux Networx Supercomputers for Earth and Space Sciences Research LXer Syndicated Linux News 0 05-01-2006 11:54 AM
Not enough space for root directory on a drive with 50g free space??? auoq Linux - Newbie 1 10-13-2004 01:44 PM > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 06:14 PM.

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