[gentoo-user] cryptsetup close and device in use when it is not

2021-06-13 Thread Dale
Howdy, As some may recall, I use external drives as backups.  They are encrypted and I use cryptsetup to open and close them.  Open works fine but close gives me trouble at times.  It doesn't always do this but it does it more often than not.  It's getting annoying.  Drive one.  It's a 6TB drive

Re: [gentoo-user] Re: Exact setting in grub to default to a kernel by name?

2021-06-13 Thread Walter Dnes
On Mon, Jun 14, 2021 at 12:20:44AM +0100, Neil Bothwick wrote > On Sun, 13 Jun 2021 18:57:49 -0400, Walter Dnes wrote: > > /etc/default/grub is only used when you call grub-mkconfig. > > > 1) Is "insmod extfs3" necessary? I've built extfs3 into the kernels. > > If the kernel is on an ext3

[gentoo-user] Re: Exact setting in grub to default to a kernel by name?

2021-06-13 Thread Grant Edwards
On 2021-06-13, Walter Dnes wrote: > On Sun, Jun 13, 2021 at 05:38:53PM -, Grant Edwards wrote >> On 2021-06-13, Walter Dnes wrote: >> >> > I'd be tempted to do a manual gub.cfg if I had documentation. >> >> I gave up on the grub2 auto-magical config system many years ago. My >> grub.cfg

Re: [gentoo-user] Re: Exact setting in grub to default to a kernel by name?

2021-06-13 Thread Neil Bothwick
On Sun, 13 Jun 2021 18:57:49 -0400, Walter Dnes wrote: > When experimenting with this, I'll backup grub.cfg. If things go > awry, boot with the USB key I used for the install, and copy back the > old known working grub.cfg. I've done a first crack at this. I assume > that nothing in

Re: [gentoo-user] Re: Exact setting in grub to default to a kernel by name?

2021-06-13 Thread Walter Dnes
On Sun, Jun 13, 2021 at 05:38:53PM -, Grant Edwards wrote > On 2021-06-13, Walter Dnes wrote: > > > I'd be tempted to do a manual gub.cfg if I had documentation. > > I gave up on the grub2 auto-magical config system many years ago. My > grub.cfg is typically 10-20 lines long. The

Re: [gentoo-user] Exact setting in grub to default to a kernel by name?

2021-06-13 Thread Walter Dnes
On Sun, Jun 13, 2021 at 04:09:58PM -0400, Philip Webb wrote > > Or the OP could use Lilo, the simplest boot manager of all. On a UEFI-only desktop PC? -- Walter Dnes I don't run "desktop environments"; I run useful applications

Re: [gentoo-user] Exact setting in grub to default to a kernel by name?

2021-06-13 Thread Philip Webb
210613 Neil Bothwick wrote: > Isn't this a new laptop? If so, why torment yourself with GRUB when you > have UEFI available to you? The only real justification for using GRUB in > such a situation is that you are completely familiar with it and don't > want to learn something else. But if you have

Re: [gentoo-user] Exact setting in grub to default to a kernel by name?

2021-06-13 Thread Michael
On Sunday, 13 June 2021 19:05:29 BST Neil Bothwick wrote: > On Sun, 13 Jun 2021 09:33:57 -0400, Walter Dnes wrote: > > On Sun, Jun 13, 2021 at 06:46:15AM +0200, Hund wrote > > > > > >Let me rephrase the question more generally... given a > > > >kernel "/boot/vmlinuz-fubar" how and where do I

Re: [gentoo-user] Exact setting in grub to default to a kernel by name?

2021-06-13 Thread Neil Bothwick
On Sun, 13 Jun 2021 09:33:57 -0400, Walter Dnes wrote: > On Sun, Jun 13, 2021 at 06:46:15AM +0200, Hund wrote > > >Let me rephrase the question more generally... given a > > >kernel "/boot/vmlinuz-fubar" how and where do I specify it by name as > > >the default boot kernel? > > > > What about

[gentoo-user] Re: Exact setting in grub to default to a kernel by name?

