Re: [gentoo-user] booting from a usb flash drive

2015-07-17 Thread Neil Bothwick
On Thu, 16 Jul 2015 21:39:56 -0400, Mike Gilbert wrote:

> Does your system have USB 3 ports? USB 3 is currently broken on the
> installcd images.
> 
> https://bugs.gentoo.org/show_bug.cgi?id=554202

The system on which it failed for me has one USB 3 port, but it also
failed in the USB 2 port.


-- 
Neil Bothwick

Engineers do it with less resistance.


pgpDOPHkIjLgR.pgp
Description: OpenPGP digital signature


Re: [gentoo-user] Re: grub-2 update

2015-07-17 Thread Neil Bothwick
On Thu, 16 Jul 2015 19:54:31 -0400, Jonathan Callen wrote:

> The Gummiboot project is no longer maintained, it has been merged into
> systemd as systemd-boot (note that using any other part of Systemd
> should *not* be required to use systemd-boot, but I don't know for
> sure because I do not have any non-systemd systems).

Interesting, I missed that. I've re-emerged systemd with the gnuefi flag
and it "just worked". I do have a UEFI system without systemd that I
could try it on. But it's a headless MythTV backend in the loft, so
there will be fun and games if it doesn't boot. 


-- 
Neil Bothwick

Top Oxymorons Number 11: Terribly pleased


pgpiJMGvHsJzD.pgp
Description: OpenPGP digital signature


Re: [gentoo-user] Re: grub-2 update

2015-07-17 Thread wraeth
On Fri, Jul 17, 2015 at 08:36:51AM +0100, Neil Bothwick wrote:
> could try it on. But it's a headless MythTV backend in the loft, so
> there will be fun and games if it doesn't boot. 

Wouldn't it be more accurate to say there will be _no_ fun and games if
it doesn't boot?

-- 
wraeth 
GnuPG Key: B2D9F759


signature.asc
Description: Digital signature


Re: [gentoo-user] Re: booting from a usb flash drive

2015-07-17 Thread Peter Humphrey
On Thursday 16 July 2015 20:53:56 Dale wrote:
> Peter Humphrey wrote:
> > On Friday 17 July 2015 00:50:59 I wrote:
> >> Half-way through this new thread of 50 messages I've been waiting for
> >> someone to recommend system rescue CD.
> > 
> > Actually it was only about 30 messages. Still, the same applies.
> 
> You mean you counted?  ROFL

No, I'm too lazy for that. The count of unread messages started at 50 and was 
still at about 20 when I reached the end of the thread.

-- 
Rgds
Peter




Re: [gentoo-user] Re: grub-2 update

2015-07-17 Thread Neil Bothwick
On Fri, 17 Jul 2015 18:45:59 +1000, wraeth wrote:

> > could try it on. But it's a headless MythTV backend in the loft, so
> > there will be fun and games if it doesn't boot.   
> 
> Wouldn't it be more accurate to say there will be _no_ fun and games if
> it doesn't boot?

Well, with no TV to watch, I'd have to entertain the wife somehow ;-)


-- 
Neil Bothwick

Hard work has a future payoff. Laziness pays off now.


pgpbIZYILBNMU.pgp
Description: OpenPGP digital signature


Re: [gentoo-user] Re: grub-2 update

2015-07-17 Thread wraeth
On Fri, Jul 17, 2015 at 10:40:16AM +0100, Neil Bothwick wrote:
> On Fri, 17 Jul 2015 18:45:59 +1000, wraeth wrote:
> 
> > > could try it on. But it's a headless MythTV backend in the loft, so
> > > there will be fun and games if it doesn't boot.   
> > 
> > Wouldn't it be more accurate to say there will be _no_ fun and games if
> > it doesn't boot?
> 
> Well, with no TV to watch, I'd have to entertain the wife somehow ;-)
> 

Touché

-- 
wraeth 
GnuPG Key: B2D9F759


signature.asc
Description: Digital signature


[gentoo-user] Re: grub-2 update

2015-07-17 Thread James
Neil Bothwick  digimed.co.uk> writes:


> > So if I do this, what will I have to do to keep the system booting.

> Nothing, I installed r7 on June 26th and the system just kept booting.

> You can run grub-install if you really want to, but as this is a patch
> level update to the same version, the MBR code is likely to be the same
> anyway.


OKI'll give it a shot.

thx,
James







[gentoo-user] Re: grub-2 update

