*New 12.1 series Release:
2020-03-24: XigmaNAS 12.1.0.4.7389 - released

*New 11.3 series Release:
2020-03-24: XigmaNAS 11.3.0.4.7383 - released!


We really need "Your" help on XigmaNAS https://translations.launchpad.net/xigmanas translations. Please help today!

Producing and hosting XigmaNAS costs money. Please consider donating for our project so that we can continue to offer you the best.
We need your support! eg: PAYPAL

Boot partition too small?

XigmaNAS Basic Tune-up
Forum rules
Set-Up GuideFAQsForum Rules
Post Reply
mmc
Starter
Starter
Posts: 18
Joined: 06 Feb 2014 09:08
Status: Offline

Boot partition too small?

#1

Post by mmc »

Hello everybody,

I just upgraded from old FreeNAS 11.x to XigmaNAS with embedded image file. I uploaded the configuration file and everything seems fine. I just browsed through all the menus to find what is new, and in the System > Firmware Update tab there is this warning:
Boot partition is too small. You need to reinstall from LiveCD/LiveUSB or resize boot partition of da0s1a.
Now, the USB stick with the new system is the same of the previous NAS4Free, that I deleted and used with the new XigmaNAS embedded, and it has 8 GB of space:

In the Diagnostics > Information > Partitions I can find this log:
GEOM Partition Information

=> 63 15646657 da0 MBR (7.5G)
63 963837 1 freebsd [active] (471M)
963900 14682820 - free - (7.0G)

Fdisk Partition Information

******* Working on device /dev/da0 *******
parameters extracted from in-core disklabel are:
cylinders=973 heads=255 sectors/track=63 (16065 blks/cyl)

parameters to be used for BIOS calculations are:
cylinders=973 heads=255 sectors/track=63 (16065 blks/cyl)

Media sector size is 512
Warning: BIOS sector numbering starts with sector 1
Information from DOS bootblock is:
The data for partition 1 is:
sysid 165 (0xa5),(FreeBSD/NetBSD/386BSD)
start 63, size 963837 (470 Meg), flag 80 (active)
beg: cyl 0/ head 1/ sector 1;
end: cyl 59/ head 254/ sector 63
The data for partition 2 is:
<UNUSED>
The data for partition 3 is:
<UNUSED>
The data for partition 4 is:
<UNUSED>
I am not able to find the problem, could please anyone help me?

Thank you.

MMC

User avatar
ms49434
Developer
Developer
Posts: 828
Joined: 03 Sep 2015 18:49
Location: Neuenkirchen-Vörden, Germany - GMT+1
Contact:
Status: Offline

Re: Boot partition too small?

#2

Post by ms49434 »

The recommended and minumum size of the embedded boot partition is 2GB (as of this writing). This is more than enough for the current embedded image which consumes around 320MB. 2GB was chosen to allow the boot image to grow without the need to re-partition the device in the next years.
1) XigmaNAS 12.1.0.4 amd64-embedded on a Dell T20 running in a VM on ESXi 6.7U3, 22GB out of 32GB ECC RAM, LSI 9300-8i IT mode in passthrough mode. Pool 1: 2x HGST 10TB, mirrored, SLOG: Samsung 850 Pro, L2ARC: Samsung 850 Pro, Pool 2: 1x Samsung 860 EVO 1TB , services: Samba AD, CIFS/SMB, ftp, ctld, rsync, syncthing, zfs snapshots.
2) XigmaNAS 12.1.0.4 amd64-embedded on a Dell T20 running in a VM on ESXi 6.7U3, 8GB out of 32GB ECC RAM, IBM M1215 crossflashed, IT mode, passthrough mode, 2x HGST 10TB , services: rsync.

mmc
Starter
Starter
Posts: 18
Joined: 06 Feb 2014 09:08
Status: Offline

Re: Boot partition too small?

#3

Post by mmc »

Thank you ms49434,

you mean then that I should not consider the "boot partition too small" error? And when I want to upgrade to a new version I just need to download the new embedded image, write to the USB and upload the config file?
Is then not possible to use the "firmware upgrade" feature?

Thank you again.

MMC

mmc
Starter
Starter
Posts: 18
Joined: 06 Feb 2014 09:08
Status: Offline

[SOLVED] Re: Boot partition too small?

#4

Post by mmc »

Ok, my fault. I downloaded the LIVE/USB version, wrote the image in a temporary USB, then put the temporary one together with the empty 8GB USB in the same sistem, run the LIVE/USB, installed the "Embedded" version in the 8 GB, loaded the config file, and now it works. :)

MMC

jpcy
Starter
Starter
Posts: 15
Joined: 22 Mar 2020 17:00
Status: Offline

Re: Boot partition too small?

#5

Post by jpcy »

Hello,

I have just gotten the same error message, along with a list of update images.

Just a few questions out of curiosity...

Is the error because XN is expecting an upgrade in-place but the new version requires larger partitions so can't be directly upgraded?

Has the boot partition size changed?

How do I ascertain the actual size of my existing boot partition?
If it should be 2GB+, I can confidently check the size in future.

Is the boot partition recreated during reinstall? (/boot ?)
Just so I know it will be recreated at the (newer?) bigger size for future updates.
Also, can I specify at what size to create the boot partition?

Is it still recommended to install the 'embedded' version?
I ask as I have been considering the full version so I can have better control over the whole system configuration (e.g. Whenever I try to add a new mime type list for lighttpd, it says it couldn't apply the configuration (Error 1) It's valid according to the manual for lighttpd. I have similar issues for some other services, where I try to add custom configuration options via the WebGUI.)

Is it just a case of backup the NAS box configuration, install the latest image to my USB stick and restore the saved config to get me back to where I was?

Thanks in advance for the information.

- JPCY

cookiemonster
Advanced User
Advanced User
Posts: 221
Joined: 23 Mar 2014 02:58
Location: UK
Status: Offline

Re: Boot partition too small?

#6

Post by cookiemonster »

@jpcy , yes you can install and restore config. You can reverse by rebooting on the previous installation if you use a separate boot media for it ie. another USB stick.
You don't mention your installation details so I'm guessing yours is a fairly old one. The minimum required partition size I'm pretty sure changed a while ago.
To list: gpart show
Main: Xigmanas 11.2.0.4 x64-full-RootOnZFS on Supermicro X8DT3. zroot on mirrorred pair of CRUCIAL_CT64M225. Memory: 72GB ECC; 2 Xeon E5645 CPUs; Storage: (HBA) - LSI SAS 9211-4i with 3 SATA x 1 Tb in raidZ1, 1 x 3 Tb SAS drive as single stripe.
Spare1: HP DL580 G5; 128 GB ECC RAM; 4 CPU; 8 x 500 GB disks on H210i
Spare2: HP DL360 G7; 6 GB ECC RAM; 1 Xeon CPU; 5 x 500 GB disks on H210i
Spare3: HP DL380 G7; 24 GB ECC RAM; 2 Xeon E5645 CPUs; 8 x 500 GB disks on IBM M1015 flashed to LSI9211-IT

Post Reply

Return to “XigmaNAS Basic Tune-up”