Re: [gentoo-user] Re: NVMe drive and grub

2016-06-15 Thread J. Roeleveld
On June 16, 2016 7:43:10 AM GMT+02:00, "J. Roeleveld"  
wrote:
>On Thursday, April 07, 2016 07:41:35 PM Remy Blank wrote:
>> pe...@prh.myzen.co.uk wrote on 2016-04-07 17:24:
>> > I have a new box with an NVMe SSD drive attached to the PCI bus via
>an M.2
>> > interface. The drive shows up as /dev/nvme0n1, with partitions
>> > /dev/nvme0n1p1, /dev/nvme0n1p2, ...
>> > 
>> > After following the instructions in the handbook for a UEFI system,
>I get
>> > as far as a kernel panic. Grub finds the kernel and starts it, but
>it
>> > seems to be passing a null root device name.
>> > 
>> > Can anyone offer some advice to help me get past this?
>> 
>> Make sure you have BLK_DEV_NVME compiled into your kernel (not as a
>> module), and that you pass the right device name as a root FS to the
>> kernel. It might also help to use a very recent kernel.
>> 
>> FWIW, I'm writing this from a laptop that boots from two NVMe devices
>in
>> RAID 1 configuration, with kernel 4.4.5.
>> 
>> -- Remy
>
>Remy (and others),
>
>I have been trying to get Gentoo to boot from an NVME device, but I am
>getting 
>stuck.
>
>The kernel-config I use will boot when the root-device is on a spinning
>sata-
>disk and I can see the NVME device.
>When using the same config with the root-partition on the NVME, it
>fails, 
>complaining it can't find the root-partition.
>
>The NVME driver is loaded into the kernel (not module).
>
>Does anyone have a working config for a 4.4.6 kernel or any other
>version that 
>is currently in portage?
>
>Along with the boot-options being used?
>
>Many thanks,
>
>Joost

Ignore this.
Got it working, had to enable UEFI first for the NVME device in bios

Problem caused by silly BIOS devs at ASUS

--
Joost
-- 
Sent from my Android device with K-9 Mail. Please excuse my brevity.



Re: [gentoo-user] Re: NVMe drive and grub

2016-06-15 Thread J. Roeleveld
On Thursday, April 07, 2016 07:41:35 PM Remy Blank wrote:
> pe...@prh.myzen.co.uk wrote on 2016-04-07 17:24:
> > I have a new box with an NVMe SSD drive attached to the PCI bus via an M.2
> > interface. The drive shows up as /dev/nvme0n1, with partitions
> > /dev/nvme0n1p1, /dev/nvme0n1p2, ...
> > 
> > After following the instructions in the handbook for a UEFI system, I get
> > as far as a kernel panic. Grub finds the kernel and starts it, but it
> > seems to be passing a null root device name.
> > 
> > Can anyone offer some advice to help me get past this?
> 
> Make sure you have BLK_DEV_NVME compiled into your kernel (not as a
> module), and that you pass the right device name as a root FS to the
> kernel. It might also help to use a very recent kernel.
> 
> FWIW, I'm writing this from a laptop that boots from two NVMe devices in
> RAID 1 configuration, with kernel 4.4.5.
> 
> -- Remy

Remy (and others),

I have been trying to get Gentoo to boot from an NVME device, but I am getting 
stuck.

The kernel-config I use will boot when the root-device is on a spinning sata-
disk and I can see the NVME device.
When using the same config with the root-partition on the NVME, it fails, 
complaining it can't find the root-partition.

The NVME driver is loaded into the kernel (not module).

Does anyone have a working config for a 4.4.6 kernel or any other version that 
is currently in portage?

Along with the boot-options being used?

Many thanks,

Joost



[gentoo-user] Gentoo is supporting officially Snap packages?

2016-06-15 Thread José Maldonado
Hi everybody!

The last days, ArsTechnica publish this new:

http://arstechnica.com/information-technology/2016/06/goodbye-apt-and-yum-ubuntus-snap-apps-are-coming-to-distros-everywhere/

"Snaps now work natively on Arch, Debian, Fedora, Kubuntu, Lubuntu,
Ubuntu GNOME, Ubuntu Kylin, Ubuntu MATE, Ubuntu Unity, and Xubuntu,"
Canonical's announcement says. "They are currently being validated on
CentOS, Elementary, Gentoo, Mint, OpenSUSE, OpenWrt and RHEL, and are
easy to enable on other Linux distributions." (Ubuntu will continue to
support deb packages, but developers can choose to package applications
as snaps instead of or in addition to debs.)"

Gentoo is supporting officially Snap packages? Why not Flatpak?

Thank you very much for your responses! Bye! :)

-- 
Dios en su cielo, todo bien en la Tierra



Re: [gentoo-user] Re: basic grub question

2016-06-15 Thread covici
James  wrote:

>   ccs.covici.com> writes:
> 
> 
> > Well, the problemis, I don't know the correct parameters to get the best
> > resolution -- there is a formula to calculate if I use vga=, but grub
> > had a way where you specified the mode and it put the screen in graphics
> > mode and passed it on to linux, which seemed unique to me.
> 
> vga=   
> 773   =   1024x768x8
> 775   =   1280x1024x8
> 791   =   1024x768x16
> 794   =   1280x1024x16
> 
> 
> http://www.sprint.net.au/~terbut/usefulbox/lilovgatable.htm
> 
> may help.
Thanks, I will check this out.

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

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



Re: [gentoo-user] Re: Firefox and VPN, plus security in generla

2016-06-15 Thread Dale
James wrote:
> Dale  gmail.com> writes:
>
>
>>> Blueness has created a 'tin hat' [1] mini secure linux distro that runs
>>> in all ram for the truely paranoid (or those with valid security features).
>>> You can just boot up with tinhat or Pentoo and use the live version
>>> for sensitive transactional types of events.. There is also, bluedragon
>>> and lilblue, all excellent, reasonably secure systems to testdrive.
>>> Also, you may want to see if 'www-client/xombrero' meets your needs.
>>> I have not had time to implement it, so it's on my todo list to evaluate.
>>> [1] http://opensource.dyc.edu/tinhat
>> Only thing is, I access my bank pretty much daily.  To use that would
>> require a reboot and booting from USB/DVD etc.  I rarely reboot. 
>> Generally, I reboot when I lose power and have to shutdown.  So far, I
>> haven't rebooted in 182 days.  In a little over a week, I'll have a new
>> record.  Well, documented record for this rig anyway.
>
>
> OK, then the solution, which is not in my current expertise, is to run
> something secure in a VM or a container from your workstation. Since tinhat
> is an "in-ram' solution that would work. I sure there are secure,
> gentoo-hardeded images for a VM or container, just look around. One of the
> gentoo security/container/vm channels may provide faster expertise on this
> route.
>
> Or get an embedded board (should be less than $50) with hdmi, usb
> (mouse/keyboard) and ethernet, that has a secure distro avalilable for it.
> Perhaps some of Rasp. Pi3 or this one [1]. With gentoo-hardened, I'd cobble
> together a second system, before munging up your current gentoo workstation.
> Be sure that the secure OS you want to run, is already well supported before
> you choose an embedded board. Apline linux shines here too, as it uses musl
> (libc) and is security oriented.
>
>
> Did you read up on Xombrero? There are many choices, finding the least
> time-consuming option that meets your needs requires lots of time.
> ;-)
>
>
> hth,
> James
>
>
> [1]
> http://www.cnx-software.com/2016/02/29/odroid-c2-64-bit-arm-development-board-is-now-available-for-purchase-for-40/
>
>
>


