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 <[email protected]> I don't run "desktop environments"; I run useful applications

