Re: [gentoo-user] Fdisk reports new HD as 10MiB

2019-07-08 Thread Adam Carter
>
> lsdrv looks like lsblk, it's just that it handles afaik pretty much
> everything - starts with the disk, then lists any partitions, any lvm's,
> any raids, etc etc.
>

What does lsdrv have that lsblk is missing?

lsblk is part of util-linux so its everywhere, which is handy.


Re: [gentoo-user] Re: Human configurable boot loader, OR useful grub2 documentation

2019-07-08 Thread mad.scientist.at.large
Ok, you convinced me i can selectively read the grub2 manual for the essential 
commands less scripting.  I'll try that tonight.  I would like to know where to 
get the source of the legacy grub that observed gentoo use flags, I'm thinking 
about simpler systems including a couple of 32 bit systems i'd like to use 
occasionally for odd services and network play (on an isolated network so i can 
also practice incursion and it's detection, response, and prevention).

-- Quick to the airport Robin!  We must beat the continental army to the 
airport or Gotham City is  lost!



Jul 5, 2019, 8:25 AM by grant.b.edwa...@gmail.com:

> On 2019-07-05, Francesco Turco  wrote:
>
>> On Fri, Jul 5, 2019, at 08:05, mad.scientist.at.la...@tutanota.com wrote:
>>
>>> So, is there either a boot loader that a human can configure
>>> manually that can handle LUKS partitions?  No uefi, but GPT would
>>> be nice.
>>>
>>
>> I have a LUKS-encrypted system, GPT partitions, no UEFI, systemd,
>> dracut, btrfs.
>>
>> I always manually create a /boot/grub/grub.cfg configuration file
>> without using the grub-mkconfig command:  [...]
>>
>
> I used to hate grub2 with a passion and stuck with grub-legacy as long
> as possible.  Then I realized that you can ignore the nightmarish
> auto-magical modular AI configurator stuff.  Grub2 is still a bit
> bloated for my taste, but it's just as easy to use as grub-legacy if
> you configure it manually.  My grub.cfg files are just as trivial as
> my grub-legacy config files were:
>
> -grub.cfg--
> timeout=10
> root=hd0,1
>
> menuentry 'vmlinuz-4.19.52-gentoo' {
> linux /boot/vmlinuz-4.19.52-gentoo root=/dev/sda1
> }
>
> menuentry 'vmlinuz-4.14.83-gentoo' {
> linux /boot/vmlinuz-4.14.83-gentoo root=/dev/sda1
> }
> ---
>
> I shudder when I contrast that with many hundreds of lines of cruft
> that the mkconfig system would generate.
>
> -- 
> Grant Edwards   grant.b.edwardsYow! Inside, I'm already
>  at   SOBBING!
>  gmail.com
>




[gentoo-user] FYI on kernel 5.2 systemd may fail to bring up the network

2019-07-08 Thread Adam Carter
Happened on 2/2 systems tested. You can bring the interface up manually if
you're at the console.

Error looks like
systemd-networkd[252]: enp5s0: Could not bring up interface: Invalid
argument

Looks like its fixed in git
https://github.com/systemd/systemd/issues/12784


Re: [gentoo-user] Human configurable boot loader, OR useful grub2 documentation

2019-07-08 Thread Ian Bloss
Check out syslinux if grub is too obnoxious. I've found it much more
straight forward than grub.

On Fri, Jul 5, 2019, 2:05 AM  wrote:

> So, is there either a boot loader that a human can configure manually that
> can handle LUKS partitions?  No uefi, but GPT would be nice.  The grub2
> "documentation"  Reads like someone in the later stages of alzheimers'
> trying to tell you how to get to the moon from scratch?  The grub "legacy"
> manual was at least usefull, the grub2 manual is incoherent and has no
> logical structure or explanations in it.  It's insane that a boot loader
> takes 60 pages to document without actually explaning itself, barely useful
> as a reference IF you new it anyway.
>
> Grub2 produces insanely huge configuration files, stuffed with
> conditionals.  It's obvious even the automatic tools don't know how to
> configure it, It can't figure out how to boot redcore, on the same drive
> though it thinks it can.  It thinks you might want to try one version of
> linux with the ram disk and kernel from another, which doesn't work very
> well and WHY?
>
> any links to sane documentation or  sane bootloaders greatly appreciated,
> it'll be months before i can work on my own bootloader or extend one that
> makes sense out side of a corporate server farm or randomly assorted
> desktops that have to all work with the same config file (possibly because
> grub2 is deciding how to work every time it loads).
>
> Yeah, I hate grub2.  I"m very willing to learn gentoo,  but it does make
> some sense and there are articles that actually explain things online.  I
> can't find anything usefull about grub2 other than "DON'T MANUALLY EDIT
> THIS FILE", if it's not human editable and understandable why even bother
> to have it in human readable text?
>
>
> "Would you like to see us rule again, my friend?   All you have to do is
> follow the worms."  Pink Floyd, The Wall, Waiting for the worms
>


Re: [gentoo-user] Re: How do I get rid of colors (console and xterm)?

2019-07-08 Thread Grant Taylor

On 7/8/19 2:18 AM, Christian Groessler wrote:
Ideally for everything inside an xterm or console screen. I'm going to 
try "-cm" for xterm. Thanks David (in a previous post) for the suggestion.


If the -cm command line option does what you want, you can easily add 
the following to the ~/.Xdefaults file, reread it, and be good to go.


xterm.vt100*colorMode: false

Reread the file via "xrdb ~/.Xdefaults" or logout & back in.



--
Grant. . . .
unix || die



Re: [gentoo-user] cannot upgrade to zfs 0.8.x

2019-07-08 Thread Rich Freeman
On Mon, Jul 8, 2019 at 7:46 AM John Covici  wrote:
>
> OK, so I successfully did build 0.8.1, but it does not like my root
> file system parameter, dracut chokes and puts me in an emergency shell
> and I have to mount it manually.  I tried root=rpool and
> root=rpool/root which dracut completely said unable to continue and if
> I omit the root= altogether like I have done in previous versions, it
> says it can't mount the root file system, and throws me into the
> emergency shell where I can mount it manually.  I do have rpool/root
> designated as rootfs.

I'm not sure if this is a dracut issue or a zfs issue, but on my zfs
0.7.13 system I have:
root=ZFS=fast/root

...where fast/root is the pool/dataset I'm using.

You might try adding the ZFS= to your root string.  I wasn't aware it
would even work otherwise.

I have yet to try 0.8 - I'm not in a huge rush though I'm sure the
TRIM support will help.  I'm content to let everybody else run into
issues like this for me...  :)