My biggest curiosity at the start of this was if using VPN would help. 
Given that so much of the security stuff has been hacked by Govt types,
and no telling who else, I was just curious on what VPN would offer. 
I'm not really looking into USB/DVD rebooting and such.  My hope was
that places such as my bank and other financial sites would benefit from
this.  Since none of them are likely to use this anyway, I'll just have
to hope they are doing enough.  Plus, if someone hacks in, it's on them
anyway.   My bank has that no frills warranty. 

I might add, I've never used anything but Linux since 2003 when I built
my first puter.  So far, I've yet to have anything hacked.  I haven't
even had the likes of Facebook or anything hacked.  I've heard of lots
of other folks having theirs hacked but I've never had it happen to me. 
I use pretty good passwords and started using Lastpass which means even
stronger passwords.  So far, it's working.

Running a VM is not my expertise either.  I read about them sometimes
but never used or even seen one.  It does make me curious tho.  To me,
it sounds like a install on top of a install but the one on the inside
can't touch the main one. Something like that anyway.  If I had to
describe it to someone familiar with Gentoo, sort of like a chroot type
thing with some extras built in. 

Still, using Linux is likely the biggest bonus.  ;-)

Dale

:-)  :-)




[gentoo-user] Re: basic grub question

2016-06-15 Thread James
  ccs.covici.com> writes:


> Well, the problemis, I don't know the correct parameters to get the best
> resolution -- there is a formula to calculate if I use vga=, but grub
> had a way where you specified the mode and it put the screen in graphics
> mode and passed it on to linux, which seemed unique to me.

vga= 
773 =   1024x768x8
775 =   1280x1024x8
791 =   1024x768x16
794 =   1280x1024x16


http://www.sprint.net.au/~terbut/usefulbox/lilovgatable.htm

may help.


hth,
James





[gentoo-user] Re: Firefox and VPN, plus security in generla

2016-06-15 Thread James
Dale  gmail.com> writes:


> > Blueness has created a 'tin hat' [1] mini secure linux distro that runs
> > in all ram for the truely paranoid (or those with valid security features).
> > You can just boot up with tinhat or Pentoo and use the live version
> > for sensitive transactional types of events.. There is also, bluedragon
> > and lilblue, all excellent, reasonably secure systems to testdrive.

> > Also, you may want to see if 'www-client/xombrero' meets your needs.
> > I have not had time to implement it, so it's on my todo list to evaluate.

> > [1] http://opensource.dyc.edu/tinhat

> Only thing is, I access my bank pretty much daily.  To use that would
> require a reboot and booting from USB/DVD etc.  I rarely reboot. 
> Generally, I reboot when I lose power and have to shutdown.  So far, I
> haven't rebooted in 182 days.  In a little over a week, I'll have a new
> record.  Well, documented record for this rig anyway.



OK, then the solution, which is not in my current expertise, is to run
something secure in a VM or a container from your workstation. Since tinhat
is an "in-ram' solution that would work. I sure there are secure,
gentoo-hardeded images for a VM or container, just look around. One of the
gentoo security/container/vm channels may provide faster expertise on this
route.

Or get an embedded board (should be less than $50) with hdmi, usb
(mouse/keyboard) and ethernet, that has a secure distro avalilable for it.
Perhaps some of Rasp. Pi3 or this one [1]. With gentoo-hardened, I'd cobble
together a second system, before munging up your current gentoo workstation.
Be sure that the secure OS you want to run, is already well supported before
you choose an embedded board. Apline linux shines here too, as it uses musl
(libc) and is security oriented.


Did you read up on Xombrero? There are many choices, finding the least
time-consuming option that meets your needs requires lots of time.
;-)


hth,
James


[1]
http://www.cnx-software.com/2016/02/29/odroid-c2-64-bit-arm-development-board-is-now-available-for-purchase-for-40/




Re: [gentoo-user] basic grub question

2016-06-15 Thread covici
waltd...@waltdnes.org wrote:

> On Wed, Jun 15, 2016 at 09:41:07AM -0400, cov...@ccs.covici.com wrote
> 
> > Well, I am trying to use the nvidia driver which conflicts with uvesafb
> > frame buffer, so it seems.  It used to work fine, but not it does not
> > work anymore and the only solutions I have found was a couple of grub
> > parameters which gives you a higher resolution and passes it on to
> > linux.
> 
>   You should be able to pass the kernel parameters in lilo using the
> "append" command.  Here's an example from my lilo.conf...
> 
> image = /boot/kernel.production
> root = /dev/sda5
> label = Production
> read-only # read-only for checking
> append = "noexec=on net.ifnames=0"

Well, the problemis, I don't know the correct parameters to get the best
resolution -- there is a formula to calculate if I use vga=, but grub
had a way where you specified the mode and it put the screen in graphics
mode and passed it on to linux, which seemed unique to me.

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

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



Re: [gentoo-user] basic grub question

2016-06-15 Thread waltdnes
On Wed, Jun 15, 2016 at 09:41:07AM -0400, cov...@ccs.covici.com wrote

> Well, I am trying to use the nvidia driver which conflicts with uvesafb
> frame buffer, so it seems.  It used to work fine, but not it does not
> work anymore and the only solutions I have found was a couple of grub
> parameters which gives you a higher resolution and passes it on to
> linux.

  You should be able to pass the kernel parameters in lilo using the
"append" command.  Here's an example from my lilo.conf...

image = /boot/kernel.production
root = /dev/sda5
label = Production
read-only # read-only for checking
append = "noexec=on net.ifnames=0"

-- 
Walter Dnes 
I don't run "desktop environments"; I run useful applications



loading frame bufrer modules (was Re: [gentoo-user] basic grub question)

2016-06-15 Thread covici
Neil Bothwick  wrote:

> On Wed, 15 Jun 2016 13:00:33 -0400, cov...@ccs.covici.com wrote:
> 
> > > That's why I said "switch to nouveau", using that instead of the
> > > binary drivers should avoid the conflict.  
> > 
> > Can I use uvesafb and noveau at the same time?
> 
> I've not tried it, but as both are proper in-kernel modules, chances are
> it should work.

So, how do I load a frame buffer module and get it to work?  I tried
creating the device /dev/fb0 by hand, but that didn't help either.  I
may try an alias, but if anyone knows that would be better -- my google
search did not produce anything.

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

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



Re: [gentoo-user] Re: Firefox and VPN, plus security in generla

