My comment was regarding an 8g image not fitting on an 8g card, not a shrunken image.? If you have an 8GB card and make an image file without pishrink, it will be an 8GB image file, even if I only 10k of that 8GB was used.? When you restore that file, if the card you used is spec'd by the manufacturer as 8G, but they use GiB for their "standard", then the image is 8192MB.? If the destination card you write the image to is also an 8G, but the manufacturer uses GB, it's free space is only 8000MB and the image will not fit.
GiB is the common standard, but disk drives, thumb drives etc depends on the manufacturer as to whether they use GB and GIB..
If the image was shrunk first, yes, only the used space of the original is all that it will be.? Unless it's a fresh image of Raspbian, it won't automatically expand the root filesystem to fit the card/drive it was installed on. You have to go into raspi-config, advanced options and expand filesystem then reboot.? Regardless of the size of the original image and card, that will only expand to the available unused size on the card
Get
On Mar 3, 2022, at 16:28, "Teton Amateur Radio Repeater Association (TARRA)" <
tarra@...> wrote:
toggle quoted message
Show quoted text
Sorry, but I don't agree with what you are saying. Here is an
example of why. I have a shrunk image that is 1.75 gigs in size. I
image that to an 8 gig card. So the completed card only has 1.75
gig of space used on it. Once it is moved over to the Pi, it still
only has 1.75 gig. The bit by bit copy is only of the 1.75 gig.
The copy process did not fill the rest of the card. Once the card
is in the Pi, the first time it boots, it boots up on the 1.75 gig
image and then immediately reboots to fill out the rest of the
space on the card. So in fact IT IS the OS that is doing it.
Nothing to do with the copying of the image to the card.
Mick - W7CAT
----- Original Message -----
From: "N5XMT"
To: [email protected]
Sent: Thursday, March 03, 2022 08:39:19 AM
Subject: Re: [RaspberryPi-4-HamRadio] PiShrink?
> The concept isn't specifically with the OS, it's with the
imager tools.? They don't look for data, they do a bit by bit copy
of the media.? So if only 10k is used out of a 128g SD card, it
still makes a complete image of the card.?
>
> ?Get BlueMail for Android ?
>
> On Mar 3, 2022, 07:11, at 07:11, "Teton Amateur Radio
Repeater Association (TARRA)" wrote:
> >No. For the few minutes it takes to shrink it, not
worth buying
> >hardware
> >for something that has a quick and easy software
solution.
> >
> >Here is an example that got be started with PiShrink.
Yes I bought some
> >
> >new cards. They were supposed to be 8 gig cards since
that is what I
> >use. They were actually 7.9 gig cards. The image from
the 8 gig cards
> >wouldn't fit on the new cards. After using PiShrink,
the shrunken image
> >
> >fit just fine on the new cards.
> >
> >I probably have over 20 images. That is 160 gigs of
images (or more).
> >Silly to buy bigger cards, which will make for bigger
images and the
> >need for a bigger hard drive just for storage. After
shrinking, I am
> >down to 20 gigs.
> >
> >I don't understand the concept of the OS filling all
the unused space
> >on
> >the card when there isn't anything there. If you have a
hard drive, you
> >
> >don't fill the whole unused space on it. It only uses
what it needs
> >when
> >it needs it.
> >
> >Mick - W7CAT
> >
> >
> >----- Original Message -----
> >From: "Nigel Gunn, G8IFF/W8IFF"
> >To: [email protected], "Ed via
groups.io"
> >Sent: Thursday, March 03, 2022 07:49:14 AM
> >Subject: Re: [RaspberryPi-4-HamRadio] PiShrink?
> >
> >> Isn't it easier to just buy a bigger SD card or an
external disk
> >drive?
> > >
> > >
> > >
> > > > On 03/03/2022 09:42 Ed via groups.io wrote:
> > > >
> > > >
> > > > Is the?PiShrink
>
>()?script
> >
> >the best way to shrink images for archiving or for use
with a smaller
> >SD
> >card?
> > > >
> > > > Thanks & 73,
> > > > Ed
> > > > N2BHD
> > > >
> > >
> > > Nigel A. Gunn, ///shoulders.outwards.resolutions
tel +1-937-971-0366
> > > Amateur Radio G8IFF W8IFF and GMRS WRBV701,
e-mail nigel@...
> >www
>
>
> > >
> > >
> > >
> > >
> > >
> > >
> >--
> >Untitled Document
> >
> >
> >
> >
>
>
>
>
>
>