0

I upgraded to 24.04. The only problem remaining now is that grub-pc can not be installed.

I got:

Setting up grub-pc (2.12-1ubuntu7) ...
Installing for i386-pc platform.
mdadm: /dev/md does not appear to be an md device
grub-install: error: ioctl RAID_VERSION error: Inappropriate ioctl for device.
dpkg: error processing package grub-pc (--configure):
 installed grub-pc package post-installation script subprocess returned error exit status 1
Errors were encountered while processing:
 grub-pc
Updating coolwsd systemplate
E: Sub-process /usr/bin/dpkg returned an error code (1)

Since I have:

# df
Filesystem      1K-blocks      Used  Available Use% Mounted on
tmpfs             1628216      1816    1626400   1% /run
/dev/md2       1920043304 335436508 1487000140  19% /
tmpfs             8141076         0    8141076   0% /dev/shm
tmpfs                5120         8       5112   1% /run/lock
/dev/md1          1011148    293728     648712  32% /boot
tmpfs             1628212       100    1628112   1% /run/user/131
tmpfs             1628212        88    1628124   1% /run/user/1001```

I tried (as root)

Installing for i386-pc platform.
grub-install: warning: File system `ext2' doesn't support embedding.
grub-install: warning: Embedding is not possible.  GRUB can only be installed in this setup by using blocklists.  However, blocklists are UNRELIABLE and their use is discouraged..
grub-install: error: will not proceed with blocklists.```

But when asking ```lsblk -f``` I got 
(I show only part of the output)
</code></pre>
<p>sda<br />
├─sda1 linux_ra 1.2     md1       f3e919b7-e0fc-0966-03c7-b0a1bddd08d0<br />
│ └─md1
│      ext4     1.0     boot      1c1a400e-09d2-4a0d-a2fd-8f6173774af4  633.5M    29% /boot</p>
<pre><code>So, I'm lost, what should I do to install grub? 
Frederic
</code></pre>

0 Answers0