2016-06-15 Thread Dale
James wrote:
> Neil Bothwick  digimed.co.uk> writes:
>
>
>> Some of what Dale wants can be achieved to a greater or lesser extent
>> with Tor, so he should be looking at that too.
>
> Blueness has created a 'tin hat' [1] mini secure linux distro that runs
> in all ram for the truely paranoid (or those with valid security features).
> You can just boot up with tinhat or Pentoo and use the live version
> for sensitive transactional types of events.. There is also, bluedragon
> and lilblue, all excellent, reasonably secure systems to testdrive.
>
>
> Also, you may want to see if 'www-client/xombrero' meets your needs.
> I have not had time to implement it, so it's on my todo list to evaluate.
>
>
> hth, 
> James
>
> [1] http://opensource.dyc.edu/tinhat
>

Only thing is, I access my bank pretty much daily.  To use that would
require a reboot and booting from USB/DVD etc.  I rarely reboot. 
Generally, I reboot when I lose power and have to shutdown.  So far, I
haven't rebooted in 182 days.  In a little over a week, I'll have a new
record.  Well, documented record for this rig anyway.


root@fireball / # uprecords
 #   Uptime | System
Boot up
+---
 1   193 days, 09:28:37 | Linux 3.5.3-gentooSat Sep 22
07:50:38 2012
->   2   182 days, 14:36:20 | Linux 3.18.7-gentoo   Tue Dec 15
21:53:59 2015
 3   116 days, 16:24:24 | Linux 3.16.3-gentoo   Mon Oct 13
20:27:52 2014
 4   111 days, 00:34:49 | Linux 3.18.7-gentoo   Tue Mar 31
18:57:19 2015
 5   101 days, 18:34:17 | Linux 3.5.3-gentooWed Dec 31
18:00:00 1969
 683 days, 02:15:38 | Linux 3.18.7-gentoo   Wed Sep 23
19:50:20 2015
 772 days, 12:03:16 | Linux 3.9.5-gentooSat Jul 13
19:11:24 2013
 869 days, 00:44:23 | Linux 3.11.6-gentoo   Mon Jan  6
03:33:34 2014
 966 days, 11:00:52 | Linux 3.9.5-gentooThu Oct 31
15:54:27 2013
1051 days, 23:49:06 | Linux 3.13.6-gentoo   Sun Mar 23
15:53:30 2014
+---
no1 in10 days, 18:52:18 | atSun Jun 26
08:22:37 2016
up  1468 days, 04:50:38 | since Wed Dec 31
18:00:00 1969
  down  15499 days, 13:39:4 | since Wed Dec 31
18:00:00 1969
   %up8.653 | since Wed Dec 31
18:00:00 1969
root@fireball / #



On my old rig, it had a record of 242 days.  Hurricane Katrina ruined
that.  Lost power for a couple days here.  So, while a good idea, just
not likely here. 

Dale

:-)  :-) 




[gentoo-user] Re: Firefox and VPN, plus security in generla

2016-06-15 Thread James
Neil Bothwick  digimed.co.uk> writes:


> Some of what Dale wants can be achieved to a greater or lesser extent
> with Tor, so he should be looking at that too.


Blueness has created a 'tin hat' [1] mini secure linux distro that runs
in all ram for the truely paranoid (or those with valid security features).
You can just boot up with tinhat or Pentoo and use the live version
for sensitive transactional types of events.. There is also, bluedragon
and lilblue, all excellent, reasonably secure systems to testdrive.


Also, you may want to see if 'www-client/xombrero' meets your needs.
I have not had time to implement it, so it's on my todo list to evaluate.


hth, 
James

[1] http://opensource.dyc.edu/tinhat






Re: [gentoo-user] basic grub question

2016-06-15 Thread Neil Bothwick
On Wed, 15 Jun 2016 12:57:40 -0400, cov...@ccs.covici.com wrote:

> > The nvidia drivers are the proprietary drivers produced by NVIDIA; the
> > nouveau drivers are the open-source version.  Typically, the nouveau
> > driver works as well as the nouveau, except in some high-intensity
> > (generally 3D) environments.  As you know, you cannot use both at the
> > same time, but you can have them installed at the same time.  Just
> > blacklist the kernel modules of one or the other to test each.  
> 
> If I wanted to do that, do I need to change opengl to xorg to use
> nouveau?

[nelz@hactar ~ 0]% eselect opengl list
Available OpenGL implementations:
  [1]   xorg-x11 *

Yes.


-- 
Neil Bothwick

Do I BELIEVE in the Bible?! HELL man, I've SEEN one!!!


pgpG5a9IJbL5w.pgp
Description: OpenPGP digital signature


Re: [gentoo-user] basic grub question

2016-06-15 Thread Neil Bothwick
On Wed, 15 Jun 2016 13:00:33 -0400, cov...@ccs.covici.com wrote:

> > That's why I said "switch to nouveau", using that instead of the
> > binary drivers should avoid the conflict.  
> 
> Can I use uvesafb and noveau at the same time?

I've not tried it, but as both are proper in-kernel modules, chances are
it should work.


-- 
Neil Bothwick

For security reasons, all text in this mail is double-rot13 encrypted.


pgpdHLjUZyfGd.pgp
Description: OpenPGP digital signature


Re: [gentoo-user] basic grub question

2016-06-15 Thread Dutch Ingraham
On Wed, Jun 15, 2016 at 12:57:40PM -0400, cov...@ccs.covici.com wrote:
> Dutch Ingraham  wrote:
> 
> > On Wed, Jun 15, 2016 at 11:52:57AM -0400, cov...@ccs.covici.com wrote:
> > > Peter Humphrey  wrote:
> > > 
> > > > On Wednesday 15 Jun 2016 11:05:13 cov...@ccs.covici.com wrote:
> > > > 
> > > > > You can't use the nouveau drivers and the nvidia driver at the same
> > > > > time, so this is the problem.  I did try that once, but at the time
> > > > > which was quite a while ago, it didn't work.
> > > > 
> > > > Perhaps I've missed it, but is there any reason you must have 
> > > > nvidia-drivers 
> > > > rather than nouveau?
> > > 
> > > I have a nvidia card, so I need the nvidia drivers, unless I am missinng
> > > something?
> > 
> > The nvidia drivers are the proprietary drivers produced by NVIDIA; the
> > nouveau drivers are the open-source version.  Typically, the nouveau
> > driver works as well as the nouveau, except in some high-intensity
> > (generally 3D) environments.  As you know, you cannot use both at the
> > same time, but you can have them installed at the same time.  Just
> > blacklist the kernel modules of one or the other to test each.
> 
> If I wanted to do that, do I need to change opengl to xorg to use
> nouveau?

I'm sure there are xorg and graphics experts on this list more suited to
answer this than me, but they would likely need a lot more information
on your installed applications to fully answer.

A good place to start would be the Arch Linux Wiki on nouveau [1], which
seems to indicate some mesa packages would be needed for opengl support.

[1] https://wiki.archlinux.org/index.php/nouveau



Re: [gentoo-user] basic grub question

2016-06-15 Thread covici
Andrew Savchenko  wrote:

