Re: Resize2fs Questions

2022-01-31 Thread Gareth Evans
 > On 31 Jan 2022, at 23:36, Andy Smith wrote: > Hello, > > On Mon, Jan 31, 2022 at 05:57:45PM +, Gareth Evans wrote: >>> On 31 Jan 2022, at 17:37, Andy Smith wrote: >> Hi Andy, I appreciate the data doesn't go anywhere, but... >> then I delete P2 and then add a new partition wh

Re: Resize2fs Questions

2022-01-31 Thread Andy Smith
Hello, On Mon, Jan 31, 2022 at 05:57:45PM +, Gareth Evans wrote: > > On 31 Jan 2022, at 17:37, Andy Smith wrote: > Hi Andy, I appreciate the data doesn't go anywhere, but... > > >> then I delete P2 and then add a > >> new partition which defaults to 2. > > doesn't that at least result in th

Re: Resize2fs Questions

2022-01-31 Thread Gareth Evans
> On 31 Jan 2022, at 18:03, Gareth Evans wrote: > >  > >> On 31 Jan 2022, at 17:58, Gareth Evans wrote: >> >>  >> On 31 Jan 2022, at 17:37, Andy Smith wrote: >>> >>> Hello, >>> >>> On Mon, Jan 31, 2022 at 05:27:56PM +, Gareth Evans wrote: >>> On 31 Jan 2022, at 14:41, Ma

Re: Resize2fs Questions

2022-01-31 Thread Gareth Evans
> On 31 Jan 2022, at 17:58, Gareth Evans wrote: > >  > >> On 31 Jan 2022, at 17:37, Andy Smith wrote: >> >> Hello, >> >> On Mon, Jan 31, 2022 at 05:27:56PM +, Gareth Evans wrote: >> On 31 Jan 2022, at 14:41, Martin McCormick >> wrote: > > #I should be telling resiz

Re: Resize2fs Questions

2022-01-31 Thread Gareth Evans
> On 31 Jan 2022, at 17:37, Andy Smith wrote: > > Hello, > > On Mon, Jan 31, 2022 at 05:27:56PM +, Gareth Evans wrote: On 31 Jan 2022, at 14:41, Martin McCormick wrote: >>> >>> #I should be telling resize2fs to squeeze everything in to a 7GB >>> #partition. >>> sudo resize2fs /de

Re: Resize2fs Questions

2022-01-31 Thread Andy Smith
Hello, On Mon, Jan 31, 2022 at 05:27:56PM +, Gareth Evans wrote: > > On 31 Jan 2022, at 14:41, Martin McCormick wrote: > > > > #I should be telling resize2fs to squeeze everything in to a 7GB > > #partition. > > sudo resize2fs /dev/loop0p2 +7G > > [...] > > then I delete P2 and then add a

Re: Resize2fs Questions

2022-01-31 Thread Gareth Evans
> On 31 Jan 2022, at 14:41, Martin McCormick wrote: > > #I should be telling resize2fs to squeeze everything in to a 7GB > #partition. > sudo resize2fs /dev/loop0p2 +7G > [...] > then I delete P2 and then add a > new partition which defaults to 2. This seems to replace the partition contain

Re: Resize2fs Questions

2022-01-31 Thread Andy Smith
Hello, On Mon, Jan 31, 2022 at 08:40:49AM -0600, Martin McCormick wrote: > #I should be telling resize2fs to squeeze everything in to a 7GB > #partition. >sudo resize2fs /dev/loop0p2 +7G […] > fdisk prompts for the first sector with a default of 2048 but I > type in 137215. The last sector

Resize2fs Questions

2022-01-31 Thread Martin McCormick
I figured I would start a new topic as none of this pertains to the previous messages I posted. I've got an almost 30-GB disk image of a working debian installation for a Raspberry pi that I should be able to easily squeeze on to a roughly 8 GB SSD card because it only takes up 10% of the