Welcome, Guest. Please login or register.
Did you miss your activation email?
+  pfSense Forum
|-+  Retired» 1.2.3-PRERELEASE-TESTING snapshots - RETIRED» nanobsd upgrade requires duplicate slice first?
Username:
Password:
 
 

Pages: [1]   Go Down
  Print  
Author Topic: nanobsd upgrade requires duplicate slice first?  (Read 2194 times)
0 Members and 1 Guest are viewing this topic.
rcpao
Newbie
*
Offline Offline

Posts: 4


View Profile
« on: October 15, 2009, 12:45:09 pm »

I have a SanDisk 1GB CF with pfSense-1.2.3-1g-20091011-1525-nanobsd.img written using physdiskwrite.exe.  It works.  Manual firmware upgrade using pfSense-1.2.3-1g-20091013-1602-nanobsd-upgrade.img.gz (still compressed) from the web GUI fails.

Diagnostics > NanoBSD > ad0s1 to ad0s2 [Duplicate slice]

Now manual firmware upgrade works.

If the duplicate slice is a known requirement, I recommend pre-duplicating the slice in the nanobsd new installation images so the step can be skipped by the user for the first upgrade.  Subsequent upgrades should not matter as long as the slice to be written to is compatible with the upgrade firmware.
Logged

pfSense VMware Appliance and Embedded with 1 WAN, DMZ, NAT: Port Forward, CARP, Captive Portal, DNS Forwarder, DHCP Server.
gloomrider
Full Member
***
Offline Offline

Posts: 119


View Profile
« Reply #1 on: October 15, 2009, 05:57:18 pm »

I have a SanDisk 1GB CF with pfSense-1.2.3-1g-20091011-1525-nanobsd.img written using physdiskwrite.exe.  It works.  Manual firmware upgrade using pfSense-1.2.3-1g-20091013-1602-nanobsd-upgrade.img.gz (still compressed) from the web GUI fails.

Diagnostics > NanoBSD > ad0s1 to ad0s2 [Duplicate slice]

Now manual firmware upgrade works.

If the duplicate slice is a known requirement, I recommend pre-duplicating the slice in the nanobsd new installation images so the step can be skipped by the user for the first upgrade.  Subsequent upgrades should not matter as long as the slice to be written to is compatible with the upgrade firmware.

I've never had to do that, and I've been upgrading nanobsd with snapshots since early August.  To the best of my knowledge, flashing a CF card with a nanobsd image provides the same root file system in both slices.
Logged
jimp
Administrator
Hero Member
*****
Offline Offline

Posts: 12839



View Profile
« Reply #2 on: October 15, 2009, 06:20:11 pm »

I recommend pre-duplicating the slice in the nanobsd new installation images so the step can be skipped by the user for the first upgrade. 

This is exactly what is already done on the Nano images. The second slice is merely a duplicate of the first done beforehand.

I've never had a problem running a nano upgrade, not recently anyhow. Depending on the version you started with, there may have been bugs in the code at that point that didn't allow a working upgrade, so a reflash may have been necessary.
Logged

Need help fast? Commercial Support!

Co-Author of pfSense: The Definitive Guide. - Check the Doc Wiki for FAQs.

Do not PM for help!

Donate to the project | My Wish List
Pages: [1]   Go Up
  Print  
 
Jump to:  

 

Page created in 0.028 seconds with 20 queries.