> On Wed, 15 Jun 2016 12:55:39 -0400 cov...@ccs.covici.com wrote:
> > Andrew Savchenko  wrote:
> > 
> > > On Wed, 15 Jun 2016 09:41:07 -0400 cov...@ccs.covici.com wrote:
> > > > Neil Bothwick  wrote:
> > > > 
> > > > > On Wed, 15 Jun 2016 08:42:45 -0400, cov...@ccs.covici.com wrote:
> > > > > 
> > > > > > > > But the manual and the html pages constantly talk about the grub
> > > > > > > > command or rather the grub interactive command, and they usually
> > > > > > > > call it grub, maybe it has a different name.  
> > > > > > > 
> > > > > > > That's the GRUB interactive shell, that you get to from the boot 
> > > > > > > menu
> > > > > > > (press c) or get dropped into it if there is no grub.cfg file.
> > > > > > >   
> > > > > > 
> > > > > > hmmm, I thought you could do it from the console as well, for 
> > > > > > certain
> > > > > > commands.
> > > > > 
> > > > > The commands that show up in "qlist grub" can be run from a standard
> > > > > shell. The GRUB interactive shell is different, with its own set of
> > > > > commands. You really need to read the online manual or the info pages
> > > > > again. The man pages explain the individual commands, but only the 
> > > > > full
> > > > > manual shows how it all fits together.
> > > > > 
> > > > > Why are you looking to switch from Lilo to GRUB now? If Lilo works, 
> > > > > stick
> > > > > with it. If it is because you have EFI hardware, I'd skip GRUB and go
> > > > > straight to Gummiboot or systemd-boot.
> > > > 
> > > > Well, I am trying to use the nvidia driver which conflicts with uvesafb
> > > > frame buffer, so it seems.  It used to work fine, but not it does not
> > > > work anymore and the only solutions I have found was a couple of grub
> > > > parameters which gives you a higher resolution and passes it on to
> > > > linux.  It would not be as good as the uvesafb, but at least it would be
> > > > better than 80x25.  I use the console a lot and only use gnome
> > > > sometimes, but I don't want to have to reboot into a different kernel
> > > > just to use gnome.
> > > 
> > > You can pass any kernel parameters using lilo as well.
> > > 
> > > Also it should be possible to use uvesafb and nvidia driver without
> > > kernel switch, at least this is possible with fbcon: as described
> > > in [1], it is possible to unbind framebuffer console and use text
> > > vga console, then you should be able to unload uvesafb module and
> > > load nvidia propietary blob.
> > > 
> > > [1] https://www.kernel.org/doc/Documentation/fb/fbcon.txt
> > 
> > But, if I compile uvesafb as a module, as opposed to having it built
> > into the kernel, I can never activate  the frame buffer, I always get
> > /dev/fb0 no such file or directory when trying to use fbset.  If I could
> > do that, and get the correct mode, that would also solve my problem.
> 
> Have you tried to load uvesafb module with desired parameters before
> running fbset? You can setup modules init script to do that
> automatically.

Yep, I tried that, but no joy there at all.  I even tried the nvidia
frame buffer thinking it might be compatible with the nvidia drivers,
but I could not get anything out of it, either as a module or built in.

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

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



Re: [gentoo-user] basic grub question

2016-06-15 Thread Andrew Savchenko
On Wed, 15 Jun 2016 12:55:39 -0400 cov...@ccs.covici.com wrote:
> Andrew Savchenko  wrote:
> 
> > On Wed, 15 Jun 2016 09:41:07 -0400 cov...@ccs.covici.com wrote:
> > > Neil Bothwick  wrote:
> > > 
> > > > On Wed, 15 Jun 2016 08:42:45 -0400, cov...@ccs.covici.com wrote:
> > > > 
> > > > > > > But the manual and the html pages constantly talk about the grub
> > > > > > > command or rather the grub interactive command, and they usually
> > > > > > > call it grub, maybe it has a different name.  
> > > > > > 
> > > > > > That's the GRUB interactive shell, that you get to from the boot 
> > > > > > menu
> > > > > > (press c) or get dropped into it if there is no grub.cfg file.
> > > > > >   
> > > > > 
> > > > > hmmm, I thought you could do it from the console as well, for certain
> > > > > commands.
> > > > 
> > > > The commands that show up in "qlist grub" can be run from a standard
> > > > shell. The GRUB interactive shell is different, with its own set of
> > > > commands. You really need to read the online manual or the info pages
> > > > again. The man pages explain the individual commands, but only the full
> > > > manual shows how it all fits together.
> > > > 
> > > > Why are you looking to switch from Lilo to GRUB now? If Lilo works, 
> > > > stick
> > > > with it. If it is because you have EFI hardware, I'd skip GRUB and go
> > > > straight to Gummiboot or systemd-boot.
> > > 
> > > Well, I am trying to use the nvidia driver which conflicts with uvesafb
> > > frame buffer, so it seems.  It used to work fine, but not it does not
> > > work anymore and the only solutions I have found was a couple of grub
> > > parameters which gives you a higher resolution and passes it on to
> > > linux.  It would not be as good as the uvesafb, but at least it would be
> > > better than 80x25.  I use the console a lot and only use gnome
> > > sometimes, but I don't want to have to reboot into a different kernel
> > > just to use gnome.
> > 
> > You can pass any kernel parameters using lilo as well.
> > 
> > Also it should be possible to use uvesafb and nvidia driver without
> > kernel switch, at least this is possible with fbcon: as described
> > in [1], it is possible to unbind framebuffer console and use text
> > vga console, then you should be able to unload uvesafb module and
> > load nvidia propietary blob.
> > 
> > [1] https://www.kernel.org/doc/Documentation/fb/fbcon.txt
> 
> But, if I compile uvesafb as a module, as opposed to having it built
> into the kernel, I can never activate  the frame buffer, I always get
> /dev/fb0 no such file or directory when trying to use fbset.  If I could
> do that, and get the correct mode, that would also solve my problem.

Have you tried to load uvesafb module with desired parameters before
running fbset? You can setup modules init script to do that
automatically.

Best regards,
Andrew Savchenko


pgpTR6jztHNJO.pgp
Description: PGP signature


Re: [gentoo-user] basic grub question

2016-06-15 Thread covici
Neil Bothwick  wrote:

> On Wed, 15 Jun 2016 11:05:13 -0400, cov...@ccs.covici.com wrote:
> 
> > > Might it not be simpler to avoid the conflict by switching to the
> > > nouveau drivers rather than trying to learn a new bootloader just to
> > > pass a workround?  
> > 
> > You can't use the nouveau drivers and the nvidia driver at the same
> > time, so this is the problem.
> 
> That's why I said "switch to nouveau", using that instead of the binary
> drivers should avoid the conflict.

Can I use uvesafb and noveau at the same time?

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

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



Re: [gentoo-user] basic grub question

2016-06-15 Thread covici
Dutch Ingraham  wrote:

