Re: [gentoo-user] Can some config files be automatically protected from etc-update?

2023-04-17 Thread Wols Lists
On 17/04/2023 19:26, Walter Dnes wrote: Now that the (no)multilib problem in my latest update has been solved, I have a somewhat minor complaint. Can I get etc-update to skip certain files? My latest emerge world wanted to "update"... 1) /etc/hosts (1) 2) /etc/inittab (1) 3) /etc/mtab (1)

Re: [gentoo-user] updating /boot directory EFI

2023-04-17 Thread Wols Lists
On 17/04/2023 23:36, Peter Humphrey wrote: On Monday, 17 April 2023 21:41:09 BST Wols Lists wrote: On 17/04/2023 17:52, Mark Knecht wrote: Later on a Kubuntu update found Windows, updated the EFI stuff on the Windows drive and then, I see this morning, erased everything out of the Kubuntu EFI

Re: [gentoo-user] Finally got a SSD drive to put my OS on

2023-04-17 Thread Dale
Mark Knecht wrote: > > > On Mon, Apr 17, 2023 at 2:41 AM Wols Lists > wrote: > > > > On 17/04/2023 02:14, Dale wrote: > > > My current install is over a decade old.  My /boot partition is about > > > 375MBs.  I should have made it larger but at the time, I booted

Re: [gentoo-user] Can some config files be automatically protected from etc-update?

2023-04-17 Thread Frank Steinmetzger
Am Mon, Apr 17, 2023 at 02:27:53PM -0700 schrieb Mark Knecht: > ;-) (And shame on you for being 'a few months' behind on your updates) ;-) It’s my NAS (basically my media library), which only runs every few months due to its server hardware’s high power draw. -- Grüße | Greetings | Qapla’

Re: [gentoo-user] updating /boot directory EFI

2023-04-17 Thread Peter Humphrey
On Monday, 17 April 2023 21:41:09 BST Wols Lists wrote: > On 17/04/2023 17:52, Mark Knecht wrote: > > Later on a Kubuntu update found Windows, updated the EFI > > stuff on the Windows drive and then, I see this morning, > > erased everything out of the Kubuntu EFI partition but > > left the

Re: [gentoo-user] Can some config files be automatically protected from etc-update?

2023-04-17 Thread Jude DaShiell
If that works and I were to use chattr +i it might be useful to make a list of what's now immuteable so later adjustments could be made when appropriate. -- Jude "There are four boxes to be used in defense of liberty: soap, ballot, jury, and ammo. Please use in that order." Ed Howdershelt 1940.

Re: [gentoo-user] Can some config files be automatically protected from etc-update?

2023-04-17 Thread Jude DaShiell
My guess is gentoo includes the chattr utility. Does emerge respect chattr +i /etc/hosts? -- Jude "There are four boxes to be used in defense of liberty: soap, ballot, jury, and ammo. Please use in that order." Ed Howdershelt 1940. On Mon, 17 Apr 2023, Frank Steinmetzger wrote: > Am Mon,

Re: [gentoo-user] Can some config files be automatically protected from etc-update?

2023-04-17 Thread Mark Knecht
On Mon, Apr 17, 2023 at 2:08 PM Frank Steinmetzger wrote: > > Am Mon, Apr 17, 2023 at 12:28:01PM -0700 schrieb Mark Knecht: > > > In my experience with all distros I go outside the distro for this > > sort of issue. Put a copy somewhere, white a little script that > > does a diff on the files

Re: [gentoo-user] Can some config files be automatically protected from etc-update?

2023-04-17 Thread Frank Steinmetzger
Am Mon, Apr 17, 2023 at 12:28:01PM -0700 schrieb Mark Knecht: > On Mon, Apr 17, 2023 at 11:26 AM Walter Dnes wrote: > > > > Now that the (no)multilib problem in my latest update has been solved, > > I have a somewhat minor complaint. Can I get etc-update to skip certain > > files? My latest

Re: [gentoo-user] updating /boot directory EFI

2023-04-17 Thread Lee
Never mix Windows with real OS's if you can avoid it. I have separate machine for Windows. Lee  On Mon, Apr 17, 2023, 1:41 PM Wols Lists wrote: > On 17/04/2023 17:52, Mark Knecht wrote: > > Later on a Kubuntu update found Windows, updated the EFI > > stuff on the Windows drive and then, I see

Re: [gentoo-user] updating /boot directory EFI

2023-04-17 Thread Mitch D.
You can probably use a portage hook to do it. I haven't tested it, but something along the lines of creating a file at "/etc/portage/env/sys-boot/grub" which contains an implementation of the "post_pkg_postinst()" function. Then, you can copy the logic from the ebuild to determine whether the

Re: [gentoo-user] updating /boot directory EFI

