OPNsense Forum

Archive => 18.1 Legacy Series => Topic started by: hilfubsi on February 07, 2018, 04:28:59 am

Title: Nano image not expanding when copied on a larger drive
Post by: hilfubsi on February 07, 2018, 04:28:59 am
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.

Code: [Select]
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?
Title: Re: Nano image not expanding when copied on a larger drive
Post by: franco on February 07, 2018, 06:41:33 pm
What does it print during boot?

You can re-force the grow using:

# touch /.probe.for.growfs.nano

And reboot.


Cheers,
Franco
Title: Re: Nano image not expanding when copied on a larger drive
Post by: hilfubsi on February 07, 2018, 06:44:07 pm
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.
Title: Re: Nano image not expanding when copied on a larger drive
Post by: franco on February 07, 2018, 06:48:58 pm
Okay, install is better. 8)