> On Wed, Jun 15, 2016 at 11:52:57AM -0400, cov...@ccs.covici.com wrote:
> > Peter Humphrey  wrote:
> > 
> > > On Wednesday 15 Jun 2016 11:05:13 cov...@ccs.covici.com wrote:
> > > 
> > > > You can't use the nouveau drivers and the nvidia driver at the same
> > > > time, so this is the problem.  I did try that once, but at the time
> > > > which was quite a while ago, it didn't work.
> > > 
> > > Perhaps I've missed it, but is there any reason you must have 
> > > nvidia-drivers 
> > > rather than nouveau?
> > 
> > I have a nvidia card, so I need the nvidia drivers, unless I am missinng
> > something?
> 
> The nvidia drivers are the proprietary drivers produced by NVIDIA; the
> nouveau drivers are the open-source version.  Typically, the nouveau
> driver works as well as the nouveau, except in some high-intensity
> (generally 3D) environments.  As you know, you cannot use both at the
> same time, but you can have them installed at the same time.  Just
> blacklist the kernel modules of one or the other to test each.

If I wanted to do that, do I need to change opengl to xorg to use
nouveau?

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

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



Re: [gentoo-user] basic grub question

2016-06-15 Thread covici
Andrew Savchenko  wrote:

> On Wed, 15 Jun 2016 09:41:07 -0400 cov...@ccs.covici.com wrote:
> > Neil Bothwick  wrote:
> > 
> > > On Wed, 15 Jun 2016 08:42:45 -0400, cov...@ccs.covici.com wrote:
> > > 
> > > > > > But the manual and the html pages constantly talk about the grub
> > > > > > command or rather the grub interactive command, and they usually
> > > > > > call it grub, maybe it has a different name.  
> > > > > 
> > > > > That's the GRUB interactive shell, that you get to from the boot menu
> > > > > (press c) or get dropped into it if there is no grub.cfg file.
> > > > >   
> > > > 
> > > > hmmm, I thought you could do it from the console as well, for certain
> > > > commands.
> > > 
> > > The commands that show up in "qlist grub" can be run from a standard
> > > shell. The GRUB interactive shell is different, with its own set of
> > > commands. You really need to read the online manual or the info pages
> > > again. The man pages explain the individual commands, but only the full
> > > manual shows how it all fits together.
> > > 
> > > Why are you looking to switch from Lilo to GRUB now? If Lilo works, stick
> > > with it. If it is because you have EFI hardware, I'd skip GRUB and go
> > > straight to Gummiboot or systemd-boot.
> > 
> > Well, I am trying to use the nvidia driver which conflicts with uvesafb
> > frame buffer, so it seems.  It used to work fine, but not it does not
> > work anymore and the only solutions I have found was a couple of grub
> > parameters which gives you a higher resolution and passes it on to
> > linux.  It would not be as good as the uvesafb, but at least it would be
> > better than 80x25.  I use the console a lot and only use gnome
> > sometimes, but I don't want to have to reboot into a different kernel
> > just to use gnome.
> 
> You can pass any kernel parameters using lilo as well.
> 
> Also it should be possible to use uvesafb and nvidia driver without
> kernel switch, at least this is possible with fbcon: as described
> in [1], it is possible to unbind framebuffer console and use text
> vga console, then you should be able to unload uvesafb module and
> load nvidia propietary blob.
> 
> [1] https://www.kernel.org/doc/Documentation/fb/fbcon.txt

But, if I compile uvesafb as a module, as opposed to having it built
into the kernel, I can never activate  the frame buffer, I always get
/dev/fb0 no such file or directory when trying to use fbset.  If I could
do that, and get the correct mode, that would also solve my problem.

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

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



Re: [gentoo-user] Emerge config files update question

2016-06-15 Thread Neil Bothwick
On Wed, 15 Jun 2016 18:07:21 +0200, ma...@nucleus.it wrote:

> then i change parameters in /etc/dhcp/dhcpd.conf and /etc/conf.d/dhcpd
> 
> then i upgrade the net-misc/dhcp (net-misc/dhcp ~amd64)
> 
> emerge -v1 net-misc/dhcp 
> [ebuild U ~] net-misc/dhcp-4.3.4::gentoo [4.3.3_p1::gentoo]
> 
> but when the update finished i don't have any etc-update to do .
> 
> Why emerge do not create new ._cfg_dhcpd.conf and ._cfg_dhcpd ?

Because portage has a degree of intelligence. If the upstream config file
has not changed, there is no need to run etc-update.


-- 
Neil Bothwick

All generalizations are false, including this one.


pgpofyIIkxuQH.pgp
Description: OpenPGP digital signature


Re: [gentoo-user] basic grub question

2016-06-15 Thread Neil Bothwick
On Wed, 15 Jun 2016 11:52:57 -0400, cov...@ccs.covici.com wrote:

> > Perhaps I've missed it, but is there any reason you must have
> > nvidia-drivers rather than nouveau?  
> 
> I have a nvidia card, so I need the nvidia drivers, unless I am missinng
> something?

You are, the fact that nouveau is an alternative to the nvidia binary
drivers. I have an Nvidia card on this computer and haven't used the
binary drivers in years, avoiding the various problems that keep popping
up here and elsewhere.

I'm not a gamer (unless you count kpat) and don't need ultimate 3D
acceleration, nouveau suits my needs perfectly, especially the need for
things to just work.


-- 
Neil Bothwick

X-Modem- A device on the losing end of an encounter with lightning.


pgpT60cxHxss7.pgp
Description: OpenPGP digital signature


Re: [gentoo-user] basic grub question

2016-06-15 Thread Neil Bothwick
On Wed, 15 Jun 2016 11:05:13 -0400, cov...@ccs.covici.com wrote:

> > Might it not be simpler to avoid the conflict by switching to the
> > nouveau drivers rather than trying to learn a new bootloader just to
> > pass a workround?  
> 
> You can't use the nouveau drivers and the nvidia driver at the same
> time, so this is the problem.

That's why I said "switch to nouveau", using that instead of the binary
drivers should avoid the conflict.


-- 
Neil Bothwick

When there's a will, I want to be in it.


pgpux7e10u4Nn.pgp
Description: OpenPGP digital signature


[gentoo-user] Emerge config files update question

2016-06-15 Thread marco
Hi all,
i need explanation about how emerge does updates of config files.

example:
emerge -v1 =net-misc/dhcp-4.3.3_p1

then i change parameters in /etc/dhcp/dhcpd.conf and /etc/conf.d/dhcpd

then i upgrade the net-misc/dhcp (net-misc/dhcp ~amd64)

emerge -v1 net-misc/dhcp 
[ebuild U ~] net-misc/dhcp-4.3.4::gentoo [4.3.3_p1::gentoo]

but when the update finished i don't have any etc-update to do .

Why emerge do not create new ._cfg_dhcpd.conf and ._cfg_dhcpd ?

best regards
Marco




Re: [gentoo-user] basic grub question

