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.

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 them but used >

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 simple to do. >>

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 h

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 th

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 b

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 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 d

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 gpart

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 whi

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 gparte

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

2015-10-05 Thread Jc García
2015-10-05 15:36 GMT-06:00 Stefan G. Weichinger : > > Hello, gentoo-users, > > today I wanted to resize my EFI-partition sda1. > > It was on my SSD which had roughly this layout: > > sda1300MEFI System > sda2~460G linux fs -> btrfs > sda3~4G swap > > This is a dualboot setup w