[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: minimal files
From: |
Pascal |
Subject: |
Re: minimal files |
Date: |
Mon, 28 Sep 2020 15:25:17 +0200 |
hi,
here is my new configuration that works in virtual machine and on the few
physical machines I had in hands. :-)
do you think everything is there with Grub 2.04 ?
is the video.lst file necessary from the moment I load the video modules
manually (insmod in grub.cfg) ?
is the ieee1275_fb video module necessary for a PC ?
linux live USB
├── partition GPT1 NTFS
└── partition GPT2 FAT32 (ESP)
├── boot
│ ├── initrd
│ └── kernel
├── efi
│ └── boot
│ └── bootx64.efi
└── grub
├── grub.cfg
└── x86_64-efi
├── boot.mod
├── bufio.mod
├── command.lst
├── crypto.mod
├── efi_gop.mod
├── efi_uga.mod
├── extcmd.mod
├── gettext.mod
├── linux.mod
├── mmap.mod
├── normal.mod
├── relocator.mod
├── terminal.mod
├── true.mod
├── verifiers.mod
├── video.lst
├── video.mod
├── video_bochs.mod
├── video_cirrus.mod
└── video_fb.mod
# cat grub/grub.cfg
clear
insmod efi_gop
insmod efi_uga
insmod ieee1275_fb
insmod vbe
insmod vga
insmod video_bochs
insmod video_cirrus
set default=live
menuentry "Live" --id live {
linux /boot/kernel
initrd /boot/initrd
}
# cat grub/x86_64-efi/command.lst
clear: normal
initrd: linux
linux: linux
true: true
# cat grub/x86_64-efi/video.lst
efi_gop
efi_uga
video_bochs
video_cirrus
regards, lacsaP.
Le ven. 18 sept. 2020 à 14:01, Pascal <patatetom@gmail.com> a écrit :
> I forgot to specify that the text mode was the one targeted by this
> objective.
>
> regards, lacsaP.
>
> Le ven. 18 sept. 2020 à 13:57, Pascal <patatetom@gmail.com> a écrit :
>
>> hi help-grub members,
>>
>> my goal is to reduce Grub's size to its strict minimum.
>> so, what are, at a minimum, the files to copy/install in the /grub/
>> folder to boot a kernel present in the /boot/ folder ?
>> these two folders are located on the same FAT32-formatted partition (ESP)
>> of a GPT disk.
>> this disk embeds a living system and is therefore likely to encounter a
>> wide variety of EFI-only PCs.
>>
>> my old installation (with Grub 2.02) below was functional (with a few
>> rare exceptions) but is not anymore since the update of Grub (Grub 2.04) :
>>
>> grub/
>> ├── fonts
>> │ └── font.pf2
>> ├── grub.cfg
>> └── x86_64-efi
>> ├── boot.mod
>> ├── bufio.mod
>> ├── command.lst
>> ├── core.efi
>> ├── crypto.lst
>> ├── crypto.mod
>> ├── efi_gop.mod
>> ├── efi_uga.mod
>> ├── extcmd.mod
>> ├── font.mod
>> ├── fs.lst
>> ├── gettext.mod
>> ├── gfxterm.mod
>> ├── grub.efi
>> ├── linux.mod
>> ├── minicmd.mod
>> ├── mmap.mod
>> ├── moddep.lst
>> ├── modinfo.sh
>> ├── normal.mod
>> ├── partmap.lst
>> ├── parttool.lst
>> ├── relocator.mod
>> ├── terminal.lst
>> ├── terminal.mod
>> ├── true.mod
>> ├── video.lst
>> ├── video.mod
>> └── video_fb.mod
>>
>> (ps. if for some modules their name speaks for itself, for others it is
>> less clear : a bit like for the kernel modules (eg. modinfo), where can
>> we find this information ?)
>>
>> regards, lacsaP.
>>
>