-- 
Rich



Re: [gentoo-user] Re: How do I get rid of colors (console and xterm)?

2019-07-08 Thread Christian Groessler

On 7/5/19 8:50 PM, Nikos Chantziaras wrote:

On 04/07/2019 22:10, Christian Groessler wrote:
I'm new here. My question is how do I get rid of colors in "emerge", 
"man" and other command line programs.


Do you want to disable colors for everything, or only for specific tools?



Ideally for everything inside an xterm or console screen. I'm going to 
try "-cm" for xterm. Thanks David (in a previous post) for the suggestion.


regards,
chris




Re: [gentoo-user] cannot upgrade to zfs 0.8.x

2019-07-08 Thread Neil Bothwick
On Sun, 07 Jul 2019 23:42:24 -0400, John Covici wrote:

> Hi.  I have discovered that I cannot upgrade to zfs 0.8.x.  The
> problem seems to be that there is no sys-kernel/spl-0.8.x at all.  I
> have seen on the zfs list that people are upgrading to 0.8, so what is
> happening here -- is this somehow another unmaintained package or
> someting?

spl is now part of the zfs package and no longer a separate ebuild.
Portage should take care of it for you. There was a thread about this
when zfs-0.8.0 first hit the tree.


-- 
Neil Bothwick

I heard someone tried the monkeys-on-typewriters bit trying for the plays
of W. Shakespeare but all they got was the collected works of Francis
Bacon


pgpMP_lqeU8jP.pgp
Description: OpenPGP digital signature


Re: [gentoo-user] cannot upgrade to zfs 0.8.x

2019-07-08 Thread John Covici


On Mon, 08 Jul 2019 03:35:36 -0400,
Neil Bothwick wrote:
> 
> [1  ]
> On Sun, 07 Jul 2019 23:42:24 -0400, John Covici wrote:
> 
> > Hi.  I have discovered that I cannot upgrade to zfs 0.8.x.  The
> > problem seems to be that there is no sys-kernel/spl-0.8.x at all.  I
> > have seen on the zfs list that people are upgrading to 0.8, so what is
> > happening here -- is this somehow another unmaintained package or
> > someting?
> 
> spl is now part of the zfs package and no longer a separate ebuild.
> Portage should take care of it for you. There was a thread about this
> when zfs-0.8.0 first hit the tree.

