TrueNAS-SCALE-22.02.1.update migration failed: Installing for i386-pc platform. grub-install: error: diskboot.img size must be 512 bytes.

justryan

Dabbler
Joined
Dec 3, 2021
Messages
16
TrueNAS-13.0-RELEASE
migration using manual update file
TrueNAS-SCALE-22.02.1.update
Code:
TrueNAS-13.0-RELEASE
migration using manual update file
TrueNAS-SCALE-22.02.1.update

report_problem [EFAULT] Command ['grub-install', '--target=i386-pc', '/dev/ada4'] failed with exit code 1: Installing for i386-pc platform. grub-install: error: diskboot.img size must be 512 bytes.

FAILED
remove_circle_outline
More info...

Error: Traceback (most recent call last):
  File "/usr/local/lib/python3.9/site-packages/middlewared/job.py", line 355, in run
    await self.future
  File "/usr/local/lib/python3.9/site-packages/middlewared/job.py", line 391, in __run_body
    rv = await self.method(*([self] + args))
  File "/usr/local/lib/python3.9/site-packages/middlewared/schema.py", line 975, in nf
    return await f(*args, **kwargs)
  File "/usr/local/lib/python3.9/site-packages/middlewared/plugins/update.py", line 389, in file
    await self.middleware.call('update.install_manual_impl', job, destfile, dest_extracted)
  File "/usr/local/lib/python3.9/site-packages/middlewared/main.py", line 1305, in call
    return await self._call(
  File "/usr/local/lib/python3.9/site-packages/middlewared/main.py", line 1273, in _call
    return await self.run_in_executor(prepared_call.executor, methodobj, *prepared_call.args)
  File "/usr/local/lib/python3.9/site-packages/middlewared/main.py", line 1166, in run_in_executor
    return await loop.run_in_executor(pool, functools.partial(method, *args, **kwargs))
  File "/usr/local/lib/python3.9/concurrent/futures/thread.py", line 58, in run
    result = self.fn(*self.args, **self.kwargs)
  File "/usr/local/lib/python3.9/site-packages/middlewared/plugins/update_/install_freebsd.py", line 58, in install_manual_impl
    return self._install_scale(job, path)
  File "/usr/local/lib/python3.9/site-packages/middlewared/plugins/update_/install_freebsd.py", line 78, in _install_scale
    return self.middleware.call_sync(
  File "/usr/local/lib/python3.9/site-packages/middlewared/main.py", line 1332, in call_sync
    return methodobj(*prepared_call.args)
  File "/usr/local/lib/python3.9/site-packages/middlewared/plugins/update_/install.py", line 69, in install_scale
    raise CallError(error)
middlewared.service_exception.CallError: [EFAULT] Command ['grub-install', '--target=i386-pc', '/dev/ada4'] failed with exit code 1: Installing for i386-pc platform.
grub-install: error: diskboot.img size must be 512 bytes.



Boot device: KINGSTON SMS200S360G (mS200 SSD)
 
Last edited:

azsose

Cadet
Joined
Apr 1, 2022
Messages
6
I am getting this too. Cannot seem to find a way around. I have plenty of storage space on the OS drive and the NAS drives..
 

kevin78

Cadet
Joined
Jun 2, 2022
Messages
1
@justryan did you ever find a fix for this? I am getting the same error when trying to manual update from Core 13.0 to Scale.
 
Joined
Jun 22, 2022
Messages
2
Same error - just tried with TrueNAS SCALE 22.02.2
Can we merge the following thread into this one:
 

justryan

Dabbler
Joined
Dec 3, 2021
Messages
16
Merge: If you like.

I just tried to boot with the Scale installer, and it got as far as detecting disks. Then it hung. I guess Scale does not support sata extension cards.
 
Joined
Jul 23, 2022
Messages
2
Just tried to migrate from CORE 12 to Scale and got the same error.. guessing this is still a problem?
 
Top