2015-07-17 Thread James
Steven Lembark  wrkhors.com> writes:


> Solution that works for me:

>  - Compile the kernel with everything built-in leaving modules for the 
>few things that really need to be reloadable. Turn everything in 
>the bloody thing off. This avoids the need for a kernel-specific
>filestem in the initrd.

I have to prune your posting per Gmane rules of brevity.

>  - This since you don't need any modules in the initrd a 
>simple, static solution with busybox and init something
>like:

I like what you have posted, very much.

>  - Run grub2-mkconfig once. 

>  - Never touch the grub.cfg file ever again (unless you switch the
>boot filesystem type). If I went from XFS -> btrfs for the root
>filesystem I'd have to hack the "insmod xfs" entries, nothing
>more. 


I'm not ready to use this on my main system, atm. However, I have
been contemplating a new level of (gentoo) install that is less
than a default (basic) install with a reduced number of packages.
I even have decided to put all the tools (codes, packages etc)
onto a separate partition (usb stick) related to compiling. 
The idea is to build up from scratch what is needed; with a verified
DAG of the installed system. Your approach to kernel and boot management
is something I'm going to have to experiment with a bit before 
confidence would allow me to put this idea into my critical path.

I am very fascinated by your approach. It does look a wee bit like
bootstrapping a LFS or openVZ system. Do you have some resources for
recommended reading?

Do you use this in a virtualized approach to system management?


curiously,
James






[gentoo-user] Testing SSD? (Somewhat OT)

2015-07-17 Thread Daniel Frey
Well, I sure haven't had much luck with SSDs. This will be the third one
I've lost.

On Wednesday I was watching my mythtv frontend when it hardlocked. Last
time this happened the 7-year-old rust recordings drive failed. However,
all that checked out and I found out I couldn't ssh in to the frontend
to kill mythfrontend.

I checked the CPU & RAM by booting via USB and it all checked out. I
tried booting the SSD and the kernel panicked. After rebooting again, it
started, but every command run ended with a segmentation fault.

I decided to try flashing the drive's firmware, and that did so
successfully. It booted right away after that with no panic, but the
frontend decided that it couldn't find the backend any longer. I found
this was not true, I (as root) could ping and connect via mysql using
remote credentials.

After another twenty minutes of fiddling around, I discovered the setUID
root bit on /bin/ping had been removed somehow and this was preventing
mythtv from finding its backend. At this point I restored from backup
and then I discovered after restoring /bin/ping lost it setuid root bit
again.

After that I gave up (thinking what else has changed on the disk) and
yesterday bought a new SSD, this time a SanDisk model. It was cheap and
I hope I don't regret this in the future. So my frontend is once again
running.

That aside, the drive that failed is a Crucial m4. I have done some
searching as how to run diagnostics on an SSD. This drive should still
have eight or so months of warranty left. These drive did have a bug if
they ran longer than 51xx hours but:

  9 Power_On_Hours  0x0032   100   100   001Old_age   Always
  -   2382

...there's only 2382 on this drive. It also accesses all media remotely
through the LAN.

Currently I'm running shred on the affected SSD. I also could run
smartctl on the drive. Do other diagnostic tools even work on SSDs? This
is where I'm sort of lost, I've not tried diagnostics on them. I usually
send them back for warranty, but this time I'm curious.

Dan



[gentoo-user] Project:Installer

2015-07-17 Thread James

>From [1] we have Project:Installer [2] which looks very interesting.
However, If I were to create a new gentoo installer, I think
I'd leverage ansible and the persistence mode (usb stick) code that
LikeWhoa put together, as a basis for the effort. I'd be most
curious to read other folk's ideas (strategies) to create a more
automated installation semantic for installing gentoo systems. The handbook
is fine; in fact it is great. But, many gentoo users that have performed
more than a dozen gentoo installs sooner or later get around to their own
installations customizations for a wide variety of valid reasons.

 
Ansible would lend itself to expanded and very targeted types of system
installs where an accomplished gentoo user could supplement the base install
with a collection of specific packages and config settings; imho. Say for
example a secure web or mail server, not that it would be the only
way to build such a server, but just one specific method a particular author
wanted to (share) publish. Surely there are other and better ideas that
folks have used or that they are currently contemplating for routine gentoo
installs?


Maybe some discussion herein could help shape the efforts of [2,3]?


Naturally, we should remember Release Engineering and their role
as pivotal [3]. [1 and 2] are interesting to read.