Hmmm, I unmerged all three packages and emerge was still unhappy, it
still thought the 7.13 spl was a blocker and would not emerge
anything.  I guess there is no great hurry about doing this, but
portage is definitely not behaving properly.

-- 
Your life is like a penny.  You're going to lose it.  The question is:
How do
you spend it?

 John Covici wb2una
 cov...@ccs.covici.com



Re: [gentoo-user] cannot upgrade to zfs 0.8.x

2019-07-08 Thread John Covici
On Mon, 08 Jul 2019 03:35:36 -0400,
Neil Bothwick wrote:
> 
> [1  ]
> On Sun, 07 Jul 2019 23:42:24 -0400, John Covici wrote:
> 
> > Hi.  I have discovered that I cannot upgrade to zfs 0.8.x.  The
> > problem seems to be that there is no sys-kernel/spl-0.8.x at all.  I
> > have seen on the zfs list that people are upgrading to 0.8, so what is
> > happening here -- is this somehow another unmaintained package or
> > someting?
> 
> spl is now part of the zfs package and no longer a separate ebuild.
> Portage should take care of it for you. There was a thread about this
> when zfs-0.8.0 first hit the tree.

I have been thinking about it and I think I tried to reemerge the spl
package as well, so I will try again.

-- 
Your life is like a penny.  You're going to lose it.  The question is:
How do
you spend it?

 John Covici wb2una
 cov...@ccs.covici.com



Re: [gentoo-user] cannot upgrade to zfs 0.8.x

2019-07-08 Thread John Covici
On Mon, 08 Jul 2019 12:04:47 -0400,
Rich Freeman wrote:
> 
> On Mon, Jul 8, 2019 at 7:46 AM John Covici  wrote:
> >
> > OK, so I successfully did build 0.8.1, but it does not like my root
> > file system parameter, dracut chokes and puts me in an emergency shell
> > and I have to mount it manually.  I tried root=rpool and
> > root=rpool/root which dracut completely said unable to continue and if
> > I omit the root= altogether like I have done in previous versions, it
> > says it can't mount the root file system, and throws me into the
> > emergency shell where I can mount it manually.  I do have rpool/root
> > designated as rootfs.
> 
> I'm not sure if this is a dracut issue or a zfs issue, but on my zfs
> 0.7.13 system I have:
> root=ZFS=fast/root
> 
> ...where fast/root is the pool/dataset I'm using.
> 
> You might try adding the ZFS= to your root string.  I wasn't aware it
> would even work otherwise.
> 
> I have yet to try 0.8 - I'm not in a huge rush though I'm sure the
> TRIM support will help.  I'm content to let everybody else run into
> issues like this for me...  :)

On 0.7.13, I had to omit the root parameter altogether in order for
this to work.  I think its a zfs issue because I use the same dracut
in both cases.  I will also ask on the zfs list and see what they say.


-- 
Your life is like a penny.  You're going to lose it.  The question is:
How do
you spend it?

 John Covici wb2una
 cov...@ccs.covici.com



Re: [gentoo-user] cannot upgrade to zfs 0.8.x

2019-07-08 Thread John Covici


On Mon, 08 Jul 2019 04:51:13 -0400,
John Covici wrote:
> 
> On Mon, 08 Jul 2019 03:35:36 -0400,
> Neil Bothwick wrote:
> > 
> > [1  ]
> > On Sun, 07 Jul 2019 23:42:24 -0400, John Covici wrote:
> > 
> > > Hi.  I have discovered that I cannot upgrade to zfs 0.8.x.  The
> > > problem seems to be that there is no sys-kernel/spl-0.8.x at all.  I
> > > have seen on the zfs list that people are upgrading to 0.8, so what is
> > > happening here -- is this somehow another unmaintained package or
> > > someting?
> > 
> > spl is now part of the zfs package and no longer a separate ebuild.
> > Portage should take care of it for you. There was a thread about this
> > when zfs-0.8.0 first hit the tree.
> 
> I have been thinking about it and I think I tried to reemerge the spl
> package as well, so I will try again.

OK, so I successfully did build 0.8.1, but it does not like my root
file system parameter, dracut chokes and puts me in an emergency shell
and I have to mount it manually.  I tried root=rpool and
root=rpool/root which dracut completely said unable to continue and if
I omit the root= altogether like I have done in previous versions, it
says it can't mount the root file system, and throws me into the
emergency shell where I can mount it manually.  I do have rpool/root
designated as rootfs.

-- 
Your life is like a penny.  You're going to lose it.  The question is:
How do
you spend it?

 John Covici wb2una
 cov...@ccs.covici.com