Re: [gentoo-user] workstation iptables

2015-10-06 Thread Mick
On Tuesday 06 Oct 2015 20:14:59 James wrote: > Hello, > > I just ran across this page: > > http://gentoo-en.vfose.ru/wiki/Iptables/Iptables_and_stateful_firewalls#Sta > te_basics > > It has a basic firewall using iptables. > Not bad for a generic firewall on a openrc workstation. > What is the

Re: [gentoo-user] [solved] resizing EFI partition, btrfs context

2015-10-06 Thread Neil Bothwick
On Tue, 6 Oct 2015 19:33:26 +0200, Stefan G. Weichinger wrote: > Is the step from gummiboot to bootctl problematic? sed s/gummiboot/bootctl everywhere It's the same program with a different name, so just run bootctl install instead then you can unmerge gummiboot. I don't recall any problems

[gentoo-user] workstation iptables

2015-10-06 Thread James
Hello, I just ran across this page: http://gentoo-en.vfose.ru/wiki/Iptables/Iptables_and_stateful_firewalls#State_basics It has a basic firewall using iptables. Not bad for a generic firewall on a openrc workstation. What is the best way to auto lauch this sort of firewall.sh ? Any

Re: [gentoo-user] [solved] resizing EFI partition, btrfs context

2015-10-06 Thread Stefan G. Weichinger
Am 2015-10-06 um 19:51 schrieb Neil Bothwick: > On Tue, 6 Oct 2015 19:33:26 +0200, Stefan G. Weichinger wrote: > >> Is the step from gummiboot to bootctl problematic? > > sed s/gummiboot/bootctl everywhere > > It's the same program with a different name, so just run bootctl > install instead

Re: [gentoo-user] Root device as UUID not properly detected

2015-10-06 Thread João Miguel
How do I know if any of these happen? > Possible causes: > 1. USB stick doesn't work as boot device Well, it did with Arch, the boot partition has the boot, legacy_boot and esp flags. Plus if anything was to be problematic, I'd assume it would be BIOS or syslinux detection of the drive bootable

Re: [gentoo-user] resizing EFI partition, btrfs context

2015-10-06 Thread Neil Bothwick
On Tue, 6 Oct 2015 09:16:31 +0200, Stefan G. Weichinger wrote: > I thought of having missed the boot flag as well although gparted should > have taken care of that, right? And gparted finished successfully but > the boot failed after that. I did have a problem enlarging the ESP when I tried a

Re: [gentoo-user] resizing EFI partition, btrfs context

2015-10-06 Thread Stefan G. Weichinger
Am 2015-10-06 um 09:28 schrieb Neil Bothwick: > I did have a problem enlarging the ESP when I tried a while ago, it > just wouldn't boot so I ended up deleting and recreating it. I will do that on the SSD, yes. >> Right now I just have to retry: clone the hdd to the ssd then >> restart the

Re: [gentoo-user] resizing EFI partition, btrfs context

2015-10-06 Thread Stefan G. Weichinger
Am 2015-10-06 um 02:47 schrieb Jc García: >> long story short: it failed. > > I tried to do this (getting more space for kernels in the EFI > partitions) some days ago, and failed on my first try also, I went the > easy way backing up what I had and deleting, remaking the partition > using

Re: [gentoo-user] [solved] resizing EFI partition, btrfs context

2015-10-06 Thread Neil Bothwick
On Tue, 6 Oct 2015 19:59:04 +0200, Stefan G. Weichinger wrote: > Did you unmerge gummiboot as well? Yes. > (os-prober has to leave as well .. left over from grub) I don't bother with that, even with GRUB. -- Neil Bothwick "I laugh in the face of danger, then I hide until it goes away"

Re: [gentoo-user] fail to install new package

2015-10-06 Thread Ran Shalit
On Tue, Oct 6, 2015 at 3:34 PM, Rich Freeman wrote: > On Tue, Oct 6, 2015 at 8:01 AM, Neil Bothwick wrote: >> On Tue, 6 Oct 2015 13:31:54 +0300, Ran Shalit wrote: >> >>> >=virtual/libudev-215-r1 abi_x86_32 >>> Would you like to add these changes to your

[gentoo-user] crossdev issues

2015-10-06 Thread Ralf
Hi, I have some issues building an armv7a toolchain using crossdev. After successfully building binutils (2.25.1-r1) using: crossdev -S -v -t armv7a-hardfloat-linux-gnueabi -s0 I always end up with: # which armv7a-hardfloat-linux-gnueabi-as

Re: [gentoo-user] [solved] resizing EFI partition, btrfs context