2023-04-17 Thread Wols Lists
On 17/04/2023 17:52, Mark Knecht wrote: Later on a Kubuntu update found Windows, updated the EFI stuff on the Windows drive and then, I see this morning, erased everything out of the Kubuntu EFI partition but left the partition there. I had a similar problem trying to install SUSE to dual boot

Re: [gentoo-user] Can some config files be automatically protected from etc-update?

2023-04-17 Thread Mark Knecht
On Mon, Apr 17, 2023 at 12:40 PM Lee wrote: > > Really, etc update has a facility for skipping whatever files you want. > > Lee >> In my experience with all distros I go outside the distro for this >> sort of issue. Put a copy somewhere, white a little script that >> does a diff on the files you

Re: [gentoo-user] updating /boot directory EFI

2023-04-17 Thread Dr Rainer Woitok
Mitch, On Monday, 2023-04-17 08:15:51 -0400, you wrote: > I just took a quick glance at the ebuild, and it looks like it should print > a reminder ("Re-run grub-install to update installed boot code!") every > time you upgrade from an older version to a newer one, but it also looks > like the

Re: [gentoo-user] Can some config files be automatically protected from etc-update?

2023-04-17 Thread Michael
On Monday, 17 April 2023 20:28:01 BST Mark Knecht wrote: > On Mon, Apr 17, 2023 at 11:26 AM Walter Dnes wrote: > > Now that the (no)multilib problem in my latest update has been solved, > > > > I have a somewhat minor complaint. Can I get etc-update to skip certain > > files? My latest

Re: [gentoo-user] Can some config files be automatically protected from etc-update?

2023-04-17 Thread Lee
Really, etc update has a facility for skipping whatever files you want. Lee  On Mon, Apr 17, 2023, 12:28 PM Mark Knecht wrote: > > > On Mon, Apr 17, 2023 at 11:26 AM Walter Dnes > wrote: > > > > Now that the (no)multilib problem in my latest update has been solved, > > I have a somewhat

Re: [gentoo-user] Can some config files be automatically protected from etc-update?

2023-04-17 Thread Mark Knecht
On Mon, Apr 17, 2023 at 11:26 AM Walter Dnes wrote: > > Now that the (no)multilib problem in my latest update has been solved, > I have a somewhat minor complaint. Can I get etc-update to skip certain > files? My latest emerge world wanted to "update"... > > 1) /etc/hosts (1) > 2)

[gentoo-user] Can some config files be automatically protected from etc-update?

2023-04-17 Thread Walter Dnes
Now that the (no)multilib problem in my latest update has been solved, I have a somewhat minor complaint. Can I get etc-update to skip certain files? My latest emerge world wanted to "update"... 1) /etc/hosts (1) 2) /etc/inittab (1) 3) /etc/mtab (1) 4) /etc/conf.d/consolefont (1) 5)

Re: [gentoo-user] Finally got a SSD drive to put my OS on

2023-04-17 Thread Mark Knecht
On Mon, Apr 17, 2023 at 2:41 AM Wols Lists wrote: > > On 17/04/2023 02:14, Dale wrote: > > My current install is over a decade old. My /boot partition is about > > 375MBs. I should have made it larger but at the time, I booted CD/DVD > > media when needed. I didn't have USB sticks at the time.

[gentoo-user] [SOLVED] Can I safely switch (no)multilib profile???

2023-04-17 Thread Walter Dnes
On Mon, Apr 17, 2023 at 09:48:09AM -0400, Walter Dnes wrote > The update is running. I'll check the emerge results after I get back > from some shopping and fish-n-chips. To answer the question in the subject... YES! emerge update ran smoothly, including etc-update and depclean. I'm still

Re: [gentoo-user] updating /boot directory EFI

2023-04-17 Thread Mark Knecht
On Mon, Apr 17, 2023 at 10:11 AM Michael wrote: > > On Monday, 17 April 2023 17:52:25 BST Mark Knecht wrote: > > > One thing I haven't decoded is why Windows is and Kubuntu is 0003. > > See below ... > > > > I now better understand Mitch D.'s point that the pointers to which OS to > > boot

Re: [gentoo-user] updating /boot directory EFI

2023-04-17 Thread Michael
On Monday, 17 April 2023 17:52:25 BST Mark Knecht wrote: > One thing I haven't decoded is why Windows is and Kubuntu is 0003. See below ... > I now better understand Mitch D.'s point that the pointers to which OS to > boot are not in a disk file, like the old grub configuration, but

Re: [gentoo-user] updating /boot directory EFI

2023-04-17 Thread Mark Knecht
On Mon, Apr 17, 2023 at 8:18 AM Michael wrote: > > On Monday, 17 April 2023 14:31:08 BST Mark Knecht wrote: > > 2) The more complicated view with GUIDs and such: > > > > mark@science2:~$ efibootmgr -v > > BootCurrent: 0003 > > Timeout: 1 seconds > > BootOrder: 0003, > > Boot* Windows

