Share your knowledge at the LQ Wiki.
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 08-11-2004, 08:42 AM   #1
LQ Newbie
Registered: Jul 2004
Posts: 12

Rep: Reputation: 0
HD Mount and Partition Questions

I have Debian Woody installed at home
During the installation I made 3 partitions which now corresponds to /dev/hda1 where I have mounted the "/" directory, /dev/hda2 for swap and /dev/hda3 which have linux format but is not mounted.

Now that I have most of the packages installed and the system up and running, it seems that the Disk is full and I would like to know how can I mount the /dev/hda3 device to provide more disk space to the "/" directory.
Is there any way or do I have to create other logical directory and mount it there ?
Old 08-11-2004, 09:05 AM   #2
Registered: Oct 2003
Posts: 568

Rep: Reputation: 30
I'm not sure as far as Woody is concerned, but I know that in Slackware, you can mount to root if you like.
I would try it - and see what happens.
Worst case - make another logical dir, and move all of your media/downloads there - and save the space on your root dir.

There is one other thing that you may try, but it can be hairy.
If you prefer, you can move all of your files in a large dir to the other, unused partition, and then, delete that tree from / - and specify in your /etc/fstab that you wish to mount that partition as that specified tree. NOTE you must be root.
This example would be with /usr (a HUGE dir) As follows:

user@woody# mkdir /extradrive
user@woody# cp -fR /usr /extradrive/
user@woody# nano -w /etc/fstab

(this is my /etc/fstab - yours may differ) 

/dev/hdb5        swap             swap        defaults         0   0
/dev/hdb6        /                reiserfs    defaults         1   1
/dev/hdb1        /boot            ext2        defaults         1   2
/dev/cdrom       /mnt/cdrom       iso9660     noauto,owner,ro  0   0
/dev/fd0         /mnt/floppy      auto        noauto,owner     0   0
devpts           /dev/pts         devpts      gid=5,mode=620   0   0
proc             /proc            proc        defaults         0   0

add the following entry to yours:

/dev/hda3     /usr             ext2/3/reiserfs       defaults       1    2

***NOTE - be sure to change /ext2/3/resierfs to the correct format of /dev/hda3

And then:

user@woody# mv /usr /usrold
user@woody# mkdir /usr

Reboot, and hopefully, all will be well.

If it is - you can rm -fR /usrold

If not, you can boot into single user mode - and rename /usrold back to /usr.

Good luck!!!!

Last edited by PenguinPwrdBox; 08-11-2004 at 09:07 AM.


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
Disk Partition Resize Trouble and Partition Questions GNewbie Linux - Newbie 2 11-15-2005 04:15 PM
How to resize a partition and create/mount a new partition? Maarten_Holland Linux - Newbie 1 04-20-2005 08:56 AM
Questions about what 'mount' does Mr Smokin Joe Linux - Newbie 15 03-27-2005 07:47 PM
3 mount questions aze Linux - Software 8 01-29-2005 04:33 PM
mount questions 1racerx Linux - Newbie 4 10-05-2004 07:09 AM > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 05:31 AM.

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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration