Nano image not expanding when copied on a larger drive

Started by hilfubsi, February 07, 2018, 04:28:59 AM

Previous topic - Next topic
I have copied the nano image on my SSD since I can't boot from USB3 with the normal installer.

It works well, but my SSD is 16GB and only 3.4GB are in use. I can't run any update because it says it's ran out of space while decompressing the packages.

root@router:~ # df -h
Filesystem                Size    Used   Avail Capacity  Mounted on
/dev/ufs/OPNsense_Nano    3.0G    949M    1.8G    34%    /
devfs                     1.0K    1.0K      0B   100%    /dev
tmpfs                     3.5G     13M    3.5G     0%    /var
tmpfs                     3.5G    540K    3.5G     0%    /tmp
devfs                     1.0K    1.0K      0B   100%    /var/dhcpd/dev


How do I make use of the other 13GB?

What does it print during boot?

You can re-force the grow using:

# touch /.probe.for.growfs.nano

And reboot.


Cheers,
Franco

Thank you, I ended up using another USB stick that seemed to work better with my APU2 and so it expanded during the serial image install.