2016-06-15 Thread Andrew Savchenko
On Wed, 15 Jun 2016 11:52:57 -0400 cov...@ccs.covici.com wrote:
> Peter Humphrey  wrote:
> 
> > On Wednesday 15 Jun 2016 11:05:13 cov...@ccs.covici.com wrote:
> > 
> > > You can't use the nouveau drivers and the nvidia driver at the same
> > > time, so this is the problem.  I did try that once, but at the time
> > > which was quite a while ago, it didn't work.
> > 
> > Perhaps I've missed it, but is there any reason you must have 
> > nvidia-drivers 
> > rather than nouveau?
> 
> I have a nvidia card, so I need the nvidia drivers, unless I am missinng
> something?
 
It is possible to use nouveau driver instead of nvidia drivers.
nouveau is a free software, it is also compatible with linux
framebuffer drivers (if I remember this correctly), but 3D
acceleration will be poor to broken compared to the propietary
nvidia drivers, as well as some other features (like advance power
management, cooling states and so on).

Results vary depending on a hardware used, but usually nouveau is
sufficient when user needs only office, web or video and is
unacceptable when user needs 3D-related stuff (gaming, modeling,
etc).

Best regards,
Andrew Savchenko


pgpqWrVe_3RlJ.pgp
Description: PGP signature


Re: [gentoo-user] basic grub question

2016-06-15 Thread Dutch Ingraham
On Wed, Jun 15, 2016 at 11:52:57AM -0400, cov...@ccs.covici.com wrote:
> Peter Humphrey  wrote:
> 
> > On Wednesday 15 Jun 2016 11:05:13 cov...@ccs.covici.com wrote:
> > 
> > > You can't use the nouveau drivers and the nvidia driver at the same
> > > time, so this is the problem.  I did try that once, but at the time
> > > which was quite a while ago, it didn't work.
> > 
> > Perhaps I've missed it, but is there any reason you must have 
> > nvidia-drivers 
> > rather than nouveau?
> 
> I have a nvidia card, so I need the nvidia drivers, unless I am missinng
> something?

The nvidia drivers are the proprietary drivers produced by NVIDIA; the
nouveau drivers are the open-source version.  Typically, the nouveau
driver works as well as the nouveau, except in some high-intensity
(generally 3D) environments.  As you know, you cannot use both at the
same time, but you can have them installed at the same time.  Just
blacklist the kernel modules of one or the other to test each.



Re: [gentoo-user] basic grub question

2016-06-15 Thread Andrew Savchenko
On Wed, 15 Jun 2016 09:41:07 -0400 cov...@ccs.covici.com wrote:
> Neil Bothwick  wrote:
> 
> > On Wed, 15 Jun 2016 08:42:45 -0400, cov...@ccs.covici.com wrote:
> > 
> > > > > But the manual and the html pages constantly talk about the grub
> > > > > command or rather the grub interactive command, and they usually
> > > > > call it grub, maybe it has a different name.  
> > > > 
> > > > That's the GRUB interactive shell, that you get to from the boot menu
> > > > (press c) or get dropped into it if there is no grub.cfg file.
> > > >   
> > > 
> > > hmmm, I thought you could do it from the console as well, for certain
> > > commands.
> > 
> > The commands that show up in "qlist grub" can be run from a standard
> > shell. The GRUB interactive shell is different, with its own set of
> > commands. You really need to read the online manual or the info pages
> > again. The man pages explain the individual commands, but only the full
> > manual shows how it all fits together.
> > 
> > Why are you looking to switch from Lilo to GRUB now? If Lilo works, stick
> > with it. If it is because you have EFI hardware, I'd skip GRUB and go
> > straight to Gummiboot or systemd-boot.
> 
> Well, I am trying to use the nvidia driver which conflicts with uvesafb
> frame buffer, so it seems.  It used to work fine, but not it does not
> work anymore and the only solutions I have found was a couple of grub
> parameters which gives you a higher resolution and passes it on to
> linux.  It would not be as good as the uvesafb, but at least it would be
> better than 80x25.  I use the console a lot and only use gnome
> sometimes, but I don't want to have to reboot into a different kernel
> just to use gnome.

You can pass any kernel parameters using lilo as well.

Also it should be possible to use uvesafb and nvidia driver without
kernel switch, at least this is possible with fbcon: as described
in [1], it is possible to unbind framebuffer console and use text
vga console, then you should be able to unload uvesafb module and
load nvidia propietary blob.

[1] https://www.kernel.org/doc/Documentation/fb/fbcon.txt

Best regards,
Andrew Savchenko


pgpFvb0f1VF4r.pgp
Description: PGP signature


Re: [gentoo-user] basic grub question

2016-06-15 Thread covici
Peter Humphrey  wrote:

> On Wednesday 15 Jun 2016 11:05:13 cov...@ccs.covici.com wrote:
> 
> > You can't use the nouveau drivers and the nvidia driver at the same
> > time, so this is the problem.  I did try that once, but at the time
> > which was quite a while ago, it didn't work.
> 
> Perhaps I've missed it, but is there any reason you must have nvidia-drivers 
> rather than nouveau?

I have a nvidia card, so I need the nvidia drivers, unless I am missinng
something?

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

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



Re: [gentoo-user] basic grub question

2016-06-15 Thread Peter Humphrey
On Wednesday 15 Jun 2016 11:05:13 cov...@ccs.covici.com wrote:

> You can't use the nouveau drivers and the nvidia driver at the same
> time, so this is the problem.  I did try that once, but at the time
> which was quite a while ago, it didn't work.

Perhaps I've missed it, but is there any reason you must have nvidia-drivers 
rather than nouveau?

-- 
Rgds
Peter




Re: [gentoo-user] basic grub question

2016-06-15 Thread covici
Neil Bothwick  wrote:

> On Wed, 15 Jun 2016 09:41:07 -0400, cov...@ccs.covici.com wrote:
> 
> > > Why are you looking to switch from Lilo to GRUB now? If Lilo works,
> > > stick with it. If it is because you have EFI hardware, I'd skip GRUB
> > > and go straight to Gummiboot or systemd-boot.  
> > 
> > Well, I am trying to use the nvidia driver which conflicts with uvesafb
> > frame buffer, so it seems.  It used to work fine, but not it does not
> > work anymore and the only solutions I have found was a couple of grub
> > parameters which gives you a higher resolution and passes it on to
> > linux.  It would not be as good as the uvesafb, but at least it would be
> > better than 80x25.  I use the console a lot and only use gnome
> > sometimes, but I don't want to have to reboot into a different kernel
> > just to use gnome.
> 
> Might it not be simpler to avoid the conflict by switching to the nouveau
> drivers rather than trying to learn a new bootloader just to pass a
> workround?

You can't use the nouveau drivers and the nvidia driver at the same
time, so this is the problem.  I did try that once, but at the time
which was quite a while ago, it didn't work.  

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

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



Re: [gentoo-user] Re: Change from udev to eudev?

2016-06-15 Thread Tom H
On Wed, Jun 15, 2016 at 6:29 AM, Rich Freeman  wrote:
>
> I think I've gotten burned out talking about the advantages of systemd
> on Gentoo lists. If anybody wants to chat about it feel free to ping
> me via email or irc, but not in a channel.