2015-10-06 Thread Neil Bothwick
On Tue, 6 Oct 2015 20:15:49 +0200, Stefan G. Weichinger wrote: > phew, all that work to resize the ESP from 300M -> 500M. > I could have cleaned up old kernels from ESP manually for years instead > with that energy/time ;-) Time to invoke one of my favourite Douglas Adams quotes: "I ... am

Re: [gentoo-user] [solved] resizing EFI partition, btrfs context

2015-10-06 Thread Stefan G. Weichinger
Am 2015-10-06 um 22:40 schrieb Neil Bothwick: > On Tue, 6 Oct 2015 20:15:49 +0200, Stefan G. Weichinger wrote: > >> phew, all that work to resize the ESP from 300M -> 500M. I could >> have cleaned up old kernels from ESP manually for years instead >> with that energy/time ;-) > > Time to invoke

Re: [gentoo-user] Root device as UUID not properly detected

2015-10-06 Thread J. Roeleveld
On Tuesday, October 06, 2015 07:19:59 PM João Miguel wrote: > How do I know if any of these happen? > > > Possible causes: > > 1. USB stick doesn't work as boot device > > Well, it did with Arch, the boot partition has the boot, legacy_boot and > esp flags. Plus if anything was to be

Re: [gentoo-user] Root device as UUID not properly detected

2015-10-06 Thread João Miguel
> > > Possible causes: > > > 1. USB stick doesn't work as boot device > Ok, so scratch that one. Okay, done. > > > 2. USB port is not supported by kernel > > > > I'm not sure what you mean. Is there any option I should enable for > > genkernel? I read on the Wiki page that > > It works with

Re: [gentoo-user] resizing EFI partition, btrfs context

2015-10-06 Thread Stefan G. Weichinger
Am 2015-10-06 um 09:45 schrieb Neil Bothwick: > On Tue, 6 Oct 2015 09:35:40 +0200, Stefan G. Weichinger wrote: > >>> How about btrfs send/receive? I've never used them but used >>> the equivalent with ZFS and it was simple to do. >> >> I think "btrfs-replace" is my friend. Will try that later. >

Re: [gentoo-user] resizing EFI partition, btrfs context

2015-10-06 Thread Stefan G. Weichinger
Am 2015-10-06 um 10:05 schrieb Neil Bothwick: >> I just have to find out how to keep the UUID to keep the copy >> booting etc > > Just run bootctl/gummiboot install after repartitioning to pick up > the new UUID. fstab has to be edited as well (in my case for 2 distros), I wanted to avoid all

Re: [gentoo-user] resizing EFI partition, btrfs context

2015-10-06 Thread Neil Bothwick
On Tue, 6 Oct 2015 09:35:40 +0200, Stefan G. Weichinger wrote: > > How about btrfs send/receive? I've never used them but used the > > equivalent with ZFS and it was simple to do. > > I think "btrfs-replace" is my friend. Will try that later. If you want to keep the system live, replace will

Re: [gentoo-user] resizing EFI partition, btrfs context

2015-10-06 Thread Neil Bothwick
On Tue, 6 Oct 2015 09:52:18 +0200, Stefan G. Weichinger wrote: > > If you want to keep the system live, replace will do the trick, but > > when I tried it to replace a drive that was showing SMART errors it > > was VERY slow. btrfs send serialises your whole filesystem to a > > file so it should

Re: [gentoo-user] [solved] resizing EFI partition, btrfs context

2015-10-06 Thread Stefan G. Weichinger
On 06.10.2015 19:59, Stefan G. Weichinger wrote: > Did you unmerge gummiboot as well? > (os-prober has to leave as well .. left over from grub) ok. removed gummiboot from ESP via efibootmgr and cleaned up messy entries. Now the box boots 3 OSes via UEFI ... with bootctl coming from the systemd

[gentoo-user] fail to install new package

2015-10-06 Thread Ran Shalit
Hello, I am trying to install wine on gentoo but I encounter strange things. I do : emerge -va wine = .. >=virtual/libudev-215-r1 abi_x86_32 Would you like to add these changes to your config files? [Yes/No] Y Autounmask changes successfully written. * IMPORTANT: 8 config files in

Re: [gentoo-user] resizing EFI partition, btrfs context

2015-10-06 Thread Rich Freeman
On Tue, Oct 6, 2015 at 3:52 AM, Stefan G. Weichinger wrote: > Am 2015-10-06 um 09:45 schrieb Neil Bothwick: >> On Tue, 6 Oct 2015 09:35:40 +0200, Stefan G. Weichinger wrote: >> How about btrfs send/receive? I've never used them but used the equivalent with ZFS and it was

[gentoo-user] Re: fail to install new package

2015-10-06 Thread walt
On Tue, 6 Oct 2015 13:31:54 +0300 Ran Shalit wrote: > Hello, > > I am trying to install wine on gentoo but I encounter strange things. > > I do : > emerge -va wine > > = > .. > > >=virtual/libudev-215-r1 abi_x86_32 > Would you like to add these changes to

