LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Partition Out Of Space? How to resize from another partition? (https://www.linuxquestions.org/questions/linux-newbie-8/partition-out-of-space-how-to-resize-from-another-partition-158338/)

colelinux 03-16-2004 04:52 AM

Partition Out Of Space? How to resize from another partition?
 
Hi.

I'm on Mandrake 9.2 and i found out it has used all of its space! 4.8gigs.
I formated the partition in Reiser-FS.

I don't know how to use DiskDrake (Is that the partition manager for Mandrake?) that's why i use PartitionMagic 8 in XP.

However, it was then I realized PartitionMagic can't resize Reiser-FS.
So I resized my XP partition to have 1 gigabyte unallocated and I thought maybe i can merge these 2 partition (the unallocated and the current RFS) in DiskDrake but it seems that I can't. I can't even unmount because linux is using it!

Help!!
Thanks in adv!

http://planet.time.net.my/Technology.../partition.png

dopefish 03-16-2004 06:40 AM

You can mount two partitions to one mount point tho e.g.
/dev/hda3 and /dev/hdb1 can both be mounted on /home or whatever mount point you want

aaa 03-16-2004 07:03 AM

You can create another parition and mount it at a cetain directory. For example, if you had a few gigs available, you can make a new partition there, and put all the stuff in /usr (the biggest directory of all) there. Then you rename your old /usr, and mount the new partition to /usr. If it works, you can delete the old /usr and free up several gigs of space on the / partition.

BTW, please put your snapshot in a webpage, your host won't let us access it directly.

colelinux 03-16-2004 08:32 AM

Thanks but now it mandrake ask me whether to hide the files or move the files to the new partition. What does it mean? Which one should I choose?

And thanks aaa, i didn't know my host is blocking them. :-)

aaa 03-16-2004 08:41 AM

Do it at a command-line. Rearranging stuff in /usr won't work with X running. Boot in runlevel 1 with the 'single' option at the boot menu.
*after creating & formatting new partition, say, hda7*
Code:

mv /usr /usr.old
mkdir /usr
mount /dev/hda7 /usr
umask 000
cp -a /usr.old/* /usr
*test it out by booting GUI. if all is well, delete old (in runlevel 1):*
rm -r /usr.old


colelinux 03-16-2004 08:42 AM

Okay, i've chosed Move Partition and nothing goes wrong.. :-)

By the way, i tried to change the moint point for /dev/hde6 (which by default : /mnt/hde6) to /box

however, whenever i restart mandrake, it mounts back to /mnt/hde6

how do i make mandrake listen to me?

aaa 03-16-2004 08:48 AM

To change mount points, edit /etc/fstab w/ text-editor as root. It is pretty straightforward. However, Mandrake might change it back. If that happens, I think there is something you should disable in the Mandrake Control Center.


All times are GMT -5. The time now is 01:48 AM.