You're giving up far too early! There are a few more years of arguing to come ;)



Re: [gentoo-user] basic grub question

2016-06-15 Thread Neil Bothwick
On Wed, 15 Jun 2016 09:41:07 -0400, cov...@ccs.covici.com wrote:

> > Why are you looking to switch from Lilo to GRUB now? If Lilo works,
> > stick with it. If it is because you have EFI hardware, I'd skip GRUB
> > and go straight to Gummiboot or systemd-boot.  
> 
> Well, I am trying to use the nvidia driver which conflicts with uvesafb
> frame buffer, so it seems.  It used to work fine, but not it does not
> work anymore and the only solutions I have found was a couple of grub
> parameters which gives you a higher resolution and passes it on to
> linux.  It would not be as good as the uvesafb, but at least it would be
> better than 80x25.  I use the console a lot and only use gnome
> sometimes, but I don't want to have to reboot into a different kernel
> just to use gnome.

Might it not be simpler to avoid the conflict by switching to the nouveau
drivers rather than trying to learn a new bootloader just to pass a
workround?


-- 
Neil Bothwick

When cryptography is outlawed, bayl bhgynjf jvyy unir cevinpl.


pgpGy6kAt0KMz.pgp
Description: OpenPGP digital signature


Re: [gentoo-user] basic grub question

2016-06-15 Thread covici
Neil Bothwick  wrote:

> On Wed, 15 Jun 2016 08:42:45 -0400, cov...@ccs.covici.com wrote:
> 
> > > > But the manual and the html pages constantly talk about the grub
> > > > command or rather the grub interactive command, and they usually
> > > > call it grub, maybe it has a different name.  
> > > 
> > > That's the GRUB interactive shell, that you get to from the boot menu
> > > (press c) or get dropped into it if there is no grub.cfg file.
> > >   
> > 
> > hmmm, I thought you could do it from the console as well, for certain
> > commands.
> 
> The commands that show up in "qlist grub" can be run from a standard
> shell. The GRUB interactive shell is different, with its own set of
> commands. You really need to read the online manual or the info pages
> again. The man pages explain the individual commands, but only the full
> manual shows how it all fits together.
> 
> Why are you looking to switch from Lilo to GRUB now? If Lilo works, stick
> with it. If it is because you have EFI hardware, I'd skip GRUB and go
> straight to Gummiboot or systemd-boot.

Well, I am trying to use the nvidia driver which conflicts with uvesafb
frame buffer, so it seems.  It used to work fine, but not it does not
work anymore and the only solutions I have found was a couple of grub
parameters which gives you a higher resolution and passes it on to
linux.  It would not be as good as the uvesafb, but at least it would be
better than 80x25.  I use the console a lot and only use gnome
sometimes, but I don't want to have to reboot into a different kernel
just to use gnome.

So, I thought I would check out grub2 to see if those parameters would
work for me or not.

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

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



Re: [gentoo-user] basic grub question

2016-06-15 Thread Neil Bothwick
On Wed, 15 Jun 2016 08:42:45 -0400, cov...@ccs.covici.com wrote:

> > > But the manual and the html pages constantly talk about the grub
> > > command or rather the grub interactive command, and they usually
> > > call it grub, maybe it has a different name.  
> > 
> > That's the GRUB interactive shell, that you get to from the boot menu
> > (press c) or get dropped into it if there is no grub.cfg file.
> >   
> 
> hmmm, I thought you could do it from the console as well, for certain
> commands.

The commands that show up in "qlist grub" can be run from a standard
shell. The GRUB interactive shell is different, with its own set of
commands. You really need to read the online manual or the info pages
again. The man pages explain the individual commands, but only the full
manual shows how it all fits together.

Why are you looking to switch from Lilo to GRUB now? If Lilo works, stick
with it. If it is because you have EFI hardware, I'd skip GRUB and go
straight to Gummiboot or systemd-boot.


-- 
Neil Bothwick

Weird enough for government work.


pgpEwRUsJq7Jk.pgp
Description: OpenPGP digital signature


Re: [gentoo-user] basic grub question

2016-06-15 Thread covici
Neil Bothwick  wrote:

> On Wed, 15 Jun 2016 08:31:04 -0400, cov...@ccs.covici.com wrote:
> 
> > But the manual and the html pages constantly talk about the grub command
> > or rather the grub interactive command, and they usually call it grub,
> > maybe it has a different name.
> 
> That's the GRUB interactive shell, that you get to from the boot menu
> (press c) or get dropped into it if there is no grub.cfg file.
> 

hmmm, I thought you could do it from the console as well, for certain
commands.

If not, I will check further.

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

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



Re: [gentoo-user] basic grub question

2016-06-15 Thread Neil Bothwick
On Wed, 15 Jun 2016 08:31:04 -0400, cov...@ccs.covici.com wrote:

> But the manual and the html pages constantly talk about the grub command
> or rather the grub interactive command, and they usually call it grub,
> maybe it has a different name.

That's the GRUB interactive shell, that you get to from the boot menu
(press c) or get dropped into it if there is no grub.cfg file.


-- 
Neil Bothwick

C: (n.) the language following A and B. The world still awaits D and
   E. By Z, it may be acceptable for general use.


pgpQfKgKzil7g.pgp
Description: OpenPGP digital signature


Re: [gentoo-user] basic grub question

2016-06-15 Thread covici
Alan McKinnon  wrote:

> On 15/06/2016 13:50, cov...@ccs.covici.com wrote:
> > Hi.  I am looking at grub2 as a possible boot loader -- I have been
> > using lilo for years, but one thing puzzles me -- there seems to be no
> > grub command, I don't see it in the list of files and typing grub does
> > nothing.  I have not run grub-install yet, but I would like to know what
> > is happening.
> >
> > Thanks in advance for any suggestions.
> >
> 
> 
> There has never been a command called grub in any version as it's not
> lilo. There is simply no commonality between lilo and grub, so I
> suggest you forget everything you know about lilo when studying grub.
> 
> You ask a very basic question. That is best answered by finding
> articles on grub on gentoo wiki, reading them then coming back with
> more specific questions if any
> 

But the manual and the html pages constantly talk about the grub command
or rather the grub interactive command, and they usually call it grub,
maybe it has a different name.

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

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



Re: [gentoo-user]

2016-06-15 Thread Neil Bothwick
On Wed, 15 Jun 2016 07:50:30 -0400, cov...@ccs.covici.com wrote:

> Hi.  I am looking at grub2 as a possible boot loader -- I have been
> using lilo for years, but one thing puzzles me -- there seems to be no
> grub command, I don't see it in the list of files and typing grub does
> nothing.  I have not run grub-install yet, but I would like to know what
> is happening.

The grub code, as in the bootloader, is embedded into the MBR when you
run grub-install. The various commands installed with grub are used to
manage the bootloader and its files, but there is no single grub command.

The GRUB manual explains it all:
http://www.gnu.org/software/grub/manual/grub.html


-- 
Neil Bothwick

