Printable Version of Topic

Click here to view this topic in its original format

Linuxhelp _ Technical Support _ Not enough disk space

Posted by: thecrim Aug 30 2013, 07:45 AM

I am trying to compile my kernel and get the error message there is not enough disk space.
The partition where the Linux kernel resides has only half a Gig free. However The home partition has 8Gig free.
Is it possible to repartition the hard disk to give the kernel partition another Gig from the home partition without destroying anything
Thanks

Posted by: michaelk Aug 30 2013, 11:12 AM

It depends how your disk is partitioned.
What distribution / version are you running?


Posted by: thecrim Sep 1 2013, 03:49 AM

Well I have Windows XP on the first partition and windows data on the second partition.
Linux is installed on the third and forth partition, see below
The version I use is linux-3.10.9

Device Boot Start End Blocks Id System
/dev/sda1 63 134223074 67111506 7 HPFS/NTFS/exFAT
/dev/sda2 * 134223075 312560639 89168782+ f W95 Ext'd (LBA)
/dev/sda5 134223138 268446149 67111506 e W95 FAT16 (LBA)
/dev/sda6 268446213 271530629 1542208+ 82 Linux swap / Solaris
/dev/sda7 271530693 288495269 8482288+ 83 Linux
/dev/sda8 288495333 312560639 12032653+ 83 Linux


Filesystem 1K-blocks Used Available Use% Mounted on
devtmpfs 1016232 16 1016216 1% /dev
tmpfs 1031824 88 1031736 1% /dev/shm
tmpfs 1031824 3148 1028676 1% /run
/dev/sda7 8349096 8349096 0 100% /
tmpfs 1031824 0 1031824 0% /sys/fs/cgroup
tmpfs 1031824 3148 1028676 1% /var/lock
tmpfs 1031824 3148 1028676 1% /var/run
/dev/sda8 11843788 8743648 2498508 78% /home

Posted by: michaelk Sep 1 2013, 07:32 AM

You need to boot using a gparted live CD and basically shrink home, move it to the right, then expand your / partition. Be sure to back up any an all important data files just in case.

Powered by Invision Power Board (http://www.invisionboard.com)
© Invision Power Services (http://www.invisionpower.com)