Hi,
Have all the steps till resize2fs been sugsessfull and the output of
resize2fs saied that the space is now as long as it should be?
If this is to much complicated you can just create a new vm with a good
hdd size matching your needs, put in a livecd with graphical disc
content manipulation tools like partedmagic[01], get from those your
network running and download and dd to disk from there the image, than
use graphical gparted to enlarge the filesystem on it...
regards tim
Annotations:
01: https://partedmagic.com/
Am 14.11.2016 um 19:10 schrieb James Allsopp:
Hi,
I'm trying to install an ESXi (x86) image of OpenWRT. Got it working
fine, but copied the sources and dependencies for OpenVPN over, and
tried install them manually, but ran out of space. I increased the size
of the image from 55Mb to 100Mb using instructions here,
https://macbruins.com/2011/11/15/expanding-x86-openwrt-root-partition/
and this worked, but when I tried to reinstall the packages I ran into
the size issue again. The machine isn't connected to the internet so
couldn't use the packages directly
I copied the packages to /packages
root@OpenWrt:~# ls /packages
kmod-tun_3.18.20-1_x86_64.ipk
liblzo_2.08-1_x86_64.ipk
libopenssl_1.0.2g-1_x86_64.ipk
openssl-util_1.0.2g-1_x86_64.ipk
openvpn-easy-rsa_2013-01-30-2_x86_64.ipk
openvpn-openssl_2.3.6-5_x86_64.ipk
zlib_1.2.8-1_x86_64.ipk
I edited my /etc/opkg.conf to this
dest root /
dest ram /tmp
lists_dir ext /var/opkg-lists
option overlay_root /overlay
src/gz chaos_calmer_base
http://downloads.openwrt.org/chaos_calmer/15.05/x86/64/packages/base
src/gz chaos_calmer_luci
http://downloads.openwrt.org/chaos_calmer/15.05/x86/64/packages/luci
src/gz chaos_calmer_packages
http://downloads.openwrt.org/chaos_calmer/15.05/x86/64/packages/packages
src/gz chaos_calmer_routing
http://downloads.openwrt.org/chaos_calmer/15.05/x86/64/packages/routing
src/gz chaos_calmer_telephony
http://downloads.openwrt.org/chaos_calmer/15.05/x86/64/packages/telephony
src/gz chaos_calmer_management
http://downloads.openwrt.org/chaos_calmer/15.05/x86/64/packages/management
option check_signature 1
root@OpenWrt:~# df -h /
Filesystem Size Used Available Use% Mounted on
rootfs 96.5M 9.1M 85.4M 10% /
but I ran into this problem with the install,
root@OpenWrt:~# opkg install /packages/openssl-util_1.0.2g-1_x86_64.ipk
Installing openssl-util (1.0.2g-1) to root...
Collected errors:
* extract_archive: Cannot make dir /etc/ssl/: No space left on device.
* extract_archive: Cannot make dir /etc/ssl/certs/: No such file or
directory.
* extract_archive: Cannot make dir /etc/ssl/private/: No such file or
directory.
* wfopen: /etc/ssl/openssl.cnf: No such file or directory.
* pkg_write_filelist: Failed to open
//usr/lib/opkg/info/openssl-util.list: Read-only file system.
* opkg_install_pkg: Failed to extract data files for openssl-util.
Package debris may remain!
* opkg_install_cmd: Cannot install package openssl-util.
If anyone can help, I'd be very grateful,
James
_______________________________________________
openwrt-users mailing list
[email protected]
https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-users
_______________________________________________
openwrt-users mailing list
[email protected]
https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-users