Re: [gentoo-user] resizing EFI partition, btrfs context

2015-10-06 Thread Stefan G. Weichinger
Am 2015-10-06 um 14:32 schrieb Rich Freeman: > On Tue, Oct 6, 2015 at 3:52 AM, Stefan G. Weichinger wrote: >> Am 2015-10-06 um 09:45 schrieb Neil Bothwick: >>> On Tue, 6 Oct 2015 09:35:40 +0200, Stefan G. Weichinger wrote: >>> > How about btrfs send/receive? I've never used

Re: [gentoo-user] resizing EFI partition, btrfs context

2015-10-06 Thread Neil Bothwick
On Tue, 6 Oct 2015 10:09:37 +0200, Stefan G. Weichinger wrote: > >> booting etc > > > > Just run bootctl/gummiboot install after repartitioning to pick up > > the new UUID. > > fstab has to be edited as well (in my case for 2 distros), I wanted to > avoid all that. Come on, sed's not that

Re: [gentoo-user] fail to install new package

2015-10-06 Thread Rich Freeman
On Tue, Oct 6, 2015 at 8:01 AM, Neil Bothwick wrote: > On Tue, 6 Oct 2015 13:31:54 +0300, Ran Shalit wrote: > >> >=virtual/libudev-215-r1 abi_x86_32 >> Would you like to add these changes to your config files? [Yes/No] Y >> Autounmask changes successfully written. >> *

[gentoo-user] Re: Anyone using kernel 4.1.8 in a virtualbox guest machine? [SOLVED]

2015-10-06 Thread walt
On Mon, 5 Oct 2015 17:56:53 -0700 walt wrote: > On Sun, 4 Oct 2015 20:59:01 -0400 > Alec Ten Harmsel wrote: > > > On Sun, Oct 04, 2015 at 05:47:37PM -0700, walt wrote: > > > I updated the kernel in my gentoo virtualbox guest machine to > > > 4.1.8

Re: [gentoo-user] fail to install new package

2015-10-06 Thread Neil Bothwick
On Tue, 6 Oct 2015 13:31:54 +0300, Ran Shalit wrote: > >=virtual/libudev-215-r1 abi_x86_32 > Would you like to add these changes to your config files? [Yes/No] Y > Autounmask changes successfully written. > * IMPORTANT: 8 config files in '/etc/portage' need updating. This is the important line

Re: [gentoo-user] resizing EFI partition, btrfs context

2015-10-06 Thread Stefan G. Weichinger
Am 2015-10-06 um 14:50 schrieb Stefan G. Weichinger: > I do a plain rsync into a new btrfs on the ssd now stupid me. this does NOT copy the subvols over as I assumed. I tried to rsync the root-subvol ... but there are no subvols created by rsync.

[gentoo-user] Root device as UUID not properly detected

2015-10-06 Thread João Miguel
Hello all, I have decided to make a pen drive with Gentoo Linux installed, to have a permanent pocket installation I can use in any computer as if it were my own. The Gentoo Wiki guided me very well through it. The problem I'm having only appears when I try to boot the pen drive physically. That

Re: [gentoo-user] Root device as UUID not properly detected

2015-10-06 Thread João Miguel
> Did you try other USB sticks, which you know work in other machines, > in that one machine ? Otherwise, it mb something awry in that machine. Yes I did. As I said, I had such a USB stick with Arch Linux installed, and it worked there just fine. In fact, I tried just now (to make sure, though

Re: [gentoo-user] Root device as UUID not properly detected

2015-10-06 Thread J. Roeleveld
On 6 October 2015 18:55:25 CEST, "João Miguel" wrote: >> Did you try other USB sticks, which you know work in other machines, >> in that one machine ? Otherwise, it mb something awry in that >machine. >Yes I did. As I said, I had such a USB stick with Arch Linux

Re: [gentoo-user] Root device as UUID not properly detected

2015-10-06 Thread Philip Webb
151006 João Miguel wrote: > I have decided to make a pen drive with Gentoo Linux installed, > to have a permanent pocket installation I can use in any computer > as if it were my own. The Gentoo Wiki guided me very well through it. > > The problem I'm having only appears when I try to boot the

Re: [gentoo-user] [solved] resizing EFI partition, btrfs context

2015-10-06 Thread Stefan G. Weichinger
On 06.10.2015 15:00, Stefan G. Weichinger wrote: > stupid me. this does NOT copy the subvols over as I assumed. > > I tried to rsync the root-subvol ... but there are no subvols created by > rsync. Ok, done so far. I took the btrfs-replace road with the risk ... I had to use "btrfs filesystem