PDA

View Full Version : Root partition filling up



silicate
2015-12-22, 05:04
Hey guys, simple question here...

I'm booting to Kali 2.0 live from USB and wanted to add persistence, but I can't get OpenVAS setup. The setup script runs and eventually fails due to no more disk space. Here's my df -h output:
http://s22.postimg.org/4qb3rr09d/image.png
Here's gparted:
http://s24.postimg.org/cjf2zrevp/gpart.png
When the setup runs it fills up root (/) which is only 872mb. This is a 16gb USB so I'm wondering if there's a way to allocate some of the 11gb of unallocated space to root?
I've done a simple search on this but the problem is that the partition that's mounted on root doesn't appear in the list in gparted to resize. I booted to a live usb of Kali, plugged in the USB that I wanted to resize, selected it in gparted but it doesn't show the "aufs" partition which is mounted on root (check my screenshot). I've done searches for "how to resize aufs partition" or "resize aufs mounted on root" but couldn't find anything.
I couldn't tell how to do this with gparted, would I need to build a custom Kali iso or something with different partitioning?
Sorry if this is innappopriate for this forum or if this has already been answered. I posted on a Debian support forum with no luck yet...

Thanks

silicate
2015-12-22, 16:52
I found this:
https://forums.kali.org/showthread.php?20635-Gparted-Can-t-Resize-Kali-Partition-Running-From-USB&highlight=aufs+root

But as I mentioned it's not clear to me how to do this once I'm in gparted...

silicate
2015-12-24, 14:16
Anybody else with this issue? Could I use overlayfs... Any suggestions?

duxim
2015-12-24, 17:31
I found this:
https://forums.kali.org/showthread.php?20635-Gparted-Can-t-Resize-Kali-Partition-Running-From-USB&highlight=aufs+root

But as I mentioned it's not clear to me how to do this once I'm in gparted...

"the solution is to make another live boot (cd or usb, it doesn't matter), boot it, then plug in your usb and use gparted." and
"You need to unmount partition to modify it..That is a basic concept..."
all is in the post how to do it
or read
http://askubuntu.com/questions/492054/how-to-extend-my-root-partition

silicate
2015-12-30, 21:10
"the solution is to make another live boot (cd or usb, it doesn't matter), boot it, then plug in your usb and use gparted." and
"You need to unmount partition to modify it..That is a basic concept..."
all is in the post how to do it
or read
http://askubuntu.com/questions/492054/how-to-extend-my-root-partition

In this example you can see that the user can edit the root partition (/dev/sda10) in gparted. If you look at my screencap, even when booted to a different live sub, I only have the /dev/sdb1 and /dev/sdb2 partitions available to edit. Is this because it's using an aufs filesystem? I understand needing to unmount a partition before resizing it but I don't even see it available in gparted to unmount/resize.