Disk Space not Enough.
Posted on 2003-03-04
I have setup linux on a 2GB partition, and the other 6GB is being used for windows. Now i am using linux extensively and the disk space is not enough as i have to install some other softwares.
I know that we can create an loopback file system, on the fat32 partition and use that space.
Here's what i did :
1. $ dd if=/dev/zero of=/mnt/d/linuxfs count=____ ( /mnt/d/linuxfs is the file that's on a FAT32 filesystem and count can take anyvalue*2 ).
2. mke2fs /mnt/d/linuxfs
3. losetup /dev/loop0 /mnt/d/linuxfs
4. mount /dev/loop0 /mnt/loop ( loop is a folder under /mnt where the loopback filesystem is mounted. ).
5. move all the files in the /usr/bin folder to a /usr/bin in that filesystem.
Is there any other simpler solution to the problem? as most of the time this process gives errors.