Access denied--nah nah na nah nah!


pgp67hy1npLtA.pgp
Description: OpenPGP digital signature


Re: [gentoo-user]

2016-06-15 Thread Alan McKinnon

On 15/06/2016 13:50, cov...@ccs.covici.com wrote:

Hi.  I am looking at grub2 as a possible boot loader -- I have been
using lilo for years, but one thing puzzles me -- there seems to be no
grub command, I don't see it in the list of files and typing grub does
nothing.  I have not run grub-install yet, but I would like to know what
is happening.

Thanks in advance for any suggestions.




There has never been a command called grub in any version as it's not 
lilo. There is simply no commonality between lilo and grub, so I suggest 
you forget everything you know about lilo when studying grub.


You ask a very basic question. That is best answered by finding articles 
on grub on gentoo wiki, reading them then coming back with more specific 
questions if any


Alan





[gentoo-user]

2016-06-15 Thread covici
Hi.  I am looking at grub2 as a possible boot loader -- I have been
using lilo for years, but one thing puzzles me -- there seems to be no
grub command, I don't see it in the list of files and typing grub does
nothing.  I have not run grub-install yet, but I would like to know what
is happening.

Thanks in advance for any suggestions.

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

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



Re: [gentoo-user] Re: Change from udev to eudev?

2016-06-15 Thread Rich Freeman
On Wed, Jun 15, 2016 at 3:06 AM, Marc Joliet  wrote:
> Perhaps somebody with more systemd expertise will now feel compelled to
> respond ;-) .

I think I've gotten burned out talking about the advantages of systemd
on Gentoo lists.  If anybody wants to chat about it feel free to ping
me via email or irc, but not in a channel.  Or just ask in any of the
bazillion forums where systemd is the norm.  Or just do a Google
search or search the various list archives.

FWIW, other than Arch you'd be hard-pressed to find a distro that
supports systemd better than Gentoo if you do want to use it...

-- 
Rich



Re: [gentoo-user] Firefox and VPN, plus security in generla

2016-06-15 Thread Dale
Neil Bothwick wrote:
> On Wed, 15 Jun 2016 14:46:34 +1000, Adam Carter wrote:
>
>> There's typically no need to use a VPN when accessing an HTTPS website,
>> as the SSL/TLS already provides most of the privacy that a VPN would
>> supply. The extra that the VPN gives you in this case is to hide which
>> websites you're visiting. So the data is protected in both instances,
>> but the VPN also hides the connection metadata. So if you use just
>> SSL/TLS then your ISP can deduce which bank you have an account with.
>> If you use the VPN as well, then cant even tell that.
> Making a VPN useful in those oppressive regimes that require ISPs to log
> all web metadata for all customers.
>
> There is another use for a VPN, to spoof your address to the site that
> you are connecting to. For example, some BBC video services are only
> available in UK (when I don't need them because I can watch it on TV) so
> a VPN in the UK allows me to watch the stuff I have paid for when I am on
> holiday.
>
> Some of what Dale wants can be achieved to a greater or lesser extent
> with Tor, so he should be looking at that too.
>
>

All this is interesting reading, links included.  I sort of had a idea
on what a VPN did but wasn't real sure if it would really accomplish
much for the hassle.  If things like my bank don't support it, well,
that's what I really would like to protect.  The site I saw mention this
doesn't concern me.  It's just a video site.  With my slow DSL, I like
to download TV shows etc to watch locally.  Doing it over the internet
with my slow DSL doesn't work.  Same with youtube. 

I have tried tor before and it seems to slow things down quite a lot,
all the extra server hops I guess.  Also, some sites track where a user
logs in and if they all of a sudden login in from some foreign country
or something, they flag it and don't let you in, which could be a good
thing I guess.  I had that happen with facebook and some other sites.  I
was just playing around with tor and it set off alarm bells on most all
the regular sites I visit.  I had security emails and such in my email
box from just about all of them I went to.  Good thing is, they did
notice that something was not right about it.  They know I use my
desktop puter which is always in the same place.  lol   If I ever move,
that could be fun. 

Reason for the post, curiosity for the most part but if it was easy to
use and usable without a lot of hassle, I might would do it.  I was also
curious as to just how secure a Linux setup is as well.  I figured it
would be better than windoze for sure but still curious. 

Thanks to all. 

Dale

:-)  :-) 




Re: [gentoo-user] Firefox and VPN, plus security in generla

2016-06-15 Thread Neil Bothwick
On Wed, 15 Jun 2016 14:46:34 +1000, Adam Carter wrote:

> There's typically no need to use a VPN when accessing an HTTPS website,
> as the SSL/TLS already provides most of the privacy that a VPN would
> supply. The extra that the VPN gives you in this case is to hide which
> websites you're visiting. So the data is protected in both instances,
> but the VPN also hides the connection metadata. So if you use just
> SSL/TLS then your ISP can deduce which bank you have an account with.
> If you use the VPN as well, then cant even tell that.

Making a VPN useful in those oppressive regimes that require ISPs to log
all web metadata for all customers.

There is another use for a VPN, to spoof your address to the site that
you are connecting to. For example, some BBC video services are only
available in UK (when I don't need them because I can watch it on TV) so
a VPN in the UK allows me to watch the stuff I have paid for when I am on
holiday.

Some of what Dale wants can be achieved to a greater or lesser extent
with Tor, so he should be looking at that too.


-- 
Neil Bothwick

If at first you don't succeed, well...darn.


pgpGTzY7M_Xbs.pgp
Description: OpenPGP digital signature


Re: [gentoo-user] Re: Change from udev to eudev?

2016-06-15 Thread Marc Joliet
On Tuesday 14 June 2016 06:46:32 J. Roeleveld wrote:
>On Monday, June 13, 2016 02:10:27 PM James wrote:
>> wabe  gmail.com> writes:
>> Still, if you manage 1000 linux workstations, then systemd does have
>> it's merits.
>
>Serious question: What makes systemd more suitable to manage 1000 linux
>workstations when compared to, for instance, OpenRC?
>
>--
>Joost

Well, since nobody else gave a proper response yet...

Not being somebody who manages lots of containers like that, I'm not aware of 
*all*
of the relevant features and how they interact, but one that I can think of is 
that
systemd can communicate with systemd instances running in containers started 
with
systemd-nspawn (e.g., "machinectl status " gives you the status of systemd
+ services in a container).  In fact, systemd-nspawn could probably be seen as 
such a
feature in itself (though personally, when I do use it, it's mainly as chroot 
on steroids).
Oh, and its cgroups management probably helps, that is, I *think* that you can 
limit
resource consumption of containers that way, just like with service units 
(though I'm
not 100% sure of that).

In general, my understanding is that systemd provides base features that 
container
management software utilises, and not so much that systemd by itself does 
container
management.

Perhaps somebody with more systemd expertise will now feel compelled to respond 
;-)
.

HTH
--
Marc Joliet
--
"People who think they know everything really annoy those of us who know we
don't" - Bjarne Stroustrup



signature.asc
Description: This is a digitally signed message part.