* [gentoo-user] grub-install: warning: File system `ext2' doesn't support embedding.
@ 2020-12-14 3:15 thelma
2020-12-14 3:28 ` thelma
2020-12-14 4:05 ` [gentoo-user] " Grant Edwards
0 siblings, 2 replies; 6+ messages in thread
From: thelma @ 2020-12-14 3:15 UTC (permalink / raw
To: Gentoo mailing list
I removed "vfat" boot partition and created/change it to ext2
But now when i try to install grub:
grub-install /dev/nvme0n1p2
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.
Is it something that is going to create problem?
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: [gentoo-user] grub-install: warning: File system `ext2' doesn't support embedding.
2020-12-14 3:15 [gentoo-user] grub-install: warning: File system `ext2' doesn't support embedding thelma
@ 2020-12-14 3:28 ` thelma
2020-12-14 3:38 ` thelma
2020-12-14 4:05 ` [gentoo-user] " Grant Edwards
1 sibling, 1 reply; 6+ messages in thread
From: thelma @ 2020-12-14 3:28 UTC (permalink / raw
To: Gentoo mailing list
On 12/13/2020 08:15 PM, thelma@sys-concept.com wrote:
> I removed "vfat" boot partition and created/change it to ext2
>
> But now when i try to install grub:
>
> grub-install /dev/nvme0n1p2
> 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.
>
> Is it something that is going to create problem?
After rebooting, the system can not find boot disk.
fstab:
/dev/nvme0n1p2 /boot ext2 noauto,noatime 1 2
/dev/nvme0n1p4 / ext4 noatime 0 1
/dev/nvme0n1p3 none swap sw 0 0
fdisk -l
/dev/nvme0n1p1 2048 6143 4096 2M BIOS boot
/dev/nvme0n1p2 6144 268287 262144 128M EFI System
/dev/nvme0n1p3 268288 1316863 1048576 512M Linux filesystem
/dev/nvme0n1p4 1316864 3907027119 3905710256 1.8T Linux filesystem
Do I need to go to "vfat" for /boot partition?
Why isn't it working?
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: [gentoo-user] grub-install: warning: File system `ext2' doesn't support embedding.
2020-12-14 3:28 ` thelma
@ 2020-12-14 3:38 ` thelma
0 siblings, 0 replies; 6+ messages in thread
From: thelma @ 2020-12-14 3:38 UTC (permalink / raw
To: Gentoo mailing list
On 12/13/2020 08:28 PM, thelma@sys-concept.com wrote:
> On 12/13/2020 08:15 PM, thelma@sys-concept.com wrote:
>> I removed "vfat" boot partition and created/change it to ext2
>>
>> But now when i try to install grub:
>>
>> grub-install /dev/nvme0n1p2
Simple mistake it should be:
grub-install /dev/nvme0n1
^ permalink raw reply [flat|nested] 6+ messages in thread
* [gentoo-user] Re: grub-install: warning: File system `ext2' doesn't support embedding.
2020-12-14 3:15 [gentoo-user] grub-install: warning: File system `ext2' doesn't support embedding thelma
2020-12-14 3:28 ` thelma
@ 2020-12-14 4:05 ` Grant Edwards
2020-12-14 4:39 ` thelma
1 sibling, 1 reply; 6+ messages in thread
From: Grant Edwards @ 2020-12-14 4:05 UTC (permalink / raw
To: gentoo-user
On 2020-12-14, thelma@sys-concept.com <thelma@sys-concept.com> wrote:
> I removed "vfat" boot partition and created/change it to ext2
>
> But now when i try to install grub:
>
> grub-install /dev/nvme0n1p2
> 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.
>
> Is it something that is going to create problem?
If you want to install grub in an ext2 partition, you'll need to use
the --force option to get grub2 to use blocklists. After you've done
that, you need to make the critical file immutable so that it can't be
altered or moved:
# chattr +i /boot/grub/i386-pc/core.img
If you ever need to update grub, you'll have to unlock that file using
'chattr -i'.
--
Grant
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: [gentoo-user] Re: grub-install: warning: File system `ext2' doesn't support embedding.
2020-12-14 4:05 ` [gentoo-user] " Grant Edwards
@ 2020-12-14 4:39 ` thelma
2020-12-14 15:10 ` Grant Edwards
0 siblings, 1 reply; 6+ messages in thread
From: thelma @ 2020-12-14 4:39 UTC (permalink / raw
To: gentoo-user
On 12/13/2020 09:05 PM, Grant Edwards wrote:
> On 2020-12-14, thelma@sys-concept.com <thelma@sys-concept.com> wrote:
>
>> I removed "vfat" boot partition and created/change it to ext2
>>
>> But now when i try to install grub:
>>
>> grub-install /dev/nvme0n1p2
>> 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.
>>
>> Is it something that is going to create problem?
>
> If you want to install grub in an ext2 partition, you'll need to use
> the --force option to get grub2 to use blocklists. After you've done
> that, you need to make the critical file immutable so that it can't be
> altered or moved:
>
> # chattr +i /boot/grub/i386-pc/core.img
>
> If you ever need to update grub, you'll have to unlock that file using
> 'chattr -i'.
>
> --
> Grant
I don't think so. I just tried made typo.
Instead of running:
grub-install /dev/nvme0n1
I did:
grub-install /dev/nvme0n1p2
It install without any errors.
I've not done any installation for some time, a lot had changed. It is
a good practice as next PC will be a production PC; so I know to stay
away from "vfat" in boot partition.
^ permalink raw reply [flat|nested] 6+ messages in thread
* [gentoo-user] Re: grub-install: warning: File system `ext2' doesn't support embedding.
2020-12-14 4:39 ` thelma
@ 2020-12-14 15:10 ` Grant Edwards
0 siblings, 0 replies; 6+ messages in thread
From: Grant Edwards @ 2020-12-14 15:10 UTC (permalink / raw
To: gentoo-user
On 2020-12-14, thelma@sys-concept.com <thelma@sys-concept.com> wrote:
> On 12/13/2020 09:05 PM, Grant Edwards wrote:
>> On 2020-12-14, thelma@sys-concept.com <thelma@sys-concept.com> wrote:
>>
>>> I removed "vfat" boot partition and created/change it to ext2
>>>
>>> But now when i try to install grub:
>>>
>>> grub-install /dev/nvme0n1p2
>>> 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.
>>>
>>> Is it something that is going to create problem?
>>
>> If you want to install grub in an ext2 partition, you'll need to use
>> the --force option to get grub2 to use blocklists. After you've done
>> that, you need to make the critical file immutable so that it can't be
>> altered or moved:
>>
>> # chattr +i /boot/grub/i386-pc/core.img
>>
>> If you ever need to update grub, you'll have to unlock that file using
>> 'chattr -i'.
>
> I don't think so.
I'm sorry I screwed up and answered the question you asked. Won't
happen again.
> I just tried made typo.
> Instead of running:
> grub-install /dev/nvme0n1
>
> I did:
> grub-install /dev/nvme0n1p2
Which told Grub to install in a partition (which is evidently an ext2
filesystem). To do that, you have to use the --force option. For that
to be reliably you have to make the core.img file immutable after you
do the installation.
^ permalink raw reply [flat|nested] 6+ messages in thread
end of thread, other threads:[~2020-12-14 15:10 UTC | newest]
Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2020-12-14 3:15 [gentoo-user] grub-install: warning: File system `ext2' doesn't support embedding thelma
2020-12-14 3:28 ` thelma
2020-12-14 3:38 ` thelma
2020-12-14 4:05 ` [gentoo-user] " Grant Edwards
2020-12-14 4:39 ` thelma
2020-12-14 15:10 ` Grant Edwards
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox