1 |
On 2020-12-14, thelma@×××××××××××.com <thelma@×××××××××××.com> wrote: |
2 |
|
3 |
> I removed "vfat" boot partition and created/change it to ext2 |
4 |
> |
5 |
> But now when i try to install grub: |
6 |
> |
7 |
> grub-install /dev/nvme0n1p2 |
8 |
> Installing for i386-pc platform. |
9 |
> grub-install: warning: File system `ext2' doesn't support embedding. |
10 |
> 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.. |
11 |
> grub-install: error: will not proceed with blocklists. |
12 |
> |
13 |
> Is it something that is going to create problem? |
14 |
|
15 |
If you want to install grub in an ext2 partition, you'll need to use |
16 |
the --force option to get grub2 to use blocklists. After you've done |
17 |
that, you need to make the critical file immutable so that it can't be |
18 |
altered or moved: |
19 |
|
20 |
# chattr +i /boot/grub/i386-pc/core.img |
21 |
|
22 |
If you ever need to update grub, you'll have to unlock that file using |
23 |
'chattr -i'. |
24 |
|
25 |
-- |
26 |
Grant |