[School-GNU-Linux] Re: more space
- From: "Vimal Joseph" <vimal@xxxxxxxxxxxxxxxx>
- To: "jjkoshy plavila" <jjkoshyplavila@xxxxxxxxxxx>
- Date: Thu, 16 Aug 2007 14:15:36 +0530
On 8/16/07, jjkoshy plavila <jjkoshyplavila@xxxxxxxxxxx> wrote:
> sir
> how can i get more space in linux os with out unistalling linux.
> at the time of installation of linux we take 10gb space .
> now I want more space.how can i take 10gb space in my drive. (home drive)
> from windows os .'in windows there is about 70 gb
If you don't have a separate /home partition, you can make the new
partition as /home. To do that first find the device name of partition
you wish to format. Then on root terminal, execute the command :
mkfs.ext3 /dev/device_name (eg. mkfs.ext3 /dev/sda6 will format sda6 to ext3)
then mount that partitions temporally to somewhere with the command :
mount /dev/device_name /mnt (replace device_name with your partition
name eg. mount /dev/sda6 /mnt)
Then, copy the /home to the new partition with the command :
cp -r /home/* /mnt
now change the owner of the users home folder to that user with :
chown -R username.username /mnt/username (change username to the actual
user names in the system)
Now add the following line to the /etc/fstab file
/dev/device_name /home ext3 defaults 0 0
and reboot the system to get the settings in effect.
If you already have a /home partition and want to expand it, you can
use the tool gparted. In this software there are options to delete and
re size already existing partitions. You can delete the partition next
to your home partition and re size the existing home partition with
gparted. You can use gparted in a live CD, which is available from:
http://gparted.sourceforge.net/livecd.php
Hope this Helps
regards,
~vimal
--
Free Software, Free Society
സ്വതന്ത്ര സോഫ്റ്റ്വെയര്, സ്വതന്ത്ര സമൂഹം
<http://fsfs.hipatia.net>
�ӊ������,�t���%�?.)������m�����i��l����ڕ�+�:���{*.�˛����ب��m��춋a��b����+a���˩����zG�jV���j)b�
b��m�
- Follow-Ups:
- [School-GNU-Linux] changing boot order
- From: N.Kirubanand
Other related posts:
- » [School-GNU-Linux] Re: more space
- [School-GNU-Linux] changing boot order
- From: N.Kirubanand