OPNsense
  • Home
  • Help
  • Search
  • Login
  • Register

  • OPNsense Forum »
  • Archive »
  • 18.1 Legacy Series »
  • Nano image not expanding when copied on a larger drive
« previous next »
  • Print
Pages: [1]

Author Topic: Nano image not expanding when copied on a larger drive  (Read 2582 times)

hilfubsi

  • Newbie
  • *
  • Posts: 43
  • Karma: 2
    • View Profile
Nano image not expanding when copied on a larger drive
« 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?
Logged

franco

  • Administrator
  • Hero Member
  • *****
  • Posts: 13936
  • Karma: 1208
    • View Profile
Re: Nano image not expanding when copied on a larger drive
« Reply #1 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
Logged

hilfubsi

  • Newbie
  • *
  • Posts: 43
  • Karma: 2
    • View Profile
Re: Nano image not expanding when copied on a larger drive
« Reply #2 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.
Logged

franco

  • Administrator
  • Hero Member
  • *****
  • Posts: 13936
  • Karma: 1208
    • View Profile
Re: Nano image not expanding when copied on a larger drive
« Reply #3 on: February 07, 2018, 06:48:58 pm »
Okay, install is better. 8)
Logged

  • Print
Pages: [1]
« previous next »
  • OPNsense Forum »
  • Archive »
  • 18.1 Legacy Series »
  • Nano image not expanding when copied on a larger drive
 

OPNsense is an OSS project © Deciso B.V. 2015 - 2023 All rights reserved
  • SMF 2.0.19 | SMF © 2021, Simple Machines
    Privacy Policy
    | XHTML | RSS | WAP2