James

[1] https://wiki.gentoo.org/wiki/Project:Gentoo

[2] https://wiki.gentoo.org/wiki/Project:Installer

[3] https://wiki.gentoo.org/wiki/Project:RelEng_GRS




Re: [gentoo-user] Project:Installer

2015-07-17 Thread J.Rutkowski

Anyone take a look at RHEL Kickstart for automated installs? 

J. Rutkowski

On Fri, Jul 17, 2015, at 12:25 PM, James wrote:
> 
> From [1] we have Project:Installer [2] which looks very interesting.
> However, If I were to create a new gentoo installer, I think
> I'd leverage ansible and the persistence mode (usb stick) code that
> LikeWhoa put together, as a basis for the effort. I'd be most
> curious to read other folk's ideas (strategies) to create a more
> automated installation semantic for installing gentoo systems. The
> handbook
> is fine; in fact it is great. But, many gentoo users that have performed
> more than a dozen gentoo installs sooner or later get around to their own
> installations customizations for a wide variety of valid reasons.
> 
>  
> Ansible would lend itself to expanded and very targeted types of system
> installs where an accomplished gentoo user could supplement the base
> install
> with a collection of specific packages and config settings; imho. Say for
> example a secure web or mail server, not that it would be the only
> way to build such a server, but just one specific method a particular
> author
> wanted to (share) publish. Surely there are other and better ideas that
> folks have used or that they are currently contemplating for routine
> gentoo
> installs?
> 
> 
> Maybe some discussion herein could help shape the efforts of [2,3]?
> 
> 
> Naturally, we should remember Release Engineering and their role
> as pivotal [3]. [1 and 2] are interesting to read.
> 
> 
> James
> 
> [1] https://wiki.gentoo.org/wiki/Project:Gentoo
> 
> [2] https://wiki.gentoo.org/wiki/Project:Installer
> 
> [3] https://wiki.gentoo.org/wiki/Project:RelEng_GRS
> 
> 



[gentoo-user] Re: Project:Installer

2015-07-17 Thread James
J.Rutkowski  pancakebungalow.com> writes:

> 
> 
> Anyone take a look at RHEL Kickstart for automated installs? 

Yes Kickstart is very cool [4] and an examination of it, if not outright
usage, is a keen idea for discussion.

Has anyone actually used kickstart to install gentoo? 
If so, any links or comments would be keen to read about.


James

[4] https://access.redhat.com/documentation/en-US/Red_Hat_Enterprise_Linux/
5/html/Installation_Guide/ch-kickstart2.html







Re: [gentoo-user] Re: Project:Installer

2015-07-17 Thread Jc García
2015-07-17 11:55 GMT-06:00 James :
> J.Rutkowski  pancakebungalow.com> writes:
>
>>
>>
>> Anyone take a look at RHEL Kickstart for automated installs?
>
> Yes Kickstart is very cool [4] and an examination of it, if not outright
> usage, is a keen idea for discussion.
>
> Has anyone actually used kickstart to install gentoo?
> If so, any links or comments would be keen to read about.
>
I'm not sure if it would be usable in gentoo, maybe sabayon that
already uses Anaconda as installer, seems kickstart is mostly a remote
wrapper for Anaconda[1] directed at sysadmins for automation.

A few days a go I found this, is that is sh compatible:
https://github.com/zentoo/quickstart


[1] http://www.redhat.com/magazine/024oct06/features/kickstart/



Re: [gentoo-user] Re: Project:Installer

2015-07-17 Thread J.Rutkowski
It appears Kickstart may not necessarily require Anaconda as it is
compatible the the Ubuntu installer [1]. While Kickstart itself may or
may not be ideal, I think having install parameters in one single file
is intriguing. 


[1] https://help.ubuntu.com/community/KickstartCompatibility

J. Rutkowski

On Fri, Jul 17, 2015, at 01:06 PM, Jc García wrote:
> 2015-07-17 11:55 GMT-06:00 James :
> > J.Rutkowski  pancakebungalow.com> writes:
> >
> >>
> >>
> >> Anyone take a look at RHEL Kickstart for automated installs?
> >
> > Yes Kickstart is very cool [4] and an examination of it, if not outright
> > usage, is a keen idea for discussion.
> >
> > Has anyone actually used kickstart to install gentoo?
> > If so, any links or comments would be keen to read about.
> >
> I'm not sure if it would be usable in gentoo, maybe sabayon that
> already uses Anaconda as installer, seems kickstart is mostly a remote
> wrapper for Anaconda[1] directed at sysadmins for automation.
> 
> A few days a go I found this, is that is sh compatible:
> https://github.com/zentoo/quickstart
> 
> 
> [1] http://www.redhat.com/magazine/024oct06/features/kickstart/
> 