2021-06-13 Thread Grant Edwards
On 2021-06-13, Walter Dnes wrote: > I'd be tempted to do a manual gub.cfg if I had documentation. I gave up on the grub2 auto-magical config system many years ago. My grub.cfg is typically 10-20 lines long. The documentation is at https://www.gnu.org/software/grub/manual/grub/grub.html

Re: [gentoo-user] Building package "dev-texlive/texlive-basic-2021" failed

2021-06-13 Thread Michael
On Sunday, 13 June 2021 18:10:46 BST Dr Rainer Woitok wrote: > Michael, > > On Sunday, 2021-06-13 16:16:37 +0100, you wrote: > > ... > > $ grep -i en_gb /usr/share/i18n/SUPPORTED > > en_GB.UTF-8 UTF-8 > > en_GB ISO-8859-1 > > Same here. It would/should be the same with mine. Have you made

Re: [gentoo-user] Building package "dev-texlive/texlive-basic-2021" failed

2021-06-13 Thread Dr Rainer Woitok
Michael, On Sunday, 2021-06-13 16:16:37 +0100, you wrote: > ... > $ grep -i en_gb /usr/share/i18n/SUPPORTED > en_GB.UTF-8 UTF-8 > en_GB ISO-8859-1 Same here. > ... > $ eselect locale list > Available targets for the LANG variable: > [1] C > [2] C.utf8 > [3] POSIX > [snip ... ] >

Re: [gentoo-user] Building package "dev-texlive/texlive-basic-2021" failed

2021-06-13 Thread Michael
On Sunday, 13 June 2021 15:11:18 BST Dr Rainer Woitok wrote: > All, > > On Sunday, 2021-06-13 15:39:46 +0200, I myself wrote: > > ... > > > > > > $ sudo locale > > > > LANG=en_GB.utf8 > > > > ... > > > > Erm, is there a difference between "*.utf8" and "*.UTF-8"? Does case > > matter? > >

Re: [gentoo-user] Building package "dev-texlive/texlive-basic-2021" failed

2021-06-13 Thread Dr Rainer Woitok
All, On Sunday, 2021-06-13 15:39:46 +0200, I myself wrote: > ... > > > $ sudo locale > > > LANG=en_GB.utf8 > > > ... > Erm, is there a difference between "*.utf8" and "*.UTF-8"? Does case > matter? Apparently yes. At least for Perl or anything else used by Portage. Running my package

Re: [gentoo-user] Building package "dev-texlive/texlive-basic-2021" failed

2021-06-13 Thread Dr Rainer Woitok
Michael, On Saturday, 2021-06-12 16:29:12 +0100, you wrote: > ... > > $ sudo locale > > LANG=en_GB.utf8 > > ... > I can't speak for your lua* packages, but as long as you have defined your > locale correctly in /etc/locale.gen your system should source what it needs > from there. Erm, is

Re: [gentoo-user] Exact setting in grub to default to a kernel by name?

2021-06-13 Thread Walter Dnes
On Sun, Jun 13, 2021 at 06:46:15AM +0200, Hund wrote > >Let me rephrase the question more generally... given a > >kernel "/boot/vmlinuz-fubar" how and where do I specify it by name as > >the default boot kernel? > > What about this? > >

Re: [gentoo-user] Exact setting in grub to default to a kernel by name?

2021-06-13 Thread Neil Bothwick
On Sun, 13 Jun 2021 09:21:36 +0100, Neil Bothwick wrote: > The default setting takes either the number of title of a kernel, so > default="experimental kernel" should do it. Forgot the obligatory RTFM reference :) https://www.gnu.org/software/grub/manual/grub/grub.html#default -- Neil

Re: [gentoo-user] Exact setting in grub to default to a kernel by name?

2021-06-13 Thread Neil Bothwick
On Sun, 13 Jun 2021 00:07:27 -0400, Walter Dnes wrote: > I have multiple (would you believe 2?) kernels in /boot. > > [x8940][waltdnes][~] ll /boot/vm* > -rwxr-xr-x 1 root root 7046848 Jun 12 23:46 /boot/vmlinuz-experimental > -rwxr-xr-x 1 root root 6986624 Jun 12 16:55