OpenWrt Forum Archive

Topic: How to increase rootfs space size of openwrt on the virtualbox.?

The content of this topic has been archived on 17 Apr 2018. There are no obvious gaps in this topic, but there may still be some posts missing at the end.

I've installed openwrt on the virtualbox from vdi file. But, The thing is that root file system have 20 MB available space and i've to install more package. So, is there any way to increase root file system size?

Also, I dont have pendrive access to my machine!!

(Last edited by rahul.kumar on 6 Dec 2016, 10:46)

As you used an existing vdi-file, you probably won't be able to use this method (https://forum.openwrt.org/viewtopic.php?id=68795), where you build you own image of openwrt with an increased rootfs size.

An option is to create a second virtual disk in your virtual machine and mount it as extroot (https://wiki.openwrt.org/doc/howto/extroot). With that mechanism you can create a rootfs with "unlimited" space.

As for the pen-drive access: make sure you have installed the required packages for USB-storage (https://wiki.openwrt.org/doc/howto/usb.storage). You should have, because it is required for extroot.

Finally don't forget to connect your usb-device to the virtual machine (see for example: http://www.htpcbeginner.com/access-usb- … uest-os/).

(Last edited by maartenjd on 6 Dec 2016, 11:59)

The discussion might have continued from here.