Re: [gentoo-user] updating /boot directory EFI

2023-04-17 Thread Mitch D.
Grub and Windows Boot Manager are bootloaders, and they can be "on" a drive, but efibootmgr is not. Your EFI is part of your motherboard, and efibootmgr is just a tool that helps you configure your EFI. The actual EFI configuration is stored on your motherboard, not on either drive. For what it's

Re: [gentoo-user] updating /boot directory EFI

2023-04-17 Thread Michael
On Monday, 17 April 2023 14:31:08 BST Mark Knecht wrote: > My needs are quite simple but efibootmgr, set up by the Kubuntu install > on a separate M.2 from the Windows install the machine came with, works for > me. I always start the day in Kubuntu, then reboot to Windows if I'm working > on

Re: [gentoo-user] Can I safely switch (no)multilib profile???

2023-04-17 Thread Walter Dnes
On Sun, Apr 16, 2023 at 06:56:35PM -0400, Walter Dnes wrote > > ***I CAN'T EVEN BUILD THE CURRENT GLIBC ON MY MACHINE***. It looks > more and more like somewhere somehow my profile selection got changed > after my previous glibc update. > > I regularly back up incrementally to two large

Re: [gentoo-user] updating /boot directory EFI

2023-04-17 Thread Mark Knecht
On Mon, Apr 17, 2023 at 4:57 AM Michael wrote: > > On Monday, 17 April 2023 00:29:49 BST Arsen Arsenović wrote: > > Wol writes: > > > On 16/04/2023 22:30, Mitch D. wrote: > > >> Wol, can you elaborate on why you think Grub is deprecated on EFI > > >> systems? > > > > > > Because EFI is a boot

[gentoo-user] Re: updating /boot directory EFI

2023-04-17 Thread Nikos Chantziaras
On 16/04/2023 21:44, Wol wrote: On 16/04/2023 15:22, Nikos Chantziaras wrote: On 16/04/2023 07:01, the...@sys-concept.com wrote: After installing new kernel how to update /boot EFI directory? You don't need to. You only need to do that when you want to reinstall GRUB itself into the EFI

Re: [gentoo-user] updating /boot directory EFI

2023-04-17 Thread Mitch D.
I just took a quick glance at the ebuild, and it looks like it should print a reminder ("Re-run grub-install to update installed boot code!") every time you upgrade from an older version to a newer one, but it also looks like the reminder gets skipped if you're re-emerging the same version.

Re: [gentoo-user] updating /boot directory EFI

2023-04-17 Thread Michael
On Monday, 17 April 2023 00:29:49 BST Arsen Arsenović wrote: > Wol writes: > > On 16/04/2023 22:30, Mitch D. wrote: > >> Wol, can you elaborate on why you think Grub is deprecated on EFI > >> systems? > > > > Because EFI is a boot manager? > > That is not the case any more than the classic IBM

Re: [gentoo-user] Can I safely switch (no)multilib profile???

2023-04-17 Thread netfab
Le 17/04/23 à 12:06, Dr Rainer Woitok a tapoté : > Walter's problems triggered me to check what profile was selected on > my own rig: > ># eselect profile show >Current /etc/portage/make.profile symlink: > default/linux/amd64/17.1/desktop ># eselect profile list >!!! Error:

Re: [gentoo-user] Can I safely switch (no)multilib profile???

2023-04-17 Thread Dr Rainer Woitok
Greetings, On Sunday, 2023-04-16 18:56:35 -0400, Walter Dnes wrote: > On Sun, Apr 16, 2023 at 01:29:46AM -0400, Walter Dnes wrote > > When I installed Gentoo on my desktop PC, I could've sworn that I > > selected... > > > > [15] default/linux/amd64/17.1/no-multilib (stable) > > > > ...as

Re: [gentoo-user] updating /boot directory EFI

2023-04-17 Thread Dr Rainer Woitok
Mitch, On Sunday, 2023-04-16 07:16:09 -0400, you wrote: > ... > "grub-install" copies Grub from your Gentoo installation to your hard drive > / SSD / etc. This has nothing to do with your kernel, it only involves > Grub. Rerun this command when you emerge updates to Grub. Is this really

Re: [gentoo-user] Finally got a SSD drive to put my OS on

2023-04-17 Thread Wols Lists
On 17/04/2023 02:14, Dale wrote: My current install is over a decade old.  My /boot partition is about 375MBs.  I should have made it larger but at the time, I booted CD/DVD media when needed.  I didn't have USB sticks at the time.  This time, I plan to make some changes.  If I put Knoppix