Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.debian.user > #245391

Re: Add GRUB modules to core-Image

From David Wright <deblis@lionunicorn.co.uk>
Newsgroups linux.debian.user
Subject Re: Add GRUB modules to core-Image
Date 2022-02-15 00:20 +0100
Message-ID <DQSNs-1QLV-11@gated-at.bofh.it> (permalink)
References <DQGCC-1Jo7-5@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


On Mon 14 Feb 2022 at 10:54:21 (+0100), basti wrote:
> Hello,
> 
> I try to use a USB Serial-Converter to output the grub menu on a
> Serial port.
> 
> By the way the output is working at kernel boot time. (I See it on the
> remote host)
> 
> How can I add usbserial_pl2303.mod to the GRUB core image?
> 
> The file is located in /boot/grub/i386-pc/ on the root partition but I
> can't see it in /boot/grub/i386-pc/ in the grub shell.

In the grub shell, try:

Grub> insmod usbserial_pl2303

(If you can't remember its entire name, you may find that
Grub> insmod usbs<TAB>p<TAB>
works, with the TAB invoking the completion facility.)

To make it permanent, you can edit /etc/default/grub. This file has
#   info -f grub -n 'Simple configuration'
near the top, and that command can find you the option for adding:

GRUB_PRELOAD_MODULES=usbserial_pl2303

After adding that line, rerun:

# update-grub

to incorporate it into your grub.cfg.

Cheers,
David.

Back to linux.debian.user | Previous | Next — Previous in thread | Find similar | Unroll thread


Thread

Add GRUB modules to core-Image basti <mailinglist@unix-solution.de> - 2022-02-14 11:20 +0100
  Re: Add GRUB modules to core-Image David Wright <deblis@lionunicorn.co.uk> - 2022-02-15 00:20 +0100

csiph-web