Re: [gentoo-user] Re: Virtualbox-5.0.0 [wow!]

2015-07-17 Thread Jeremi Piotrowski
> On Wed, 15 Jul 2015 19:43:05 -0400
> Fernando Rodriguez  wrote:
>
>> On Tuesday, July 14, 2015 6:53:43 PM walt wrote:
>> > I'd like to know if anyone else is seeing spectacular speed
>> > performance with vbox-5.0.0.
>> >
>>
>> No noticeable performance improvement for me using hardware
>> virtualization.
>>

Also here the paravirtualization additions are not having any
noticeable effect on performance (checked with the Windows Experience
Index on W8).

What I am seeing though are various regressions:
- fullscreen no longer goes fullscreen (with fluxbox doesn't cover
  the slit and hides behind toolbar)
- weird sound/video problems with youtube (accelerated video, constant
  popping noises)
- doesn't work at all since I updated to the 4.2.0-rc2 kernel

I had great expectations but so far I'm disappointed.



[gentoo-user] In the fear of getting hacked (WLAN setup)

2015-07-17 Thread Meino . Cramer
Hi,

in order to connect my ASUS Memp Pad 7 ME176CX to the internet I need
a working WLAN (my DSL router/modem is of the copper area - no
Wifi/WLAN). The hardware (an USB dongle) is already there...it needs
"only" be configured and setup.

The problem I (possibly needless) see is: While I am tinkering and
testing the configuration I may setup an open Wifi access point
without noticing it in first glance and
BANG! get hacked ... in the worst case: unrecognized...

What is the "best practice" here?
Is there a certain independant configuration, which I can set,
which prevents this scenario?

Thank you very much in advance for any help!
Best regards,
Meino

PS: If one knows the ASUS Memo Pad 7 ME176CX and knows a
way to locally connect this tablet to the internet...this
would be a way to go also. I would appreciate any hint in
this case (Using Lollipop 5.0).







[gentoo-user] Re: In the fear of getting hacked (WLAN setup)

2015-07-17 Thread Nikos Chantziaras

On 18/07/2015 06:34 πμ, meino.cra...@gmx.de wrote:

Hi,

in order to connect my ASUS Memp Pad 7 ME176CX to the internet I need
a working WLAN (my DSL router/modem is of the copper area - no
Wifi/WLAN). The hardware (an USB dongle) is already there...it needs
"only" be configured and setup.

The problem I (possibly needless) see is: While I am tinkering and
testing the configuration I may setup an open Wifi access point
without noticing it in first glance and
BANG! get hacked ... in the worst case: unrecognized...

What is the "best practice" here?
Is there a certain independant configuration, which I can set,
which prevents this scenario?

Thank you very much in advance for any help!
Best regards,
Meino

PS: If one knows the ASUS Memo Pad 7 ME176CX and knows a
way to locally connect this tablet to the internet...this
would be a way to go also. I would appreciate any hint in
this case (Using Lollipop 5.0).


If you don't have any daemons running that provide network services 
(have opened listen ports), you can't get hacked. This is usually a 
problem for Windows, which by default has a gazillion of services 
running (NetBIOS, printer/media/filesystem/everything sharing, 
messaging, remote desktop, etc.)


On Gentoo, if *you* didn't set up a service, then nothing is listening 
on the network.





[gentoo-user] Re: In the fear of getting hacked (WLAN setup)

2015-07-17 Thread James
  gmx.de> writes:


> What is the "best practice" here?
> Is there a certain independant configuration, which I can set,
> which prevents this scenario?

Briefly::

'eix -Cc net-wireless' will tell you what the packages in this
category do.

You either have to purchase a wireless router, or build one with
a wireless card, iptables and set up NAT.  You'll need some additional
software packages from net-wireless. Once you get the wireless device setup,
its a good idea to test your wireless network security.


net-wireless/airsnort  is the grand_daddy
Many others exist::
net-wireless/airtraf
net-wireless/aircrack-ng

is a good start. You can run these from a laptop with a wireless interface.
Google for wiki sites or arch linux sites and howto setup and use.


hth,
James