public inbox for gentoo-user@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Walter Dnes" <waltdnes@waltdnes.org>
To: gentoo-user@lists.gentoo.org
Subject: Re: [gentoo-user] UEFI install noob questions
Date: Sat, 26 Dec 2020 22:48:54 -0500	[thread overview]
Message-ID: <X+gEJkJV3QZ0Tn4r@waltdnes.org> (raw)
In-Reply-To: <92b8f204-d9eb-875f-444b-cb59880e8317@newideatest.site>

On Sat, Dec 26, 2020 at 02:21:51PM -0700, Dan Egli wrote

> /boot is part of /:
> /dev/sda1   /boot/EFI   vfat    defaults,noatime   1 2
> /dev/sda3   /           xfs     defaults,noatime   1 1
> /dev/sda2   none        swap    defaults           0 0

  I've got an empty /boot/EFI directory on the root system (/dev/sda2),
and a 256 megabyte vfat-formatted partition as /dev/sda1.  Here's my
take on /etc/fstab...

(chroot) livecd ~ # cat /etc/fstab 
/dev/cdrom    /mnt/cdrom  auto     noauto,users,noatime,async,ro       0 0
/dev/sda1     /boot/EFI   vfat     defaults,noatime                    1 2
/dev/sda2     /           ext3     noatime,nodiratime,async,user_xattr 0 1
/dev/sda3     none        swap     sw                                  0 0
/dev/sdb      /mnt/drive0 auto     noauto,users,noatime,async          0 0
/dev/sdb1     /mnt/drive1 auto     noauto,users,noatime,async          0 0
/dev/sdc1     /mnt/drive2 auto     noauto,users,noatime,async          0 0
/dev/sdd1     /mnt/drive3 auto     noauto,users,noatime,async          0 0


  I've got two scripts in /usr/src that I run from /usr/src/linux.
The script "makeover" is run just after "make menuconfig" and
includes (amongst other things)

make && \
make modules_install && \
cp  arch/x86_64/boot/bzImage /boot/kernel.experimental && \
cp System.map /boot/System.map.experimental && \
cp .config /boot/config.experimental && \
lilo

...and the script "promote" includes...

cp /boot/System.map.experimental /boot/System.map.production
cp /boot/config.experimental /boot/config.production
cp /boot/kernel.experimental /boot/kernel.production
lilo

  Obviously won't need the "lilo" command.  Replace all references to
"/boot" with "/boot/EFI" and the kernels go to /boot/EFI which leaves
just the question of how to set up grub.  I'd like a text-based menu
that defaults to the production kernel if no keypress after 15 seconds.
Question: does grub have to be re-run or otherwise re-initialised when
I overwrite a kernel with a newer one of the same name?

-- 
Walter Dnes <waltdnes@waltdnes.org>
I don't run "desktop environments"; I run useful applications


  parent reply	other threads:[~2020-12-27  3:49 UTC|newest]

Thread overview: 21+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-12-26  6:28 [gentoo-user] UEFI install noob questions Walter Dnes
2020-12-26  6:39 ` cal
2020-12-26 10:23 ` Peter Humphrey
2020-12-26 12:52 ` Michael
2020-12-26 19:37 ` Walter Dnes
2020-12-26 20:27   ` Neil Bothwick
2020-12-26 21:21   ` Dan Egli
2020-12-26 23:35     ` Walter Dnes
2020-12-27  0:39       ` Walter Dnes
2020-12-27  0:49         ` cal
2020-12-27  1:29           ` Walter Dnes
2020-12-27  9:48           ` Neil Bothwick
2020-12-27  3:48     ` Walter Dnes [this message]
2020-12-27  9:53       ` Neil Bothwick
2020-12-27 19:22         ` Walter Dnes
2020-12-27 20:54           ` Neil Bothwick
2020-12-28  7:43             ` Walter Dnes
2020-12-28 11:16               ` Neil Bothwick
2020-12-28  4:04           ` [gentoo-user] " Grant Edwards
2020-12-28  7:18 ` [gentoo-user] Re: [SOLVED] " Walter Dnes
2020-12-28 23:30   ` Dan Egli

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=X+gEJkJV3QZ0Tn4r@waltdnes.org \
    --to=waltdnes@waltdnes.org \
    --cc=gentoo-user@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox